2009-08-03 04:10:16 +00:00
|
|
|
{assign var=meth value=':'|explode:$VAR._page}
|
|
|
|
<!-- {$meth.0}:{$meth.1} -->
|
2008-11-26 22:50:40 +00:00
|
|
|
|
|
|
|
<!-- Display the form validation -->
|
|
|
|
{if $form_validation}
|
2009-08-03 04:10:16 +00:00
|
|
|
{$block->display('core:alert_fields')}
|
2008-11-26 22:50:40 +00:00
|
|
|
{/if}
|
|
|
|
|
2009-08-03 04:10:16 +00:00
|
|
|
<!-- tinyMCE -->
|
|
|
|
<script type="text/javascript" src="includes/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
|
|
|
|
<script type="text/javascript" src="themes/{$THEME_NAME}/tinymce.js"></script>
|
|
|
|
|
2008-11-26 22:50:40 +00:00
|
|
|
<!-- Display the form to collect the input values -->
|
2009-08-03 04:10:16 +00:00
|
|
|
<form id="add" method="post" action="" enctype="multipart/form-data">
|
|
|
|
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_background">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="5">
|
|
|
|
<tr valign="top">
|
|
|
|
<td class="table_heading">{osb f=tt}</td>
|
|
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
|
|
<td class="row1">
|
|
|
|
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
|
|
|
<tr valign="top">
|
|
|
|
<td style="width: 25%;">{osb f=tf field=static_page_id}</td>
|
|
|
|
<td style="width: 75%;">
|
|
|
|
{if $VAR.id == ''}
|
|
|
|
{$list->menu('','static_page_translate_static_page_id','static_page','name',$VAR.static_page_translate_static_page_id,'form_menu')}
|
|
|
|
{else}
|
|
|
|
{$list->menu('','static_page_translate_static_page_id','static_page','name',$VAR.id,'form_menu')}
|
|
|
|
{/if}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
|
|
<td style="width: 25%;">{osb f=tf field=language_id}</td>
|
|
|
|
<td style="width: 75%;">
|
|
|
|
{if $VAR.static_page_translate_language_id == ''}
|
|
|
|
{$list->menu_files('','static_page_translate_language_id',$smarty.const.DEFAULT_LANGUAGE,'language','','_core.xml','form_menu')}
|
|
|
|
{else}
|
|
|
|
{$list->menu_files('','static_page_translate_language_id',$VAR.static_page_translate_language_id,'language','','_core.xml','form_menu')}
|
|
|
|
{/if}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
|
|
<td style="width: 25%;">{osb f=tf field=title}</td>
|
|
|
|
<td style="width: 75%;"><input type="text" name="static_page_translate_title" value="{$VAR.static_page_translate_title}" {if $static_page_translate_title == true}class="form_field_error"{/if} size="40"/></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="5" class="body">
|
|
|
|
<tr>
|
|
|
|
<td><b>{osb f=tf field=body_intro}</b></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><textarea id="static_page_translate_body_intro" name="static_page_translate_body_intro" class="mce_editable" cols="80" rows="12">{$VAR.static_page_translate_body_intro}</textarea></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><b>{osb f=tf field=body_full}</b></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><textarea id="static_page_translate_body_full" name="static_page_translate_body_full" class="mce_editable" cols="80" rows="18">{$VAR.static_page_translate_body_full}</textarea></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table>
|
|
|
|
{include file='file:../core/add_tr_submit.tpl'}
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</form>
|