<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- 系統管裡: 索引典管理
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_INCLUDE NAME="masthead.inc" -->
<!-- TMPL_INCLUDE NAME="admin-topmenu.inc" -->
<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->

<div id="main">
<!-- TMPL_IF name="detail_form" -->
	<!-- -->
	<h1>索引典管理</h1><table>
	<tr><td>&nbsp;</td></tr>
	<tr>
		<td><b>設定值相關<!-- TMPL_VAR name="stdlib" --> (<!-- TMPL_VAR name="category" -->)</b></td>
	</tr>
	</table>
	<br/><br/>
	<table>
	<tr>
		<th>其他型式</th>
		<th>&nbsp;</th>
		<th>&nbsp;</th>
	</tr>
	<!-- TMPL_LOOP name="loop" -->
	<tr>
		<td><!-- TMPL_VAR name="freelib" --></td>
		<td><a href="<!-- TMPL_VAR name="edit" -->">編輯</a></td>
		<td><a href="<!-- TMPL_VAR name="delete" -->">刪除</a></td>
	</tr>
	<!-- /TMPL_LOOP -->
	<form action="<!-- TMPL_VAR name="script_name" -->" method="post">
	<input type="hidden" name="op" value="add_form" />
	</table>
	<form action="<!-- TMPL_VAR name="script_name" -->" method="post">
	<input type="hidden" name="op" value="add_form" />
	<input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->" />
	<input type="hidden" name="stdlib" value="<!-- TMPL_VAR name="stdlib" -->" />
	<br><input type="submit" value="新增索引典款目" /><br>
	</form>
<!-- /TMPL_IF -->

<!-- TMPL_IF name="add_form" -->
<!-- -->

	<form action="<!-- TMPL_VAR name="script_name" -->" name="Aform" method="post">
	<h1><!-- TMPL_IF name="search_category" -->新增<!-- TMPL_ELSE -->修改<!-- /TMPL_IF --></h1><!-- TMPL_IF name="search_category" -->
		<input type="hidden" name="op" value="add_validate" />
	<!-- TMPL_ELSE -->
		<input type="hidden" name="op" value="mod_validate" />
	<!-- /TMPL_IF --><table>
	<tr>
		<td>類別</td>
		<td><!-- TMPL_VAR name="category" --></td>
	</tr>
	<tr>
		<td>權威控制資料庫</td>
		<!-- TMPL_IF name="id" -->
			<td><!-- TMPL_VAR name="father" --><!-- TMPL_VAR name="stdlib" --><input type="hidden" name="stdlib" value="<!-- TMPL_VAR name="stdlib" -->" /></td>
		<!-- TMPL_ELSE -->
			<td><!-- TMPL_VAR name="father" --><input type="text" name="stdlib" value="<!-- TMPL_VAR name="stdlib" escape="HTML" -->" maxlength="80" size="80" /></td>
		<!-- /TMPL_IF -->
	</tr>
	<tr>
		<td>其他資料庫</td>
		<td><!-- TMPL_VAR name="father" --><input type="text" name="freelib" value="<!-- TMPL_VAR name="freelib" escape="HTML" -->" maxlength="80" size="80" /></td>
	</tr>
	</table>
	<p><input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />
			<input type="hidden" name="father" value="<!-- TMPL_VAR name="father" escape="HTML" -->" />
			<input type="hidden" name="branch" value="<!-- TMPL_VAR name="branch" escape="HTML" -->" />
			<input type="hidden" name="search_category" value="<!-- TMPL_VAR name="search_category" -->" />
			<input type="hidden" name="searchstring" value="<!-- TMPL_VAR name="searchstring" escape="HTML" -->" />
			<input type="hidden" name="offset" value="<!-- TMPL_VAR name="offset" -->" />
			<input type="submit" class="submit" value="<!-- TMPL_IF name="search_category" -->新增<!-- TMPL_ELSE -->修改<!-- /TMPL_IF --> Value" /></p></form>
<!-- /TMPL_IF -->


