From f12f0026fcdf791fbd2300cd23c1f14d0a547e3a Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 20 Mar 2008 00:35:36 +0000 Subject: - admin/notification_by_mail goes smarty - THE LAST ONE :-) :-) - get rid of user_list warnings - some code reorganisation in template class + explode modifier - minor template and language changes in search.tpl and cat_modify.tpl git-svn-id: http://piwigo.org/svn/trunk@2286 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/language_switch/language_switch.inc.php | 26 ++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'plugins/language_switch') diff --git a/plugins/language_switch/language_switch.inc.php b/plugins/language_switch/language_switch.inc.php index 11a4c4ddd..f6fc135a3 100644 --- a/plugins/language_switch/language_switch.inc.php +++ b/plugins/language_switch/language_switch.inc.php @@ -1,4 +1,4 @@ - $code ) ); $qlc_alt = ucwords( $displayname ); $qlc_title = $qlc_alt; - $qlc_img = PHPWG_PLUGINS_PATH.'language_switch/icons/' + $qlc_img = 'plugins/language_switch/icons/' . $code . '.gif'; - - if ( $code !== $user['language'] and file_exists($qlc_img) ) + + if ( $code !== $user['language'] and file_exists(PHPWG_ROOT_PATH.$qlc_img) ) { - $template -> concat_var( 'PLUGIN_INDEX_ACTIONS', - '
  • '
+      $template->concat( 'PLUGIN_INDEX_ACTIONS',
+        '<li><a href='
         . $qlc_alt . '
  • '); } } -- cgit v1.2.3