Редакция 570 | Редакция 573 | К новейшей редакции | Весь файл | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 570 | Редакция 571 | ||
---|---|---|---|
Строка 1052... | Строка 1052... | ||
1052 | $sSchemeID = $this->secure->checkInt($schemeID); |
1052 | $sSchemeID = $this->secure->checkInt($schemeID); |
1053 | $sInfo = $this->secure->checkStr($info, 1); |
1053 | $sInfo = $this->secure->checkStr($info, 1); |
1054 | if ($sInfo == "") { |
1054 | if ($sInfo == "") { |
1055 | $sInfo = "Схема репозитория"; |
1055 | $sInfo = "Схема репозитория"; |
1056 | }
|
1056 | }
|
- | 1057 | $show = "<fieldset><legend>".$sInfo."</legend>\n"; |
|
1057 | if ($sSchemeID != 0) { |
1058 | if ($sSchemeID != 0) { |
1058 | // Режим редактирования
|
1059 | // Режим редактирования
|
1059 | $query = "SELECT * FROM ".$this->prefix."repscheme WHERE scheme_id='".$sSchemeID."'"; |
1060 | $query = "SELECT * FROM ".$this->prefix."repscheme WHERE scheme_id='".$sSchemeID."'"; |
1060 | $rq =& $this->db->query($query); |
1061 | $rq =& $this->db->query($query); |
1061 | $rq->fetchInto($element); |
1062 | $rq->fetchInto($element); |
- | 1063 | $show .= "<div class='inputbox'><label for='scheme'>Схема репозитория:</label> ".$this->showSchemeList("scheme", $element["scheme_id"],"innerhtml")."</div>\n"; |
|
- | 1064 | } else { |
|
- | 1065 | $show .= "<div class='inputbox'><label for='scheme'>Схема репозитория:</label> <input type='text' name='scheme' id='scheme' value=''></div>\n"; |
|
1062 | }
|
1066 | }
|
1063 | 1067 | ||
1064 | $show = "<fieldset><legend>".$sInfo."</legend>\n"; |
- | |
1065 | $show .= "<div class='inputbox'><label for='scheme'>Схема репозитория:</label> <input type='text' name='scheme' id='scheme' value='".$this->showSchemeList("scheme", $element["scheme_id"],"innerhtml")."'></div>\n"; |
- | |
1066 | $show .= "<div class='inputbox'><input type='submit' value=' Отправить данные '></div>\n</fieldset>\n"; |
1068 | $show .= "<div class='inputbox'><input type='submit' value=' Отправить данные '></div>\n</fieldset>\n"; |
1067 | 1069 | ||
1068 | return $show; |
1070 | return $show; |
1069 | }
|
1071 | }
|
1070 | 1072 |