Author: danydb
Date: 2011-11-18 00:16:49 +0100 (Fri, 18 Nov 2011)
New Revision: 191
Modified:
trunk/amortis/ajax.php
trunk/tools/include/template/search_box.php
Log:
add missing $_REQUEST[ac] + use of anchor_close for amortis
Modified: trunk/amortis/ajax.php
===================================================================
--- trunk/amortis/ajax.php 2011-11-14 20:29:38 UTC (rev 190)
+++ trunk/amortis/ajax.php 2011-11-17 23:16:49 UTC (rev 191)
@@ -31,9 +31,7 @@
$ctl=$t;
$html='opération non trouvée';
$extra='';
-$close='<div
style="float:right;height:10px;display:block;margin-top:2px;margin-right:2px">';
-$close.='<A style="background-color:blue;color:white;text-decoration:none"
HREF="javascript:void(0)" onclick="removeDiv(\''.$t.'\');">Fermer</A>';
-$close.='</div>';
+$close=HtmlInput::anchor_close($t);
$html=$close.$html;
switch($op)
{
@@ -80,7 +78,7 @@
$html=ob_get_contents();
ob_clean();
break;
-
+
}
$html=escape_xml($html);
Modified: trunk/tools/include/template/search_box.php
===================================================================
--- trunk/tools/include/template/search_box.php 2011-11-14 20:29:38 UTC (rev
190)
+++ trunk/tools/include/template/search_box.php 2011-11-17 23:16:49 UTC (rev
191)
@@ -14,5 +14,6 @@
<td><?=$idate_end->input()?></td>
</tr>
</table>
+ <?=HtmlInput::request_to_hidden(array('ac','plugin_code'));?>
<?=$submit?>
</FORM>
\ No newline at end of file
_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev