pragmaMx Support Forum

pragmaMx => Themes & Design => Thema gestartet von: tessi78 am 21 Juli 2004, 16:46:20

Titel: Suchbox soll weg
Beitrag von: tessi78 am 21 Juli 2004, 16:46:20
Hallo....

Ich benutze das MFJ_maxi_sub - Theme hier von der Seite. Jetzt möchte ich diese Suchbox gerne komplett weghaben, in welcher Datei finde ich das denn???  (https://forum.pragmamx.org/proxy.php?request=http%3A%2F%2Fwww.kanzlei-jordan.com%2Fthemes%2FMFJ_maxi_sub%2Fimages%2Fsuchbox.jpg&hash=f2331c4f0166cddac8599cf2f084e4aa6ed2f980)<--------- das Feld soll halt weg. Die Schrift "Suchen" habe ich schon entfernt bekommen. Für Hilfe wäre ich sehr dankbar......
Titel: Re: Suchbox soll weg
Beitrag von: _Gerry_ am 21 Juli 2004, 17:29:07
Hab das Theme jetzt leider nicht vor mir liegen, aber schau mal in der theme.php (Im Theme Ordner) nach, müsste dort irgendwo in der function themeheader() stehen!

m.f.g.
Gerry
Titel: Re: Suchbox soll weg
Beitrag von: tessi78 am 21 Juli 2004, 18:55:07
Hm, und wo dort genau?? Habe den Bereich function themeheader hier mal eingetragen..... Ich weiß nicht, wo das stehen soll......

 }


/************************************************************/
/* Function themeheader()                                   */
/*                                                          */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks    */
/* function for left side with: blocks(left);               */
/************************************************************/

