mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
use div-control-group instead of table in forms
This commit is contained in:
parent
c40b34295c
commit
95b28aed9f
|
@ -135,10 +135,10 @@ $(document).ready(function() {
|
||||||
$arr = $this->callHook('folderEditAttribute', $folder, $attrdef);
|
$arr = $this->callHook('folderEditAttribute', $folder, $attrdef);
|
||||||
if(is_array($arr)) {
|
if(is_array($arr)) {
|
||||||
echo $txt;
|
echo $txt;
|
||||||
echo "<tr>";
|
echo "<div class=\"control-group\">";
|
||||||
echo "<td>".$arr[0]."</td>";
|
echo "<label class=\"control-label\">".$arr[0]."</label>";
|
||||||
echo "<td>".$arr[1]."</td>";
|
echo "<div class=\"controls\">".$arr[1]."</div>";
|
||||||
echo "</tr>";
|
echo "</div>";
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
|
@ -150,6 +150,7 @@ $(document).ready(function() {
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<button type="submit" class="btn"><i class="icon-save"></i> <?php printMLText("save"); ?></button>
|
<button type="submit" class="btn"><i class="icon-save"></i> <?php printMLText("save"); ?></button>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user