projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some typos
[fa-stable.git]
/
includes
/
ui
/
ui_controls.inc
diff --git
a/includes/ui/ui_controls.inc
b/includes/ui/ui_controls.inc
index d9d1f05759994e08cb910ad7fbb22cea81e9755f..2fc434be64bc2ab95b2609c2ec58374ee0bf5659 100644
(file)
--- a/
includes/ui/ui_controls.inc
+++ b/
includes/ui/ui_controls.inc
@@
-100,7
+100,7
@@
function hyperlink_params($target, $label, $params, $center=true)
function hyperlink_params_td($target, $label, $params)
{
echo "<td>";
function hyperlink_params_td($target, $label, $params)
{
echo "<td>";
- hyperlink_params($target, $label, $params);
+ hyperlink_params($target, $label, $params
, false
);
echo "</td>\n";
}
echo "</td>\n";
}
@@
-192,11
+192,11
@@
function br($num=1)
$ajax_divs = array();
$ajax_divs = array();
-function div_start($id='')
+function div_start($id=''
, $trigger=null
)
{
global $ajax_divs;
{
global $ajax_divs;
- array_push($ajax_divs,
$id
);
+ array_push($ajax_divs,
array($id, $trigger===null ? $id : $trigger)
);
echo "<div ". ($id !='' ? "id='$id'" : '').">";
ob_start();
}
echo "<div ". ($id !='' ? "id='$id'" : '').">";
ob_start();
}
@@
-207,8
+207,8
@@
function div_end()
if (count($ajax_divs))
{
if (count($ajax_divs))
{
- $
id
= array_pop($ajax_divs);
- $Ajax->addUpdate($
id, $id
, ob_get_flush());
+ $
div
= array_pop($ajax_divs);
+ $Ajax->addUpdate($
div[1], $div[0]
, ob_get_flush());
echo "</div>";
}
}
echo "</div>";
}
}