OXID eShop CE 4.10.1 tpl/order_downloads.tpl 
[{include file="headitem.tpl" title="GENERAL_ADMIN_TITLE"|oxmultilangassign}]
[{ if $readonly }]
[{assign var="readonly" value="readonly disabled"}]
[{else}]
[{assign var="readonly" value=""}]
[{/if}]
<form name="transfer" id="transfer" action="[{ $oViewConf->getSelfLink() }]" method="post">
10  [{ $oViewConf->getHiddenSid() }]
11  <input type="hidden" name="oxid" value="[{ $oxid }]">
12  <input type="hidden" name="cl" value="order_downloads">
13 </form>
14 
*** 
15 <table cellspacing="0" cellpadding="0" border="0" width="98%">
16 <form name="search" id="search" action="[{ $oViewConf->getSelfLink() }]" method="post">
17  [{ $oViewConf->getHiddenSid() }]
18  <input type="hidden" name="cl" value="order_downloads">
19  <input type="hidden" name="oxid" value="[{ $oxid }]">
20  <input type="hidden" name="fnc" value="resetDownloadLink">
21  <input type="hidden" name="oxorderfileid" value="[{ $oxid }]">
*** 
 
22 <tr>
23  [{block name="admin_order_downloads_header"}]
24  <td class="listheader" height="15">&nbsp;&nbsp;&nbsp;[{ oxmultilang ident="GENERAL_ITEMNR" }]</td>
25  <td class="listheader">&nbsp;&nbsp;&nbsp;[{ oxmultilang ident="GENERAL_TITLE" }]</td>
26  <td class="listheader">&nbsp;&nbsp;&nbsp;[{ oxmultilang ident="ORDER_DOWNLOADS_FILE" }]</td>
27  <td class="listheader">&nbsp;&nbsp;&nbsp;[{ oxmultilang ident="ORDER_DOWNLOADS_FIRSTDOWNLOAD" }]</td>
28  <td class="listheader">&nbsp;&nbsp;&nbsp;[{ oxmultilang ident="ORDER_DOWNLOADS_LASTDOWNLOAD" }]</td>
29  <td class="listheader">[{ oxmultilang ident="ORDER_DOWNLOADS_COUNTOFDOWNLOADS" }]</td>
30  <td class="listheader">[{ oxmultilang ident="ORDER_DOWNLOADS_MAXCOUNT" }]</td>
31  <td class="listheader">[{ oxmultilang ident="ORDER_DOWNLOADS_EXPIRATIONTIME" }]</td>
32  <td class="listheader" colspan="2">[{ oxmultilang ident="ORDER_DOWNLOADS_COUNTOFRESETS" }]</td>
33  [{/block}]
34 </tr>
35 [{assign var="blWhite" value=""}]
36 [{foreach from=$edit item=listfile name=orderFiles}]
37 <tr id="file.[{$smarty.foreach.orderFiles.iteration}]">
38  [{block name="admin_order_downloads_filelist"}]
39  [{assign var="listclass" value=listitem$blWhite }]
40  <td valign="top" class="[{ $listclass}]">[{ $listfile->oxorderfiles__oxarticleartnum->value}]</td>
41  <td valign="top" class="[{ $listclass}]">[{ $listfile->oxorderfiles__oxarticletitle->value}]</td>
42  <td valign="top" class="[{ $listclass}]">[{ $listfile->oxorderfiles__oxfilename->value}]</td>
43  <td valign="top" class="[{ $listclass}]">[{ $listfile->oxorderfiles__oxfirstdownload->value}]</td>
44  <td valign="top" class="[{ $listclass}]">[{ $listfile->oxorderfiles__oxlastdownload->value}]</td>
45  <td valign="top" class="[{ $listclass}]">[{ $listfile->oxorderfiles__oxdownloadcount->value}]</td>
46  <td valign="top" class="[{ $listclass}]">[{ $listfile->oxorderfiles__oxmaxdownloadcount->value}]</td>
47  <td valign="top" class="[{ $listclass}]">[{ $listfile->oxorderfiles__oxvaliduntil->value }]</td>
48  <td valign="top" class="[{ $listclass}]">&nbsp;&nbsp;[{ $listfile->oxorderfiles__oxresetcount->value}] </td>
49  <td align="right" class="[{ $listclass}]">
50  &nbsp;&nbsp;&nbsp;
51  <input class="edittext" type="submit" onClick="document.forms['search'].oxorderfileid.value = '[{ $listfile->oxorderfiles__oxid->value }]';" value="[{ oxmultilang ident="ORDER_DOWNLOADS_RESET" }]" [{$readonly}]>
52  </td>
53  [{/block}]
54 </tr>
55 [{if $blWhite == "2"}]
56 [{assign var="blWhite" value=""}]
57 [{else}]
58 [{assign var="blWhite" value="2"}]
59 [{/if}]
60 [{/foreach}]
61 </table>
*** 
62 
63 [{include file="bottomnaviitem.tpl"}]
64 
65 [{include file="bottomitem.tpl"}]
 
2 lines changed or deleted