SimplePortal

Development => Bugs => Fixed or Bogus Bugs => Topic started by: sama55 on April 11, 2010, 11:12:48 PM

Title: Title and Help of the editing and adding of the block is reverse ?
Post by: sama55 on April 11, 2010, 11:12:48 PM
Thank you nice package!
I'm translating to Japanese now.
I found a small bug(?), then report it.

SimplePortal version : 2.3.2

File : Themes/default/PortalAdminBlocks.template.php (L79 - L80)
ORIGINAL:
Code: [Select]
<a href="', $scripturl, '?action=helpadmin;help=sp-blocks', $context['SPortal']['is_new'] ? 'Edit' : 'Add', '" onclick="return reqWin(this.href);" class="help"><img src="', $settings['images_url'], '/helptopics.gif" alt="', $txt['help'], '" class="icon" /></a>
', $context['SPortal']['is_new'] ? $txt['sp-blocksEdit'] : $txt['sp-blocksAdd'], '
MODIFIED:
Code: [Select]
<a href="', $scripturl, '?action=helpadmin;help=sp-blocks', $context['SPortal']['is_new'] ? 'Add' : 'Edit', '" onclick="return reqWin(this.href);" class="help"><img src="', $settings['images_url'], '/helptopics.gif" alt="', $txt['help'], '" class="icon" /></a>
', $context['SPortal']['is_new'] ? $txt['sp-blocksAdd'] : $txt['sp-blocksEdit'], '

File : Themes/default/PortalAdminArticles.template.php (L90 - L91)
ORIGINAL:
Code: [Select]
<a href="', $scripturl, '?action=helpadmin;help=sp-articlesEdit" onclick="return reqWin(this.href);" class="help"><img src="', $settings['images_url'], '/helptopics.gif" alt="', $txt['help'], '" class="icon" /></a>&nbsp;
', $txt['sp-articlesAdd'], '
MODIFIED:
Code: [Select]
<a href="', $scripturl, '?action=helpadmin;help=sp-articlesAdd" onclick="return reqWin(this.href);" class="help"><img src="', $settings['images_url'], '/helptopics.gif" alt="', $txt['help'], '" class="icon" /></a>&nbsp;
', $txt['sp-articlesAdd'], '

If wrong, i'm sorry. ;)
Title: Re: Title and Help of the editing and adding of the block is reverse ?
Post by: [SiNaN] on April 12, 2010, 07:42:13 AM
I think Nath fixed the second one already. I can confirm the first one too. It affects the SMF 2.0 versions only.

Thanks for the bug report.
Title: Re: Title and Help of the editing and adding of the block is reverse ?
Post by: Nathaniel on April 19, 2010, 08:58:18 AM
Reported to the ProjectTracker:
http://simpleportal.net/index.php?issue=367.0
SimplePortal 2.3.8 © 2008-2024, SimplePortal