remove access global var
Cosmetic disconnect
This commit is contained in:
parent
d9912ff7e3
commit
fc95db277e
3 changed files with 5 additions and 4 deletions
|
|
@ -26,7 +26,7 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
|||
$http=new HttpInput();
|
||||
|
||||
|
||||
$low_action = (isset($_REQUEST['sb'])) ? $_REQUEST['sb'] : "list";
|
||||
$low_action = $http->request("sb","string","list");
|
||||
/** \file
|
||||
* \brief Called from the module "Gestion" to manage the customer
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -909,7 +909,7 @@ function ajax_disconnected($p_div)
|
|||
echo HtmlInput::title_box(_("Déconnecté"), $p_div);
|
||||
echo h2(_('Données non disponibles'), 'class="error" ');
|
||||
echo h2(_('Veuillez vous reconnecter soit dans une autre fenêtre soit '
|
||||
. ' en cliquant sur le lien'), 'class="error"');
|
||||
. ' en cliquant sur le bouton'), 'class="error"');
|
||||
// Reload button
|
||||
$reload=new IButton("reload");
|
||||
$reload->value=_("Se connecter");
|
||||
|
|
@ -918,7 +918,7 @@ function ajax_disconnected($p_div)
|
|||
// Link to log in another tab
|
||||
echo '<p style="text-align:center">';
|
||||
echo $reload->input();
|
||||
echo HtmlInput::button_close($p_div);
|
||||
echo HtmlInput::button_close($p_div,'button');
|
||||
echo '</p>';
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -444,10 +444,11 @@ class HtmlInput
|
|||
* @see add_div modify_operation
|
||||
* @param $div_name is the name of the div to remove
|
||||
*/
|
||||
static function button_close($div_name)
|
||||
static function button_close($div_name,$class='smallbutton')
|
||||
{
|
||||
$a=new IButton('Fermer');
|
||||
$a->label=_("Fermer");
|
||||
$a->class=$class;
|
||||
$a->javascript="removeDiv('".$div_name."')";
|
||||
$html=$a->input();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue