{TOKEN}'s showing up strange. Trying to convert subSilver theme. {TOKEN}'s showing up strange. Trying to convert subSilver theme.
 

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

{TOKEN}'s showing up strange. Trying to convert subSilver theme.

Started by Zeitgeist, December 17, 2005, 07:54:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Zeitgeist

I'm trying to convert the subSilver theme. My token buttons are showing up as themselves. I;e {FAV_LNK}

URL: http://www.topdrunks.com/index.php?theme=subsilver

theme.php:

<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2005 Coppermine Dev Team
  v1.1 originally written by Gregory DEMAR

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
  ********************************************
  Coppermine version: 1.4.3
  $Source:
  $Revision:
  $Author:
  $Date:
**********************************************/
define('THEME_HAS_RATING_GRAPHICS'1);
define('THEME_HAS_FILM_STRIP_GRAPHIC'1);
define('THEME_HAS_NO_SYS_MENU_BUTTONS'1);

$template_sys_menu = <<<EOT

                <span class="topmenu">
<!-- BEGIN album_list -->
                        <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}"><img src="themes/subsilver/images/icon_mini_groups.gif" alt="">{ALB_LIST_LNK}</a>
<!-- END album_list -->
<!-- BEGIN my_gallery -->
                        <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}"><img src="themes/subsilver/images/icon_mini_profile.gif" alt="">{MY_GAL_LNK}</a>
<!-- END my_gallery -->
<!-- BEGIN allow_memberlist -->
                        <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}"><img src="themes/subsilver/images/icon_mini_members.gif" alt="">{MEMBERLIST_LNK}</a>
<!-- END allow_memberlist -->
<!-- BEGIN my_profile -->
                        <a href="{MY_PROF_TGT}"><img src="themes/subsilver/images/icon_mini_profile.gif" alt="">{MY_PROF_LNK}</a>
<!-- END my_profile -->
<!-- BEGIN faq -->
                        <a href="{FAQ_TGT}" title="{FAQ_TITLE}"><img src="themes/subsilver/images/icon_mini_faq.gif" alt="">{FAQ_LNK}</a>
<!-- END faq -->
<!-- BEGIN enter_admin_mode -->
                        <a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}"><img src="themes/subsilver/images/icon_mini_message.gif" alt="">{ADM_MODE_LNK}</a>
<!-- END enter_admin_mode -->
<!-- BEGIN leave_admin_mode -->
                        <a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}"><img src="themes/subsilver/images/icon_mini_message.gif" alt="">{USR_MODE_LNK}</a>
<!-- END leave_admin_mode -->
<!-- BEGIN upload_pic -->
                        <a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}"><img src="themes/subsilver/images/icon_mini_message.gif" alt="">{UPL_PIC_LNK}</a>
<!-- END upload_pic -->
<!-- BEGIN register -->
                        <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}"><img src="themes/subsilver/images/icon_mini_register.gif" alt="">{REGISTER_LNK}</a>
<!-- END register -->
<!-- BEGIN login -->
                        <a href="{LOGIN_TGT}"><img src="themes/subsilver/images/icon_mini_login.gif" alt="">{LOGIN_LNK}</a>
<!-- END login -->
<!-- BEGIN logout -->
                        <a href="{LOGOUT_TGT}"><img src="themes/subsilver/images/icon_mini_login.gif" alt="">{LOGOUT_LNK}</a>
<!-- END logout -->
                        <br /> <br />
                        <a href="{LASTUP_TGT}"><img src="themes/subsilver/images/icon_mini_message.gif" alt="">{LASTUP_LNK}</a>
                        <a href="{LASTCOM_TGT}"><img src="themes/subsilver/images/icon_mini_message.gif" alt="">{LASTCOM_LNK}</a>
                        <a href="{TOPN_TGT}"><img src="themes/subsilver/images/icon_mini_message.gif" alt="">{TOPN_LNK}</a>
                        <a href="{TOPRATED_TGT}"><img src="themes/subsilver/images/icon_mini_message.gif" alt="">{TOPRATED_LNK}</a>
                        <a href="{FAV_TGT}"><img src="themes/subsilver/images/icon_mini_message.gif" alt="">{FAV_LNK}</a>
                        <a href="{SEARCH_TGT}"><img src="themes/subsilver/images/icon_mini_search.gif" alt="">{SEARCH_LNK}</a>
<!-- BEGIN custom_link -->
<a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a>
<!-- END custom_link -->

</span>
EOT;

?>

I love GauGau!

donnoman

because :


  • {CUSTOM_LNK_LNK}
  • {ALB_LIST_LNK}
  • {LASTUP_LNK}
  • {LASTCOM_LNK}
  • {TOPN_LNK}
  • {TOPRATED_LNK}
  • {FAV_LNK}
  • {SEARCH_LNK}

are part of template_sub_menu not sys_menu