|
<h2><?php echo $headline ?></h2>
|
|
<?php
|
|
//echo ($message = $this->session->get('message')) ? '<div class="message">'.$message.'</div>' : '';
|
|
|
|
|
|
$links = array();
|
|
|
|
$links[] = html::anchor(url_lang::base().'messages/show_all', url_lang::lang('texts.Back to messages for redirection'));
|
|
$links[] = html::anchor(url_lang::base().'messages/edit/'.$message->id, url_lang::lang('texts.Edit message'));
|
|
|
|
|
|
echo implode (' | ', $links)
|
|
?>
|
|
<br /><br />
|
|
|
|
<table class="extended" style="float:left" cellspacing="0">
|
|
<tr>
|
|
<th><?php echo url_lang::lang('texts.ID') ?></th>
|
|
<td><?php echo $message->id ?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo url_lang::lang('texts.Message name') ?></th>
|
|
<td><?php echo $message->name ?></td>
|
|
</tr>
|
|
<?php /*?>
|
|
<tr>
|
|
<th><?php echo url_lang::lang('texts.Type') ?></th>
|
|
<td><?php echo $message->type ?></td>
|
|
</tr>
|
|
<?php */?>
|
|
</table>
|
|
|
|
<table class="extended" style="float:left; margin-left:25px" cellspacing="0">
|
|
<tr>
|
|
<th><?php echo url_lang::lang("texts.Ignore whitelist") ?></th>
|
|
<td><?php echo $message->ignore_whitelist ? url_lang::lang('texts.Yes') : url_lang::lang('texts.No') ?></td>
|
|
</tr>
|
|
<tr>
|
|
<th><?php echo url_lang::lang("texts.Self-cancelable") ?></th>
|
|
<td><?php echo $message->self_cancel ?></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br class="clear" />
|
|
<br />
|
|
|
|
<?php echo $message->text ?>
|
|
|
|
|
|
|