function themeheader() {
   global $user, $banners, $sitename, $slogan, $cookie, $prefix, $admin, $dbi;

    cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#5f5f5f\" topmargin=\"40\" text=\"#5f5f5f\" link=\"#363636\" vlink=\"#363636\" alink=\"#d5ae83\">\n";

        echo "\n"
."<table cellpadding=\"0\" cellspacing=\"0\" width=\"97%\" border=\"0\" align=\"center\" bgcolor=\"#ffffff\">\n"
."<tr>\n"
."<td bgcolor=\"#aaaaaa\" height=60 width=\"200\" align=\"left\" valign=\"middle\"><br><br>\n"
                 ."</td>\n"
."\n"
."\n"
."<td bgcolor=\"#aaaaaa\">\n"
        ."<br>\n"
        ."\n";
       echo "<center><a href=\"index.php\"><img src=\"themes/MFJ_maxi_sub/images/logo.jpg\" alt=\"Willkommen auf $sitename\" border=\"0\">\n";
    echo "<br><td bgcolor=\"#aaaaaa\" >\n";
        echo "\n"
."<input type=\"text\" name=\"query\" size=\"14\"></font></form>\n"
."</font></form>\n"
."<bgcolor=\"#FFFFFF\" align=\"left\">\n"
        ."</select></font></form></td></tr></table></td>\n"
."<td bgcolor=\"#FFFFFF\" valign=\"top\"> </td>\n"
."</tr></table>\n"
."<table cellpadding=\"0\" cellspacing=\"0\" width=\"97%\" border=\"0\" align=\"center\" bgcolor=\"#363636\">\n"
."<tr>\n"
."<td bgcolor=\"#5f5f5f\" colspan=\"4\"><IMG src=\"themes/MFJ_maxi_sub/images/pixel.gif\" width=\"1\" height=1 alt=\"\" border=\"0\" hspace=\"0\"></td>\n"
."</tr>\n"
."<tr valign=\"middle\" bgcolor=\"#FFFFFF\">\n"
."<td background=\"themes/MFJ_maxi_sub/images/oben_l.jpg\" height=24 width=\"15%\" nowrap><font size=\"2\"><b>\n";
   if ($username == "Anonymous")
{  
 echo "<b>   <font face=3 color=#ffffff> Willkommen Gast!    <a href=\"modules.php?name=Your_Account\"> Zur Anmeldung</a></font>\n";
    }
 else
 {
    $welcomedate = date("H");
    if($welcomedate < 11)    echo "  Guten Morgen $username!";
    else if($welcomedate < 18)    echo "  Guten Tag $username!";
    else
    echo "<b>  Guten Abend $username!";
    }    
    echo "</b></font></td>\n"
."<td background=\"themes/MFJ_maxi_sub/images/oben_l.jpg\" align=\"center\" height=\"24\" width=\"71%\"><font size=\"2\">\n"
."<img src=\"themes/MFJ_maxi_sub/images/icon_mini_login.gif\" border=0 align=\"center\"> <A href=\"index.php\">Startseite</a>   \n"
        ."<img src=\"themes/MFJ_maxi_sub/images/icon_mini_profile.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=Your_Account\">Dein Account</a>   \n"
        ."<img src=\"themes/MFJ_maxi_sub/images/icon_mini_groups.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=Submit_News\">Schreibe News</a>   \n"
        ."<img src=\"themes/MFJ_maxi_sub/images/icon_mini_message.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=Top\">Top 30</a>   \n"
        ."<img src=\"themes/MFJ_maxi_sub/images/icon_mini_register.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=Topics\">Topics</a>   \n"
        ."<img src=\"themes/MFJ_maxi_sub/images/icon_mini_members.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=eBoard\">Forum</a>   \n"
        ."<img src=\"themes/MFJ_maxi_sub/images/icon_mini_faq.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=FAQ\">FAQ</a>   \n"
        ."</B></font>\n"
        ."</td>\n"
        ."<td background=\"themes/MFJ_maxi_sub/images/oben_l.jpg\" height=24 align=\"right\" width=\"15%\"><font size=\"2\"><b>\n"
        ."\n\n"
        ."<!--   // Array ofmonth Names\n"
        ."var monthNames = new Array( \"Januar\",\"Februar\",\"März\",\"April\",\"Mai\",\"Juni\",\"Juli\",\"August\",\"September\",\"Oktober\",\"November\",\"Dezember\");\n"
        ."var now = new Date();\n"
        ."thisYear = now.getYear();\n"
        ."if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem\n"
        ."document.write(now.getDate() + \". \" + monthNames[now.getMonth()] + \" \" + thisYear);\n"
        ."// -->\n\n"
        ."</b></font> </td>\n"
        ."\n"
        ."</tr>\n"
        ."<tr>\n"
        ."<td bgcolor=\"#5f5f5f\" colspan=\"4\"><IMG src=\"themes/MFJ_maxi_sub/images/pixel.gif\" width=\"1\" height=\"1\" alt=\"\" border=\"0\" hspace=\"0\"></td>\n"
        ."</tr>\n"
        ."</table>\n";
if (is_admin($admin)) {        
        echo "<center><td align=\"center\" bgcolor=\"#CACACA\" colspan=\"4\"><br><a href=\"admin.php\">Admin</a>\n";
 
 $res=sql_query("select * from $prefix"._queue."", $dbi);
 $num = sql_num_rows($res, $dbi);
 echo " | <a href=\"admin.php?op=submissions\">News: $num</a>\n";  
 $res=sql_query("select * from $prefix"._links_newlink."", $dbi);
 $num = sql_num_rows($res, $dbi);
 echo " | <a href=\"admin.php?op=Links\">Links: $num</a>\n";  
 $res=sql_query("select * from $prefix"._downloads_newdownload."", $dbi);
 $num = sql_num_rows($res, $dbi);
 echo " | <a href=\"admin.php?op=downloads\">Downloads: $num</a>\n";  
 $res=sql_query("select * from $prefix"._gallery_pictures_newpicture."", $dbi);
 $num = sql_num_rows($res, $dbi);
 echo " | <a href=\"admin.php?op=GallAdmin\">Bilder: $num</a>\n";  
 $res=sql_query("select * from $prefix"._events_queue."", $dbi);
 $num = sql_num_rows($res, $dbi);
 echo " | <a href=\"admin.php?op=CalendarAdmin\">Termine: $num</a>\n";  
 $res=sql_query("select * from $prefix"._nukebook_queue."", $dbi);
 $num = sql_num_rows($res, $dbi);
 echo " | <a href=\"admin.php?op=NukebookAdmin\">Gästebuch: $num</a>\n";
 
 echo " | <a href=\"admin.php?op=who\">Online</a>\n";
 echo " | <a href=\"admin.php?op=hreferer\">Referer</a>\n";
 echo " | <a href=\"admin.php?op=logout\">Logout</a>\n\n";
 echo "</font></td>";
} else {
echo "";
}

echo "<!-- FIN DEL TITULO -->\n"
."<table width=\"99%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\"><tr valign=\"top\">\n"
."<td><img src=\"themes/MFJ_maxi_sub/images/pixel.gif\" width=\"1\" height=\"5\" border=\"0\" alt=\"\"></td></tr></table>\n"
."<table width=\"99%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\"><tr valign=\"top\">\n"
."<td><img src=\"themes/MFJ_maxi_sub/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td>\n"
."<td width=\"148\" valign=\"top\">\n";
    blocks(left);
    echo "</td><td><img src=\"themes/MFJ_maxi_sub/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
 include ("themes/MFJ_maxi_sub/cblock.php");

}


Also wie gesagt, dieses kleine Suchfeld ist rechts neben dem logo.jpg.....


Titel: Re: Suchbox soll weg
Beitrag von: henne am 21 Juli 2004, 19:15:52
   ."<input type=\"text\" name=\"query\" size=\"14\"></font></form>\n"

das hier müsste die Suchbox sein steht kurz hinter dem Logo. Probiers mal und meld Dich obs geklappt hat.


[Editiert am 21/7/2004 von henne]
Titel: Re: Suchbox soll weg
Beitrag von: tessi78 am 21 Juli 2004, 19:24:28
Supi, Danke.... das war sie und jetzt ist sie weg...... Schönen Abend noch...