summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/_administration/header.php50
-rw-r--r--themes/clouds/footer.php2
-rw-r--r--themes/clouds/header.php10
-rw-r--r--themes/clouds/templates/personbox_template.php2
-rw-r--r--themes/colors/footer.php2
-rw-r--r--themes/colors/header.php10
-rw-r--r--themes/colors/templates/personbox_template.php2
-rw-r--r--themes/colors/theme.php28
-rw-r--r--themes/fab/header.php8
-rw-r--r--themes/minimal/footer.php2
-rw-r--r--themes/minimal/header.php8
-rw-r--r--themes/minimal/templates/personbox_template.php2
-rw-r--r--themes/webtrees/footer.php2
-rw-r--r--themes/webtrees/header.php14
-rw-r--r--themes/webtrees/templates/personbox_template.php2
-rw-r--r--themes/xenea/footer.php4
-rw-r--r--themes/xenea/header.php8
-rw-r--r--themes/xenea/templates/personbox_template.php2
18 files changed, 79 insertions, 79 deletions
diff --git a/themes/_administration/header.php b/themes/_administration/header.php
index f0de8d2767..2c63cc0317 100644
--- a/themes/_administration/header.php
+++ b/themes/_administration/header.php
@@ -27,7 +27,7 @@ if (!defined('WT_WEBTREES')) {
echo
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
- '<html xmlns="http://www.w3.org/1999/xhtml" ', i18n::html_markup(), '>',
+ '<html xmlns="http://www.w3.org/1999/xhtml" ', WT_I18N::html_markup(), '>',
'<head>',
'<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />',
'<title>', htmlspecialchars($title), '</title>',
@@ -39,9 +39,9 @@ echo
'<body id="body">',
// Header
'<div id="admin_head" class="ui-widget-content">',
- '<div id="title"><a href="admin.php">', i18n::translate('Administration'), '</a></div>',
+ '<div id="title"><a href="admin.php">', WT_I18N::translate('Administration'), '</a></div>',
'<div id="links">',
- '<a href="index.php">', i18n::translate('My page'), '</a> | ',
+ '<a href="index.php">', WT_I18N::translate('My page'), '</a> | ',
logout_link(),
'<span>';
$language_menu=WT_MenuBar::getLanguageMenu();
@@ -50,41 +50,41 @@ echo
}
echo '</span>';
if (WT_USER_CAN_ACCEPT && exists_pending_change()) {
- echo ' | <li><a href="javascript:;" onclick="window.open(\'edit_changes.php\',\'_blank\',\'width=600,height=500,resizable=1,scrollbars=1\'); return false;" style="color:red;">', i18n::translate('Pending changes'), '</a></li>';
+ echo ' | <li><a href="javascript:;" onclick="window.open(\'edit_changes.php\',\'_blank\',\'width=600,height=500,resizable=1,scrollbars=1\'); return false;" style="color:red;">', WT_I18N::translate('Pending changes'), '</a></li>';
}
echo '</div>',
'<div id="info">',
WT_WEBTREES, ' ', WT_VERSION_TEXT,
'<br />',
- i18n::translate('Current Server Time:'), ' ', format_timestamp(time()),
+ WT_I18N::translate('Current Server Time:'), ' ', format_timestamp(time()),
'<br />',
- i18n::translate('Current User Time:'), ' ', format_timestamp(client_time()),
+ WT_I18N::translate('Current User Time:'), ' ', format_timestamp(client_time()),
'</div>',
'</div>',
// Side menu
'<div id="admin_menu" class="ui-widget-content">',
'<ul>',
'<li><a ', (WT_SCRIPT_NAME=="admin.php" ? 'class="current" ' : ''), 'href="admin.php">',
- i18n::translate('Administration'),
+ WT_I18N::translate('Administration'),
'</a></li>';
if (WT_USER_IS_ADMIN) {
echo
'<li><ul>',
'<li><a ', (WT_SCRIPT_NAME=="admin_site_config.php" ? 'class="current" ' : ''), 'href="admin_site_config.php">',
- i18n::translate('Server configuration'),
+ WT_I18N::translate('Server configuration'),
'</a></li>',
'<li><a ', (WT_SCRIPT_NAME=="admin_site_logs.php" ? 'class="current" ' : ''), 'href="admin_site_logs.php">',
- i18n::translate('Logs'),
+ WT_I18N::translate('Logs'),
'</a></li>',
- '<li><a ', (WT_SCRIPT_NAME=="admin_site_readme.php" ? 'class="current" ' : ''), 'href="admin_site_readme.php">', i18n::translate('README documentation'), '</a></li>',
- '<li><a ', (WT_SCRIPT_NAME=="admin_site_info.php" ? 'class="current" ' : ''), 'href="admin_site_info.php?action=phpinfo">', i18n::translate('PHP information'), '</a></li>',
- '<li><a ', (WT_SCRIPT_NAME=="admin_site_manageservers.php" ? 'class="current" ' : ''), 'href="admin_site_ipaddress.php">', i18n::translate('Manage sites'), '</a></li>',
+ '<li><a ', (WT_SCRIPT_NAME=="admin_site_readme.php" ? 'class="current" ' : ''), 'href="admin_site_readme.php">', WT_I18N::translate('README documentation'), '</a></li>',
+ '<li><a ', (WT_SCRIPT_NAME=="admin_site_info.php" ? 'class="current" ' : ''), 'href="admin_site_info.php?action=phpinfo">', WT_I18N::translate('PHP information'), '</a></li>',
+ '<li><a ', (WT_SCRIPT_NAME=="admin_site_manageservers.php" ? 'class="current" ' : ''), 'href="admin_site_ipaddress.php">', WT_I18N::translate('Manage sites'), '</a></li>',
'</ul></li>',
'<li><a ', (WT_SCRIPT_NAME=="admin_trees_manage.php" ? 'class="current" ' : ''), 'href="admin_trees_manage.php">',
- i18n::translate('Family trees'),
+ WT_I18N::translate('Family trees'),
'</a></li>';
} else {
- echo '<li>', i18n::translate('Family trees'), '</li>';
+ echo '<li>', WT_I18N::translate('Family trees'), '</li>';
}
echo '<li><ul>';
//-- gedcom list
@@ -100,40 +100,40 @@ echo '</ul></li>';
if (WT_USER_IS_ADMIN) {
echo
'<li><a ', (WT_SCRIPT_NAME=="admin_users_list.php" ? 'class="current" ' : ''), 'href="useradmin.php">',
- i18n::translate('Users'),
+ WT_I18N::translate('Users'),
'</a></li>',
'<li><ul>',
- '<li><a ', (WT_SCRIPT_NAME=="admin_users_add.php" ? 'class="current" ' : ''), 'href="admin_users_add.php?action=createform">', i18n::translate('Add user'), '</a></li>',
+ '<li><a ', (WT_SCRIPT_NAME=="admin_users_add.php" ? 'class="current" ' : ''), 'href="admin_users_add.php?action=createform">', WT_I18N::translate('Add user'), '</a></li>',
'<li><a ', (WT_SCRIPT_NAME=="#" ? 'class="current" ' : ''), 'href="useradmin.php">',
- i18n::translate('Bulk messaging'),
+ WT_I18N::translate('Bulk messaging'),
'</a></li>',
'</ul></li>',
'<li><a ', (WT_SCRIPT_NAME=="admin_media.php" ? 'class="current" ' : ''), 'href="admin_media.php">',
- i18n::translate('Media'),
+ WT_I18N::translate('Media'),
'</a></li>',
'<li><ul>',
'<li><a ', (WT_SCRIPT_NAME=="admin_media_upload.php" ? 'class="current" ' : ''), 'href="admin_media_upload.php">',
- i18n::translate('Upload media files'),
+ WT_I18N::translate('Upload media files'),
'</a></li>',
'</ul></li>',
'<li><a ', (WT_SCRIPT_NAME=="admin_modules.php" ? 'class="current" ' : ''), 'href="admin_modules.php">',
- i18n::translate('Modules'),
+ WT_I18N::translate('Modules'),
'</a></li>',
'<li><ul>',
'<li><a ', (WT_SCRIPT_NAME=="admin_module_menus.php" ? 'class="current" ' : ''), 'href="admin_module_menus.php">',
- i18n::translate('Menus'),
+ WT_I18N::translate('Menus'),
'</a></li>',
'<li><a ', (WT_SCRIPT_NAME=="admin_module_tabs.php" ? 'class="current" ' : ''), 'href="admin_module_tabs.php">',
- i18n::translate('Tabs'),
+ WT_I18N::translate('Tabs'),
'</a></li>',
'<li><a ', (WT_SCRIPT_NAME=="admin_module_blocks.php" ? 'class="current" ' : ''), 'href="admin_module_blocks.php">',
- i18n::translate('Blocks'),
+ WT_I18N::translate('Blocks'),
'</a></li>',
'<li><a ', (WT_SCRIPT_NAME=="admin_module_sidebar.php" ? 'class="current" ' : ''), 'href="admin_module_sidebar.php">',
- i18n::translate('Sidebar'),
+ WT_I18N::translate('Sidebar'),
'</a></li>',
'<li><a ', (WT_SCRIPT_NAME=="admin_module_reports.php" ? 'class="current" ' : ''), 'href="admin_module_reports.php">',
- i18n::translate('Reports'),
+ WT_I18N::translate('Reports'),
'</a></li>',
'</ul></li>';
foreach (WT_Module::getInstalledModules() as $module) {
diff --git a/themes/clouds/footer.php b/themes/clouds/footer.php
index 2e61058f32..2ba85ad054 100644
--- a/themes/clouds/footer.php
+++ b/themes/clouds/footer.php
@@ -47,7 +47,7 @@ if ($SHOW_STATS || WT_DEBUG) {
}
echo "<br />";
if (exists_pending_change()) {
- echo "<br /><a href=\"javascript:;\" onclick=\"window.open('edit_changes.php', '_blank', 'width=600, height=500, resizable=1, scrollbars=1'); return false;\">", i18n::translate('There are pending changes for you to moderate.'), "</a>";
+ echo "<br /><a href=\"javascript:;\" onclick=\"window.open('edit_changes.php', '_blank', 'width=600, height=500, resizable=1, scrollbars=1'); return false;\">", WT_I18N::translate('There are pending changes for you to moderate.'), "</a>";
}
echo "</div>";
echo "</div> <!-- close div id=\"footer\" -->\n";
diff --git a/themes/clouds/header.php b/themes/clouds/header.php
index 4be5c2d7c0..74bd229b0c 100644
--- a/themes/clouds/header.php
+++ b/themes/clouds/header.php
@@ -45,7 +45,7 @@ if ($TEXT_DIRECTION=='ltr') {
echo
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
- '<html xmlns="http://www.w3.org/1999/xhtml" ', i18n::html_markup(), '>',
+ '<html xmlns="http://www.w3.org/1999/xhtml" ', WT_I18N::html_markup(), '>',
'<head>',
'<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />',
'<title>', htmlspecialchars($title), '</title>',
@@ -110,9 +110,9 @@ if ((!empty($rtl_stylesheet))&&($TEXT_DIRECTION=="rtl")) { ?>
if (empty($SEARCH_SPIDER)) {
echo '<td valign="middle" align="center"><div class="blanco" style="COLOR: #6699ff;" >';
if (WT_USER_ID) {
- echo '<a href="edituser.php" class="link">', i18n::translate('Logged in as '), ' (', WT_USER_NAME, ')</a><br />';
+ echo '<a href="edituser.php" class="link">', WT_I18N::translate('Logged in as '), ' (', WT_USER_NAME, ')</a><br />';
if (WT_USER_GEDCOM_ADMIN) {
- echo '<a href="admin.php" class="link">', i18n::translate('Administration'), '</a> | ';
+ echo '<a href="admin.php" class="link">', WT_I18N::translate('Administration'), '</a> | ';
}
echo logout_link();
} elseif (empty($SEARCH_SPIDER)) {
@@ -126,8 +126,8 @@ if (empty($SEARCH_SPIDER)) {
echo '<form action="search.php" method="post">',
'<input type="hidden" name="action" value="general" />',
'<input type="hidden" name="topsearch" value="yes" />',
- '<input type="text" class="formbut" name="query" size="15" value="', i18n::translate('Search'), '" onfocus="if (this.value==\'', i18n::translate('Search'), '\') this.value=\'\'; focusHandler();" onblur="if (this.value==\'\') this.value=\'', i18n::translate('Search'), '\';" />',
- '<input type="image" src="', WT_THEME_DIR, 'images/go.gif', '" align="top" alt="', i18n::translate('Search'), '" title="', i18n::translate('Search'), '" />',
+ '<input type="text" class="formbut" name="query" size="15" value="', WT_I18N::translate('Search'), '" onfocus="if (this.value==\'', WT_I18N::translate('Search'), '\') this.value=\'\'; focusHandler();" onblur="if (this.value==\'\') this.value=\'', WT_I18N::translate('Search'), '\';" />',
+ '<input type="image" src="', WT_THEME_DIR, 'images/go.gif', '" align="top" alt="', WT_I18N::translate('Search'), '" title="', WT_I18N::translate('Search'), '" />',
'</form>',
'</div>';
}
diff --git a/themes/clouds/templates/personbox_template.php b/themes/clouds/templates/personbox_template.php
index a16fba9b5e..2f3137171c 100644
--- a/themes/clouds/templates/personbox_template.php
+++ b/themes/clouds/templates/personbox_template.php
@@ -57,7 +57,7 @@ if (!defined('WT_WEBTREES')) {
<div id="inout2-<?php echo $boxID; ?>" style="display: block;"><?php echo $BirthDeath; ?></div>
</div>
<div id="inout-<?php echo $boxID; ?>" style="display: none;">
- <div id="LOADING-inout-<?php echo $boxID; ?>"><?php echo i18n::translate('Loading...'); ?></div>
+ <div id="LOADING-inout-<?php echo $boxID; ?>"><?php echo WT_I18N::translate('Loading...'); ?></div>
</div>
</td></tr></table>
</div>
diff --git a/themes/colors/footer.php b/themes/colors/footer.php
index 7fc3e92cdb..3427849ac2 100644
--- a/themes/colors/footer.php
+++ b/themes/colors/footer.php
@@ -46,7 +46,7 @@ if ($SHOW_STATS || WT_DEBUG) {
}
if (exists_pending_change()) {
- echo "<br /><a href=\"javascript:;\" onclick=\"window.open('edit_changes.php', '_blank', 'width=600, height=500, resizable=1, scrollbars=1'); return false;\">", i18n::translate('There are pending changes for you to moderate.'), "</a>";
+ echo "<br /><a href=\"javascript:;\" onclick=\"window.open('edit_changes.php', '_blank', 'width=600, height=500, resizable=1, scrollbars=1'); return false;\">", WT_I18N::translate('There are pending changes for you to moderate.'), "</a>";
}
echo "</div>";
echo "</div> <!-- close div id=\"footer\" -->\n";
diff --git a/themes/colors/header.php b/themes/colors/header.php
index e70b419402..4e13876af3 100644
--- a/themes/colors/header.php
+++ b/themes/colors/header.php
@@ -46,7 +46,7 @@ if ($TEXT_DIRECTION=='ltr') {
echo
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
- '<html xmlns="http://www.w3.org/1999/xhtml" ', i18n::html_markup(), '>',
+ '<html xmlns="http://www.w3.org/1999/xhtml" ', WT_I18N::html_markup(), '>',
'<head>',
'<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />',
'<title>', htmlspecialchars($title), '</title>',
@@ -118,10 +118,10 @@ if ($view!='simple') {
'<li><a href="edituser.php" class="icon_color">', getUserFullName(WT_USER_ID), '</a></li>',
' | <li>', logout_link('class="icon_color"'), '</li>';
if (WT_USER_GEDCOM_ADMIN) {
- echo ' | <li><a href="admin.php" class="icon_color">', i18n::translate('Administration'), '</a></li>';
+ echo ' | <li><a href="admin.php" class="icon_color">', WT_I18N::translate('Administration'), '</a></li>';
}
if (WT_USER_CAN_ACCEPT && exists_pending_change()) {
- echo ' | <li><a href="javascript:;" onclick="window.open(\'edit_changes.php\',\'_blank\',\'width=600,height=500,resizable=1,scrollbars=1\'); return false;" style="color:red;">', i18n::translate('Pending changes'), '</a></li>';
+ echo ' | <li><a href="javascript:;" onclick="window.open(\'edit_changes.php\',\'_blank\',\'width=600,height=500,resizable=1,scrollbars=1\'); return false;" style="color:red;">', WT_I18N::translate('Pending changes'), '</a></li>';
}
} else {
echo '<li>', login_link('class="icon_color"'), '</li>';
@@ -139,8 +139,8 @@ if ($view!='simple') {
'</span> | <form style="display:inline;" action="search.php" method="get">',
'<input type="hidden" name="action" value="general" />',
'<input type="hidden" name="topsearch" value="yes" />',
- '<input type="text" name="query" size="15" value="', i18n::translate('Search'), '" onfocus="if (this.value==\'', i18n::translate('Search'), '\') this.value=\'\'; focusHandler();" onblur="if (this.value==\'\') this.value=\'', i18n::translate('Search'), '\';" />',
- '<input type="image" src="', WT_THEME_DIR, 'images/go.gif', '" align="top" alt="', i18n::translate('Search'), '" title="', i18n::translate('Search'), '" />',
+ '<input type="text" name="query" size="15" value="', WT_I18N::translate('Search'), '" onfocus="if (this.value==\'', WT_I18N::translate('Search'), '\') this.value=\'\'; focusHandler();" onblur="if (this.value==\'\') this.value=\'', WT_I18N::translate('Search'), '\';" />',
+ '<input type="image" src="', WT_THEME_DIR, 'images/go.gif', '" align="top" alt="', WT_I18N::translate('Search'), '" title="', WT_I18N::translate('Search'), '" />',
'</form>',
'</div>';
}
diff --git a/themes/colors/templates/personbox_template.php b/themes/colors/templates/personbox_template.php
index a16fba9b5e..2f3137171c 100644
--- a/themes/colors/templates/personbox_template.php
+++ b/themes/colors/templates/personbox_template.php
@@ -57,7 +57,7 @@ if (!defined('WT_WEBTREES')) {
<div id="inout2-<?php echo $boxID; ?>" style="display: block;"><?php echo $BirthDeath; ?></div>
</div>
<div id="inout-<?php echo $boxID; ?>" style="display: none;">
- <div id="LOADING-inout-<?php echo $boxID; ?>"><?php echo i18n::translate('Loading...'); ?></div>
+ <div id="LOADING-inout-<?php echo $boxID; ?>"><?php echo WT_I18N::translate('Loading...'); ?></div>
</div>
</td></tr></table>
</div>
diff --git a/themes/colors/theme.php b/themes/colors/theme.php
index 77d9a2a448..fbbcfd9030 100644
--- a/themes/colors/theme.php
+++ b/themes/colors/theme.php
@@ -54,20 +54,20 @@ function color_theme_dropdown($style=0) {
*/
$COLOR_THEME_LIST=array(
- 'aquamarine' => /* I18N: This is the name of theme color-scheme */ i18n::translate('Aqua Marine'),
- 'ash' => /* I18N: This is the name of theme color-scheme */ i18n::translate('Ash'),
- 'belgianchocolate'=> /* I18N: This is the name of theme color-scheme */ i18n::translate('Belgian Chocolate'),
- 'bluelagoon' => /* I18N: This is the name of theme color-scheme */ i18n::translate('Blue Lagoon'),
- 'bluemarine' => /* I18N: This is the name of theme color-scheme */ i18n::translate('Blue Marine'),
- 'coldday' => /* I18N: This is the name of theme color-scheme */ i18n::translate('Cold Day'),
- 'greenbeam' => /* I18N: This is the name of theme color-scheme */ i18n::translate('Green Beam'),
- 'mediterranio' => /* I18N: This is the name of theme color-scheme */ i18n::translate('Mediterranio'),
- 'mercury' => /* I18N: This is the name of theme color-scheme */ i18n::translate('Mercury'),
- 'nocturnal' => /* I18N: This is the name of theme color-scheme */ i18n::translate('Nocturnal'),
- 'olivia' => /* I18N: This is the name of theme color-scheme */ i18n::translate('Olivia'),
- 'pinkplastic' => /* I18N: This is the name of theme color-scheme */ i18n::translate('Pink Plastic'),
- 'shinytomato' => /* I18N: This is the name of theme color-scheme */ i18n::translate('Shiny Tomato'),
- 'tealtop' => /* I18N: This is the name of theme color-scheme */ i18n::translate('Teal Top'),
+ 'aquamarine' => /* I18N: This is the name of theme color-scheme */ WT_I18N::translate('Aqua Marine'),
+ 'ash' => /* I18N: This is the name of theme color-scheme */ WT_I18N::translate('Ash'),
+ 'belgianchocolate'=> /* I18N: This is the name of theme color-scheme */ WT_I18N::translate('Belgian Chocolate'),
+ 'bluelagoon' => /* I18N: This is the name of theme color-scheme */ WT_I18N::translate('Blue Lagoon'),
+ 'bluemarine' => /* I18N: This is the name of theme color-scheme */ WT_I18N::translate('Blue Marine'),
+ 'coldday' => /* I18N: This is the name of theme color-scheme */ WT_I18N::translate('Cold Day'),
+ 'greenbeam' => /* I18N: This is the name of theme color-scheme */ WT_I18N::translate('Green Beam'),
+ 'mediterranio' => /* I18N: This is the name of theme color-scheme */ WT_I18N::translate('Mediterranio'),
+ 'mercury' => /* I18N: This is the name of theme color-scheme */ WT_I18N::translate('Mercury'),
+ 'nocturnal' => /* I18N: This is the name of theme color-scheme */ WT_I18N::translate('Nocturnal'),
+ 'olivia' => /* I18N: This is the name of theme color-scheme */ WT_I18N::translate('Olivia'),
+ 'pinkplastic' => /* I18N: This is the name of theme color-scheme */ WT_I18N::translate('Pink Plastic'),
+ 'shinytomato' => /* I18N: This is the name of theme color-scheme */ WT_I18N::translate('Shiny Tomato'),
+ 'tealtop' => /* I18N: This is the name of theme color-scheme */ WT_I18N::translate('Teal Top'),
);
if (isset($_GET['themecolor']) && array_key_exists($_GET['themecolor'], $COLOR_THEME_LIST)) {
diff --git a/themes/fab/header.php b/themes/fab/header.php
index 429f14fd82..8aa6dc72f6 100644
--- a/themes/fab/header.php
+++ b/themes/fab/header.php
@@ -42,7 +42,7 @@ if ($TEXT_DIRECTION=='ltr') {
echo
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
- '<html xmlns="http://www.w3.org/1999/xhtml" ', i18n::html_markup(), '>',
+ '<html xmlns="http://www.w3.org/1999/xhtml" ', WT_I18N::html_markup(), '>',
'<head>',
'<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />',
'<meta name="description" content="', htmlspecialchars($META_DESCRIPTION), '" />',
@@ -98,10 +98,10 @@ if ($view!='simple') { // Use "simple" headers for popup windows
'<li><a href="edituser.php" class="link">', getUserFullName(WT_USER_ID), '</a></li>',
' | <li>', logout_link(), '</li>';
if (WT_USER_GEDCOM_ADMIN) {
- echo ' | <li><a href="admin.php" class="link">', i18n::translate('Administration'), '</a></li>';
+ echo ' | <li><a href="admin.php" class="link">', WT_I18N::translate('Administration'), '</a></li>';
}
if (WT_USER_CAN_ACCEPT && exists_pending_change()) {
- echo ' | <li><a href="javascript:;" onclick="window.open(\'edit_changes.php\',\'_blank\',\'width=600,height=500,resizable=1,scrollbars=1\'); return false;" style="color:red;">', i18n::translate('Pending changes'), '</a></li>';
+ echo ' | <li><a href="javascript:;" onclick="window.open(\'edit_changes.php\',\'_blank\',\'width=600,height=500,resizable=1,scrollbars=1\'); return false;" style="color:red;">', WT_I18N::translate('Pending changes'), '</a></li>';
}
} else {
echo '<li>', login_link(), '</li>';
@@ -119,7 +119,7 @@ if ($view!='simple') { // Use "simple" headers for popup windows
'</span> | <form style="display:inline;" action="search.php" method="get">',
'<input type="hidden" name="action" value="general" />',
'<input type="hidden" name="topsearch" value="yes" />',
- '<input type="text" name="query" size="20" value="', i18n::translate('Search'), '" onfocus="if (this.value==\'', i18n::translate('Search'), '\') this.value=\'\'; focusHandler();" onblur="if (this.value==\'\') this.value=\'', i18n::translate('Search'), '\';" />',
+ '<input type="text" name="query" size="20" value="', WT_I18N::translate('Search'), '" onfocus="if (this.value==\'', WT_I18N::translate('Search'), '\') this.value=\'\'; focusHandler();" onblur="if (this.value==\'\') this.value=\'', WT_I18N::translate('Search'), '\';" />',
'</form>',
'</ul></div>';
$menu_items=array(
diff --git a/themes/minimal/footer.php b/themes/minimal/footer.php
index 0dfc69b849..8f28172fd4 100644
--- a/themes/minimal/footer.php
+++ b/themes/minimal/footer.php
@@ -45,7 +45,7 @@ echo '<div id="footer" class="', $TEXT_DIRECTION, ' width99 center">';
}
if (exists_pending_change()) {
echo '<a href="javascript:;" onclick="window.open(\'edit_changes.php\', \'_blank\', \'width=600, height=500, resizable=1, scrollbars=1\'); return false;">';
- echo '<p class="error center">', i18n::translate('There are pending changes for you to moderate.'), '</p>';
+ echo '<p class="error center">', WT_I18N::translate('There are pending changes for you to moderate.'), '</p>';
echo '</a>';
}
'</div>'; // close div id=\"footer\"
diff --git a/themes/minimal/header.php b/themes/minimal/header.php
index a931897ac3..7a1e332503 100644
--- a/themes/minimal/header.php
+++ b/themes/minimal/header.php
@@ -34,7 +34,7 @@ if (!defined('WT_WEBTREES')) {
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" <?php echo i18n::html_markup(); ?>>
+<html xmlns="http://www.w3.org/1999/xhtml" <?php echo WT_I18N::html_markup(); ?>>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<?php if (isset($_GET["mod_action"]) && $_GET["mod_action"]=="places_edit") { ?>
@@ -94,9 +94,9 @@ if (!defined('WT_WEBTREES')) {
<td align="center" valign="middle">
<?php
if (WT_USER_ID) {
- echo '<a href="edituser.php" class="link">', i18n::translate('Logged in as '), ' (', WT_USER_NAME, ')</a><br />';
+ echo '<a href="edituser.php" class="link">', WT_I18N::translate('Logged in as '), ' (', WT_USER_NAME, ')</a><br />';
if (WT_USER_GEDCOM_ADMIN) {
- echo '<a href="admin.php" class="link">', i18n::translate('Administration'), '</a> | ';
+ echo '<a href="admin.php" class="link">', WT_I18N::translate('Administration'), '</a> | ';
}
echo logout_link();
} elseif (empty($SEARCH_SPIDER)) {
@@ -121,7 +121,7 @@ if (!defined('WT_WEBTREES')) {
<form action="search.php" method="get">
<input type="hidden" name="action" value="general" />
<input type="hidden" name="topsearch" value="yes" />
- <input type="text" name="query" size="15" value="<?php echo i18n::translate('Search'); ?>" onfocus="if (this.value == '<?php echo i18n::translate('Search'); ?>') this.value=''; focusHandler();" onblur="if (this.value == '') this.value='<?php echo i18n::translate('Search'); ?>';" />
+ <input type="text" name="query" size="15" value="<?php echo WT_I18N::translate('Search'); ?>" onfocus="if (this.value == '<?php echo WT_I18N::translate('Search'); ?>') this.value=''; focusHandler();" onblur="if (this.value == '') this.value='<?php echo WT_I18N::translate('Search'); ?>';" />
<input type="submit" name="search" value=" &gt; " />
</form>
<?php print_favorite_selector(); ?>
diff --git a/themes/minimal/templates/personbox_template.php b/themes/minimal/templates/personbox_template.php
index 011815cb20..12b25a3a34 100644
--- a/themes/minimal/templates/personbox_template.php
+++ b/themes/minimal/templates/personbox_template.php
@@ -57,7 +57,7 @@ if (!defined('WT_WEBTREES')) {
<div id="inout2-<?php echo $boxID; ?>" style="display: block;"><?php echo $BirthDeath; ?></div>
</div>
<div id="inout-<?php echo $boxID; ?>" style="display: none;">
- <div id="LOADING-inout-<?php echo $boxID; ?>"><?php echo i18n::translate('Loading...'); ?></div>
+ <div id="LOADING-inout-<?php echo $boxID; ?>"><?php echo WT_I18N::translate('Loading...'); ?></div>
</div>
</td></tr></table>
</div>
diff --git a/themes/webtrees/footer.php b/themes/webtrees/footer.php
index 37d798f785..d89234c514 100644
--- a/themes/webtrees/footer.php
+++ b/themes/webtrees/footer.php
@@ -47,7 +47,7 @@ echo '<div id="footer" class="', $TEXT_DIRECTION, '">';
}
if (exists_pending_change()) {
echo '<a href="javascript:;" onclick="window.open(\'edit_changes.php\', \'_blank\', \'width=600, height=500, resizable=1, scrollbars=1\'); return false;">';
- echo '<p class="error center">', i18n::translate('There are pending changes for you to moderate.'), '</p>';
+ echo '<p class="error center">', WT_I18N::translate('There are pending changes for you to moderate.'), '</p>';
echo '</a>';
}
'</div>'; // close div id=\"footer\"
diff --git a/themes/webtrees/header.php b/themes/webtrees/header.php
index 974bfc9725..8f7ae31dad 100644
--- a/themes/webtrees/header.php
+++ b/themes/webtrees/header.php
@@ -34,7 +34,7 @@ if (!defined('WT_WEBTREES')) {
echo
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
- '<html xmlns="http://www.w3.org/1999/xhtml" ', i18n::html_markup(), '>',
+ '<html xmlns="http://www.w3.org/1999/xhtml" ', WT_I18N::html_markup(), '>',
'<head>',
'<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />',
'<title>', htmlspecialchars($title), '</title>',
@@ -94,9 +94,9 @@ if ($view!='simple') {
'<div align="center">',
'<b>';
if (WT_USER_ID) {
- echo '<a href="edituser.php" class="link">', i18n::translate('Logged in as '), ' (', WT_USER_NAME, ')</a><br />';
+ echo '<a href="edituser.php" class="link">', WT_I18N::translate('Logged in as '), ' (', WT_USER_NAME, ')</a><br />';
if (WT_USER_GEDCOM_ADMIN) {
- echo '<a href="admin.php" class="link">', i18n::translate('Administration'), '</a> | ';
+ echo '<a href="admin.php" class="link">', WT_I18N::translate('Administration'), '</a> | ';
}
echo logout_link();
} elseif (empty($SEARCH_SPIDER)) {
@@ -135,10 +135,10 @@ if ($view!='simple') {
echo '<form action="search.php" method="post">',
'<input type="hidden" name="action" value="general" />',
'<input type="hidden" name="topsearch" value="yes" />',
- '<input type="text" name="query" size="25" value="', i18n::translate('Search'), '"',
- 'onfocus="if (this.value==\'', i18n::translate('Search'), '\') this.value=\'\'; focusHandler();"',
- 'onblur="if (this.value==\'\') this.value=\'', i18n::translate('Search'), '\';" />',
- '<input type="image" class="image" src="', $WT_IMAGES['search'], '" alt="', i18n::translate('Search'), '" title="', i18n::translate('Search'), '" />',
+ '<input type="text" name="query" size="25" value="', WT_I18N::translate('Search'), '"',
+ 'onfocus="if (this.value==\'', WT_I18N::translate('Search'), '\') this.value=\'\'; focusHandler();"',
+ 'onblur="if (this.value==\'\') this.value=\'', WT_I18N::translate('Search'), '\';" />',
+ '<input type="image" class="image" src="', $WT_IMAGES['search'], '" alt="', WT_I18N::translate('Search'), '" title="', WT_I18N::translate('Search'), '" />',
'</form>';
}
echo '</td>',
diff --git a/themes/webtrees/templates/personbox_template.php b/themes/webtrees/templates/personbox_template.php
index 4728e6486c..0f78845c59 100644
--- a/themes/webtrees/templates/personbox_template.php
+++ b/themes/webtrees/templates/personbox_template.php
@@ -57,7 +57,7 @@ if (!defined('WT_WEBTREES')) {
<div id="inout2-<?php echo $boxID; ?>" style="display: block;"><?php echo $BirthDeath; ?></div>
</div>
<div id="inout-<?php echo $boxID; ?>" style="display: none;">
- <div id="LOADING-inout-<?php echo $boxID; ?>"><?php echo i18n::translate('Loading...'); ?></div>
+ <div id="LOADING-inout-<?php echo $boxID; ?>"><?php echo WT_I18N::translate('Loading...'); ?></div>
</div>
</td></tr></table>
</div>
diff --git a/themes/xenea/footer.php b/themes/xenea/footer.php
index 2962e29934..49dfd9340d 100644
--- a/themes/xenea/footer.php
+++ b/themes/xenea/footer.php
@@ -43,7 +43,7 @@ if ($SHOW_STATS || WT_DEBUG) {
echo execution_stats();
}
if (exists_pending_change()) {
- echo "<br /><a href=\"javascript:;\" onclick=\"window.open('edit_changes.php', '_blank', 'width=600, height=500, resizable=1, scrollbars=1'); return false;\">", i18n::translate('There are pending changes for you to moderate.'), "</a>";
+ echo "<br /><a href=\"javascript:;\" onclick=\"window.open('edit_changes.php', '_blank', 'width=600, height=500, resizable=1, scrollbars=1'); return false;\">", WT_I18N::translate('There are pending changes for you to moderate.'), "</a>";
}
echo "</div>";
echo "</div> <!-- close div id=\"footer\" -->";*/
@@ -63,7 +63,7 @@ echo '<div id="footer" class="', $TEXT_DIRECTION, ' width99 center">';
}
if (exists_pending_change()) {
echo '<a href="javascript:;" onclick="window.open(\'edit_changes.php\', \'_blank\', \'width=600, height=500, resizable=1, scrollbars=1\'); return false;">';
- echo '<p class="error center">', i18n::translate('There are pending changes for you to moderate.'), '</p>';
+ echo '<p class="error center">', WT_I18N::translate('There are pending changes for you to moderate.'), '</p>';
echo '</a>';
}
'</div>'; // close div id=\"footer\"
diff --git a/themes/xenea/header.php b/themes/xenea/header.php
index c60320443e..26268f4f79 100644
--- a/themes/xenea/header.php
+++ b/themes/xenea/header.php
@@ -38,7 +38,7 @@ $displayDate=timestamp_to_gedcom_date(client_time())->Display(false, $DATE_FORMA
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" <?php echo i18n::html_markup(); ?>>
+<html xmlns="http://www.w3.org/1999/xhtml" <?php echo WT_I18N::html_markup(); ?>>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<?php if (isset($_GET["mod_action"]) && $_GET["mod_action"]=="places_edit") { ?>
@@ -108,7 +108,7 @@ $displayDate=timestamp_to_gedcom_date(client_time())->Display(false, $DATE_FORMA
<form action="search.php" method="get">
<input type="hidden" name="action" value="general" />
<input type="hidden" name="topsearch" value="yes" />
- <input type="text" name="query" size="12" value="<?php echo i18n::translate('Search'); ?>" onfocus="if (this.value == '<?php echo i18n::translate('Search'); ?>') this.value=''; focusHandler();" onblur="if (this.value == '') this.value='<?php echo i18n::translate('Search'); ?>';" />
+ <input type="text" name="query" size="12" value="<?php echo WT_I18N::translate('Search'); ?>" onfocus="if (this.value == '<?php echo WT_I18N::translate('Search'); ?>') this.value=''; focusHandler();" onblur="if (this.value == '') this.value='<?php echo WT_I18N::translate('Search'); ?>';" />
<input type="submit" name="search" value="&gt;" />
</form>
</td>
@@ -131,9 +131,9 @@ $displayDate=timestamp_to_gedcom_date(client_time())->Display(false, $DATE_FORMA
<td><div align="center" >
<?php
if (WT_USER_ID) {
- echo '<a href="edituser.php" class="link">', i18n::translate('Logged in as '), ' (', WT_USER_NAME, ')</a><br />';
+ echo '<a href="edituser.php" class="link">', WT_I18N::translate('Logged in as '), ' (', WT_USER_NAME, ')</a><br />';
if (WT_USER_GEDCOM_ADMIN) {
- echo '<a href="admin.php" class="link">', i18n::translate('Administration'), '</a> | ';
+ echo '<a href="admin.php" class="link">', WT_I18N::translate('Administration'), '</a> | ';
}
echo logout_link();
} elseif (empty($SEARCH_SPIDER)) {
diff --git a/themes/xenea/templates/personbox_template.php b/themes/xenea/templates/personbox_template.php
index 011815cb20..12b25a3a34 100644
--- a/themes/xenea/templates/personbox_template.php
+++ b/themes/xenea/templates/personbox_template.php
@@ -57,7 +57,7 @@ if (!defined('WT_WEBTREES')) {
<div id="inout2-<?php echo $boxID; ?>" style="display: block;"><?php echo $BirthDeath; ?></div>
</div>
<div id="inout-<?php echo $boxID; ?>" style="display: none;">
- <div id="LOADING-inout-<?php echo $boxID; ?>"><?php echo i18n::translate('Loading...'); ?></div>
+ <div id="LOADING-inout-<?php echo $boxID; ?>"><?php echo WT_I18N::translate('Loading...'); ?></div>
</div>
</td></tr></table>
</div>