NobuNobu
nobun****@users*****
2006年 4月 1日 (土) 10:32:57 JST
Index: xoops2jp/html/install/index.php diff -u xoops2jp/html/install/index.php:1.2.8.3 xoops2jp/html/install/index.php:1.2.8.4 --- xoops2jp/html/install/index.php:1.2.8.3 Tue Mar 7 22:11:39 2006 +++ xoops2jp/html/install/index.php Sat Apr 1 10:32:57 2006 @@ -1,5 +1,5 @@ <?php -// $Id: index.php,v 1.2.8.3 2006/03/07 13:11:39 nobunobu Exp $ +// $Id: index.php,v 1.2.8.4 2006/04/01 01:32:57 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -63,27 +63,27 @@ define('_OKIMG', '<img src="img/yes.gif" width="6" height="12" border="0" alt="OK" /> '); define('_NGIMG', '<img src="img/no.gif" width="6" height="12" border="0" alt="NG" /> '); -include_once './class/simplewidzard.php'; -$widzard = new SimpleWidzard; -$widzard->setBaseTemplate('install_tpl.php'); -$widzard->setTemplatePath('templates'); - -$widzardSeq = new SimpleWidzardSequence; - -$widzardSeq->add('langselect', _INSTALL_L0, 'start', _INSTALL_L80); -$widzardSeq->add('start', _INSTALL_L0, 'modcheck', _INSTALL_L81); -$widzardSeq->add('modcheck', _INSTALL_L82, 'dbform', _INSTALL_L89); -$widzardSeq->add('dbform', _INSTALL_L90, 'dbconfirm', _INSTALL_L91); -$widzardSeq->add('dbconfirm', _INSTALL_L53, 'dbsave', _INSTALL_L92, '', _INSTALL_L93); -$widzardSeq->add('dbsave', _INSTALL_L92, 'mainfile', _INSTALL_L94); -$widzardSeq->add('mainfile', _INSTALL_L94, 'initial', _INSTALL_L102, 'start', _INSTALL_L103, true); -$widzardSeq->add('initial', _INSTALL_L102, 'checkDB', _INSTALL_L104, 'start', _INSTALL_L103, true); -$widzardSeq->add('checkDB', _INSTALL_L104, 'createDB', _INSTALL_L105, 'start', _INSTALL_L103, true); -$widzardSeq->add('createDB', _INSTALL_L105, 'checkDB', _INSTALL_L104); -$widzardSeq->add('createTables',_INSTALL_L40, 'siteInit', _INSTALL_L112); -$widzardSeq->add('siteInit', _INSTALL_L112, 'insertData', _INSTALL_L116); -$widzardSeq->add('insertData', _INSTALL_L116, 'finish', _INSTALL_L117); -$widzardSeq->add('finish', _INSTALL_L32); +include_once './class/simplewizard.php'; +$wizard = new SimpleWizard; +$wizard->setBaseTemplate('install_tpl.php'); +$wizard->setTemplatePath('templates'); + +$wizardSeq = new SimpleWizardSequence; + +$wizardSeq->add('langselect', _INSTALL_L0, 'start', _INSTALL_L80); +$wizardSeq->add('start', _INSTALL_L0, 'modcheck', _INSTALL_L81); +$wizardSeq->add('modcheck', _INSTALL_L82, 'dbform', _INSTALL_L89); +$wizardSeq->add('dbform', _INSTALL_L90, 'dbconfirm', _INSTALL_L91); +$wizardSeq->add('dbconfirm', _INSTALL_L53, 'dbsave', _INSTALL_L92, '', _INSTALL_L93); +$wizardSeq->add('dbsave', _INSTALL_L92, 'mainfile', _INSTALL_L94); +$wizardSeq->add('mainfile', _INSTALL_L94, 'initial', _INSTALL_L102, 'start', _INSTALL_L103, true); +$wizardSeq->add('initial', _INSTALL_L102, 'checkDB', _INSTALL_L104, 'start', _INSTALL_L103, true); +$wizardSeq->add('checkDB', _INSTALL_L104, 'createDB', _INSTALL_L105, 'start', _INSTALL_L103, true); +$wizardSeq->add('createDB', _INSTALL_L105, 'checkDB', _INSTALL_L104); +$wizardSeq->add('createTables',_INSTALL_L40, 'siteInit', _INSTALL_L112); +$wizardSeq->add('siteInit', _INSTALL_L112, 'insertData', _INSTALL_L116); +$wizardSeq->add('insertData', _INSTALL_L116, 'finish', _INSTALL_L117); +$wizardSeq->add('finish', _INSTALL_L32); if (file_exists('./custom/custom.inc.php')) { include './custom/custom.inc.php'; @@ -100,16 +100,16 @@ } else { $op = 'langselect'; } -$widzard->setOp($op); +$wizard->setOp($op); $op=basename($op); -$fname = './widzards/install_'.$op.'.inc.php'; +$fname = './wizards/install_'.$op.'.inc.php'; $custom_fname = './custom/install_'.$op.'.inc.php'; if (file_exists($fname)) { include $fname; } else if(file_exists($custom_fname)) { include $custom_fname; } else { - $widzard->render(); + $wizard->render(); } ?> \ No newline at end of file Index: xoops2jp/html/install/install_tpl.php diff -u xoops2jp/html/install/install_tpl.php:1.1.8.2 xoops2jp/html/install/install_tpl.php:1.1.8.3 --- xoops2jp/html/install/install_tpl.php:1.1.8.2 Tue Mar 7 22:05:59 2006 +++ xoops2jp/html/install/install_tpl.php Sat Apr 1 10:32:57 2006 @@ -1,7 +1,7 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title>XOOPS Cube Install Widzard</title> + <title>XOOPS Cube Install Wizard</title> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo _INSTALL_CHARSET ?>" /> <style type="text/css" media="all"><!-- @import url(../xoops.css); --></style> <link rel="stylesheet" type="text/css" media="all" href="style.css" />