[feladat @ 67]
Fixed small layout bug in list_zones.php.
<?phprequire_once("inc/toolkit.inc.php");if($_POST["commit"]){if($_POST["username"]&&$_POST["level"]&&$_POST["fullname"]){if(!isset($_POST["active"])){$active=0;}else{$active=1;}if(edit_user($_POST["number"],$_POST["username"],$_POST["fullname"],$_POST["email"],$_POST["level"],$_POST["description"],$active,$_POST["password"])){clean_page($BASE_URL.$BASE_PATH."users.php");}else{error("Error editting user!");}}}include_once("inc/header.inc.php");if(!level(10)){error("You do not have the required access level.");}?><h2><?echo_('Edit user');?>"<?echoget_fullname_from_userid($_GET["id"])?>"</h2><?$r=array();$r=get_user_info($_GET["id"]);?><formmethod="post"><inputtype="HIDDEN"name="number"value="<?echo$_GET["id"]?>"><table><tr><tdclass="n"><?echo_('User name');?>:</td><tdclass="n"><inputtype="text"class="input"name="username"value="<?echo$r["username"]?>"></td></tr><tr><tdclass="n"><?echo_('Full name');?>:</td><tdclass="n"><inputtype="text"class="input"name="fullname"value="<?echo$r["fullname"]?>"></td></tr><tr><tdclass="n"><?echo_('Password');?>:</td><tdclass="n"><inputtype="text"class="input"name="password"value=""></td></tr><tr><tdclass="n"><?echo_('E-mail');?>:</td><tdclass="n"><inputtype="text"class="input"name="email"value="<?echo$r["email"]?>"></td></tr><tr><tdclass="n"><?echo_('User level');?>:</td><tdclass="n"><selectname="level"><optionvalue="1"<?if($r["level"]==1){echo"selectED";}?>>1(<?echo_('Normal user');?>)</option><optionvalue="5"<?if($r["level"]==5){echo"selectED";}?>>5(<?echo_('Administrator');?>)</option><optionvalue="10"<?if($r["level"]==10){echo"selectED";}?>>10(<?echo_('Administrator w/ user admin rights');?>)</option></select></td></tr><tr><tdclass="n"><?echo_('Description');?>:</td><tdclass="n"><textarearows="6"cols="30"class="inputarea"name="description"><?echo$r["description"]?></textarea></td></tr><tr><tdclass="n"><?echo_('Active');?>:</td><tdclass="n"><inputtype="checkbox"name="active"value="1"<?if($r["active"]){?>CHECKED<?}?>></td></tr><tr><tdclass="n"> </td><tdclass="n"><inputtype="submit"class="button"name="commit"value="<?echo_('Commit changes');?>"></td></tr></table></form><?include_once("inc/footer.inc.php");?>