[問題] 薪資發放系統出現錯誤訊..[終於解決囉]

phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

hiddenman
星球普通子民
星球普通子民
文章: 18
註冊時間: 2004-08-15 14:17

文章 hiddenman »

wert 寫:但是後台那二個空白沒顯示中文欄目名稱的問題還是沒有解決
請把 admin_salary_body.tpl 檔案內容貼上來。
小西
竹貓忠實會員
竹貓忠實會員
文章: 460
註冊時間: 2004-11-19 22:29
來自: 超可愛聲音

文章 小西 »

恭喜你了......
我居然沒注意到他安裝教學錯了 :oops:
以前有看過不過一直想不起來

害你白白用那麼多次+_+抱歉喔
ACG自唱:分貝網存放區 (192kbps) ;NICO存放區 (320kbps)
wert
星球公民
星球公民
文章: 97
註冊時間: 2004-12-09 13:47

文章 wert »

hiddenman 寫:
wert 寫:但是後台那二個空白沒顯示中文欄目名稱的問題還是沒有解決
請把 admin_salary_body.tpl 檔案內容貼上來。

代碼: 選擇全部

<h1>{PAGE_TITLE}</h1>
<p>{PAGE_EXPLAIN}</p>

<table cellspacing="1" cellpadding="4" border="0" align="center" class="forumline">
	<tr>
		<th class="thCornerL" nowrap="nowrap">{L_SALARY_USER}</th>
		<th class="thTop" nowrap="nowrap">{L_SALARY_JOB}</th>
		<th class="thTop" nowrap="nowrap">{L_SALARY_MONEY}</th>
		<th class="thTop" nowrap="nowrap">{L_USER_MONEY}</th>
		<th class="thTop" nowrap="nowrap">{L_USER_BANK}</th>
		<th class="thTop" nowrap="nowrap">{L_SALARY_ACTIVE}</th>
		<th class="thTop" nowrap="nowrap">{L_SALARY_LENTIME}</th>
		<th class="thTop" nowrap="nowrap">{L_SALARY_TIME}</th>
		<th class="thCornerR" colspan="2" nowrap="nowrap">{L_SALARY_EDITDEL}</th>
		
	</tr>
	<!-- BEGIN salaryrow -->
	<tr>
		<td class="{salaryrow.ROW_CLASS}" align="center" nowrap="nowrap">{salaryrow.U_SALARY_USER}</td>
		<td class="{salaryrow.ROW_CLASS}" align="center" nowrap="nowrap">{salaryrow.SALARY_JOB}</td>
		<td class="{salaryrow.ROW_CLASS}" align="center" nowrap="nowrap">{salaryrow.SALARY_MONEY}</td>
		<td class="{salaryrow.ROW_CLASS}" align="center" nowrap="nowrap">{salaryrow.USER_MONEY}</td>
		<td class="{salaryrow.ROW_CLASS}" align="center" nowrap="nowrap">{salaryrow.USER_BANK}</td>
		<td class="{salaryrow.ROW_CLASS}" align="center" nowrap="nowrap">{salaryrow.SALARY_ACTIVE}</td>
		<td class="{salaryrow.ROW_CLASS}" align="center" nowrap="nowrap">{salaryrow.SALARY_LENTIME}</td>
		<td class="{salaryrow.ROW_CLASS}" align="center" nowrap="nowrap">{salaryrow.SALARY_TIME}</td>
		<td class="{salaryrow.ROW_CLASS}" align="center" nowrap="nowrap">
		<a href="{U_SALARY}?mode=edit&salary_id={salaryrow.SALARY_ID}">{L_EDIT}</a>
		<a href="{U_SALARY}?mode=delete&salary_id={salaryrow.SALARY_ID}">{L_DELETE}</a>	
		</td>
	</tr>
	<!-- END salaryrow -->
</table>
<br /><br />
<div align="center"><span class="copyright">Salary MOD by <a href="http://www.timer.idv.tw/phpbb/">yuan</a>,修改者:
	<a href="http://eric1.idv.st">阿翰</a></span></div><br clear="all" />
在admin_salary_body.tpl 裡面有這二個欄位
但是中文顯示不出來

目前我則是用小西大大的教法硬把中文打進去\r
有可以徹底解決錯誤的方法嗎?
wert
星球公民
星球公民
文章: 97
註冊時間: 2004-12-09 13:47

文章 wert »

小西 寫:恭喜你了......
我居然沒注意到他安裝教學錯了 :oops:
以前有看過不過一直想不起來

害你白白用那麼多次+_+抱歉喔
小西大大別這樣說
新手的我本來就要多學\r
錯中學學得才有進步
有進步就表示我又多懂一樣囉
不就是這樣的嗎?
還是要感謝你給我的指導... :mrgreen: :mrgreen:
hiddenman
星球普通子民
星球普通子民
文章: 18
註冊時間: 2004-08-15 14:17

文章 hiddenman »

代碼: 選擇全部

<th class="thTop" nowrap="nowrap">{L_USER_MONEY}</th>
<th class="thTop" nowrap="nowrap">{L_USER_BANK}</th>
是分別自動引用 admin_salary.php 檔案中的:

代碼: 選擇全部

'L_USER_MONEY' => $board_config['money_name'], 
'L_USER_BANK' => $board_config['bank_name'], 
此部份會出現空白乃因為「薪資系統」預設是配合特定的 Cash 及虛擬銀行外掛的,一般會在 admin_salary.php 檔案改為:

代碼: 選擇全部

'L_USER_MONEY' => '身上現金',
'L_USER_BANK' => '銀行存款',
不過,小西大大的改法也是可以的。
主題已鎖定

回到「外掛問題討論」