Changeset 4554


Ignore:
Timestamp:
Dec 22, 2009, 2:30:52 AM (14 years ago)
Author:
LucMorizur
Message:

[Event Cats] Help banners forgotten for feature 1335

Location:
extensions/event_cats
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/admin/config.inc.php

    r4437 r4554  
    6060);
    6161
     62$template->assign(
     63  'ec_display_connect_conf',
     64  sprintf(
     65    l10n('Display connection'),
     66    '&nbsp;&nbsp;<br />', // nicer line feed
     67    $lang['Connection']
     68  )
     69);
     70
    6271// In case some $lang have the same index, overwrites them to have the ones
    6372// needed here
  • extensions/event_cats/admin/template/config.tpl

    r4553 r4554  
    171171        <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> {* <!-- sorry :-\ --> *}
    172172        <td style = "text-align:right; font-weight:bold;">
    173           {'Display connection'|@translate}&nbsp;&nbsp;
     173          {$ec_display_connect_conf}&nbsp;&nbsp;
    174174        </td>
    175175        <td>
  • extensions/event_cats/language/en_UK/plugin.lang.php

    r4553 r4554  
    113113$lang['Banner on']                 = 'Activated';
    114114$lang['Banner off']                = 'Not activated';
    115 $lang['Display connection']        = 'Display "Login" link&nbsp;&nbsp;<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"
    116117
    117118// JS messages
     
    222223
    223224// 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.&nbsp;&#151; Select the page you want to be displayed in case of an unknown code usage (for instance, a code you have deleted).&nbsp;&#151; In the "Autolog entries" tab, the comments can be displayed as tooltips, or on a new line under the code.&nbsp;&#151; 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.&nbsp;&#151; Select the page you want to be displayed in case of an unknown code usage (for instance, a code you have deleted).&nbsp;&#151; In the "Autolog entries" tab, the comments can be displayed as tooltips, or on a new line under the code.&nbsp;&#151; As you\'re currently reading it, the help banner is currently active ;-) !&nbsp;&#151; Displaying the "Connection" link to generic users, allows users already registered on your gallery to log in easily.';
    225226
    226227
  • extensions/event_cats/language/fr_FR/plugin.lang.php

    r4553 r4554  
    113113$lang['Banner on']                 = 'Activé';
    114114$lang['Banner off']                = 'Désactivé';
    115 $lang['Display connection']        = 'Afficher le lien "Connexion"&nbsp;&nbsp;<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"
    116117
    117118// JS messages
     
    222223
    223224// 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.&nbsp;&#151; Sélectionnez la page que vous voulez afficher lors de l\'utilisation d\'un code "autolog" inexistant (par exemple, que vous aurez supprimé).&nbsp;&#151; Dans l\'onglet "entrées", les commentaires peuvent être affichés en info-bulle ou en-dessous du code.&nbsp;&#151; 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.&nbsp;&#151; Sélectionnez la page que vous voulez afficher lors de l\'utilisation d\'un code "autolog" inexistant (par exemple, que vous aurez supprimé).&nbsp;&#151; Dans l\'onglet "entrées", les commentaires peuvent être affichés en info-bulle ou en-dessous du code.&nbsp;&#151; Puisque vous êtes en train de le lire, le bandeau d\'aide est actuellement actif ;-) !&nbsp;&#151; Afficher le lien "Connection" pour les utilisateurs génériques permet aux visiteurs déjà enregistrés sur votre galerie de s\'identifier facilement.';
    225226
    226227
  • extensions/event_cats/main.inc.php

    r4553 r4554  
    4040//ini_set('display_errors', true);
    4141
    42 global $conf, $prefixeTable, $ec_lists, $ec_page;
    43 $ec_page = NULL;
     42global $conf, $prefixeTable, $ec_lists;
    4443
    4544define( // -------------------------------------------------------------------
     
    124123
    125124function auto_log_user() {
    126   global $ec_lists, $ec_page;
     125  global $ec_lists;
    127126
    128127  $ec_ap  = NULL;
     
    171170              }
    172171            }
    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);
    175173          }
    176174        }
     
    299297
    300298function duplicate_account_url() {
    301   global $lang, $template, $user, $ec_page;
     299  global $lang, $template, $user;
    302300 
    303301  // Adds duplication link, if needed
Note: See TracChangeset for help on using the changeset viewer.