Cosmetic
This commit is contained in:
parent
72a409cce5
commit
70adb61134
8 changed files with 10 additions and 10 deletions
|
|
@ -70,7 +70,7 @@ if ($action=="input")
|
|||
}
|
||||
elseif ($action=="save")
|
||||
{
|
||||
$action_document_type->set_order(["dt_id", "dt_value","dt_prefix"]);
|
||||
$action_document_type->set_order(["dt_id", "dt_prefix","dt_value"]);
|
||||
$xml=$action_document_type->ajax_save();
|
||||
header('Content-type: text/xml; charset=UTF-8');
|
||||
echo $xml->saveXML();
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ switch ($op)
|
|||
$js=sprintf("onclick=\"show_tag('%s','%s','%s','j')\"", Dossier::id(), '', '-1');
|
||||
if ($g_user->check_action(TAGADD)==1)
|
||||
{
|
||||
echo HtmlInput::button("tag_add", _("Ajout d'un tag"), $js);
|
||||
echo HtmlInput::button("tag_add", _("Création étiquette"), $js);
|
||||
}
|
||||
echo HtmlInput::button_close("tag_div");
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ $tag->select();
|
|||
//------------------- Propose to add a tag
|
||||
|
||||
$js=sprintf("onclick=\"show_tag('%s','%s','%s','j')\"",Dossier::id(),'','-1');
|
||||
if ( $g_user->check_action(TAGADD) == 1) { echo HtmlInput::button("tag_add", _("Ajout d'un tag"), $js);}
|
||||
if ( $g_user->check_action(TAGADD) == 1) { echo HtmlInput::button("tag_add", _("Création étiquette"), $js);}
|
||||
echo HtmlInput::button_close("tag_div");
|
||||
|
||||
$response= ob_get_clean();
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ $input_to->cn=$cn;
|
|||
$input_to->user=$g_user;
|
||||
echo " "._('jusque').' :'.$input_to->input();
|
||||
echo '<br>';
|
||||
echo HtmlInput::button_action(_('Avancé'), " if (\$('balance_advanced_div').style.display=='none') { \$('balance_advanced_div').show();} else { \$('balance_advanced_div').hide();}");
|
||||
echo HtmlInput::button_action(_('Avancé'), " if (\$('balance_advanced_div').style.display=='none') { \$('balance_advanced_div').show();} else { \$('balance_advanced_div').hide();}",uniqid(),"smallbutton");
|
||||
//-------------------------------------------------
|
||||
echo '<div id="balance_advanced_div" style="display:none">';
|
||||
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ if (isset($_POST['save_tag_sb']))
|
|||
<?php
|
||||
$tag->show_list();
|
||||
$js=sprintf("onclick=\"show_tag('%s','%s','%s','p')\"", Dossier::id(), $_REQUEST['ac'], '-1');
|
||||
echo HtmlInput::button("tag_add", "Ajout d'un tag", $js);
|
||||
echo HtmlInput::button("tag_add", "Création étiquette", $js);
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
|
|
|
|||
|
|
@ -751,7 +751,7 @@ class Acc_Account_Ledger
|
|||
"act"=>"CSV:postedetail"
|
||||
)
|
||||
);
|
||||
return '<a class="smallbutton" style="display:inline" href="'.$href.'">'._("Export CSV").'</a>';
|
||||
return '<a class="smallbutton" style="display:inline-block" href="'.$href.'">'._("Export CSV").'</a>';
|
||||
|
||||
}
|
||||
/**
|
||||
|
|
@ -773,7 +773,7 @@ class Acc_Account_Ledger
|
|||
"act"=>"PDF:postedetail"
|
||||
)
|
||||
);
|
||||
return '<a class="smallbutton" style="display:inline" href="'.$href.'">'._("Export PDF").'</a>';
|
||||
return '<a class="smallbutton" style="display:inline-block" href="'.$href.'">'._("Export PDF").'</a>';
|
||||
|
||||
}
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1815,7 +1815,7 @@ class Fiche
|
|||
"act"=>"CSV:fichedetail"
|
||||
)
|
||||
);
|
||||
return '<a class="smallbutton" style="display:inline" href="'.$href.'">'._("Export CSV").'</a>';
|
||||
return '<a class="smallbutton" style="display:inline-block" href="'.$href.'">'._("Export CSV").'</a>';
|
||||
|
||||
}
|
||||
/**
|
||||
|
|
@ -1837,7 +1837,7 @@ class Fiche
|
|||
"act"=>"PDF:fichedetail"
|
||||
)
|
||||
);
|
||||
return '<a class="smallbutton" style="display:inline" href="'.$href.'">'._("Export PDF").'</a>';
|
||||
return '<a class="smallbutton" style="display:inline-block" href="'.$href.'">'._("Export PDF").'</a>';
|
||||
|
||||
}
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ define ('FICADD',800); /* Ajout de fiche */
|
|||
define ("FIC",805); //Création, modification et effacement de fiche
|
||||
define ("FICCAT",910); //création, modification et effacement de catégorie de fiche
|
||||
define ('RMDOC',1020); // Effacement de document pour follow up & comptabilité
|
||||
define ('TAGADD',1025); // Ajout de tag
|
||||
define ('TAGADD',1025); // Création étiquette
|
||||
define ('VIEWDOC',1010); // Voir document pour follow up
|
||||
define ('PARCATDOC',1050); // modifier type document pour follow up
|
||||
define ('RMRECEIPT',1110); // Effacer un document d'une pièce comptable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue