NobuNobu
nobun****@users*****
2006年 3月 7日 (火) 22:05:59 JST
Index: xoops2jp/html/install/install_tpl.php diff -u xoops2jp/html/install/install_tpl.php:1.1.8.1 xoops2jp/html/install/install_tpl.php:1.1.8.2 --- xoops2jp/html/install/install_tpl.php:1.1.8.1 Wed Oct 19 02:20:37 2005 +++ xoops2jp/html/install/install_tpl.php Tue Mar 7 22:05:59 2006 @@ -1,97 +1,57 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title>XOOPS Custom Installation</title> + <title>XOOPS Cube Install Widzard</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" /> </head> <body style="margin: 0; padding: 0;"> -<form action='index.php' method='post'> -<table width="778" align="center" cellpadding="0" cellspacing="0" background="img/bg_table.gif"> - <tr> - <td width="150"><img src="img/hbar_left.gif" width="100%" height="23" alt="" /></td> - <td width="478" background="img/hbar_middle.gif"> </td> - <td width="150"><img src="img/hbar_right.gif" width="100%" height="23" alt="" /></td> - </tr> - <tr> - <td width="150"><a href="index.php"><img src="img/logo.gif" width="150" height="80" alt="" /></a></td> - <td width="478" background="img/bg_darkblue.gif"> </td> - <td width="150"><img src="img/xoops2.gif" width="100%" height="80" /></td> - </tr> - <tr> - <td width="150"><img src="img/hbar_left.gif" width="100%" height="23" alt="" /></td> - <td width="478" background="img/hbar_middle.gif"> </td> - <td width="150"><img src="img/hbar_right.gif" width="100%" height="23" alt="" /></td> - </tr> +<form action="index.php" method="post"> +<table class="headertable" cellspacing="0" align="center" cellpadding="0"> +<tr> + <td class="headerlogo"><img src="img/logo.gif" width="200" height="100" alt="XOOPS Cube" /></td> + <td class="headerbanner"> </td> +</tr> </table> - -<table width="778" align="center" cellspacing="0" cellpadding="0" background="img/bg_table.gif"> +<table cellspacing="0" cellpadding="0" align="center"> <tr> - <td width='5%'> </td> - <td colspan="3"><?php if(!empty($title)) echo '<h4 style="margin-top: 10px; margin-bottom: 5px; padding: 10px;">'.$title.'</h4>'; echo '<div style="padding: 10px;">'.$content.'</div>'; ?></td> - <td width='5%'> </td> + <td class="bar_left"> </td> + <td class="bar_middle"> </td> + <td class="bar_right"> </td> </tr> +</table> +<table class="bodytable" align="center" cellspacing="0" cellpadding="0"> <tr> - <td width='5%'> </td> - <td width='35%' align='left'><?php echo b_back($b_back); ?></td> - <td width='20%' align='center'><?php echo b_reload($b_reload); ?></td> - <td width='35%' align='right'><?php echo b_next($b_next); ?></td> - <td width='5%'> </td> + <td width="5%"> </td> + <td colspan="3"> +<?php if(!empty($title)) { ?> + <h4 style="margin-top: 10px; margin-bottom: 5px; padding: 10px;"><?php echo $title; ?></h4> +<?php } ?> + <div style="padding: 10px;"> +<?php echo $content; ?> + </div> + </td> + <td width="5%"> </td> + </tr> + <tr> + <td width="5%"> </td> + <td width="35%" align="left"><?php echo b_back($b_back); ?></td> + <td width="20%" align="center"><?php echo b_reload($b_reload); ?></td> + <td width="35%" align="right"><?php echo b_next($b_next); ?></td> + <td width="5%"> </td> </tr> <tr> <td colspan="5"> </td> </tr> </table> - -<table width="778" cellspacing="0" cellpadding="0" align="center" background="img/bg_table.gif"> +<table cellspacing="0" cellpadding="0" align="center"> <tr> - <td width="150"><img src="img/hbar_left.gif" width="100%" height="23" alt="" /></td> - <td width="478" background="img/hbar_middle.gif"> </td> - <td width="150"><img src="img/hbar_installer_right.gif" width="100%" height="23" alt="" /></td> + <td class="bar_left"> </td> + <td class="bar_middle"> </td> + <td class="footer_right"> </td> </tr> </table> </form> </body> </html> -<?php -function b_back($option = null) -{ - if(!isset($option) || !is_array($option)) return ''; - $content = ''; - if(isset($option[0]) && $option[0] != ''){ - $content .= "<input type='button' value='" - ._INSTALL_L42."' onclick=\"location='index.php?op=" - .htmlspecialchars($option[0])."'\" /> "; - }else{ - $content .= "<input type='button' value='" - ._INSTALL_L42."' onclick=\"javascript:history.back();\" /> "; - } - if(isset($option[1]) && $option[1] != ''){ - $content .= "<span style='font-size:85%;'><< " - .htmlspecialchars($option[1])."</span> "; - } - return $content; -} - -function b_reload($option=''){ - if(empty($option)) return ''; - if (!defined('_INSTALL_L200')) { - define('_INSTALL_L200', 'Reload'); - } - return "<input type='button' value='"._INSTALL_L200."' onclick=\"location.reload();\" /> "; -} - -function b_next($option=null){ - if(!isset($option) || !is_array($option)) return ''; - $content = ''; - if(isset($option[1]) && $option[1] != ''){ - $content .= "<span style='font-size:85%;'>" - .htmlspecialchars($option[1])." >></span>"; - } - $content .= "<input type='hidden' name='op' value='" - .htmlspecialchars($option[0])."' />\n"; - $content .= "<input type='submit' name='submit' value='"._INSTALL_L47."' />\n"; - return $content; -} -?> \ No newline at end of file Index: xoops2jp/html/install/style.css diff -u xoops2jp/html/install/style.css:1.1 xoops2jp/html/install/style.css:1.1.8.1 --- xoops2jp/html/install/style.css:1.1 Thu Sep 9 14:15:04 2004 +++ xoops2jp/html/install/style.css Tue Mar 7 22:05:59 2006 @@ -1,4 +1,4 @@ -body { +body { font-family : tahoma, osaka,taipei,verdana, arial, helvetica, sans-serif; color;#000000; font-size: 12px; @@ -6,20 +6,20 @@ padding: 0; } -a { +a { text-decoration: none; color: #666666;font-weight: bold; background-color: transparent; } -a:hover { +a:hover { text-decoration: none; color: #ff9966; font-weight: bold; background-color: transparent; } -td { +td { font-family : tahoma, osaka,taipei,verdana, arial, helvetica, sans-serif; color: #000000; font-size: 12px; @@ -29,17 +29,43 @@ border-left-width : 1px; } -img { border:0; } -div { text-align: center; } -.bg1 { background-color: #f7f7f7; color: #000000; } -.bg2 { background-color: #000000; color: #ffffff; } -.bg3 { background-color: #2f5376; color: #f9b743; } -.bg4 { background-color: #f5f5f5; color: #000000; } -.bg5 { background-color: #f5f5f5; color: #000000; } -.fg1 { color: #f9b743; } -.fg2 { color: #000000; } +img { + border:0; +} + +div { + text-align: center; +} + +.bg1 { + background-color: #f7f7f7; color: #000000; +} -input { +.bg2 { + background-color: #000000; color: #ffffff; +} + +.bg3 { + background-color: #2f5376; color: #f9b743; +} + +.bg4 { + background-color: #f5f5f5; color: #000000; +} + +.bg5 { + background-color: #f5f5f5; color: #000000; +} + +.fg1 { + color: #f9b743; +} + +.fg2 { + color: #000000; +} + +input { border-right: #000000 1px solid; border-top: #000000 1px solid; font: 8pt verdana, arial, helvetica; @@ -59,4 +85,62 @@ } table { border : 0; -} \ No newline at end of file +} + +.headertable { + width:778px; + align: center; +} + +.bodytable { + background: url(img/bg.gif) repeat; + width:778px; + align: center; +} + +.bar_middle { + background: url(img/hbar.gif) repeat; + width:478px;height:23px; + align: center; +} + +.bar_left { + background: url(img/hbar_left.gif) repeat; + width:150px;height:23px; + align: center; +} + +.bar_right { + background: url(img/hbar_right.gif) repeat; + width:150px;height:23px; + align: center; +} +.footer_right { + background: url(img/hbar_installer_right.gif) repeat; + width:150px;height:23px; + align: center; +} + +.headerlogo { + background: url(img/base.gif) left no-repeat #000080; + width: 200px; + height: 100px; + margin: 0; + padding: 0; +} + +.headerbanner { + background: url(img/cube.gif) right no-repeat #000080; + width: 100%; + text-align: center; + vertical-align: middle; +} + +.headerbar { + background: url(img/nav.gif) repeat-x; + font-size: 10pt; + text-align: right; + margin: 0; + padding: 3px 5px; + border-bottom: solid 1px #dddddd; +}