A lot code rewritten:
[mailer.git] / templates / de / html / admin / admin_list_holiday_row.tpl
index 566a82c084a5a0bcdadc3f962acbb616132959aa..89d6a68b6a6f9c24df6660929effbeafa4af6b7e 100644 (file)
@@ -1,23 +1,25 @@
 <tr>
-       <td class="switch_sw$content[sw] bottom2 right2" align="center">
+       <td class="{%template,ColorSwitch%} bottom right" align="center">
                <input type="checkbox" title="{--ID_SELECT--} $content[id]" name="sel[$content[id]]" class="admin_normal" value="1" />
        </td>
-       <td class="switch_sw$content[sw] bottom2 right2" align="center">
-               $content[userid]
+       <td class="{%template,ColorSwitch%} bottom right" align="center">
+               {%pipe,generateUserProfileLink=$content[userid]%}
        </td>
-       <td class="switch_sw$content[sw] bottom2 right2" align="center">
+       <td class="{%template,ColorSwitch%} bottom right" align="center">
                $content[start]
        </td>
-       <td class="switch_sw$content[sw] bottom2 right2" align="center">
+       <td class="{%template,ColorSwitch%} bottom right" align="center">
                $content[end]
        </td>
-       <td class="switch_sw$content[sw] bottom2 right2" align="center">
-               <div class="pre">$content[comments]</div>
+       <td class="{%template,ColorSwitch%} bottom right" align="center">
+               <div class="pre">
+                       {%pipe,fixEmptyContentToDashes=$content[comments]%}
+               </div>
        </td>
-       <td class="switch_sw$content[sw] bottom2 right2" align="center">
-               $content[status]
+       <td class="{%template,ColorSwitch%} bottom right" align="center">
+               {%pipe,translateUserStatus=$content[status]%}
        </td>
-       <td class="switch_sw$content[sw] bottom2" align="center">
+       <td class="{%template,ColorSwitch%} bottom" align="center">
                $content[last_online]
        </td>
 </tr>