aboutsummaryrefslogtreecommitdiffstats
path: root/admin/ws_checker.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-01-30 22:07:07 +0000
committerrub <rub@piwigo.org>2008-01-30 22:07:07 +0000
commit69159c0e9238fd369dca2181af6fb9de47b14440 (patch)
tree545ea813c006506d1bde84e0da8cc5f7b686cd03 /admin/ws_checker.php
parentd5015da6ec45bbb08732b28dfbfe9e089504c08d (diff)
Replace old use of $lang by l10n function.
git-svn-id: http://piwigo.org/svn/trunk@2201 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/ws_checker.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/admin/ws_checker.php b/admin/ws_checker.php
index cec12d4e9..6a5efb4fc 100644
--- a/admin/ws_checker.php
+++ b/admin/ws_checker.php
@@ -157,7 +157,7 @@ VALUES (' . "
$template->assign_block_vars(
'update_result',
array(
- 'UPD_ELEMENT'=> $lang['ws_adding_legend'].$lang['ws_success_upd'],
+ 'UPD_ELEMENT'=> l10n('ws_adding_legend').l10n('ws_success_upd'),
)
);
}
@@ -179,14 +179,14 @@ if (isset($_POST['wsu_submit']))
$template->assign_block_vars(
'update_result',
array(
- 'UPD_ELEMENT'=> $lang['ws_update_legend'].$lang['ws_success_upd'],
+ 'UPD_ELEMENT'=> l10n('ws_update_legend').l10n('ws_success_upd'),
)
);
} else {
$template->assign_block_vars(
'update_result',
array(
- 'UPD_ELEMENT'=> $lang['ws_update_legend'].$lang['ws_failed_upd'],
+ 'UPD_ELEMENT'=> l10n('ws_update_legend').l10n('ws_failed_upd'),
)
);
}
@@ -205,15 +205,15 @@ if (isset($_POST['wsX_submit']))
$template->assign_block_vars(
'update_result',
array(
- 'UPD_ELEMENT'=> $lang['ws_delete_legend'].$lang['ws_success_upd'],
+ 'UPD_ELEMENT'=> l10n('ws_delete_legend').l10n('ws_success_upd'),
)
);
} else {
$template->assign_block_vars(
'update_result',
array(
- 'UPD_ELEMENT'=> $lang['Not selected / Not confirmed']
- .$lang['ws_failed_upd'],
+ 'UPD_ELEMENT'=> l10n('Not selected / Not confirmed')
+ .l10n('ws_failed_upd'),
)
);
}