Редакция 238 | Редакция 278 | К новейшей редакции | Весь файл | Учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 238 | Редакция 265 | ||
---|---|---|---|
Строка 110... | Строка 110... | ||
110 | $query =& $db->query("SELECT * FROM distribution"); |
110 | $query =& $db->query("SELECT * FROM distribution"); |
111 | while ($query->fetchInto($data, DB_FETCHMODE_ASSOC)) { |
111 | while ($query->fetchInto($data, DB_FETCHMODE_ASSOC)) { |
112 | $linux .= "<option value='".$data["dist_id"]."'>".$secure->stripStr($data["distname"])."</option>\n"; |
112 | $linux .= "<option value='".$data["dist_id"]."'>".$secure->stripStr($data["distname"])."</option>\n"; |
113 | }
|
113 | }
|
114 | 114 | ||
115 | $modern .= "<h2>Генератор sources.list</h2>"; |
115 | $modern .= "<h2>"._("Generator of sources.list")."</h2>"; |
116 | $modern .= "<div class='border'>"; |
116 | $modern .= "<div class='border'>"; |
117 | $modern .= "<label>Дистрибутив</label><br>"; |
117 | $modern .= "<label>"._("Distributive")."</label><br>"; |
118 | $modern .= "<select id='distro'>\n<option value=''>Выбрать дистрибутив</option>\n"; |
118 | $modern .= "<select id='distro'>\n<option value=''>"._("Choose distro")."</option>\n"; |
119 | $modern .= $linux."</select>"; |
119 | $modern .= $linux."</select>"; |
120 | $modern .= "</div><div class='border'>"; |
120 | $modern .= "</div><div class='border'>"; |
121 | $modern .= "<label>Версия дистрибутива</label><br>"; |
121 | $modern .= "<label>"._("Version of distro")."</label><br>"; |
122 | $modern .= "<select id='distver' disabled='disabled'><option></option>"; |
122 | $modern .= "<select id='distver' disabled='disabled'><option></option>"; |
123 | $modern .= "</select></div>"; |
123 | $modern .= "</select></div>"; |
124 | 124 | ||
125 | $modern .= "<div id='cboxes'>"; |
125 | $modern .= "<div id='cboxes'>"; |
126 | $modern .= "<pre id='reps'></pre>"; |
126 | $modern .= "<pre id='reps'></pre>"; |
Строка 132... | Строка 132... | ||
132 | $smarty->assign('feedaddr',$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])); |
132 | $smarty->assign('feedaddr',$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])); |
133 | $smarty->assign('modern',$modern); |
133 | $smarty->assign('modern',$modern); |
134 | $smarty->assign('scripts',$scripts); |
134 | $smarty->assign('scripts',$scripts); |
135 | $smarty->assign('antversion',$core->getSetting('version',$db)); |
135 | $smarty->assign('antversion',$core->getSetting('version',$db)); |
136 | $smarty->assign('title',$core->getSetting('codename',$db)); |
136 | $smarty->assign('title',$core->getSetting('codename',$db)); |
137 | $smarty->assign('interface'," • <a href='./changelog.php'>Изменения</a> • ".$core->getInterfacesList($_SERVER["REQUEST_URI"],$db)); |
137 | $smarty->assign('interface'," • <a href='./changelog.php'>"._("Changes")."</a> • ".$core->getInterfacesList($_SERVER["REQUEST_URI"],$db)); |
138 | $smarty->assign('style',$core->getCSSList($db)); |
138 | $smarty->assign('style',$core->getCSSList($db)); |
139 | $smarty->assign('theme',$theme->getThemeName($core,$db)); |
139 | $smarty->assign('theme',$theme->getThemeName($core,$db)); |
140 | 140 | ||
141 | $smarty->display('modern.tpl'); |
141 | $smarty->display('modern.tpl'); |
142 | 142 |