improvements in OPAC

This commit is contained in:
tipaul 2004-06-17 08:24:10 +00:00
parent 3580152768
commit ab420f94ae
5 changed files with 16 additions and 18 deletions

View file

@ -45,7 +45,7 @@ label {
img {
border-width:0px;
text-align:left;
position:absolute;
/* position:absolute; */
}

View file

@ -48,6 +48,7 @@
<!-- TMPL_IF name="unititle" --><b>Unititle:</b><!-- /TMPL_IF --> <!-- TMPL_VAR NAME="unititle" --><br />
<!-- TMPL_IF name="dewey" --><b>Dewey:</b><!-- /TMPL_IF --><!-- TMPL_VAR name="dewey" --><br />
<!-- TMPL_IF name="url" --><b>URL:</b> <a href="<!-- TMPL_VAR name="url" -->"><!-- TMPL_VAR NAME="url" --></a><!-- /TMPL_IF --><br />
<b>Item type : </b><!-- TMPL_VAR NAME="itemtype" --><br/>
<b>Total Number of Items:</b> <!-- TMPL_VAR NAME="count" -->
</td>
</tr>
@ -61,7 +62,6 @@
<th colspan="6">Item</th>
</tr>
<tr>
<th>type</th>
<th>class</th>
<th>location</th>
<th>date Due</th>
@ -70,7 +70,6 @@
</tr>
<!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
<tr>
<td><!-- TMPL_VAR NAME="itemtype" --></td>
<td><!-- TMPL_VAR NAME="class" --></td>
<td><!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_IF name="itemcallnumber" -->(<!-- TMPL_VAR NAME="itemcallnumber" -->)<!-- /TMPL_IF --></td>
<td><!-- TMPL_VAR NAME="datedue" --></td>

View file

@ -37,21 +37,21 @@
<input type="submit" value="OK" class="button" />
</p>
</form>
<!-- TMPL_IF name="CGIshelves" -->
<h2>Virtual shelves</h2>
<form action="/cgi-bin/koha/opac-shelves.pl">
<p>
Look <!-- TMPL_VAR name="CGIshelves" --><input type="submit" value="OK" class="button" />
</p>
</form>
<h2>Other options</h2>
<!-- TMPL_IF name="virtualshelves" -->
<a href="/cgi-bin/koha/opac-shelves.pl" class="button">Virtual shelves</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="suggestion" -->
<h2>Suggestions</h2>
<a href="opac-suggestions.pl">View & manage suggestions</a>
<a href="opac-suggestions.pl" class="button">View & manage suggestions</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="loggedinusername" -->
<h2>Logged in as <!-- TMPL_VAR NAME="loggedinusername" --></h2>
<p><a href="/cgi-bin/koha/opac-user.pl">Members Home</a> || <a href="/cgi-bin/koha/opac-main.pl?logout.x=1">Log Out</a></p>
<a href="/cgi-bin/koha/opac-user.pl" class="button">
<!-- TMPL_VAR NAME="loggedinusername" --> home
</a>
<a href="/cgi-bin/koha/opac-main.pl?logout.x=1" class="button">
Log Out
</a>
<!-- TMPL_ELSE -->
<h2><a href="/cgi-bin/koha/opac-user.pl">Log In to Koha</a></h2>
<!-- /TMPL_IF -->

View file

@ -47,9 +47,8 @@
<tr>
<td <!-- TMPL_IF name="even" -->class="hilighted"<!-- /TMPL_IF -->>
<p>
<p><!-- TMPL_VAR NAME="author" --></p>
<p>
<b><a class="transparent" href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a></b>
<p><b><a class="transparent" href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a></b></p>
<p><!-- TMPL_VAR NAME="author" -->
<!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->

View file

@ -36,6 +36,6 @@ my ($template, $borrowernumber, $cookie)
});
$template->param(CGIitemtype => $CGIitemtype,
suggestion => C4::Context->preference("suggestion"),
virtualshelves => C4::Context->preference("virtualshelves"),
);
warn "X : ".C4::Context->preference("suggestion");
output_html_with_http_headers $input, $cookie, $template->output;