Fix: W3C
This commit is contained in:
parent
77f18847e2
commit
f0ef91473f
@ -154,11 +154,11 @@ $form = new Form($db);
|
||||
// Line to add new record
|
||||
$var=false;
|
||||
print "\n";
|
||||
print '<form action="const.php" method="POST">';
|
||||
print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
|
||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||
print '<input type="hidden" name="action" value="add">';
|
||||
|
||||
print '<tr '.$bc[$var].' class=value><td><input type="text" class="flat" size="24" name="constname" value=""></td>'."\n";
|
||||
print '<tr '.$bc[$var].'><td><input type="text" class="flat" size="24" name="constname" value=""></td>'."\n";
|
||||
print '<td>';
|
||||
print '<input type="text" class="flat" size="30" name="constvalue" value="">';
|
||||
print '</td><td>';
|
||||
@ -217,16 +217,16 @@ if ($result)
|
||||
print '<input type="hidden" name="const['.$i.'][name]" value="'.$obj->name.'">';
|
||||
print '<input type="hidden" name="const['.$i.'][type]" value="'.$obj->type.'">';
|
||||
|
||||
print "<tr $bc[$var] class=value><td>$obj->name</td>\n";
|
||||
print '<tr '.$bc[$var].'><td>'.$obj->name.'</td>'."\n";
|
||||
|
||||
// Value
|
||||
print '<td>';
|
||||
print '<input type="text" id="input'.$i.'" class="flat inputforupdate" size="30" name="const['.$i.'][value]" value="'.htmlspecialchars($obj->value).'"';
|
||||
print '<input type="text" id="value_'.$i.'" class="flat inputforupdate" size="30" name="const['.$i.'][value]" value="'.htmlspecialchars($obj->value).'"';
|
||||
print '>';
|
||||
print '</td><td>';
|
||||
|
||||
// Note
|
||||
print '<input type="text" id="input'.$i.'"class="flat inputforupdate" size="40" name="const['.$i.'][note]" value="'.htmlspecialchars($obj->note,1).'"';
|
||||
print '<input type="text" id="note_'.$i.'"class="flat inputforupdate" size="40" name="const['.$i.'][note]" value="'.htmlspecialchars($obj->note,1).'"';
|
||||
print '>';
|
||||
print '</td>';
|
||||
|
||||
|
||||
@ -295,7 +295,7 @@ function print_left_auguria_menu($db,$menu_array_before,$menu_array_after)
|
||||
{
|
||||
print '<div class="menu_titre">'.$tabstring.'<font class="vmenudisabled">'.$menu_array[$i]['titre'].'</font></div>';
|
||||
}
|
||||
print "\n".'<div id="section_content">'."\n";
|
||||
print "\n".'<div id="section_content_'.$i.'">'."\n";
|
||||
print '<div class="menu_top"></div>'."\n";
|
||||
}
|
||||
// Menu niveau > 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user