mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
- Question / Remove : Modification de l'affichage du template pour que le texte
puisse être traduit.
This commit is contained in:
parent
cf869aa24f
commit
ab7f16ea67
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ if(LSsession :: startLSsession()) {
|
|||
$GLOBALS['Smarty'] -> assign('pagetitle',_('Deleting').' : '.$object -> getDisplayName());
|
||||
$GLOBALS['Smarty'] -> assign('question',_('Do you really want to delete').' <strong>'.$object -> getDisplayName().'</strong> ?');
|
||||
$GLOBALS['Smarty'] -> assign('validation_url','remove.php?LSobject='.$_GET['LSobject'].'&dn='.$_GET['dn'].'&valid');
|
||||
$GLOBALS['Smarty'] -> assign('validation_txt',_('Validate'));
|
||||
$GLOBALS['Smarty'] -> assign('validation_label',_('Validate'));
|
||||
}
|
||||
LSsession :: setTemplate('question.tpl');
|
||||
}
|
||||
|
|
|
@ -9,5 +9,5 @@
|
|||
{/if}
|
||||
|
||||
<p class='question'>{$question}</p>
|
||||
{if $validation_txt!=''}<a href='{$validation_url}' class='question'>Valider</a>{/if}
|
||||
<a href='{$validation_url}' class='question'>{$validation_label}</a>
|
||||
{include file='bottom.tpl'}
|
||||
|
|
Loading…
Reference in a new issue