This commit is contained in:
sebastian 2005-06-09 13:48:37 +00:00
parent b2bcbd8e18
commit 54be542f05
8 changed files with 107 additions and 68 deletions

View file

@ -1,10 +1,11 @@
{literal}
<script type="text/javascript">
function collector_submit(formname, action)
function collector_submit(formname, action, script, name, width, height)
{
var href = '';
var n;
if (!script) var script = '{/literal}{$UI_HANDLER}{literal}';
for (n=0; n < (document.forms[formname].elements.length); n++) {
if (document.forms[formname].elements[n].checked && document.forms[formname].elements[n].name != 'all') {
@ -12,10 +13,10 @@ function collector_submit(formname, action)
}
}
if (href == '')
return false;
if (href == '') return false;
hpopup({/literal}'{$UI_HANDLER}{literal}?act=' + action + href);
if (name) popup (script + '?act=' + action + href, popup, width, height);
else hpopup(script + '?act=' + action + href);
}
function collector_switchAll(formname)