Changeset 24492


Ignore:
Timestamp:
09/17/13 10:12:09 (6 years ago)
Author:
ddtddt
Message:

[extensions] PersoFooter - add message update and access only webmaster

Location:
extensions/PersoFooter
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/PersoFooter/admin/admin.php

    r14972 r24492  
    1212 
    1313//-------------------------------------------------------- sections definitions 
     14 
     15          if (!is_webmaster()) 
     16  { 
     17    array_push($page['errors'], l10n('This section is reserved for the webmaster')); 
     18  } 
     19  else 
     20  { 
    1421 
    1522// Gestion des onglets 
     
    4350    'gestA', 
    4451    array('PFTBASE' => stripslashes($_POST['perso_footer']),)); 
     52        array_push($page['infos'], l10n('Configuration update')); 
    4553        } 
    4654  break; 
     
    4957    'gestB', 
    5058        array('meta'=>l10n('nul'),)); 
     59         
    5160  break; 
    52 }  
     61} 
    5362 
    5463$template->set_filenames(array('plugin_admin_content' => dirname(__FILE__) . '/admin.tpl'));  
    5564$template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); 
     65} 
    5666?> 
  • extensions/PersoFooter/language/en_UK/plugin.lang.php

    r14972 r24492  
    1313$lang['pft_ED'] = 'Plugin "ExtendedDescription"'; 
    1414$lang['pft_ED_help'] = 'You can use the tags [lang] of this plugin'; 
     15$lang['Configuration update'] = 'Configuration update'; 
     16$lang['This section is reserved for the webmaster'] = 'This section is reserved for the webmaster'; 
    1517 
    1618?> 
  • extensions/PersoFooter/language/fr_FR/plugin.lang.php

    r14972 r24492  
    1212$lang['pft_ED'] = 'Plugin "ExtendedDescription"'; 
    1313$lang['pft_ED_help'] = 'Vous pouvez utiliser les balises [lang] de ce plugin'; 
     14$lang['Configuration update'] = 'Configuration mise à jour'; 
     15$lang['This section is reserved for the webmaster'] = 'Cette section est réservé pour le webmaster'; 
    1416 
    1517?> 
Note: See TracChangeset for help on using the changeset viewer.