Changeset 4554
- Timestamp:
- Dec 22, 2009, 2:30:52 AM (14 years ago)
- Location:
- extensions/event_cats
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/event_cats/admin/config.inc.php
r4437 r4554 60 60 ); 61 61 62 $template->assign( 63 'ec_display_connect_conf', 64 sprintf( 65 l10n('Display connection'), 66 ' <br />', // nicer line feed 67 $lang['Connection'] 68 ) 69 ); 70 62 71 // In case some $lang have the same index, overwrites them to have the ones 63 72 // needed here -
extensions/event_cats/admin/template/config.tpl
r4553 r4554 171 171 <td> </td><td> </td><td> </td> {* <!-- sorry :-\ --> *} 172 172 <td style = "text-align:right; font-weight:bold;"> 173 { 'Display connection'|@translate} 173 {$ec_display_connect_conf} 174 174 </td> 175 175 <td> -
extensions/event_cats/language/en_UK/plugin.lang.php
r4553 r4554 113 113 $lang['Banner on'] = 'Activated'; 114 114 $lang['Banner off'] = 'Not activated'; 115 $lang['Display connection'] = 'Display "Login" link <br />to generic users'; 115 $lang['Display connection'] = 'Display "%2$s" link%1$s to generic users'; 116 // %1$s : nice line feed ; %2$s : "Connection" 116 117 117 118 // JS messages … … 222 223 223 224 // Configuration tab 224 $lang['ec_help_banner1_config'] = '<span class = "help_i">Duplicate an account</span> when a user is already identified, creates another account having exactly the same permissions: no need to wait for an administrator\'s validation. — Select the page you want to be displayed in case of an unknown code usage (for instance, a code you have deleted). — In the "Autolog entries" tab, the comments can be displayed as tooltips, or on a new line under the code. — As you\'re currently reading it, the help banner is currently active ;-) ! ';225 $lang['ec_help_banner1_config'] = '<span class = "help_i">Duplicate an account</span> when a user is already identified, creates another account having exactly the same permissions: no need to wait for an administrator\'s validation. — Select the page you want to be displayed in case of an unknown code usage (for instance, a code you have deleted). — In the "Autolog entries" tab, the comments can be displayed as tooltips, or on a new line under the code. — As you\'re currently reading it, the help banner is currently active ;-) ! — Displaying the "Connection" link to generic users, allows users already registered on your gallery to log in easily.'; 225 226 226 227 -
extensions/event_cats/language/fr_FR/plugin.lang.php
r4553 r4554 113 113 $lang['Banner on'] = 'Activé'; 114 114 $lang['Banner off'] = 'Désactivé'; 115 $lang['Display connection'] = 'Afficher le lien "Connexion" <br />pour les utilisateurs génériques'; 115 $lang['Display connection'] = 'Afficher le lien "%2$s"%1$s pour les utilisateurs génériques'; 116 // %1$s : nice line feed ; %2$s : "Connection" 116 117 117 118 // JS messages … … 222 223 223 224 // Configuration tab 224 $lang['ec_help_banner1_config'] = '<span class = "help_i">Dupliquer un compte</span> alors qu\'on est déjà identifié, crée un autre compte avec exactement les mêmes accès, immédiatement : pas besoin d\'attendre la validation d\'un administrateur. — Sélectionnez la page que vous voulez afficher lors de l\'utilisation d\'un code "autolog" inexistant (par exemple, que vous aurez supprimé). — Dans l\'onglet "entrées", les commentaires peuvent être affichés en info-bulle ou en-dessous du code. — Puisque vous êtes en train de le lire, le bandeau d\'aide est actuellement actif ;-) ! ';225 $lang['ec_help_banner1_config'] = '<span class = "help_i">Dupliquer un compte</span> alors qu\'on est déjà identifié, crée un autre compte avec exactement les mêmes accès, immédiatement : pas besoin d\'attendre la validation d\'un administrateur. — Sélectionnez la page que vous voulez afficher lors de l\'utilisation d\'un code "autolog" inexistant (par exemple, que vous aurez supprimé). — Dans l\'onglet "entrées", les commentaires peuvent être affichés en info-bulle ou en-dessous du code. — Puisque vous êtes en train de le lire, le bandeau d\'aide est actuellement actif ;-) ! — Afficher le lien "Connection" pour les utilisateurs génériques permet aux visiteurs déjà enregistrés sur votre galerie de s\'identifier facilement.'; 225 226 226 227 -
extensions/event_cats/main.inc.php
r4553 r4554 40 40 //ini_set('display_errors', true); 41 41 42 global $conf, $prefixeTable, $ec_lists, $ec_page; 43 $ec_page = NULL; 42 global $conf, $prefixeTable, $ec_lists; 44 43 45 44 define( // ------------------------------------------------------------------- … … 124 123 125 124 function auto_log_user() { 126 global $ec_lists , $ec_page;125 global $ec_lists; 127 126 128 127 $ec_ap = NULL; … … 171 170 } 172 171 } 173 $ec_page = PHPWG_ROOT_PATH.'index.php?/category/'.$ec_cat; 174 redirect($ec_page); 172 redirect(PHPWG_ROOT_PATH.'index.php?/category/'.$ec_cat); 175 173 } 176 174 } … … 299 297 300 298 function duplicate_account_url() { 301 global $lang, $template, $user , $ec_page;299 global $lang, $template, $user; 302 300 303 301 // Adds duplication link, if needed
Note: See TracChangeset
for help on using the changeset viewer.