[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 119/119: Tache #0001859: PARAM/CFGDOC : icone
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 119/119: Tache #0001859: PARAM/CFGDOC : icone fermer + bouton |
Date: |
Mon, 26 Oct 2020 18:27:43 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit bc168d22ef3f9c02030ba2687885b6879cb4116d
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Oct 26 18:13:43 2020 +0100
Tache #0001859: PARAM/CFGDOC : icone fermer + bouton
---
include/lib/icon_action.class.php | 13 ++++++++++++-
include/template/modele_document.php | 2 +-
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/include/lib/icon_action.class.php
b/include/lib/icon_action.class.php
index 252f9b5..eef3a58 100644
--- a/include/lib/icon_action.class.php
+++ b/include/lib/icon_action.class.php
@@ -211,10 +211,21 @@ class Icon_Action
static function hide($action, $javascript)
{
$r='';
- $r.='<span id="hide" class="icon"
onclick="'.$javascript.'">'.$action.'</span>';
+ $r.='<span id="hide" class="icon"
onclick="'.$javascript.'">'.$action.'</span>';
return $r;
}
/**
+ * Return a html string with an eye
+ * @param type $javascript
+ * @return string
+ */
+ static function notvisible($javascript) {
+ $r='';
+ $r.='<span id="hide" class="icon"
onclick="'.$javascript.'"></span>';
+ return $r;
+
+ }
+ /**
* Display the icon of a trashbin
* @param string $p_id DOMid
* @param string $p_javascript
diff --git a/include/template/modele_document.php
b/include/template/modele_document.php
index 1ba0ef7..7a24812 100644
--- a/include/template/modele_document.php
+++ b/include/template/modele_document.php
@@ -117,6 +117,6 @@ echo dossier::hidden();
echo HtmlInput::hidden('sa','mod_template');
echo HtmlInput::hidden('id',$doc->md_id);
echo HtmlInput::submit("mod",_('Sauver'));
-
+echo HtmlInput::button_hide("mod_doc");
?>
</form>
\ No newline at end of file
- [Noalyss-commit] [noalyss] 82/119: Follow up search card, add a button to select all , cosmetic add qcode in dialog box for contact option, (continued)
- [Noalyss-commit] [noalyss] 82/119: Follow up search card, add a button to select all , cosmetic add qcode in dialog box for contact option, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 83/119: Bug : from VEN , cannot get the price, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 85/119: Follow-up fix order, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 88/119: Fix bug : follow up option contact are not remove when document type changed, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 99/119: Upgrade DB 147, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 102/119: remove dead code, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 106/119: Filter_Multiselect : make a search on select (multi-row), Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 104/119: Select_Box Add new position : absolute, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 111/119: Follow-Up improve search, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 110/119: Follow Up : an action can have several parents, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 119/119: Tache #0001859: PARAM/CFGDOC : icone fermer + bouton,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 116/119: Modern CheckBox, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 118/119: Fontello : fix icon-edit, Dany De Bontridder, 2020/10/26