Редакция 685 | Весь файл | Учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 685 | Редакция 686 | ||
---|---|---|---|
Строка 2404... | Строка 2404... | ||
2404 | public function showSettingsList($name, $actor, $format = 'list') { |
2404 | public function showSettingsList($name, $actor, $format = 'list') { |
2405 | $query = "SELECT * FROM ".$this->prefix."settings"; |
2405 | $query = "SELECT * FROM ".$this->prefix."settings"; |
2406 | $rq =& $this->db->query($query); |
2406 | $rq =& $this->db->query($query); |
2407 | $show = "<ul>\n"; |
2407 | $show = "<ul>\n"; |
2408 | while ($rq->fetchInto($element)) { |
2408 | while ($rq->fetchInto($element)) { |
2409 | $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"; |
2409 | $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"; |
2410 | }
|
2410 | }
|
2411 | $show .= "</ul>"; |
2411 | $show .= "</ul>"; |
2412 | 2412 | ||
2413 | return $show; |
2413 | return $show; |
2414 | }
|
2414 | }
|