2010-09-08 12:35:43 +02:00
|
|
|
<div id="userforms-submissions">
|
2009-04-15 06:23:43 +02:00
|
|
|
<% if Submissions %>
|
2010-09-08 12:35:43 +02:00
|
|
|
<ul class="userforms-submission-actions">
|
2012-12-16 20:50:33 +01:00
|
|
|
<li><a href="$ExportLink"><% _t('EXPORTSUBMISSIONS', 'Export submissions to CSV') %></a></li>
|
|
|
|
<li><a href="$DeleteSubmissionsLink" class="deleteAllSubmissions"><% _t('DELETEALLSUBMISSIONS', 'Delete All Submissions') %></a></li>
|
2009-04-15 06:23:43 +02:00
|
|
|
</ul>
|
2012-12-14 02:55:31 +01:00
|
|
|
<h5>Name: $Name</h5>
|
2009-04-15 06:23:43 +02:00
|
|
|
|
2012-05-07 12:00:18 +02:00
|
|
|
<% loop Submissions %>
|
2010-09-08 12:35:43 +02:00
|
|
|
<div class="userform-submission">
|
2012-12-14 02:55:31 +01:00
|
|
|
<h5><% _t('SUBMITTED', 'Submitted at') %> {$Created.Nice} <a href="$DeleteLink($Up.Link)" class="deleteSubmission"><% _t('DELETESUBMISSION', 'Delete Submission') %></a></h5>
|
|
|
|
<% loop Values %>
|
|
|
|
<div id="Text_readonly" class="field readonly text">
|
|
|
|
<label class="left" for="Form_EditForm_Text_readonly">$Title</label>
|
|
|
|
<div class="middleColumn">
|
|
|
|
<span id="Form_EditForm_Text_readonly" class="readonly text">$FormattedValue</span>
|
2012-05-09 05:17:25 +02:00
|
|
|
</div>
|
2012-12-14 02:55:31 +01:00
|
|
|
</div>
|
|
|
|
<% end_loop %>
|
2009-04-15 06:23:43 +02:00
|
|
|
</div>
|
2012-05-07 12:00:18 +02:00
|
|
|
<% end_loop %>
|
2010-09-08 12:35:43 +02:00
|
|
|
|
2012-05-14 04:16:07 +02:00
|
|
|
<% if Submissions.MoreThanOnePage %>
|
|
|
|
<div class="userforms-submissions-pagination">
|
2012-05-19 00:49:34 +02:00
|
|
|
<span><% _t('PAGES', 'Pages') %>:</span>
|
|
|
|
|
2012-07-17 06:09:31 +02:00
|
|
|
<% loop Submissions.Pages() %>
|
|
|
|
<% if CurrentBool %>
|
|
|
|
$PageNum
|
|
|
|
<% else %>
|
|
|
|
<% if Link %>
|
2012-12-14 02:55:31 +01:00
|
|
|
<a href="{$Top.Link(getMoreSubmissions)}<% if $Top.LinkContainsParameter %>&<% else %>?<% end_if %>page=$PageNum">$PageNum</a>
|
2012-07-17 06:09:31 +02:00
|
|
|
<% else %>
|
|
|
|
...
|
|
|
|
<% end_if %>
|
|
|
|
<% end_if %>
|
|
|
|
<% end_loop %>
|
2012-05-14 04:16:07 +02:00
|
|
|
</div>
|
2012-07-17 06:09:31 +02:00
|
|
|
<% end_if %>
|
2012-05-14 04:16:07 +02:00
|
|
|
|
2012-05-07 12:00:18 +02:00
|
|
|
<% else %>
|
|
|
|
<p class="userforms-nosubmissions" <% if Submissions %>style="display: none"<% end_if %>><% _t('NOSUBMISSIONS', 'No Submissions') %></p>
|
2009-04-15 06:23:43 +02:00
|
|
|
<% end_if %>
|
2010-10-12 05:21:48 +02:00
|
|
|
</div>
|