85 lines
3.4 KiB
Smarty
85 lines
3.4 KiB
Smarty
{assign var=meth value=':'|explode:$VAR._page}
|
|
<!-- {$meth.0}:{$meth.1} -->
|
|
|
|
{$method->exe($meth.0,$meth.1)}
|
|
{if ($method->result == false)}
|
|
{$block->display('core:method_error')}
|
|
{else}
|
|
{include file='file:../core/view_pre.tpl'}
|
|
|
|
<!-- tinyMCE -->
|
|
{literal}
|
|
<script type="text/javascript" language="javascript" src="includes/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
|
|
<script type="text/javascript" language="javascript">
|
|
tinyMCE.init({
|
|
mode : "specific_textareas",
|
|
theme : "advanced",
|
|
plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print",
|
|
theme_advanced_buttons1_add : "fontselect,fontsizeselect",
|
|
theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,separator,forecolor,backcolor",
|
|
theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator",
|
|
theme_advanced_buttons3_add_before : "tablecontrols,separator",
|
|
theme_advanced_buttons3_add : "iespell,media,advhr",
|
|
theme_advanced_toolbar_location : "bottom",
|
|
theme_advanced_toolbar_align : "center",
|
|
content_css : "themes/default/style.css",
|
|
plugin_insertdate_dateFormat : "%Y-%m-%d",
|
|
plugin_insertdate_timeFormat : "%H:%M:%S",
|
|
extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
|
|
width : "100%"
|
|
});
|
|
</script>
|
|
{/literal}
|
|
<!-- /tinyMCE -->
|
|
|
|
<!-- Display the field validation -->
|
|
{if $form_validation}
|
|
{$block->display('core:alert_fields')}
|
|
{/if}
|
|
|
|
<!-- Display each record -->
|
|
<form id="view" 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="0">
|
|
<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 width="50%">{osb f=tf field=product_cat_id}</td>
|
|
<td width="50%">{$list->menu('','product_cat_translate_product_cat_id','product_cat','name',$record.product_cat_id,'form_menu')}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td width="50%">{osb f=tf field=language_id}</td>
|
|
<td width="50%">{$list->menu_files('','product_cat_translate_language_id',$record.language_id,'language','','_core.xml','form_menu')}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td width="50%">{osb f=tf field=name}</td>
|
|
<td width="50%"><input type="text" name="product_cat_translate_name" value="{$record.name}" size="32"/></td>
|
|
</tr>
|
|
</table>
|
|
<table width="100%" border="0" cellspacing="3" cellpadding="1" class="row1">
|
|
<tr valign="top">
|
|
<td width="65%">{osb f=tf field=description}</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td width="65%" align="center"><textarea name="product_cat_translate_description" cols="90" rows="13" mce_editable="true">{$record.description}</textarea></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
{include file='file:../core/view_tr_submit_delete.tpl'}
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
{include file='file:../core/view_post.tpl'}
|
|
</form>
|
|
{/if}
|