Author: sevein
Date: Thu Sep 15 13:57:01 2011
New Revision: 9734
Log:
Get rid of HTML code in the updatecheck i18n string
Modified:
trunk/apps/qubit/modules/default/templates/_updateCheck.php
Modified: trunk/apps/qubit/modules/default/templates/_updateCheck.php
==============================================================================
--- trunk/apps/qubit/modules/default/templates/_updateCheck.php Thu Sep 15
13:31:47 2011 (r9733)
+++ trunk/apps/qubit/modules/default/templates/_updateCheck.php Thu Sep 15
13:57:01 2011 (r9734)
@@ -1,4 +1,4 @@
-<?php $notificationMessage = __('A <a
href="http://www.qubit-toolkit.org/wiki/index.php?title=Release_%1%"
target="_blank">release %2%</a> upgrade is available.') ?>
+<?php $notificationMessage = __('A %1%release %2%%3% upgrade is available.',
array('%1%' => '<a
href="http://www.qubit-toolkit.org/wiki/index.php?title=Release_%1%"
target="_blank">', '%2%' => '%1%', '%3%' => '</a>')) ?>
<?php if ($sf_request->getCookie('has_js')): ?>
@@ -20,6 +20,6 @@
<?php else: ?>
- <div id="update-check"><span><?php echo __($notificationMessage, array('%1%'
=> $lastVersion, '%2%' => $lastVersion)) ?></span></div>
+ <div id="update-check"><span><?php echo __($notificationMessage, array('%1%'
=> $lastVersion)) ?></span></div>
<?php endif; ?>
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.