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
in diapo.php (release 1.2), remove
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
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
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
Sorry, never mind!
I took out the code for the categories link along with the menu link. Got it cracking!! Thanks!!!!! 8-)
Offline
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