// ------------------------------------------------------------------------- // // Coppermine Photo Gallery 1.4.2 // // ------------------------------------------------------------------------- // // Copyright (C) 2002-2004 Gregory DEMAR // // http://www.chezgreg.net/coppermine/ // // ------------------------------------------------------------------------- // // Updated by the Coppermine Dev Team // // (http://coppermine.sf.net/team/) // // see /docs/credits.html for details // // ------------------------------------------------------------------------- // // 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. // // ------------------------------------------------------------------------- // // $Id: theme.php,v 1.66 2005/11/23 08:00:14 gaugau Exp $ // ------------------------------------------------------------------------- // // This theme has had redundant CORE items removed // // ------------------------------------------------------------------------- // define('THEME_HAS_RATING_GRAPHICS', 1); define('THEME_HAS_NAVBAR_GRAPHICS', 1); define('THEME_HAS_NO_SUB_MENU_BUTTONS',1); define('THEME_IS_XHTML10_TRANSITIONAL',1); // Remove this if you edit this template until // you have validated it. See docs/theme.htm. // HTML template for template sys_menu spacer $template_sys_menu_spacer ='|'; // HTML template for template sub_menu $template_sub_menu = <<
{CUSTOM_LNK_LNK}


{ALB_LIST_LNK}
{LASTUP_LNK}
{LASTCOM_LNK}
{TOPN_LNK}
{TOPRATED_LNK}
{FAV_LNK}
{SEARCH_LNK}
EOT; // HTML template for title row of the thumbnail view (album title + sort options) $template_thumb_view_title_row = << {ALBUM_NAME} {TITLE}  +   -     {NAME}  +   -     {DATE}  +   -     {POSITION}  +   -  EOT; // Function to start a 'standard' table function starttable($width = '-1', $title = '', $title_colspan = '1') { global $CONFIG; global $table_need_close; if ($width == '-1') $width = $CONFIG['picture_table_width']; if ($width == '100%') $width = $CONFIG['main_table_width']; if ($title) { $table_need_close = true; echo <<
$title
EOT; echo '
' . "\n"; starttable(); echo $nav_menu; endtable(); starttable(); echo $picture; endtable(); if ($CONFIG['display_film_strip'] == 1) { echo $film_strip; } if ($votes) { starttable(); echo $spacer; endtable(); echo $votes; } $picinfo = isset($_COOKIE['picinfo']) ? $_COOKIE['picinfo'] : ($CONFIG['display_pic_info'] ? 'block' : 'none'); echo "
\n"; starttable(); echo $spacer; endtable(); starttable(); echo $pic_info; endtable(); echo "
\n"; if ($comments) { starttable(); echo $spacer; endtable(); echo "
\n"; echo $comments; echo "
\n"; } } ?>
EOT; } else { echo <<
EOT; } } function endtable() { global $table_need_close; if ($table_need_close) { $table_need_close = false; echo <<
EOT; } else { echo << EOT; } } function theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip) { global $CONFIG; $spacer = <<