- Question / Remove : Modification de l'affichage du template pour que le texte

puisse être traduit.
This commit is contained in:
Benjamin Renard 2009-02-17 08:55:22 +00:00
parent cf869aa24f
commit ab7f16ea67
2 changed files with 2 additions and 2 deletions

View file

@ -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'].'&amp;dn='.$_GET['dn'].'&amp;valid');
$GLOBALS['Smarty'] -> assign('validation_txt',_('Validate'));
$GLOBALS['Smarty'] -> assign('validation_label',_('Validate'));
}
LSsession :: setTemplate('question.tpl');
}

View file

@ -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'}