Tabellenzeilen richtig einfaerben.
authorMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 7 Dec 2006 12:35:34 +0000 (12:35 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 7 Dec 2006 12:35:34 +0000 (12:35 +0000)
templates/webpages/dbupgrade/units_parts_de.html
templates/webpages/dbupgrade/units_parts_master.html
templates/webpages/dbupgrade/units_services_de.html
templates/webpages/dbupgrade/units_services_master.html

index 954a786..386ee5a 100644 (file)
@@ -63,7 +63,7 @@
   </tr>
 
   <TMPL_LOOP UNKNOWN_PART_UNITS>
-   <tr class="listrow<TMPL_VAR __counter__>">
+   <tr class="listrow<TMPL_IF __odd__>1<TMPL_ELSE>0</TMPL_IF>">
     <td>
      <TMPL_VAR name ESCAPE=HTML>
      <input type="hidden" name="old_unit_<TMPL_VAR __counter__>" value="<TMPL_VAR name ESCAPE=HTML>">
index 3455658..2a2ec52 100644 (file)
@@ -69,7 +69,7 @@
   </tr>
 
   <TMPL_LOOP UNKNOWN_PART_UNITS>
-   <tr class="listrow<TMPL_VAR __counter__>">
+   <tr class="listrow<TMPL_IF __odd__>1<TMPL_ELSE>0</TMPL_IF>">
     <td>
      <TMPL_VAR name ESCAPE=HTML>
      <input type="hidden" name="old_unit_<TMPL_VAR __counter__>" value="<TMPL_VAR name ESCAPE=HTML>">
index 662dbaa..211d96d 100644 (file)
@@ -63,7 +63,7 @@
   </tr>
 
   <TMPL_LOOP UNKNOWN_PART_UNITS>
-   <tr class="listrow<TMPL_VAR __counter__>">
+   <tr class="listrow<TMPL_IF __odd__>1<TMPL_ELSE>0</TMPL_IF>">
     <td>
      <TMPL_VAR name ESCAPE=HTML>
      <input type="hidden" name="old_unit_<TMPL_VAR __counter__>" value="<TMPL_VAR name ESCAPE=HTML>">
index 65ded52..be8ffd9 100644 (file)
@@ -69,7 +69,7 @@
   </tr>
 
   <TMPL_LOOP UNKNOWN_PART_UNITS>
-   <tr class="listrow<TMPL_VAR __counter__>">
+   <tr class="listrow<TMPL_IF __odd__>1<TMPL_ELSE>0</TMPL_IF>">
     <td>
      <TMPL_VAR name ESCAPE=HTML>
      <input type="hidden" name="old_unit_<TMPL_VAR __counter__>" value="<TMPL_VAR name ESCAPE=HTML>">