Editing the eyeball theme, how too????? Editing the eyeball theme, how too?????
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Editing the eyeball theme, how too?????

Started by kevin200, July 29, 2004, 12:14:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kevin200

I am trying to make a couple of changes to one of the themes.  The eyeball theme.  What I need to do is add two links to the top menu bar.  I believe the code needs to go here:

$template_main_menu2 = <<<EOT
                       <table border="0" cellpadding="0" cellspacing="0" border="0" class="top_menu_bttn">
                               <tr>
                                       <td><img src="themes/eyeball/images/top_menu_left.gif" border="0" alt="" /><br /></td>
                                       <td background="themes/eyeball/images/top_menu_button.gif">
                                               <a href="index.php" onMouseOver="MM_showHideLayers('Menu1','','show')"><img src="themes/eyeball/images/home.gif" border="0" alt="" /><br /></a>
                                       </td>
                                       <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                       <td background="themes/eyeball/images/top_menu_button.gif">
                                               <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a>
                                       </td>
                                       <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                       <td background="themes/eyeball/images/top_menu_button.gif">
                                               <a href="{LASTUP_TGT}">{LASTUP_LNK}</a>
                                       </td>
                                       <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                       <td background="themes/eyeball/images/top_menu_button.gif">
                                               <a href="{LASTCOM_TGT}" onMouseOver="MM_showHideLayers('Menu1','','hide')">{LASTCOM_LNK}</a>
                                       </td>
                                       <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                       <td background="themes/eyeball/images/top_menu_button.gif">
                                               <a href="{TOPN_TGT}" onMouseOver="MM_showHideLayers('Menu1','','hide')">{TOPN_LNK}</a>
                                       </td>
                                       <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                       <td background="themes/eyeball/images/top_menu_button.gif">
                                               <a href="{TOPRATED_TGT}" onMouseOver="MM_showHideLayers('Menu1','','hide')">{TOPRATED_LNK}</a>
                                       </td>
                                       <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                       <td background="themes/eyeball/images/top_menu_button.gif">
                                       <a href="{FAV_TGT}" onMouseOver="MM_showHideLayers('Menu1','','hide')">{FAV_LNK}</a>
                                       </td>
                                       <td><img src="themes/eyeball/images/top_menu_spacer.gif" border="0" alt="" /><br /></td>
                                        <td background="themes/eyeball/images/top_menu_button.gif">
                                               <a href="{SEARCH_TGT}"  onMouseOver="MM_showHideLayers('Menu1','','hide')">{SEARCH_LNK}</a>
                                       </td>
                                       <td><img src="themes/eyeball/images/top_menu_right.gif" border="0" alt="" /><br /></td>
                               </tr>
                       </table>
EOT;

I know I have to define the <a href="{SEARCH_TGT}"  I am not sure what to put in the {} tags.  
nor am I sure what to put in these tags: >{SEARCH_LNK}</a>

I know that I need to make additions here also:

$param = array('{MY_GAL_TGT}' => "index.php?cat=$my_gallery_id",
       '{MY_GAL_TITLE}' => $lang_main_menu['my_gal_title'],
       '{MY_GAL_LNK}' => $lang_main_menu['my_gal_lnk'],
       '{MY_PROF_TGT}' => "profile.php?op=edit_profile",
       '{MY_PROF_LNK}' => $lang_main_menu['my_prof_lnk'],
       '{ADM_MODE_TGT}' => "admin.php?admin_mode=1&referer=$REFERER",
       '{ADM_MODE_TITLE}' => $lang_main_menu['adm_mode_title'],
       '{ADM_MODE_LNK}' => $lang_main_menu['adm_mode_lnk'],
       '{USR_MODE_TGT}' => "admin.php?admin_mode=0&referer=$REFERER",
       '{USR_MODE_TITLE}' => $lang_main_menu['usr_mode_title'],
       '{USR_MODE_LNK}' => $lang_main_menu['usr_mode_lnk'],
       '{UPL_PIC_TGT}' => "upload.php",
       '{UPL_PIC_TITLE}' => $lang_main_menu['upload_pic_title'],
       '{UPL_PIC_LNK}' => $lang_main_menu['upload_pic_lnk'],
       '{REGISTER_TGT}' => "register.php",
       '{REGISTER_TITLE}' => $lang_main_menu['register_title'],
       '{REGISTER_LNK}' => $lang_main_menu['register_lnk'],
       '{LOGIN_TGT}' => "login.php?referer=$REFERER",
       '{LOGIN_LNK}' => $lang_main_menu['login_lnk'],
       '{LOGOUT_TGT}' => "logout.php?referer=$REFERER",
       '{LOGOUT_LNK}' => $lang_main_menu['logout_lnk'] . " [" . USER_NAME . "]",
       );
but just not sure what.  

The buttons I need to add are "Main Site" and "Order"

I also would like to add a quote above the footer but for some reason I have not been able to locate it.  I see reference to it but I must be blind.

If anyone can ehlp, thanks in advance!! ;D

Joachim Müller

just add                                        <td background="themes/eyeball/images/top_menu_button.gif">
                                                <a href="yourlink.htm" onMouseOver="MM_showHideLayers('Menu1','','hide')">Main Site</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_right.gif" border="0" alt="" /><br /></td>
                                        <td background="themes/eyeball/images/top_menu_button.gif">
                                                <a href="the_other_link.htm" onMouseOver="MM_showHideLayers('Menu1','','hide')">Order</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_right.gif" border="0" alt="" /><br /></td>
after                                        <td background="themes/eyeball/images/top_menu_button.gif">
                                                <a href="{SEARCH_TGT}" onMouseOver="MM_showHideLayers('Menu1','','hide')">{SEARCH_LNK}</a>
                                        </td>
                                        <td><img src="themes/eyeball/images/top_menu_right.gif" border="0" alt="" /><br /></td>


GauGau

kevin200

Thank you very much!!  How might I find the footer refernce to add something to it?