source: extensions/lmt/admin/plugin_admin_manageaut_edit.tpl @ 3396

Last change on this file since 3396 was 3396, checked in by grum, 15 years ago

Add plugin LMT

File size: 1.6 KB
Line 
1{literal}
2<script type="text/javascript">
3
4
5  function init() {
6    $("#i_text1").keyup(
7      function (event) {
8        $("#isubmit").attr("disabled", ($("#i_text1").val()==""));
9      }
10    );
11  }
12
13  function goback()
14  {
15    {/literal}
16    document.location= "{$datas.urllist}";
17    {literal}
18  }
19
20</script>
21{/literal}
22
23
24<fieldset >
25  {if $datas.action=="add"}
26  <legend>{'lmt_authoradd_title'|@translate}</legend>
27  {elseif $datas.action=="modify"}
28  <legend>{'lmt_authormodify_title'|@translate}</legend>
29  {/if}
30
31  <form method="post" action="" class="general">
32    <table class="formtable"  >
33      <tr>
34        <td>{'lmt_author_txt1'|@translate}</td>
35        <td>
36          <input type="text" id="i_text1" name="text1" size="25" value="{$datas.text1}" maxlength="25"/>
37        </td>
38      </tr>
39
40      <tr>
41        <td>{'lmt_author_txt2'|@translate}</td>
42        <td>
43          <input type="text" id="i_text2" name="text2" size="25" value="{$datas.text2}" maxlength="25"/>
44        </td>
45      </tr>
46    </table>
47
48    <p class="lmt_page">
49      {if $datas.action=="add"}
50      <input type="submit" value="{'lmt_add'|@translate}" id="isubmit" name="submit_add_author" disabled/>
51      {elseif $datas.action=="modify"}
52      <input type="submit" value="{'lmt_modify'|@translate}" id="isubmit" name="submit_modify_author"/>
53      <input type="hidden" value="{$datas.id}" id="iid" name="id"/>
54      {/if}
55      &nbsp;
56      <input type="button" value="{'lmt_cancel'|@translate}" onclick="goback();"/>
57    </p>
58
59  </form>
60</fieldset >
61
62<script type="text/javascript">
63  init();
64</script>
Note: See TracBrowser for help on using the repository browser.