[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple additem.tmpl,1.24,1.25
Henri-Damien LAURENT
hdl at users.sourceforge.net
Mon Aug 1 16:37:09 CEST 2005
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21090/koha-tmpl/intranet-tmpl/default/en/acqui.simple
Modified Files:
additem.tmpl
Log Message:
Adding Independant branches Management for items, i.e
Only items on the same branch as user can be created, modified, deleted.
If trying to get an item which homebranch is different from user branch AND that user is not superlibrarian, then go back to additem.
Index: additem.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/additem.tmpl,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** additem.tmpl 20 Jun 2005 14:16:03 -0000 1.24
--- additem.tmpl 1 Aug 2005 14:36:50 -0000 1.25
***************
*** 27,31 ****
<!-- TMPL_LOOP NAME="item_header_loop" -->
<th class="catalogue">
! <TMPL_VAR NAME="header_value">
</th>
<!-- /TMPL_LOOP -->
--- 27,31 ----
<!-- TMPL_LOOP NAME="item_header_loop" -->
<th class="catalogue">
! <!-- TMPL_VAR NAME="header_value" -->
</th>
<!-- /TMPL_LOOP -->
***************
*** 35,40 ****
<tr>
<!-- TMPL_VAR NAME="item_value" -->
! <td><a href="additem.pl?op=edititem&bibid=<!-- TMPL_VAR NAME="bibid" -->&itemnum=<!-- TMPL_VAR NAME="itemnum" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" border="0"></a></td>
! <td><a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="bibid" -->,<!-- TMPL_VAR NAME="itemnum" -->)"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" border="0"></a></td>
</tr>
<!-- /TMPL_LOOP -->
--- 35,45 ----
<tr>
<!-- TMPL_VAR NAME="item_value" -->
! <!-- TMPL_IF Name="nomod" -->
! <td></td>
! <td></td>
! <!-- TMPL_ELSE -->
! <td><a href="additem.pl?op=edititem&bibid=<!-- TMPL_VAR NAME="bibid" -->&itemnum=<!-- TMPL_VAR NAME="itemnum" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png" border="0"></a></td>
! <td><a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="bibid" -->,<!-- TMPL_VAR NAME="itemnum" -->)"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" border="0"></a></td>
! <!-- /TMPL_IF -->
</tr>
<!-- /TMPL_LOOP -->
***************
*** 57,61 ****
<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
</p>
! <!-- /tmpl_loop -->
<input type="hidden" name="itemnum" value="<!-- TMPL_VAR NAME="itemnum" -->">
<!-- TMPL_IF name="barcode_not_unique" -->
--- 62,66 ----
<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->">
</p>
! <!-- /TMPL_LOOP -->
<input type="hidden" name="itemnum" value="<!-- TMPL_VAR NAME="itemnum" -->">
<!-- TMPL_IF name="barcode_not_unique" -->
More information about the Koha-cvs
mailing list