32,7 → 32,7 |
|
$query =& $db->query("SELECT * FROM distribution"); |
while ($query->fetchInto($data, DB_FETCHMODE_ASSOC)) { |
$linux .= "<p><input type='radio' name='d' value='".$data["dist_id"]."'>".stripslashes($data["distname"])."</p>\n"; |
$linux .= "<p><input type='radio' name='d' value='".$data["dist_id"]."'><span class='".stripslashes($data["distua"])."'>".stripslashes($data["distname"])."</span></p>\n"; |
} |
|
if (!isset($status)) { $status = 0; }; |
46,7 → 46,7 |
} else { |
$distname = ""; |
} |
$distvers .= "<p><input type='radio' name='v' value='".$version["version_id"]."' />".stripslashes($version["distname"])." ".stripslashes($version["version"])." ".$distname."</p>\n"; |
$distvers .= "<p><input type='radio' name='v' value='".$version["version_id"]."' /><span class='".stripslashes($version["distua"])."'>".stripslashes($version["distname"])." ".stripslashes($version["version"])." ".$distname."</span></p>\n"; |
} |
} |
|
57,7 → 57,7 |
if ($infodist["vname"]!="") { |
$distname = "“".stripslashes($infodist["vname"])."”"; |
} |
$info = "<h2>Доступные репозитории для <em>".stripslashes($infodist["distname"])." ".stripslashes($infodist["version"])." ".$distname."</em></h2>"; |
$info = "<h2>Доступные репозитории для <em class='".stripslashes($infodist["distua"])."-em'>".stripslashes($infodist["distname"])." ".stripslashes($infodist["version"])." ".$distname."</em></h2>"; |
$result = "<p>Скопируйте эти строки в файл <span id='sourceslist'>/etc/apt/sources.list</span>:</p><pre>"; |
$result .= $core->getRepList($dist,$vers,$db); |
$result .= "</pre>"; |
70,6 → 70,7 |
$smarty->assign('result',$result); |
$smarty->assign('antversion',$antversion); |
$smarty->assign('interface'," • ".$core->getInterfacesList($_SERVER["REQUEST_URI"],$db)); |
$smarty->assign('style',$core->getCSSList($db)); |
|
$smarty->display('classic.tpl'); |
|