[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-shelves.tmpl [dev_week]

Owen Leonard oleonard at athenscounty.lib.oh.us
Tue Oct 17 17:05:45 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Owen Leonard <oleonard>	06/10/17 15:05:45

Modified files:
	koha-tmpl/opac-tmpl/npl/en: opac-shelves.tmpl 

Log message:
	Adding text to the private shelves tab when the user is not logged in instructing the user that they must log in to create a shelf.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/npl/en/opac-shelves.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.2.2.7&r2=1.1.2.2.2.8

Patches:
Index: opac-shelves.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/npl/en/opac-shelves.tmpl,v
retrieving revision 1.1.2.2.2.7
retrieving revision 1.1.2.2.2.8
diff -u -b -r1.1.2.2.2.7 -r1.1.2.2.2.8
--- opac-shelves.tmpl	3 Oct 2006 14:16:19 -0000	1.1.2.2.2.7
+++ opac-shelves.tmpl	17 Oct 2006 15:05:45 -0000	1.1.2.2.2.8
@@ -107,13 +107,19 @@
 <li id="publicshelves_tab"<!-- TMPL_IF name="showpublicshelves" --> class="on"<!-- TMPL_ELSE --> class="off"<!-- /TMPL_IF -->><a href="/cgi-bin/koha/opac-shelves.pl?display=publicshelves" onclick="changeView('publicshelves'); return false;">Public Virtual Shelves</a></li>
 	
 </ul>
-<div id="privateshelves"<!-- TMPL_IF name="showprivateshelves" --> style="display:block;"<!-- TMPL_ELSE --> style="display:none;"<!-- /TMPL_IF -->><!-- TMPL_IF NAME="loggedinusername" -->
+<div id="privateshelves"<!-- TMPL_IF name="showprivateshelves" --> style="display:block;"<!-- TMPL_ELSE --> style="display:none;"<!-- /TMPL_IF -->>
+
+<!-- TMPL_IF NAME="loggedinusername" -->
 <table>
 <tr><th>List Name</th><th>Contents</th><th>&nbsp;</th></tr>
 <!-- TMPL_IF NAME="shelveslooppriv" --><!-- TMPL_LOOP Name="shelveslooppriv" -->
 <tr<!-- TMPL_IF name="color" --> class="highlight"<!-- /TMPL_IF -->><td><a href="opac-shelves.pl?viewshelf=<!-- TMPL_VAR Name="shelf" -->"><!-- TMPL_VAR Name="shelfname" --></a></td><td><!-- TMPL_VAR Name="shelfbookcount" --> item(s)</td><td><!-- TMPL_IF name="mine" --><a href="opac-shelves.pl?op=modif&amp;shelf=<!-- TMPL_VAR NAME="shelf" -->">Rename</a><!-- TMPL_ELSE -->&nbsp;<!-- /TMPL_IF --></td></tr><!-- /TMPL_LOOP --><!-- TMPL_ELSE --><tr><td colspan="4">Click below to create a new Virtual Shelf!</td></tr><!-- /TMPL_IF --></table>
 <p><form action="opac-shelves.pl" method="get"><input type="hidden" value="1" name="shelves" /><input type="submit" value="Add or Remove Virtual Shelves" class="icon add" /></form></p>
-<!-- /TMPL_IF --></div>
+<!-- TMPL_ELSE -->
+	<p><a href="/cgi-bin/koha/opac-user.pl">Log in</a> to create your own private Virtual Shelf</p>
+<!-- /TMPL_IF -->
+
+</div>
 
 <div id="publicshelves"<!-- TMPL_IF name="showpublicshelves" --> style="display:block;"<!-- TMPL_ELSE --> style="display:none;"<!-- /TMPL_IF -->><table>
 <tr><th>List Name</th><th>Contents</th></tr>





More information about the Koha-cvs mailing list