113 lines
4.8 KiB
Cheetah
113 lines
4.8 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->System Administration<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="masthead.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="intranet-nav-brief.inc" -->
|
|
<div id="main">
|
|
<h1> OPAC Online Databases</h1>
|
|
<!-- TMPL_IF name="add_form" -->
|
|
|
|
<form name="add_form" method="post" action="/cgi-bin/koha/admin/koha-electronic.pl" >
|
|
<input type="hidden" name="op" value="<!-- TMPL_VAR NAME="op" -->">
|
|
<input type="hidden" name="id" value="<!-- TMPL_VAR NAME="id" -->">
|
|
<table style="border:0" cellspacing="0" cellpadding="2">
|
|
<tr>
|
|
<td>Language
|
|
|
|
<select name="lang">
|
|
<option value="tr" <!-- TMPL_IF name="tr" -->selected<!-- /TMPL_IF --> > Türkçe</option>
|
|
<option value="en" <!-- TMPL_IF name="en" -->selected<!-- /TMPL_IF -->>English</option>
|
|
</select>
|
|
</td><td></td>
|
|
<td>Section
|
|
<select name="section">
|
|
<option value="affiliated" <!-- TMPL_IF name="affiliated" -->selected<!-- /TMPL_IF --> >Affiliated</option>
|
|
<option value="trial" <!-- TMPL_IF name="trial" -->selected<!-- /TMPL_IF --> >Trial</option>
|
|
<option value="economy" <!-- TMPL_IF name="economy" -->selected<!-- /TMPL_IF --> >Economy & Politics</option>
|
|
<option value="social" <!-- TMPL_IF name="social" -->selected<!-- /TMPL_IF -->>Social Sciences</option>
|
|
<option value="computer" <!-- TMPL_IF name="computer" -->selected<!-- /TMPL_IF --> >Computer Sciences</option>
|
|
<option value="health" <!-- TMPL_IF name="health" -->selected<!-- /TMPL_IF -->>Health & Medicine</option>
|
|
<option value="general" <!-- TMPL_IF name="general" -->selected<!-- /TMPL_IF --> > Interdiciplinary</option>
|
|
<option value="maths" <!-- TMPL_IF name="maths" -->selected<!-- /TMPL_IF -->>Maths,Physics,Chemistry</option>
|
|
<option value="other" <!-- TMPL_IF name="other" -->selected<!-- /TMPL_IF --> > Other Subjects</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Title:
|
|
<input size="30" type="text" name="title" value="<!-- TMPL_VAR NAME="title" -->"></td>
|
|
<td>URL:
|
|
<input size="30" type="text" name="href" value="<!-- TMPL_VAR NAME="href" -->"></td>
|
|
<td>Resim:
|
|
<input size="20" type="text" name="image" value="<!-- TMPL_VAR NAME="image" -->"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Text</td>
|
|
<td><textarea name="edata" cols="35" rows="4"><!-- TMPL_VAR NAME="edata" --></textarea></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<input class="button" type="submit" value="Save">
|
|
<input class="button" type="button" value="Cancel" onclick="window.location.href='/cgi-bin/koha/admin/opac-electronic.pl'">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
|
|
|
|
<!-- TMPL_ELSE -->
|
|
|
|
<!-- TMPL_IF NAME="opac_electronic_count" -->
|
|
|
|
<form name="add_form" method="post" action="/cgi-bin/koha/admin/koha-electronic.pl" >
|
|
Language:
|
|
<select name="lang">
|
|
<option value="">All</option>
|
|
<option value="tr" <!-- TMPL_IF name="tr" -->selected<!-- /TMPL_IF --> >Türkçe</option>
|
|
<option value="en" <!-- TMPL_IF name="en" -->selected<!-- /TMPL_IF -->>English</option>
|
|
</select>
|
|
<input type="submit" class="button" value="Filter">
|
|
</form>
|
|
|
|
<form name="del_form" method="post" action="/cgi-bin/koha/admin/opac-electronic.pl" onsubmit="return confirm("Are you sure you want to delete the selected database?')">
|
|
<table border="0" cellspacing="0" cellpadding="3">
|
|
<tr bgcolor="#99cc33">
|
|
<th></td>
|
|
<th style="padding-left:3px;padding-right:3px">Language</th>
|
|
<th>image</th>
|
|
<th>URL</th>
|
|
<th width="20%">Title</th>
|
|
<th>Text</th>
|
|
<th></th>
|
|
</tr>
|
|
|
|
<!-- TMPL_LOOP NAME="opac_electronic" -->
|
|
<tr>
|
|
<td width="5%"><input type="checkbox" name="ids" value="<!-- TMPL_VAR NAME="idelectronic" -->"</td>
|
|
<td align="center"><!-- TMPL_VAR NAME="lang" --></td>
|
|
<td><!-- TMPL_VAR NAME="image" --></td>
|
|
<td><!-- TMPL_VAR NAME="href" --></td>
|
|
<td align="center"><!-- TMPL_VAR NAME="title" --></td>
|
|
<td><!-- TMPL_VAR NAME="edata" --></td>
|
|
<td width="5%">
|
|
<a href="/cgi-bin/koha/admin/koha-electronic.pl?op=add_form&id=<!-- TMPL_VAR NAME="idelectronic" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" border="0"></a>
|
|
</td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
|
|
</table>
|
|
<input type="hidden" name="op" value="del">
|
|
<input type="submit" class="button" value="Delete selected">
|
|
</form>
|
|
<!-- TMPL_ELSE -->
|
|
<h5>No databases loaded</h5>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<form name="add_form" method="post" action="/cgi-bin/koha/admin/koha-electronic.pl">
|
|
<input type="hidden" name="op" value="add_form">
|
|
<input type="submit" class="button" value="Add OPAC databases">
|
|
</form>
|
|
|
|
|
|
<!-- /TMPL_IF -->
|
|
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|