No theme.php refresh No theme.php refresh
 

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

No theme.php refresh

Started by Shade, May 05, 2007, 06:28:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Shade

Hi,

My english is not so good, so pls forgive me.   ;)

First my theme.php:
<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2006 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.10
  $Source$
  $Revision: 3275 $
  $Author: gaugau $
  $Date: 2006-09-03 12:10:47 +0200 (So, 03 Sep 2006) $
**********************************************/

// ------------------------------------------------------------------------- //
// This theme has all CORE items removed                                     //
// ------------------------------------------------------------------------- //
define('THEME_IS_XHTML10_TRANSITIONAL',1);

// HTML template for sys menu
$template_sys_menu = <<<EOT

<!-- BEGIN home -->
     <a href="{HOME_TGT}" title="{HOME_TITLE}" class="navmenu">{HOME_LNK}</a> :: 
<!-- END home -->

<!-- BEGIN my_gallery -->
     <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}" class="navmenu">{MY_GAL_LNK}</a> :: 
<!-- END my_gallery -->

<!-- BEGIN allow_memberlist -->
     <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}" class="navmenu">{MEMBERLIST_LNK}</a> ::
<!-- END allow_memberlist -->

<!-- BEGIN my_profile -->
     <a href="{MY_PROF_TGT}" title="{MY_PROF_LNK}" class="navmenu">{MY_PROF_LNK}</a> ::
<!-- END my_profile -->

<!-- BEGIN faq -->
     <a href="{FAQ_TGT}" title="{FAQ_TITLE}" class="navmenu">{FAQ_LNK}</a> ::
<!-- END faq -->

<!-- BEGIN enter_admin_mode -->
     <a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}" class="navmenu">{ADM_MODE_LNK}</a> :: 
<!-- END enter_admin_mode -->

<!-- BEGIN leave_admin_mode -->
     <a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}" class="navmenu">{USR_MODE_LNK}</a> :: 
<!-- END leave_admin_mode -->

<!-- BEGIN register -->
     <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}" class="navmenu">{REGISTER_LNK}</a> ::
<!-- END register -->

<!-- BEGIN login -->
     <a href="{LOGIN_TGT}" title="{LOGIN_LNK}" class="navmenu">{LOGIN_LNK}</a> ::
<!-- END login -->

<!-- BEGIN logout -->
     <a href="{LOGOUT_TGT}" title="{LOGOUT_LNK}" class="navmenu">{LOGOUT_LNK}</a> 
<!-- END logout -->

EOT;

// HTML template for sub menu
$template_sub_menu = <<<EOT

<!-- BEGIN custom_link -->               
<a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}" class="navmenu">{CUSTOM_LNK_LNK}</a> ::
<!-- END custom_link -->

<!-- BEGIN album_list -->
<a href="index.php?cat=0" title="Gehe zur Alben-Liste">Alben-Liste</a> ::
<!-- END album_list -->

<!-- BEGIN lastup -->
<a href="thumbnails.php?album=lastup&amp;cat=0" title="Zeige neueste Uploads an">Neueste Uploads</a> ::
<!-- END lastup -->

<!-- BEGIN lastcom -->
<a href="thumbnails.php?album=lastcom&amp;cat=0" title="Zeige die neuesten Kommentare an">Neueste Kommentare</a> ::
<!-- END lastcom -->

<!-- BEGIN topn -->
<a href="thumbnails.php?album=topn&amp;cat=0" title="Zeige die am meisten angesehenen Dateien an">Am meisten angesehen</a> ::
<!-- END topn -->

<!-- BEGIN toprated -->
<a href="thumbnails.php?album=toprated&amp;cat=0" title="Zeige die am besten bewerteten Dateien an">Am besten bewertet</a> ::
<!-- END toprated --> 

<!-- BEGIN favpics -->
<a href="thumbnails.php?album=favpics" title="Zeige meine Favoriten an">Meine Favoriten</a> ::
<!-- END favpics -->

<!-- BEGIN upload_pic -->
     <a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}" class="navmenu">{UPL_PIC_LNK}</a> ::
<!-- END upload_pic -->

<!-- BEGIN search -->
<a href="search.php" title="Durchsuche die Galerie">Suche</a>
<!-- END search -->

EOT;

?>
[code]

In my gallery, i see the completely SUB_MENU, but from the SYS_MENU only the login-link. Well....i have uploaded this theme.php, but nothing happened. No refresh. Its still the same SYS_MENU before i uploaded this theme.php - only login-link.
I ask me, why this theme.php not refresh in the browser? Maybe something is wrong in the theme.php?

Please help! :(

Shade
[/code]

Shade

Oh no, i maked an error.

My question is in the code  ::)

Here again:

In my gallery, i see the completely SUB_MENU, but from the SYS_MENU only the login-link. Well....i have uploaded this theme.php, but nothing happened. No refresh. Its still the same SYS_MENU before i uploaded this theme.php - only login-link.
I ask me, why this theme.php not refresh in the browser? Maybe something is wrong in the theme.php?

Please help! :(

Shade

Shade

Please delete this Thread!

Joachim Müller

We never delete threads - they remain as reference for others. That's the whole point of a support board. Instead of requesting this thread to be deleted, you should have posted what you did to solve your issue, for the benefit of others with similar issues.
Marking as "closed".