Author: danydb
Date: 2013-10-26 15:21:00 +0200 (Sat, 26 Oct 2013)
New Revision: 5531
Modified:
phpcompta/trunk/include/ajax_tag_list.php
Log:
Add a tag from an action
Modified: phpcompta/trunk/include/ajax_tag_list.php
===================================================================
--- phpcompta/trunk/include/ajax_tag_list.php 2013-10-24 10:43:03 UTC (rev
5530)
+++ phpcompta/trunk/include/ajax_tag_list.php 2013-10-26 13:21:00 UTC (rev
5531)
@@ -25,6 +25,11 @@
$tag=new Tag($cn);
$tag->select();
+//------------------- Propose to add a tag
+
+$js=sprintf("onclick=\"show_tag('%s','%s','%s','j')\"",Dossier::id(),'','-1');
+echo HtmlInput::button("tag_add", "Ajout d'un tag", $js);
+
$response= ob_get_clean();
ob_end_clean();
$html=escape_xml($response);
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
_______________________________________________
Phpcompta est un logiciel libre de comptabilité en ligne
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev