這是小弟剛剛在星霜大大發表的文章中看到的所以順便翻譯\r
原文:http://phpbb-tw.net/phpbb/viewtopic.php?t=18835
翻的不好請見諒......
首先修改的檔案是admin_users_list.php
代碼: 選擇全部
#---------------------[搜尋]----------------------
$module['Users']['Users List'] = $filename;
#---------------------[替換]----------------------
$module['Users']['會員列表'] = $filename;
#--------------------------------------------------
代碼: 選擇全部
#---------------------[搜尋]----------------------
<h1>Admin Users List</h1>
<p>There are {TOTAL_USERS} members in your board.</p>
<form action="{U_LIST_ACTION}" method="post">
<p>{L_SELECT_SORT_METHOD}
<select name="sort">
<option value="user_id" class="genmed" {ID_SELECTED} >ID</option>
<option value="username" class="genmed" {USERNAME_SELECTED} >Username</option>
<option value="user_posts" class="genmed" {POSTS_SELECTED} >Posts</option>
<option value="user_lastvisit" class="genmed" {LASTVISIT_SELECTED} >Last Visit</option>
</select>
{L_ORDER}
<select name="order">
<option value="" {ASC_SELECTED} >{L_SORT_ASCENDING}</option>
<option value="DESC" {DESC_SELECTED} >{L_SORT_DESCENDING}</option>
</select>
<input type="submit" value="{L_SORT}" class="liteoption">
</form>
<table width="100%" cellpadding="6" cellspacing="1" border="0" class="forumline">
<tr>
<th class="thCornerL" height="25" valign="middle" nowrap="nowrap">ID</th>
<th class="thTop" height="25" valign="middle" nowrap="nowrap">Action</th>
<th class="thTop" height="25" valign="middle" nowrap="nowrap">Username</th>
<th class="thTop" height="25" valign="middle" nowrap="nowrap">Email</th>
<th class="thTop" height="25" valign="middle" nowrap="nowrap">Posts</th>
<th class="thTop" height="25" valign="middle" nowrap="nowrap">Joined</th>
<th class="thTop" height="25" valign="middle" nowrap="nowrap">Last visit</th>
#---------------------[替換]----------------------
<h1>會員列表</h1>
<p>目前有 {TOTAL_USERS} 個註冊會員</p>
<form action="{U_LIST_ACTION}" method="post">
<p>{L_SELECT_SORT_METHOD}
<select name="sort">
<option value="user_id" class="genmed" {ID_SELECTED} >ID</option>
<option value="username" class="genmed" {USERNAME_SELECTED} >使用者名稱</option>
<option value="user_posts" class="genmed" {POSTS_SELECTED} >文章發表數</option>
<option value="user_lastvisit" class="genmed" {LASTVISIT_SELECTED} >最後上線時間</option>
</select>
{L_ORDER}
<select name="order">
<option value="" {ASC_SELECTED} >{L_SORT_ASCENDING}</option>
<option value="DESC" {DESC_SELECTED} >{L_SORT_DESCENDING}</option>
</select>
<input type="submit" value="{L_SORT}" class="liteoption">
</form>
<table width="100%" cellpadding="6" cellspacing="1" border="0" class="forumline">
<tr>
<th class="thCornerL" height="25" valign="middle" nowrap="nowrap">ID</th>
<th class="thTop" height="25" valign="middle" nowrap="nowrap">Action</th>
<th class="thTop" height="25" valign="middle" nowrap="nowrap">使用者名稱</th>
<th class="thTop" height="25" valign="middle" nowrap="nowrap">電子郵件</th>
<th class="thTop" height="25" valign="middle" nowrap="nowrap">文章發表數</th>
<th class="thTop" height="25" valign="middle" nowrap="nowrap">註冊日期</th>
<th class="thTop" height="25" valign="middle" nowrap="nowrap">最後上線時間</th>
#---------------------[搜尋]----------------------
<a href="{userrow.U_ADMIN_USER}">Edit</a>
#---------------------[替換]----------------------
<a href="{userrow.U_ADMIN_USER}">編輯</a>
#---------------------[搜尋]----------------------
<a href="{userrow.U_ADMIN_USER_AUTH}">Permission</a>
#---------------------[替換]----------------------
<a href="{userrow.U_ADMIN_USER_AUTH}">權限設定</a>