<div class="adminnavi">
  <a href="./index.php"><{$smarty.const._MI_LEGACYRENDER_NAME}></a>
  &raquo;&raquo; <a href="./index.php?action=TplsetList"><{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE_MANAGE}></a>
  &raquo;&raquo; <{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE_SET_CLONE}>
</div>

<h3><{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE_SET_CLONE}></h3>

<{if $actionForm->hasError()}>
  <ul>
    <{foreach item=message from=$actionForm->getErrorMessages()}>
      <li><{$message|escape}></li>
    <{/foreach}>
  </ul>
<{/if}>

<form action="./index.php?action=TplsetClone" method="post">
  <{xoops_token form=$actionForm}>
  <{xoops_input type=hidden name=tplset_id value=$actionForm->get('tplset_id')}>
  <table class="outer">
    <tr>
      <th colspan="2"><{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE_SET_CLONE}></th>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_NAME}></td>
      <td class="<{cycle values="odd,even"}>">
        <b><{$object->getVar('tplset_name')}></b> &raquo; &raquo; 
       <{xoops_input type=text name=tplset_name value=$actionForm->get('tplset_name') size=30 maxlength=50}>
      </td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_DESC}></td>
      <td class="<{cycle values="odd,even"}>">
        <{xoops_input type=text name=tplset_desc value=$object->getVar('tplset_desc') size=50 maxlength=255}>
      </td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_TPLSET_CREDITS}></td>
      <td class="<{cycle values="odd,even"}>">
        <{xoops_textarea type=text name=tplset_credits rows=5 cols=50 value=$object->getVar('tplset_credits')}>
      </td>
    </tr>
    <tr>
      <td colspan="2" class="foot">
        <input class="formButton" type="submit" value="<{$smarty.const._CLONE}>" />
        <input type="button" value="<{$smarty.const._BACK}>" onclick="javascript:history.back()" class="formButton" />
      </td>
    </tr>
  </table>
</form>
