/branches/ant-ng/css/style.css |
---|
40,7 → 40,7 |
fieldset { |
width: 560px; |
border: 1px solid #000; |
border: 2px solid #000; |
display: block; |
background-color: #dcdcdc; |
} |
/branches/ant-ng/init.php |
---|
42,6 → 42,7 |
$query =& $db->query("SET NAMES utf8"); |
$cookie = "asHash"; |
$webroot = "http://d.alex-w.org.ru/p/ant-ng/"; |
$secure = new Security(); |
$core = new Core($db, PREFIX, $secure, $cookie); |
/branches/ant-ng/custom-index.php |
---|
14,8 → 14,8 |
require_once dirname(__FILE__)."/init.php"; |
$tmpl->assign('host',"http://d.alex-w.org.ru/p/ant-ng/"); |
$tmpl->assign('header',"ant-ng"); |
$tmpl->assign('host',$webroot); |
$tmpl->assign('header',$core->getCodeName()); |
$tmpl->assign('description',"Генератор sources.list для apt-дистрибутивов Linux"); |
$tmpl->assign('body',$core->showDistributionForm()); |
/branches/ant-ng/lib/core.php |
---|
120,6 → 120,11 |
return $result; |
} |
// Получение названия программы |
public function getCodeName() { |
return $this->secure->checkStr($this->getOption("codename"),1); |
} |
// Получение и отображение списка версий дистрибутива |
public function showDistVersionsList($name, $distID, $format = 'html') { |
$distname = $this->getDistName($distID); |