Редакция 268 | Редакция 276 | К новейшей редакции | Весь файл | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 268 | Редакция 275 | ||
---|---|---|---|
Строка 25... | Строка 25... | ||
25 | $status = $secure->wrapInt($_GET["step"]); |
25 | $status = $secure->wrapInt($_GET["step"]); |
26 | $dist = $secure->wrapInt($_GET["d"]); |
26 | $dist = $secure->wrapInt($_GET["d"]); |
27 | $vers = $secure->wrapInt($_GET["v"]); |
27 | $vers = $secure->wrapInt($_GET["v"]); |
28 | $reps = $_GET["r"]; |
28 | $reps = $_GET["r"]; |
29 | 29 | ||
30 | $info = array( _("Step"), _("Next step"), _("Mirror selection"), _("Choosing a distribution"), _("Choosing a version of distribution"), _("Selection of repositories"), _("Get sources.list") ); |
30 | $infomsg = array( _("Step"), _("Next step"), _("Mirror selection"), _("Choosing a distribution"), _("Choosing a version of distribution"), _("Selection of repositories"), _("Get sources.list") ); |
31 | 31 | ||
32 | if (!isset($status)) { $status = 0; }; |
32 | if (!isset($status)) { $status = 0; }; |
33 | 33 | ||
34 | switch ($status) { |
34 | switch ($status) { |
35 | case 0: |
35 | case 0: |
Строка 92... | Строка 92... | ||
92 | 92 | ||
93 | $link="<div class='sllink'><a title='"._("Link to this sources.list")."' href='".$_SERVER['php_self']."'>#</a></div>"; |
93 | $link="<div class='sllink'><a title='"._("Link to this sources.list")."' href='".$_SERVER['php_self']."'>#</a></div>"; |
94 | break; |
94 | break; |
95 | }
|
95 | }
|
96 | 96 | ||
97 | $steps="<a href='classic.php'>"._("Step")." 0</a> ::"; |
97 | $steps="<a href='classic.php'>".$infomsg[0]." 0</a> ::"; |
98 | if ($status>0){ $steps .= "<a href='classic.php?step=1&m=".$mirr."'> ".$info[0]."1</a> ::"; } else { $steps.=" ".$info[0]." 1 ::"; } |
98 | if ($status>0){ $steps .= "<a href='classic.php?step=1&m=".$mirr."'> ".$infomsg[0]." 1</a> ::"; } else { $steps.=" ".$infomsg[0]." 1 ::"; } |
99 | if ($status>1){ $steps .= "<a href='classic.php?step=2&m=".$mirr."&d=".$dist."'> ".$info[0]." 2</a> ::"; } else{ $steps.=" ".$info[0]." 2 ::"; } |
99 | if ($status>1){ $steps .= "<a href='classic.php?step=2&m=".$mirr."&d=".$dist."'> ".$infomsg[0]." 2</a> ::"; } else{ $steps.=" ".$infomsg[0]." 2 ::"; } |
100 | 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 ::"; } |
100 | 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 ::"; } |
101 | if ($status>3){ $steps .= "<a href='".$_SERVER["php_self"]."'> ".$info[0]." 4</a>"; } else { $steps.=" ".$info[0]." 4"; } |
101 | if ($status>3){ $steps .= "<a href='".$_SERVER["php_self"]."'> ".$infomsg[0]." 4</a>"; } else { $steps.=" ".$infomsg[0]." 4"; } |
102 | 102 | ||
103 | $smarty->assign('feedaddr',$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])); |
103 | $smarty->assign('feedaddr',$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])); |
104 | $smarty->assign('stepinfo',$info[0]); |
104 | $smarty->assign('stepinfo',$infomsg[0]); |
105 | $smarty->assign('nextstep',$info[1]); |
105 | $smarty->assign('nextstep',$infomsg[1]); |
106 | $smarty->assign('mirrorselect',$info[2]); |
106 | $smarty->assign('mirrorselect',$infomsg[2]); |
107 | $smarty->assign('distrochoose',$info[3]); |
107 | $smarty->assign('distrochoose',$infomsg[3]); |
108 | $smarty->assign('distrovchoose',$info[4]); |
108 | $smarty->assign('distrovchoose',$infomsg[4]); |
109 | $smarty->assign('repselect',$info[5]); |
109 | $smarty->assign('repselect',$infomsg[5]); |
110 | $smarty->assign('getsourceslist',$info[6]); |
110 | $smarty->assign('getsourceslist',$infomsg[6]); |
111 | $smarty->assign('link',$link); |
111 | $smarty->assign('link',$link); |
112 | $smarty->assign('status',$status); |
112 | $smarty->assign('status',$status); |
113 | $smarty->assign('linux',$linux); |
113 | $smarty->assign('linux',$linux); |
114 | $smarty->assign('mirrors',$mirrors); |
114 | $smarty->assign('mirrors',$mirrors); |
115 | $smarty->assign('steps',$steps); |
115 | $smarty->assign('steps',$steps); |