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
2009-08-03 04:10:16 +00:00
{ $method - > exe ( $meth.0 , $meth.1 ) }
{ if ( $method - > result = = false ) }
{ $block - > display ( 'core:method_error' ) }
{ else }
{ include file = 'file:../core/view_pre.tpl' }
2008-11-26 22:50:40 +00:00
2009-08-03 04:10:16 +00:00
<!-- Display the field validation -->
{ if $form_validation }
{ $block - > display ( 'core:alert_fields' ) }
{ /if }
2008-11-26 22:50:40 +00:00
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
2009-08-03 04:10:16 +00:00
<!-- 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 style="width: 35%;"> { osb f = tf field = static_page_id } </td>
<td style="width: 65%;"> { $list - > menu ( '' , 'static_page_translate_static_page_id' , 'static_page' , 'name' , $record.static_page_id , 'form_menu' ) } </td>
</tr>
<tr valign="top">
<td style="width: 35%;"> { osb f = tf field = language_id } </td>
<td style="width: 65%;"> { $list - > menu_files ( '' , 'static_page_translate_language_id' , $record.language_id , 'language' , '' , '_core.xml' , 'form_menu' ) } </td>
</tr>
<tr valign="top">
<td style="width: 35%;"> { osb f = tf field = title } </td>
<td style="width: 65%;"><input type="text" name="static_page_translate_title" value=" { $record.title } " size="45"/></td>
</tr>
</table>
<br/>
<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"> { $record.body_intro | htmlspecialchars } </textarea></td>
</tr>
<tr>
<td> </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"> { $record.body_full | htmlspecialchars } </textarea></td>
</tr>
</table>
</td>
</tr>
{ include file = 'file:../core/view_tr_submit_delete.tpl' }
<tr valign="top">
<td class="row1">
<table width="100%" border="0" cellspacing="2" cellpadding="5" class="row2">
<tr>
<td><a href=" { $URL } ?_page=core:search&module=static_page_translate&static_page_translate_static_page_id= { $record.static_page_id } "> { t } View all translations for this page { /t } </a></td>
<td align="right"><a href=" { $URL } ?_page=static_page:view&id= { $record.static_page_id } "> { t } Return to main page view { /t } </a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
2008-11-26 22:50:40 +00:00
2009-08-03 04:10:16 +00:00
{ include file = 'file:../core/view_post.tpl' }
</form>
2008-11-26 22:50:40 +00:00
{ /if }