[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 24/30: Cosmetic
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 24/30: Cosmetic |
Date: |
Sat, 3 Dec 2022 08:35:15 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 70adb611345cfdc91298d85b85f3fc01f272758a
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Thu Dec 1 19:05:00 2022 +0100
Cosmetic
---
include/ajax/ajax_cfgaction.php | 2 +-
include/ajax/ajax_operation_tag.php | 2 +-
include/ajax/ajax_tag_list.php | 2 +-
include/balance.inc.php | 2 +-
include/cfgtags.inc.php | 2 +-
include/class/acc_account_ledger.class.php | 4 ++--
include/class/fiche.class.php | 4 ++--
include/constant.security.php | 2 +-
8 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/include/ajax/ajax_cfgaction.php b/include/ajax/ajax_cfgaction.php
index 830a51447..918779a2f 100644
--- a/include/ajax/ajax_cfgaction.php
+++ b/include/ajax/ajax_cfgaction.php
@@ -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();
diff --git a/include/ajax/ajax_operation_tag.php
b/include/ajax/ajax_operation_tag.php
index 1175d7e81..1646e075f 100644
--- a/include/ajax/ajax_operation_tag.php
+++ b/include/ajax/ajax_operation_tag.php
@@ -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");
diff --git a/include/ajax/ajax_tag_list.php b/include/ajax/ajax_tag_list.php
index 9b00c20b4..ecdd8cc1d 100644
--- a/include/ajax/ajax_tag_list.php
+++ b/include/ajax/ajax_tag_list.php
@@ -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();
diff --git a/include/balance.inc.php b/include/balance.inc.php
index 339bad1cf..8974a6da2 100644
--- a/include/balance.inc.php
+++ b/include/balance.inc.php
@@ -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">';
diff --git a/include/cfgtags.inc.php b/include/cfgtags.inc.php
index f29ab1410..684120040 100644
--- a/include/cfgtags.inc.php
+++ b/include/cfgtags.inc.php
@@ -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
diff --git a/include/class/acc_account_ledger.class.php
b/include/class/acc_account_ledger.class.php
index 41357287e..c1b2d720e 100644
--- a/include/class/acc_account_ledger.class.php
+++ b/include/class/acc_account_ledger.class.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>';
}
/**
diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php
index 4f0ea0cee..355b3befe 100644
--- a/include/class/fiche.class.php
+++ b/include/class/fiche.class.php
@@ -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>';
}
/**
diff --git a/include/constant.security.php b/include/constant.security.php
index c395bed64..fa8d3ef3d 100644
--- a/include/constant.security.php
+++ b/include/constant.security.php
@@ -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
- [Noalyss-commit] [noalyss] 30/30: Cosmetic, (continued)
- [Noalyss-commit] [noalyss] 30/30: Cosmetic, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 04/30: Show tag in operations list, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 08/30: To let TOOLS plugin to add tag to operation, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 01/30: Bug : no filter on card for ledger PURCHASE, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 05/30: Cosmetic : display cards on one row in account search, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 11/30: Improve Test and set the Patch level to 181, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 13/30: Better error message when cannot save a plugin, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 12/30: Fix : bug cannot save an empty FIN Ledger, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 14/30: Bug Fiche_Def->insertAttribut when needed to compute an attribute order, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 26/30: WHen creating from follow-up , keep a link to the event in the operation, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 24/30: Cosmetic,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 23/30: Comptability : Falkon doesn't understand the javascript token "??", Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 10/30: Bug : typo change by accident function name, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 16/30: Fix bug : prevent identical tags on operation, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 21/30: Change DB version, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 20/30: fix bug followup cannot add first comment, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 22/30: cosmetic : waiting_box, Dany De Bontridder, 2022/12/03
- [Noalyss-commit] [noalyss] 15/30: Cosmetic :, Dany De Bontridder, 2022/12/03