OXID eShop CE 4.10.1 tpl/module_main.tpl 
[{include file="headitem.tpl" title="GENERAL_ADMIN_TITLE"|oxmultilangassign box="box"}]
[{if $updatenav }]
[{oxscript add="top.oxid.admin.reloadNavigation('`$shopid`');" priority=10}]
[{/if}]
<form name="transfer" id="transfer" action="[{ $oViewConf->getSelfLink() }]" method="post">
[{ $oViewConf->getHiddenSid() }]
<input type="hidden" name="oxid" value="[{ $oxid }]">
10  <input type="hidden" name="cl" value="module_main">
11  <input type="hidden" name="editlanguage" value="[{ $editlanguage }]">
12 </form>
13 
14 [{oxscript include="js/libs/jquery.min.js"}]
15 [{oxscript include="js/libs/jquery-ui.min.js"}]
16 
17 [{if $oModule}]
18  <table cellspacing="10" width="98%">
19  <tr>
20  <td width="245" valign="top">
21  [{if $oModule->getInfo('thumbnail')}]
22  <img src="[{ $oViewConf->getBaseDir() }]/modules/[{$oModule->getModulePath()}]/[{$oModule->getInfo('thumbnail')}]" hspace="20" vspace="10"></td>
23  [{else}]
24  <img src="[{ $oViewConf->getResourceUrl() }]bg/module.png" hspace="20" vspace="10">
25  [{/if}]
26  </td>
27  <td width="" valign="top">
28  <h1 style="color:#000;font-size:25px;">[{$oModule->getTitle()}]</h1>
29  <p>[{$oModule->getDescription()}]</p>
30  <hr>
31 
32  <dl class="moduleDesc clear">
33  <dt>[{ oxmultilang ident="MODULE_VERSION" }]</dt>
34  <dd>[{$oModule->getInfo('version')|default:'-'}]</dd>
35 
36  <dt>[{ oxmultilang ident="MODULE_AUTHOR" }]</dt>
37  <dd>[{$oModule->getInfo('author')|default:'-'}]</dd>
38 
39  <dt>[{ oxmultilang ident="GENERAL_EMAIL" }]</dt>
40  <dd>
41  [{if $oModule->getInfo('email') }]
42  <a href="mailto:[{$oModule->getInfo('email')}]">[{$oModule->getInfo('email')}]</a>
43  [{else}]
44  -
45  [{/if}]
46  </dd>
47 
48  <dt>[{ oxmultilang ident="GENERAL_URL" }]</dt>
49  <dd>
50  [{if $oModule->getInfo('url') }]
51  <a href="[{$oModule->getInfo('url')}]" target="_blank">[{$oModule->getInfo('url')}]</a>
52  [{else}]
53  -
54  [{/if}]
55  </dd>
56  </dl>
57  </td>
58 
59  <td width="25" style="border-right: 1px solid #ddd;">
60 
61  </td>
62  <td width="260" valign="top">
63  [{if !$oModule->hasMetadata() && !$oModule->isRegistered()}]
64  <div class="info">
65  [{ oxmultilang ident="MODULE_ENABLEACTIVATIONTEXT" }]
66  </div>
67  [{/if}]
68  [{if !$_sError}]
69  [{if $oModule->hasMetadata() || $oModule->isRegistered()}]
70  <form name="myedit" id="myedit" action="[{ $oViewConf->getSelfLink() }]" method="post">
71  <div>
72  [{ $oViewConf->getHiddenSid() }]
73  <input type="hidden" name="cl" value="module_main">
74  <input type="hidden" name="updatelist" value="1">
75  <input type="hidden" name="oxid" value="[{$oModule->getId()}]">
*** 
 
 
76  [{if $oModule->hasMetadata()}]
77  [{if $oModule->isActive()}]
78  <input type="hidden" name="fnc" value="deactivateModule">
79  <div align="center">
80  <input type="submit" id="module_deactivate" class="saveButton" value="[{ oxmultilang ident="MODULE_DEACTIVATE" }]">
81  </div>
82  [{else}]
83  <input type="hidden" name="fnc" value="activateModule">
84 
85  <div align="center">
86  <input type="submit" id="module_activate" class="saveButton" value="[{ oxmultilang ident="MODULE_ACTIVATE" }]">
87  </div>
88  [{/if}]
89  [{/if}]
*** 
 
 
 
90  </div>
91  </form>
92  [{/if}]
93  [{/if}]
94  </td>
95  </tr>
96  </table>
97 [{/if}]
98 
99 [{include file="bottomnaviitem.tpl"}]
100 [{include file="bottomitem.tpl"}]
 
0 lines changed or deleted