Minahito
minah****@users*****
2006年 5月 17日 (水) 16:21:13 JST
Index: xoops2jp/html/modules/legacyRender/admin/templates/tplfile_clone.html diff -u /dev/null xoops2jp/html/modules/legacyRender/admin/templates/tplfile_clone.html:1.1.2.1 --- /dev/null Wed May 17 16:21:13 2006 +++ xoops2jp/html/modules/legacyRender/admin/templates/tplfile_clone.html Wed May 17 16:21:13 2006 @@ -0,0 +1,80 @@ +<div class="adminnavi"> + <a href="./index.php"><{$smarty.const._MI_LEGACYRENDER_NAME}></a> + »» <a href="./index.php?action=TplfileList"><{$smarty.const._MI_LEGACYRENDER_ADMENU_TPLFILE_MANAGE}></a> + »» <{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE_FILE_EDIT}> +</div> + +<h3><{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE_FILE_EDIT}></h3> + +<script type="text/javascript"> +<!-- +function expandEditor( id, width, height ) +{ + var element = document.getElementById( id ); + if( element ) { + element.style.width = width + "px"; + element.style.height = height + "px"; + } + return false; +} +// --> +</script> + +<{if $actionForm->hasError()}> + <ul> + <{foreach item=message from=$actionForm->getErrorMessages()}> + <li><{$message|escape}></li> + <{/foreach}> + </ul> +<{/if}> + +<form action="./index.php?action=TplfileClone" method="post"> + <{xoops_token form=$actionForm}> + <{xoops_input type=hidden name=tpl_id value=$tpl_id}> + <{xoops_input type=hidden name=tpl_tplset value=$actionForm->get('tpl_tplset')}> + <table class="outer"> + <tr> + <th colspan="2"><{$smarty.const._AD_LEGACYRENDER_LANG_TEMPLATE_FILE_EDIT}></th> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_TPL_TPLSET}></td> + <td class="<{cycle values="odd,even"}>"><b><{$object->getVar('tpl_tplset')}></b></td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_TPL_MODULE}></td> + <td class="<{cycle values="odd,even"}>"><b><{$object->getVar('tpl_module')}></b></td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_TPL_FILE}></td> + <td class="<{cycle values="odd,even"}>"><b><{$object->getVar('tpl_file')}></b></td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_TPL_DESC}></td> + <td class="<{cycle values="odd,even"}>"><{$actionForm->get('tpl_desc')}></td> + </tr> + <tr> + <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_TPL_SOURCE}></td> + <td class="<{cycle values="odd,even"}>"> + <div> + <{$smarty.const._AD_LEGACYRENDER_LANG_MORE_SMALL}> + »» + <a href="javascript:void(0);" onclick="return expandEditor( 'tpl_source', '480', '360' );">[480x360]</a> + » + <a href="javascript:void(0);" onclick="return expandEditor( 'tpl_source', '600', '400' );">[600x400]</a> + » + <a href="javascript:void(0);" onclick="return expandEditor( 'tpl_source', '600', '600' );">[600x600]</a> + » + <a href="javascript:void(0);" onclick="return expandEditor( 'tpl_source', '640', '700' );">[640x700]</a> + »» + <{$smarty.const._AD_LEGACYRENDER_LANG_MORE_LARGE}> + </div> + <textarea name=tpl_source id=tpl_source style="width:600px;height:400px;"><{$actionForm->get('tpl_source')|escape}></textarea> + </td> + </tr> + <tr> + <td class="foot" colspan="2"> + <input class="formButton" type="submit" value="<{$smarty.const._EDIT}>" /> + </td> + </tr> + </table> +</form>