<!-- TMPL_IF name="delete_confirm" -->
<!-- -->
		<table>
		<tr>
			<td><b>資料庫</b></td>
			<td><b><!-- TMPL_VAR name="search_category" --></b></td>
		</tr>
		<tr><td>設定值</td><td><!-- TMPL_VAR name="Tvalue" --></td></tr>
		<tr><td>
			<form action="<!-- TMPL_VAR name="script_name" -->" method="post">
				<input type="hidden" name="op" value="delete_confirmed" />
				<input type="hidden" name="id" value="<!-- TMPL_VAR name="id" -->" />
				<input type="hidden" name="search_category" value="<!-- TMPL_VAR name="search_category" -->" />
		</tr></td>
		<tr><td colspan=2 align=center>確認刪除款目<b>而且所有款目依據這個</b></td></tr>
		<tr><td><input type="submit" value="是" /></form></td>
				<td><form action="<!-- TMPL_VAR name="script_name" -->" method="post"><input type="submit" value="否" /></form></td></tr>
	</table>
<!-- /TMPL_IF -->

<!-- -->
<!-- TMPL_IF name="else" -->
<h1>索引典管理</h1>
	<p>管理索引典和權威控制資料。</p>
	<ul>
		<li><b>擷取</b>: 參考依據這個資料</li>
		<li><b>相關</b>: 參考其他權威款目型式</li>
	</ul>
<div class="tabitem">	<form action="/cgi-bin/koha/admin/thesaurus.pl" method="post">
		<!-- TMPL_VAR name="tab_list" -->
		<input type="text" name="searchstring" value="<!-- TMPL_VAR name="searchstring" -->" />
		<input type="submit" value="完成" class="submit" /></form>
	<form action="/cgi-bin/koha/admin/thesaurus.pl" method="get"><input type="hidden" value="add_form" name="op" /><input type="submit" class="submit" value="新的類別" /></form></div>
	
	<!-- TMPL_LOOP name="hierarchy_loop" -->
		<a href="thesaurus.pl?branch=<!-- TMPL_VAR name="branch" -->&search_category=<!-- TMPL_VAR name="category" -->"><!-- TMPL_VAR name="string" --></a><br />
	<!-- /TMPL_LOOP -->
	
<!-- TMPL_IF NAME="loop" -->
<table>
	<tr>
		<th>&nbsp;</th>
		<th>自由型式</th>
		<th>權威控制</th>
		<th>擷取</th>
		<th>相關</th>
		<th>編輯</th>
		<th>刪除</th>
	</tr>	<!-- TMPL_LOOP name="loop" -->

	<tr>
		<td>&nbsp;</td>
		<td><!-- TMPL_VAR name="freelib" --></td>
		<td><!-- TMPL_VAR name="father" --> <!-- TMPL_VAR name="stdlib" --></td>
		<td><!-- TMPL_VAR name="dig" -->擷取</a></td>
		<td><!-- TMPL_VAR name="related" -->相關</a></td>
		<td><a href="<!-- TMPL_VAR name="edit" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR name="theme" -->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0" /></a></td>
		<td><a href="<!-- TMPL_VAR name="delete" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR name="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0" /></a></td>
	</tr>
	<!-- /TMPL_LOOP -->
	</table>
<!-- /TMPL_IF -->
<p>		<form action="<!-- TMPL_VAR name="script_name" -->" method="post">
	<input type="hidden" name="op" value="add_form" />
</p>
<p><form action="<!-- TMPL_VAR name="script_name" -->" method="post">
	<input type="hidden" name="op" value="add_form" />
	<input type="hidden" name="category" value="<!-- TMPL_VAR name="category" -->" />
	<input type="hidden" name="branch" value="<!-- TMPL_VAR name="branch" -->" />
	<input type="hidden" name="father" value="<!-- TMPL_VAR name="father" -->" />
	<input type="submit" class="submit"  value="新增索引典款目" />
	</form></p>
<!-- TMPL_VAR name="previous" --> <!-- TMPL_VAR name="next" -->
<!-- /TMPL_IF -->
</div>

<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
