30 defined(
'XOOPS_INSTALL') or die('XOOPS Installation wizard die');
31 include_once '../language/' .
$wizard->language . '/global.php';
33 <!DOCTYPE html PUBLIC "-
39 (<?php echo (
$wizard->pageIndex + 1) . '/' . count(
$wizard->pages); ?>)
41 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo
_INSTALL_CHARSET ?>" />
42 <link rel="shortcut icon" type="image/ico" href="../favicon.ico" />
43 <link charset="UTF-8" rel="stylesheet" type="text/css" media="all" href="css/style.css" />
45 if (file_exists('language/' .
$wizard->language . '/style.css')) {
46 echo
'<link charset="UTF-8" rel="stylesheet" type="text/css" media="all" href="language/' .
$wizard->language .
'/style.css" />';
50 <script type=
"text/javascript" src=
"./js/prototype-1.6.0.3.js"></script>
51 <script type=
"text/javascript" src=
"./js/xo-installer.js"></script>
56 <div
id=
"xo-banner" class=
"commercial">
57 <img
id=
"xo-main-logo" src=
"img/logo.png" alt=
"XOOPS" />
60 $version =
'./img/' . str_replace(
" ",
"_", strtolower(
XOOPS_VERSION)) .
'.png' ;
61 if (file_exists($version)) {
62 echo
'<img src="' . $version .
'" alt="' .
XOOPS_VERSION .
'" />';
70 <select
id=
"support" onchange=
"javascript:window.open(this.value);">
71 <option value=
'#'><?php echo
SUPPORT; ?></option>
73 @include_once
'./language/' .
$wizard->language .
'/support.php';
75 echo
"<option value='" . $support[
'url'] .
"'";
76 if (file_exists(
'./language/' . $lang .
'/support.png')) {
77 echo
" class='option' style='background-image:url(./language/" . $lang .
"/support.png); background-repeat: no-repeat;'";
79 echo
">" . $support[
'title'] .
"</option>";
87 <div
id=
"xo-globalnav" class=
"x2-nl x2-navigation"></div>
90 <div
class=
"tagsoup1">
91 <div
class=
"tagsoup2">
93 <
form id=
'<?php echo $wizard->pages[$wizard->currentPage]['name
']; ?>' action=
'<?php echo $_SERVER['PHP_SELF
']; ?>' method=
'post'>
96 <div
id=
"title" class=
"title">
98 <?php echo (
$wizard->pageIndex + 1) .
'/' . count(
$wizard->pages); ?>
106 <ul
id=
"pageslist" class=
"x2-navigation">
110 if ($k ==
$wizard->pageIndex) {
111 $class =
' class="current"';
112 }
else if ($k >
$wizard->pageIndex) {
113 $class =
' class="disabled"';
120 echo
"<li$class>$li</li>\n";
125 <div
class=
"page" id=
"<?php echo $wizard->pages[$wizard->currentPage]['name']; ?>">
127 <img
id=
"help_button" src=
"img/help.png" alt=
"help" title=
"<?php echo SHOW_HIDE_HELP; ?>" class=
"off" onclick=
"showHideHelp(this)" />
130 <h2><?php echo
$wizard->pages[
$wizard->currentPage][
'title'] ; ?></h2>
135 <?php
if (
$wizard->pageIndex != 0) { ?>
136 <button type=
"button" onclick=
"history.back()">
142 <button type=
"submit">
144 <button type=
"button" accesskey=
"n" onclick=
"location.href='<?php echo $wizard->pageURI('+1'); ?>'">
156 <script type=
"text/javascript">
163 var pathArray = window.location.pathname.split(
'/' );
164 var filename = location.pathname.substring(location.pathname.lastIndexOf(
'/')+1);
165 var chkUrl = pathArray[2]+
"/"+filename;
166 if (chkUrl ===
'install/page_end.php'){
168 loadjscssfile(newPro,
'js');
169 loadjscssfile(newINST,
'js');
170 loadjscssfile(newCSS,
'css');
184 function loadjscssfile(filename, filetype) {
185 if (filetype ==
"js") {
187 var fileref = document.createElement(
'script');
188 fileref.setAttribute(
"type",
"text/javascript");
189 fileref.setAttribute(
"src", filename);
191 else if (filetype ==
"css") {
192 var fileref = document.createElement(
"link");
193 fileref.setAttribute(
"rel",
"stylesheet");
194 fileref.setAttribute(
"type",
"text/css");
195 fileref.setAttribute(
"href", filename);
197 if (typeof fileref !=
"undefined")
198 document.getElementsByTagName(
"head")[0].appendChild(fileref);