ravenlp 15 年之前
父節點
當前提交
d75749027c
共有 3 個文件被更改,包括 6 次插入4 次删除
  1. 2 0
      admin/css/style.css
  2. 2 2
      admin/themes/admin/install.htm
  3. 2 2
      install.php

+ 2 - 0
admin/css/style.css 查看文件

50
 	
50
 	
51
 .box{ background:#fff url(images/bg-box.png) center top repeat-y; width:600px;}
51
 .box{ background:#fff url(images/bg-box.png) center top repeat-y; width:600px;}
52
 .footer-box{background:#fff url(images/bg-foot-box.png) center top no-repeat;}	
52
 .footer-box{background:#fff url(images/bg-foot-box.png) center top no-repeat;}	
53
+.install_box{padding:20px;}
54
+.install_box a{ text-decoration:underline;}
53
 
55
 
54
 .box h3{float:left; color:#444444; font-weight:bold; padding:5px 10px 0 0;}
56
 .box h3{float:left; color:#444444; font-weight:bold; padding:5px 10px 0 0;}
55
 .box p{ margin:2px auto auto 15px;}
57
 .box p{ margin:2px auto auto 15px;}

+ 2 - 2
admin/themes/admin/install.htm 查看文件

156
 			<div class="footer-box">&nbsp;</div>
156
 			<div class="footer-box">&nbsp;</div>
157
 		</div>
157
 		</div>
158
 	{else}
158
 	{else}
159
-		<p><em>Finished!</em></p>
160
-		<p>Now you can <a href="login.php" class="inslnl">log in</a> with your <strong>username</strong> and <strong>password</strong></p>
159
+		<p class="install_box"><em>Finished!</em></p>
160
+		<p class="install_box">Now you can <a href="login.php" class="inslnl">log in</a> with your <strong>username</strong> and <strong>password</strong></p>
161
 	{/if}
161
 	{/if}
162
 	</div>
162
 	</div>
163
 	<div id="foot">
163
 	<div id="foot">

+ 2 - 2
install.php 查看文件

30
 $install->data = $_POST;
30
 $install->data = $_POST;
31
 $install->check_form();
31
 $install->check_form();
32
 $theme = new themes;
32
 $theme = new themes;
33
-$theme->set('version',version());
33
+$theme->set('version',util::version());
34
 $theme->set('showForm',$install->showForm);
34
 $theme->set('showForm',$install->showForm);
35
 
35
 
36
 $theme->set('db_login',isset($install->data['db_login'])? $install->data['db_login'] : '');
36
 $theme->set('db_login',isset($install->data['db_login'])? $install->data['db_login'] : '');
41
 $theme->set('title',isset($install->data['title'])?$install->data['title']:'');
41
 $theme->set('title',isset($install->data['title'])?$install->data['title']:'');
42
 $theme->set('description',isset($install->data['description'])?$install->data['description']:'');
42
 $theme->set('description',isset($install->data['description'])?$install->data['description']:'');
43
 $theme->set('url_installation',isset($_SERVER['SCRIPT_URI'])?substr($_SERVER["SCRIPT_URI"], 0, -12):'');
43
 $theme->set('url_installation',isset($_SERVER['SCRIPT_URI'])?substr($_SERVER["SCRIPT_URI"], 0, -12):'');
44
-$theme->set('themes',getThemes());
44
+$theme->set('themes',util::getThemes());
45
 
45
 
46
 for($c=1;$c<=10;$c++)$errores[$c] = $install->mostrarerror($c);
46
 for($c=1;$c<=10;$c++)$errores[$c] = $install->mostrarerror($c);
47
 $theme->set('error',$errores);
47
 $theme->set('error',$errores);