27,7 → 27,7 |
$vers = $secure->wrapInt($_GET["v"]); |
$reps = $_GET["r"]; |
|
$info = array( _("Step"), _("Next step"), _("Mirror selection"), _("Choosing a distribution"), _("Choosing a version of distribution"), _("Selection of repositories"), _("Get sources.list") ); |
$infomsg = array( _("Step"), _("Next step"), _("Mirror selection"), _("Choosing a distribution"), _("Choosing a version of distribution"), _("Selection of repositories"), _("Get sources.list") ); |
|
if (!isset($status)) { $status = 0; }; |
|
94,20 → 94,20 |
break; |
} |
|
$steps="<a href='classic.php'>"._("Step")." 0</a> ::"; |
if ($status>0){ $steps .= "<a href='classic.php?step=1&m=".$mirr."'> ".$info[0]."1</a> ::"; } else { $steps.=" ".$info[0]." 1 ::"; } |
if ($status>1){ $steps .= "<a href='classic.php?step=2&m=".$mirr."&d=".$dist."'> ".$info[0]." 2</a> ::"; } else{ $steps.=" ".$info[0]." 2 ::"; } |
if ($status>2){ $steps .= "<a href='classic.php?step=3&m=".$mirr."&d=".$dist."&v=".$vers."'> ".$info[0]." 3</a> ::"; } else { $steps.=" ".$info[0]." 3 ::"; } |
if ($status>3){ $steps .= "<a href='".$_SERVER["php_self"]."'> ".$info[0]." 4</a>"; } else { $steps.=" ".$info[0]." 4"; } |
$steps="<a href='classic.php'>".$infomsg[0]." 0</a> ::"; |
if ($status>0){ $steps .= "<a href='classic.php?step=1&m=".$mirr."'> ".$infomsg[0]." 1</a> ::"; } else { $steps.=" ".$infomsg[0]." 1 ::"; } |
if ($status>1){ $steps .= "<a href='classic.php?step=2&m=".$mirr."&d=".$dist."'> ".$infomsg[0]." 2</a> ::"; } else{ $steps.=" ".$infomsg[0]." 2 ::"; } |
if ($status>2){ $steps .= "<a href='classic.php?step=3&m=".$mirr."&d=".$dist."&v=".$vers."'> ".$infomsg[0]." 3</a> ::"; } else { $steps.=" ".$infomsg[0]." 3 ::"; } |
if ($status>3){ $steps .= "<a href='".$_SERVER["php_self"]."'> ".$infomsg[0]." 4</a>"; } else { $steps.=" ".$infomsg[0]." 4"; } |
|
$smarty->assign('feedaddr',$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])); |
$smarty->assign('stepinfo',$info[0]); |
$smarty->assign('nextstep',$info[1]); |
$smarty->assign('mirrorselect',$info[2]); |
$smarty->assign('distrochoose',$info[3]); |
$smarty->assign('distrovchoose',$info[4]); |
$smarty->assign('repselect',$info[5]); |
$smarty->assign('getsourceslist',$info[6]); |
$smarty->assign('stepinfo',$infomsg[0]); |
$smarty->assign('nextstep',$infomsg[1]); |
$smarty->assign('mirrorselect',$infomsg[2]); |
$smarty->assign('distrochoose',$infomsg[3]); |
$smarty->assign('distrovchoose',$infomsg[4]); |
$smarty->assign('repselect',$infomsg[5]); |
$smarty->assign('getsourceslist',$infomsg[6]); |
$smarty->assign('link',$link); |
$smarty->assign('status',$status); |
$smarty->assign('linux',$linux); |