coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: dwo on May 16, 2008, 10:24:45 AM

Title: Remove header row "last upload" last"comment" etc.
Post by: dwo on May 16, 2008, 10:24:45 AM
Hello.

I searched, but did not find an answer.

I turned all off in admin config, breadcrump is deleted, but still one thing remains.

The small header table above the thumbs, which is in the demo version blue.
In this header for example "newest uploads" or "last comments" is displayed as text.

How can I remove the whole table/row above the thumbnails?

Thank you very much, regards, Dietmar
Title: Re: Remove header row "last upload" last"comment" etc.
Post by: Nibbler on May 16, 2008, 10:34:56 AM
Look at the function starttable()
Title: Re: Remove header row "last upload" last"comment" etc.
Post by: dwo on May 16, 2008, 11:48:52 AM
Thanks. I edited the theme.php and it works perfect.

Anyway, did I do it right this way?

code of my theme.php:

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


// Function to start a 'standard' table
if (!function_exists('starttable')) {  //{THEMES}
function starttable($width = '-1', $title = '', $title_colspan = '1')
{
    global $CONFIG;

    if ($width == '-1') $width = $CONFIG['picture_table_width'];
    if ($width == '100%') $width = $CONFIG['main_table_width'];
    echo <<<EOT

<!-- Start standard table -->
<table align="center" width="$width" cellspacing="1" cellpadding="0" class="maintable">

EOT;
    }
}


?>