/branches/ant/0.9.x/lib/core.php |
---|
2390,6 → 2390,17 |
return $result; |
} |
/** |
* Вывод списка настроек |
* |
* @author Alexander Wolf |
* @category Core |
* |
* @param string $name |
* @param string $actor |
* @param string $format |
* @return string |
*/ |
public function showSettingsList($name, $actor, $format = 'list') { |
$query = "SELECT * FROM ".$this->prefix."settings"; |
$rq =& $this->db->query($query); |
2398,6 → 2409,8 |
$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["optname"],1)."</li>\n"; |
} |
$show .= "</ul>"; |
return $show; |
} |
} |