/branches/ant/0.9.x/lib/core.php |
---|
2405,7 → 2405,9 |
$query = "SELECT * FROM ".$this->prefix."settings"; |
$rq =& $this->db->query($query); |
$show = "<ul>\n"; |
$show .= "<li><a href='".$actor."?mode=".$name."&action=edit&uuid=1' class='edit'>Изменить пароль доступа</a></li>\n"; |
while ($rq->fetchInto($element)) { |
$show .= "<li>[<a href='".$actor."?mode=".$name."&action=edit&uuid=".$this->secure->checkInt($element["opt_id"])."' class='edit'>править</a>][<a href='".$actor."?mode=".$name."&action=delete&uuid=".$this->secure->checkInt($element["opt_id"])."' class='delete'>удалить</a>] ".$this->secure->checkStr($element["opt"],1)."</li>\n"; |
} |
$show .= "</ul>"; |
return $show; |