Редакция 545 | Редакция 547 | К новейшей редакции | Весь файл | Учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 545 | Редакция 546 | ||
---|---|---|---|
Строка 157... | Строка 157... | ||
157 | $show .= "</select>"; |
157 | $show .= "</select>"; |
158 | break; |
158 | break; |
159 | case 'list': |
159 | case 'list': |
160 | $show = "<ul>"; |
160 | $show = "<ul>"; |
161 | while ($rq->fetchInto($element)) { |
161 | while ($rq->fetchInto($element)) { |
162 | $show .= "<li>[<a href='".$heads."?mode=".$name."&action=edit&uuid=".$this->secure->checkInt($element["dist_id"])."'>править</a>][<a href='".$heads."?mode=".$name."&action=delete&uuid=".$this->secure->checkInt($element["dist_id"])."'>удалить</a>] ".$this->secure->checkStr($element["distname"],1)."</li>\n"; |
162 | $show .= "<li>[<a href='".$heads."?mode=".$name."&action=edit&uuid=".$this->secure->checkInt($element["dist_id"])."' class='edit'>править</a>][<a href='".$heads."?mode=".$name."&action=delete&uuid=".$this->secure->checkInt($element["dist_id"])."' class='delete'>удалить</a>] ".$this->secure->checkStr($element["distname"],1)."</li>\n"; |
163 | }
|
163 | }
|
164 | $show .= "</ul>"; |
164 | $show .= "</ul>"; |
165 | break; |
165 | break; |
166 | }
|
166 | }
|
167 | return $show; |
167 | return $show; |