forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: wfs on October 19, 2006, 04:28:12 am

Title: Re: Captcha (Visual Confirmation) for adding comments
Post by: wfs on October 19, 2006, 04:28:12 am
Hi,

I just upgraded to cpg 1.49.

I noticed that I got back my earlier problem - the tabs spans right across the page.

Before upgrading I actually corrected the problem by putting in "%" in the code in my theme.php.

But after upgrading, this problem came back.

I checked the codes again - the % had actually been incorporated into cpg 1.49, but the tabs still spreads across the page.

pse help - thanks.
Title: Re: Captcha (Visual Confirmation) for adding comments
Post by: Sami on October 19, 2006, 06:34:52 am
This is not related to CAPTCHA at all !
post a link to your site
Title: Re: Captcha (Visual Confirmation) for adding comments
Post by: wfs on October 19, 2006, 08:02:38 am
here's the link:
http://www.photograffs.com/thumbnails.php?album=lastup

my apologisies for not posting it in the right place.


Title: Re: Re: Captcha (Visual Confirmation) for adding comments
Post by: Sami on October 19, 2006, 08:23:28 am
Copy (or change the orginal if you have it already) this to your theme.php
Code: [Select]
$template_tab_display = array('left_text' => '<td width="100%%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b>{LEFT_TEXT}</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>%d</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",
);
Title: Re: Captcha (Visual Confirmation) for adding comments
Post by: Joachim Müller on October 19, 2006, 08:26:47 am
@wfs: your negative karma rating (which you got for not respecting board rules) has reached a level that can't be tolerated any longer. Take more time to compose your message, keeping in mind board rules (http://forum.coppermine-gallery.net/index.php?topic=22469.msg140696#msg140696). If you don't, you'll be banned.
Title: Re: Captcha (Visual Confirmation) for adding comments
Post by: wfs on October 19, 2006, 08:48:42 am
thank you so much Sami.  It worked.

GauGau, I'm sorry I transgressed board rules.
I WILL abide.  thank you.