#1 2003-09-19 22:25:30

Khãlsã
Member
2003-09-19
8

Removing The Menu!

Hello again,

If I want to remove the menu, including:

- Change login
- Search
- About

How would I go about doing that? THANKS in ADVANCE!!!!

Offline

 

#2 2003-09-20 11:40:36

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14048

Re: Removing The Menu!

in diapo.php (release 1.2), remove

Code:

    175         $output.= get_debut_tableau( "100%" );
    176         $summary.="
    177                                                                 <div class=\"titreMenu\">".$lang['title_menu']."</div>
    178                                                                 <div class=\"menu\">
    179                                                                                          <img src=\"".$user['lien_collapsed']."\" alt=\"\"/> <a href=\"./i        dentification.php\" title=\"";
    180         if ( $user['login'] != "visiteur" )
    181         {
    182                 $summary.="\">".$lang['change_login'];
    183         }
    184         else
    185         {
    186                 $summary.= $lang['hint_login']."\">".$lang['login'];
    187         }
    188         $summary.="</a><br />";
    189         if ( $user['pseudo'] != "visiteur" )
    190         {
    191                 $summary.="
    192                          <img src=\"".$user['lien_collapsed']."\" alt=\"\"/> <a href=\"./diapo.php?cat=".$page['cat']."\">".$lang['logout']."</a><br />";
    193                 $url = "./personnaliser.php?cat=".$page['cat']."&expand=".$page['expand'];
    194                 if ( $page['cat'] == 'search' )
    195                 {
    196                         $url.= "&search=".$HTTP_GET_VARS['search'];
    197                 }
    198                 $summary.="
    199                          <img src=\"".$user['lien_collapsed']."\" alt=\"\"/> <a href=\"".add_session_id_to_url( $url )."\" title=\"".$lang['hint_customize        ']."\">".$lang['customize']."</a><br />";
    200         }
    201         $summary.= " <img src=\"".$user['lien_collapsed']."\" alt=\"\"/> <a href=\"".add_session_id_to_url( "./search.php" )."\" title=\"".$lang['hint_sea        rch']."\">".$lang['search']."</a><br />";
    202         $summary.= " <img src=\"".$user['lien_collapsed']."\" alt=\"\"/> <a href=\"".add_session_id_to_url( "./a_propos.php?expand=".$page['expand'] )."\"         title=\"".$lang['hint_about']."\">".$lang['about']."</a><br />";
    203         if ( $user['status'] == "admin")
    204         {
    205                 $summary.=" <img src=\"".$user['lien_collapsed']."\" alt=\"\"/> <a href=\"".add_session_id_to_url( "./admin/admin.php" )."\" title=\"".$la        ng['hint_admin']."\">".$lang['admin']."</a>";
    206         }
    207         $summary.="</div>";
    208 
    209         $output.= replace_space( $summary );
    210 
    211         $output.= get_fin_tableau();

Offline

 

#3 2003-09-20 14:02:43

Khãlsã
Member
2003-09-19
8

Re: Removing The Menu!

  8O

I removed the code, but the link to the gallery got removed as well  :-?  And I forgot where I took the code out from, please help!!!!!!!!!

Offline

 

#4 2003-09-20 14:10:03

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14048

Re: Removing The Menu!

8O

I removed the code, but the link to the gallery got removed as well  :-?  And I forgot where I took the code out from, please help!!!!!!!!!

??? "the link to the gallery" what do you mean ?

Offline

 

#5 2003-09-20 15:23:11

Khãlsã
Member
2003-09-19
8

Re: Removing The Menu!

Sorry, never mind!

I took out the code for the categories link along with the menu link. Got it cracking!! Thanks!!!!! 8-) 

Offline

 

#6 2003-09-23 17:54:58

Khãlsã
Member
2003-09-19
8

Re: Removing The Menu!

Okay, since I removed the menu I haven't been able to get into the admin panel! 8O

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home2/sikhionl/public_html/pakgallery/include/functions.php on line 570

This is what I get! :cry: 

Offline

 

#7 2003-09-24 14:52:21

Khãlsã
Member
2003-09-19
8

Re: Removing The Menu!

????

Offline

 

Board footer

Powered by FluxBB

github linkedin newsletter Piwigo.org © 2002-2026 · Contact