$navigator->set_focus('tab', 'options', null);
$navigator->set_focus('link', 'options-pages-home', 'options-pages');
-$admin->page_start('Home');
+$admin->page_start(_('Home'));
// ###################################################################
$check = $bugsys->xml->parse($check);
if (isset($check['version-check']['update']))
{
- $admin->page_code('<div style="background-color: white; border-color: red; border-width: 2px; border-style: solid; color: red; padding: 4px"><div style="font-size: 18px; font-weight: bold">Update Avaliable:</div>Your installation of Bugdar is out-of-date. You are running version <strong>' . $bugsys->options['trackerversion'] . '</strong> and the latest version is <strong>' . $check['version-check']['update']['value'] . '</strong>. You can download the update at <a href="http://www.bluestatic.org">Blue Static\'s website</a>. You are strongly encouraged to apply all updates to fix bugs and any security issues (if present).</div>');
+ $admin->page_code('<div style="background-color: white; border-color: red; border-width: 2px; border-style: solid; color: red; padding: 4px"><div style="font-size: 18px; font-weight: bold">' . _('Update Avaliable') . ':</div>' . sprintf(_('Your installation of Bugdar is out-of-date. You are running version <strong>%1$s</strong> and the latest version is <strong>%2$s</strong>. You can download the update at <a href="http://www.bluestatic.org">Blue Static\'s website</a>. You are strongly encouraged to apply all updates to fix bugs and any security issues (if present).'), $bugsys->options['trackerversion'], $check['version-check']['update']['value']) . '</div>');
}
else if (isset($check['version-check']['up-to-date']))
{
- $admin->page_code('<div style="background-color: white; border-color: green; border-width: 2px; border-style: solid; color: green; padding: 4px"><div style="font-size: 18px; font-weight: bold">Up-to-Date:</div>Your installation of Bugdar is up-to-date. You are running version <strong>' . $bugsys->options['trackerversion'] . '</strong>.</div>');
+ $admin->page_code('<div style="background-color: white; border-color: green; border-width: 2px; border-style: solid; color: green; padding: 4px"><div style="font-size: 18px; font-weight: bold">' . _('Up-to-Date') . ':</div>' . sprintf(_('Your installation of Bugdar is up-to-date. You are running version <strong>%1$s</strong>.'), $bugsys->options['trackerversion']) . '</div>');
}
}
}
- Only allow JPG, JPEG, PNG, and GIF attachments to be displayed inline because all other types could lead to an XSS attack
- Added maxlength attributes to all <input type="text"/> fields so the database doesn't truncate (http://www.bluestatic.org/bugs/showreport.php?bugid=58)
- Fixed display issues in Firefox for RTL languages in the bug report screen and attachment display (http://www.bluestatic.org/bugs/showreport.php?bugid=59)
+- Localized the version checking information strings in admin/index.php
+- Localized the word "Home" in the admin/index.php <title>
1.1.3
===============================