Loading...
 
Skip to main content

/templates/modules/mod-login_box.tpl broken translation

Status
Open
Subject
/templates/modules/mod-login_box.tpl broken translation
Version
18.x
Category
  • Bug
  • Easy for Newbie Dev
  • Less than 30-minutes fix
Feature
User Administration (Registration, Login & Banning)
Resolution status
New
Submitted by
hman
Lastmod by
hman
Rating
(0)
Description

In /templates/modules/mod-login_box.tpl there are two (?) broken translations, tr in curly braces not closed & not opened, thus creating a HUGE text that gets pumped into tra, which contains mostly Tiki source code and of course lots and lots of line breaks and tabs...

Copy to clipboard
{elseif $prefs.auth_method eq 'saml' && $showloginboxes neq 'y'} <b><a class="linkmodule" href="tiki-login.php?auth=saml">{tr} {if $prefs.saml_option_login_link_text eq ''} Log in through SAML2 IdP {else} {$prefs.saml_option_login_link_text} {/if} {/tr}</a></b> {if $prefs.saml_options_skip_admin eq 'y'} <br /><a class="linkmodule" href="tiki-login_scr.php?user=admin">{tr}Log in as admin{/tr}</a> {/if} {else}

I set the importance to a higher value, because it is the user login that gets affected... Also, it affects ALL languages, including English...

Importance
8
Easy to solve?
7
Priority
56
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7541
Created
Friday 18 September, 2020 10:29:21 UTC
by hman
LastModif
Friday 18 September, 2020 10:30:15 UTC


Show PHP error messages