SHARE
TWEET

DataForm List Template

a guest Oct 26th, 2011 25 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <a href="<tmpl_var back.url>"><tmpl_var back.label></a>
  2. <tmpl_if session.var.adminOn>
  3. <p><tmpl_var controls></p>
  4. </tmpl_if><p />
  5.  
  6. <tmpl_if canEdit>
  7.         <div class="dataControls">
  8.                 &bull; <a href="<tmpl_var export.tab.url>"><tmpl_var export.tab.label></a>
  9.                 <tmpl_if hasEntries>
  10.                         &bull; <a href="<tmpl_var deleteAllEntries.url>" onclick="<tmpl_var javascript.confirmation.deleteAll>"><tmpl_var deleteAllEntries.label></a>
  11.                 </tmpl_if>
  12.                 <tmpl_if session.var.adminOn>
  13.                         &bull; <a href="<tmpl_var addField.url>"><tmpl_var addField.label></a>
  14.                         &bull; <a href="<tmpl_var addTab.url>"><tmpl_var addTab.label></a>
  15.                 </tmpl_if>
  16.         </div>
  17. </tmpl_if>
  18.  
  19. <table width="100%">
  20. <tr>
  21. <td class="tableHeader">^International(Entry ID,Asset_DataForm);</td>
  22. <tmpl_loop field_loop>
  23.   <tmpl_unless field.isMailField>
  24.     <td class="tableHeader"><tmpl_var field.label></td>
  25.   </tmpl_unless field.isMailField>
  26. </tmpl_loop field_loop>
  27. <td class="tableHeader">^International(Submission Date,Asset_DataForm);</td>
  28. </tr>
  29. <tmpl_loop record_loop>
  30. <tr>
  31.   <td class="tableData"><a href="<tmpl_var record.edit.url>"><tmpl_var record.entryId></a></td>
  32.   <tmpl_loop record.data_loop>
  33.     <tmpl_unless record.data.isMailField>
  34.        <td class="tableData"><tmpl_var record.data.value></td>
  35.      </tmpl_unless record.data.isMailField>
  36.   </tmpl_loop record.data_loop>
  37.   <td class="tableData"><tmpl_var record.submissionDate.human></td>
  38. </tr>
  39. </tmpl_loop record_loop>
  40. </table>
  41.  
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top