Skip to content
Permalink
Browse files

Merge pull request #86 from jfriviere/master

Corrections macro_interface.html : affichage des entrées d'index
  • Loading branch information...
lnprieto committed Apr 29, 2019
2 parents 614f89e + a7a28c0 commit 7573530a49ed81263ee43cd71a7c25bba0a7add4
Showing with 12 additions and 5 deletions.
  1. +12 −5 share/macros/macros_interface.html
@@ -594,7 +594,7 @@
<div class="oneItem">
</BEFORE>
<DO>
<label for="[#NAME]">[#TITLE] :</label><br class="nobr" />
<label for="[#NAME]"><MACRO NAME="DISPLAY_ALTERTITLE" /> :</label><br class="nobr" />
<FUNC NAME="PRINT_EDIT_FIELD" VARNAME="persons[[#IDTYPE]][[#DEGREE]][data][[#NAME]]" FULLVARNAME="persons[[#IDTYPE]][[#DEGREE]][data][[#NAME]]" VALUE="[#VALUE]" TYPE="[#TYPE]" EDITION="[#EDITION]" EDITIONPARAMS="[#EDITIONPARAMS]">
<br />
</DO>
@@ -620,7 +620,7 @@
<div class="oneItem">
</BEFORE>
<DO>
<label for="[#NAME]">[#TITLE] :</label><br class="nobr" />
<label for="[#NAME]"><MACRO NAME="DISPLAY_ALTERTITLE" /> :</label><br class="nobr" />
<FUNC NAME="PRINT_EDIT_FIELD" VARNAME="persons[[#IDTYPE]][__lodel_wildcard][data][[#NAME]]" NOM="[#VARNAME]" FULLVARNAME="persons[[#IDTYPE]][__lodel_wildcard][data][[#NAME]]" VALUE="" TYPE="[#TYPE]" EDITION="[#EDITION]" EDITIONPARAMS="[#EDITIONPARAMS]">
<br />
</DO>
@@ -730,16 +730,19 @@
<a href="#down" onclick="addentries(this,'[#VARNAME]'); return false;" class="add">[@COMMON.ADD]</a>
</div>
<div id="entries_[#VARNAME]" class="entrieseditionarea" >
<input type="hidden" id="entries_[#VARNAME]_degree" value="0" />
<LOOP NAME="entries_types" TABLE="entrytypes,classes" WHERE="classes.class=entrytypes.class AND type='[#VARNAME]' AND classes.classtype='entries'">
<BEFORE>
<input type="hidden" id="entries_[#VARNAME]_degree" value="[#NBRESULTS|lmath('+', 1)]" />
</BEFORE>
<DO>
<LET VAR="idtype">[#ID]</LET>
<LOOP NAME="inline_entries_by_type_in_entities">
<LOOP NAME="edition_fields">
<BEFORE>
<div class="oneItem">
</BEFORE>
<DO>
<label for="[#NAME]">[#TITLE] :</label><br class="nobr" />
<label for="[#NAME]"><MACRO NAME="DISPLAY_ALTERTITLE" /> :</label><br class="nobr" />
<FUNC NAME="PRINT_EDIT_FIELD" VARNAME="entries[[#IDTYPE]][[#DEGREE]][data][[#NAME]]" NOM="[#VARNAME]" FULLVARNAME="entries[[#IDTYPE]][[#DEGREE]][data][[#NAME]]" VALUE="[#VALUE]" TYPE="[#TYPE]" EDITION="[#EDITION]" EDITIONPARAMS="[#EDITIONPARAMS]">
<br />
</DO>
@@ -758,7 +761,7 @@
<div class="oneItem">
</BEFORE>
<DO>
<label for="[#NAME]">[#TITLE] :</label><br class="nobr" />
<label for="[#NAME]"><MACRO NAME="DISPLAY_ALTERTITLE" /> :</label><br class="nobr" />
<FUNC NAME="PRINT_EDIT_FIELD" VARNAME="entries[[#IDTYPE]][__lodel_wildcard][data][[#NAME]]" NOM="[#VARNAME]" FULLVARNAME="entries[[#IDTYPE]][__lodel_wildcard][data][[#NAME]]" VALUE="" TYPE="[#TYPE]" EDITION="[#EDITION]" EDITIONPARAMS="[#EDITIONPARAMS]">
<br />
</DO>
@@ -770,6 +773,10 @@
</div>
</AFTER>
</LOOP>
</DO>
<ALTERNATIVE>
<input type="hidden" id="entries_[#VARNAME]_degree" value="0" />
</ALTERNATIVE>
</LOOP>
</div>
</IF>

0 comments on commit 7573530

Please sign in to comment.
You can’t perform that action at this time.