Hi Guys,
Thanks for trying to help this newbie!
With theme "classic" I have the right look now (only the album and the login button but when I log in, I don't have the upload function.
When I set the "admin" theme, I have all the old functions back.
Home :: My gallery :: User mode :: Upload file :: Logout
Album list :: Last uploads :: Last comments :: Most viewed :: Top rated :: My Favorites :: Search
So... what did I do wrong?
I made a folder in "themes" called "Admin".
I copied everything from the "classic" theme folder to the new "admin" folder.
I pasted your code into the original theme.php file.
like this:
<?php
/*************************
Coppermine Photo Gallery
************************
Copyright (c) 2003-2005 Coppermine Dev Team
v1.1 originaly 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.2
$Source: /cvsroot/coppermine/devel/themes/classic/theme.php,v $
$Revision: 1.71 $
$Author: gaugau $
$Date: 2005/10/25 01:16:24 $
**********************************************/
// ------------------------------------------------------------------------- //
// This theme has all CORE items removed //
// ------------------------------------------------------------------------- //
define('THEME_IS_XHTML10_TRANSITIONAL',1);
define('THEME_IS_XHTML10_TRANSITIONAL',1);
define('THEME_HAS_NO_SYS_MENU_BUTTONS', 1);
define('THEME_HAS_NO_SUB_MENU_BUTTONS', 1);
// sys_menu
$template_sys_menu = <<<EOT
<!-- BEGIN register -->
<a href="register.php"><div align="right"><b>JOIN US</b></a> ::
<!-- END register -->
<!-- BEGIN login -->
<a href="login.php?"><b>LOG IN</b></a>
<!-- END login -->
<!-- END login -->
<!-- BEGIN logout -->
<a href="logout.php?theme=aim"><b>LOG OUT</div></a>
<!-- END logout -->
<!-- BEGIN my_gallery -->
<!-- END my_gallery -->
<!-- BEGIN allow_memberlist -->
<!-- END allow_memberlist -->
<!-- BEGIN my_profile -->
<!-- END my_profile -->
<!-- BEGIN faq -->
<!-- END faq -->
<!-- BEGIN enter_admin_mode -->
<!-- END enter_admin_mode -->
<!-- BEGIN leave_admin_mode -->
<!-- END leave_admin_mode -->
<!-- BEGIN upload_pic -->
<!-- END upload_pic -->
<!-- BEGIN register -->
<!-- END register -->
EOT;
//sub_menu
$template_sub_menu = <<<EOT
<!-- BEGIN custom_link -->
<!-- END custom_link -->
<!-- BEGIN album_list -->
<!-- END album_list -->
EOT;
?>
Was that really stupid?...