图片:
图片:
图片:
演示地址:
http://www.pwtt.net/minispace.php?uid=6文件包中,有对几个
论坛原文件进行
修改的地方,确保未对原文件修改过,或做好
备份后再进行安装。
修改过的文件有:
pw_ajax.php
增加了如下
代码:
复制代码- elseif($action=='editstyle'){
- $re = $db->get_one("SELECT uid,css FROM pw_uidcss WHERE uid='$winduid'");
- require_once PrintEot('ajax');ajax_footer();
- }
|
template/wind/ajax.htm
增加了如下代码:
复制代码- <!--
- EOT;
- }elseif($action=='editstyle'){print <<<EOT
- -->
- <form action="minispace.php?uid=$re[uid]&action=$action" method="post">
- <table width="350" cellspacing="1" cellpadding="5">
- <tr><th class="h" colspan="2" style="cursor:move" onmousedown="read.move(event);"><span class="fr" style="margin-top:2px;cursor:pointer" onclick="closep();"><img src="$imgpath/close.gif" /></span>装饰空间</th></tr>
- <tr><td align="center">样式:</td><td>
- <textarea name="css" onkeydown="ajax.quickpost(event,this.form)" style="width:300px;height:152px">$re[css]</textarea>
- </td></tr>
- </table>
- <input type="hidden" name="step" value="2" />
- <ul><li style="text-align:center;padding:4px 0;">
- <input type="submit" class="btn" value="提 交">
- </li></ul></form>
|
template/wind/index.htm
增加了如下代码:
复制代码- <a href="$db_bbsurl/minispace.php?uid=$winduid">我的空间</a>
|
template/wind/read.htm
增加了如下代码:
复制代码- <a href="minispace.php?uid=$read[authorid]"><img src="$imgpath/minispace/home.gif" title="我的空间" /></a>
|
一、备份文件,需做好备份的文件有:pw_ajax.php,template/wind/ajax.htm,template/wind/index.htm,template/wind/read.htm
二、解压至论坛根目录下。
三、运行db_update.php,完成安装。
[ 此贴被闹腾腾在2008-06-16 15:43重新编辑 ]