52 lines
1.5 KiB
Smarty
52 lines
1.5 KiB
Smarty
|
{include file="modules/Mobile/generic/Header.tpl"}
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<table width=100% cellpadding=0 cellspacing=0 border=0>
|
||
|
<tr class="toolbar">
|
||
|
<td width="5%">
|
||
|
<a class="link" href="javascript:history.back();"><img src="resources/images/iconza/royalblue/left_arrow_16x16.png" border="0"></a>
|
||
|
</td>
|
||
|
<td width="90%" align="left"><h1 class='page_title'>{$_MODULE->label()}</h1></td>
|
||
|
<td width="5%" align="right" nowrap="nowrap">
|
||
|
<!-- a class="link" href="javascript:void(0);"><img src="resources/images/iconza/royalblue/edit_24x24.png" border="0"></a -->
|
||
|
<!-- a class="link" href="javascript:confirm('Delete Record');"><img src="resources/images/iconza/yellow/delete_24x24.png" border="0"></a -->
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="3">
|
||
|
|
||
|
<table width=100% cellpadding=5 cellspacing=0 border=0 class="table_detail">
|
||
|
{foreach item=_BLOCK key=_BLOCKLABEL from=$_RECORD->blocks()}
|
||
|
|
||
|
{assign var=_FIELDS value=$_BLOCK->fields()}
|
||
|
|
||
|
{if !empty($_FIELDS)}
|
||
|
<tr>
|
||
|
<td colspan=2 class="hdrlabel">{$_BLOCKLABEL}</td>
|
||
|
</tr>
|
||
|
{/if}
|
||
|
|
||
|
{foreach item=_FIELD from=$_FIELDS}
|
||
|
<tr>
|
||
|
<th class="label" nowrap="nowrap" width="10%" valign="top">{$_FIELD->label()}</th>
|
||
|
<td class="data">
|
||
|
{if $_FIELD->isReferenceType()}
|
||
|
<a style="display:inline;" href="index.php?_operation=fetchRecordWithGrouping&record={$_FIELD->value()}">{$_FIELD->valueLabel()}</a>
|
||
|
{else}
|
||
|
{$_FIELD->valueLabel()}
|
||
|
{/if}
|
||
|
</td>
|
||
|
</tr>
|
||
|
{/foreach}
|
||
|
|
||
|
{/foreach}
|
||
|
</table>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
</body>
|
||
|
|
||
|
{include file="modules/Mobile/generic/Footer.tpl"}
|