Hi and Happy New Year!
I have a problem I a really don't understand how to fix it. Upgrading subsilver's style.css and template.html was vry easy but the theme.php decided to make my life hard for the new year!
I don't know why, I've "RTFM" and this is what I get:
http://users.rockweb.org/Isolder/galerie/index.php?theme=subsilverWhy are the {TOKENS} showing instead of the correct link?
There's my theme.php file:
<?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:
**********************************************/
// ------------------------------------------------------------------------- //
// This theme has had all redundant CORE items removed //
// ------------------------------------------------------------------------- //
define('THEME_HAS_RATING_GRAPHICS', 1);
define('THEME_IS_XHTML10_TRANSITIONAL',1);
define('THEME_HAS_NO_SYS_MENU_BUTTONS', 1);
// HTML template for sys menu
$template_sys_menu = <<<EOT
<div class="topmenu">
<!-- BEGIN custom_link -->
<a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}"><img src="themes/subsilver/images/icon_mini_groups.gif" alt="" />{CUSTOM_LNK_LNK}</a>
<!-- END custom_link -->
<!-- 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>
</div>
EOT;
// HTML template for template sys_menu spacer
$template_sys_menu_spacer = "|";
?>
Thanks!