Author: danydb
Date: 2011-05-14 19:51:31 +0200 (Sat, 14 May 2011)
New Revision: 4097
Modified:
phpcompta/trunk/include/class_html_input.php
Log:
history_account and history_card have a new parameter for style
Modified: phpcompta/trunk/include/class_html_input.php
===================================================================
--- phpcompta/trunk/include/class_html_input.php 2011-05-14 16:27:27 UTC
(rev 4096)
+++ phpcompta/trunk/include/class_html_input.php 2011-05-14 17:51:31 UTC
(rev 4097)
@@ -270,10 +270,10 @@
/**
* display a div with the history of the card
*/
- static function history_card($f_id,$p_mesg)
+ static function history_card($f_id,$p_mesg,$p_style="")
{
- $view_history= sprintf('<A class="detail"
style="text-decoration:underline"
HREF="javascript:view_history_card(\'%s\',\'%s\')" >%s</A>',
- $f_id, dossier::id(), $p_mesg);
+ $view_history= sprintf('<A class="detail"
style="text-decoration:underline;%s"
HREF="javascript:view_history_card(\'%s\',\'%s\')" >%s</A>',
+ $p_style,$f_id, dossier::id(), $p_mesg);
return $view_history;
}
/**
@@ -292,10 +292,10 @@
/**
* display a div with the history of the account
*/
- static function history_account($p_account,$p_mesg)
+ static function history_account($p_account,$p_mesg,$p_style="")
{
- $view_history= sprintf('<A class="detail"
style="text-decoration:underline"
HREF="javascript:view_history_account(\'%s\',\'%s\')" >%s</A>',
- $p_account, dossier::id(), $p_mesg);
+ $view_history= sprintf('<A class="detail"
style="text-decoration:underline;%s"
HREF="javascript:view_history_account(\'%s\',\'%s\')" >%s</A>',
+ $p_style,$p_account, dossier::id(), $p_mesg);
return $view_history;
}
_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev