Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: Remove "x album(s) on x page(s)" label.  (Read 1965 times)

0 Members and 1 Guest are viewing this topic.

jaana

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
[Solved]: Remove "x album(s) on x page(s)" label.
« on: September 03, 2009, 09:57:28 am »

Hi everyone!

I'm new here, and I tried searching for this on google and on the boards, but have found nothing so far to answer my question. I was wondering, how would I be able to remove the "x album(s) on x page(s)" label on the index page at the bottom of the album list, without also removing the page numbers? I have tried removing the {TABS} tag in my theme.php, but it takes the page numbers and links along with the info. Sorry if this is a total noob question. Thanks in advance for your help!
« Last Edit: September 14, 2009, 03:23:01 pm by Joachim Müller »
Logged

jaana

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Remove "x album(s) on x page(s)" label.
« Reply #1 on: September 03, 2009, 11:51:18 am »

Okay, nevermind, I figured it out.  ;D

Turns out I just had to remove the {LEFT_TEXT} part from the following block of code in /themes/yourtheme.php.

Code: [Select]
// Template used for tabbed display
$template_tab_display = array('left_text' => '<td width="100%%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b></b></td>' . "\n",
    'tab_header' => '',
    'tab_trailer' => '',
    'active_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="tableb_compact"><b>{LEFT_TEXT}</b></td>',
    'inactive_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>%d</b></a></td>' . "\n",
    'inactive_prev_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>{PREV}</b></a></td>' . "\n",
    'inactive_next_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>{NEXT}</b></a></td>' . "\n",
);

Thanks! Hope this helps someone out in the future!
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.