Changeset 9037 for extensions/user_tags/include
- Timestamp:
- Feb 1, 2011, 2:11:29 PM (13 years ago)
- Location:
- extensions/user_tags/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/user_tags/include/t4u_admin_action.inc.php
r6846 r9037 3 3 // | User Tags - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2010 Nicolas Roudairehttp://www.nikrou.net |5 // | Copyright(C) 2010-2011 Nicolas Roudaire http://www.nikrou.net | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | … … 36 36 if (isset($_SERVER['HTTP_X_REQUESTED_WITH'])) { 37 37 header("Content-Type: application/json"); 38 $message['info'] = l10n('Tags updated');38 $message['info'] = 'Tags updated'; 39 39 40 40 echo json_encode($message); -
extensions/user_tags/include/t4u_config.class.php
r6846 r9037 3 3 // | User Tags - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2010 Nicolas Roudairehttp://www.nikrou.net |5 // | Copyright(C) 2010-2011 Nicolas Roudaire http://www.nikrou.net | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | … … 100 100 101 101 public function getActionUrl($base_url, $action) { 102 global $conf; 103 102 104 $url = $base_url; 103 $url .= '&action='.$action; 105 if ($conf['question_mark_in_urls']) { 106 $url .= '&'; 107 } else { 108 $url .= '?'; 109 } 110 $url .= 'action='.$action; 104 111 105 112 return $url; -
extensions/user_tags/include/t4u_content.class.php
r6896 r9037 3 3 // | User Tags - a plugin for Piwigo | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2010 Nicolas Roudairehttp://www.nikrou.net |5 // | Copyright(C) 2010-2011 Nicolas Roudaire http://www.nikrou.net | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | … … 33 33 } 34 34 35 $template->func_known_script(array('id' => 'jquery', 36 'src' => get_root_url().'themes/default/js/jquery.packed.js' 37 ), 38 $template->smarty 39 ); 35 load_language('plugin.lang', T4U_PLUGIN_LANG); 36 37 if (version_compare(PHPWG_VERSION, '2.2', '>=') || (PHPWG_VERSION=='Colibri')) { 38 $template->func_combine_script(array('id' => 'jquery', 39 'path' => 'themes/default/js/jquery.min.js' 40 ), 41 $template->smarty 42 ); 43 } else { 44 $template->func_known_script(array('id' => 'jquery', 45 'src' => get_root_url().'themes/default/js/jquery.packed.js' 46 ), 47 $template->smarty 48 ); 49 } 40 50 41 51 $template->assign('T4U_JS', T4U_JS);
Note: See TracChangeset
for help on using the changeset viewer.