[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/parameters marctagstructure.tmpl,1.27.2.6,1.27.2.7
Paul POULAIN
tipaul at users.sourceforge.net
Tue Jun 21 15:34:29 CEST 2005
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/parameters
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13758/koha-tmpl/intranet-tmpl/default/en/parameters
Modified Files:
Tag: rel_2_2
marctagstructure.tmpl
Log Message:
template creators : REMEMBER that TRANSLATOR tool really HATES <!-- TMPL_IF --> inside a standard html tag, like :
<td <!-- tmpl_if name="x">class="x"<!-- /TMPL_IF -->> or
<input ... <!-- tmpl_if name="y" --> checked<!-- /TMPL_IF -->>
pls alway write :
<!-- TMPL_IF name="y" -->
<input ... checked>
<!-- TMPL_ELSE -->
<input ...>
<!-- /TMPL_IF -->
Index: marctagstructure.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/parameters/marctagstructure.tmpl,v
retrieving revision 1.27.2.6
retrieving revision 1.27.2.7
diff -C2 -r1.27.2.6 -r1.27.2.7
*** marctagstructure.tmpl 1 Jun 2005 14:29:21 -0000 1.27.2.6
--- marctagstructure.tmpl 21 Jun 2005 13:34:26 -0000 1.27.2.7
***************
*** 125,130 ****
<input type="text" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->">
<input type="submit" value="OK" class="button">
! <p>
! <i>Display only used Tags/Subfields</i> <input type="checkbox" name="select_display" value="True" <!-- TMPL_IF Name="select_display"-->checked<!--/TMPL_IF --> OnChange="javascript:document.f.submit()">
</p>
</form>
--- 125,133 ----
<input type="text" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->">
<input type="submit" value="OK" class="button">
! <p><!-- TMPL_IF Name="select_display"-->
! <i>Display only used Tags/Subfields</i> <input type="checkbox" name="select_display" value="True" checked OnChange="javascript:document.f.submit()">
! <!-- TMPL_ELSE -->
! <i>Display only used Tags/Subfields</i> <input type="checkbox" name="select_display" value="True" OnChange="javascript:document.f.submit()">
! <!--/TMPL_IF -->
</p>
</form>
More information about the Koha-cvs
mailing list