Translation setup for footer in the default theme.

This commit is contained in:
markjcrane
2016-04-02 14:07:06 -06:00
parent 11f4fea479
commit 284c3e3a91
2 changed files with 27 additions and 1 deletions

View File

@@ -48,4 +48,20 @@ $text['theme-label-search']['pl'] = "Poszukiwanie...";
$text['theme-label-search']['uk'] = "Пошук...";
$text['theme-label-search']['sv-se'] = "Sök...";
$text['theme-label-copyright']['en-us'] = "Copyright";
$text['theme-label-copyright']['es-cl'] = "";
$text['theme-label-copyright']['pt-pt'] = "";
$text['theme-label-copyright']['fr-fr'] = "";
$text['theme-label-copyright']['pl'] = "";
$text['theme-label-copyright']['uk'] = "";
$text['theme-label-copyright']['sv-se'] = "";
$text['theme-label-all_rights_reserved']['en-us'] = "All rights reserved.";
$text['theme-label-all_rights_reserved']['es-cl'] = "";
$text['theme-label-all_rights_reserved']['pt-pt'] = "";
$text['theme-label-all_rights_reserved']['fr-fr'] = "";
$text['theme-label-all_rights_reserved']['pl'] = "";
$text['theme-label-all_rights_reserved']['uk'] = "";
$text['theme-label-all_rights_reserved']['sv-se'] = "";
?>

View File

@@ -1889,7 +1889,17 @@
</tr>
<tr>
<td style='width: 100%; height: 40px; vertical-align: bottom;'>
<div id='footer' style='width: 100%;'><span class='footer'>&copy; Copyright 2008 - <?php echo date("Y"); ?> <a href='http://www.fusionpbx.com' class='footer' target='_blank'>fusionpbx.com</a>. All rights reserved.</span></div>
<div id='footer' style='width: 100%;'><span class='footer'>
<?php
if (isset($_SESSION['theme']['footer']['text'])) {
echo $_SESSION['theme']['footer']['text'];
}
else {
echo "&copy; ".$text['theme-label-copyright']." 2008 - ".date("Y")."<a href='http://www.fusionpbx.com' class='footer' target='_blank'>fusionpbx.com</a>".$text['theme-label-all_rights_reserved'];
}
?>
</span>
</div>
</td>
</tr>
</table>