PageRenderTime 21ms CodeModel.GetById 20ms app.highlight 0ms RepoModel.GetById 0ms app.codeStats 0ms

/administrator/components/com_messages/views/message/tmpl/default.php

https://bitbucket.org/eternaware/joomus
PHP | 51 lines | 43 code | 1 blank | 7 comment | 0 complexity | 8aa5ff99433fb7ac15032171086fa5d5 MD5 | raw file
Possible License(s): LGPL-2.1
 1<?php
 2/**
 3 * @package     Joomla.Administrator
 4 * @subpackage  com_messages
 5 *
 6 * @copyright   Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 7 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 8 */
 9
10defined('_JEXEC') or die;
11JHtml::_('behavior.framework');
12?>
13<form action="<?php echo JRoute::_('index.php?option=com_messages'); ?>" method="post" name="adminForm" id="adminForm" class="form-horizontal">
14	<fieldset>
15		<div class="control-group">
16			<div class="control-label">
17				<?php echo JText::_('COM_MESSAGES_FIELD_USER_ID_FROM_LABEL'); ?>
18			</div>
19			<div class="controls">
20				<?php echo $this->item->get('from_user_name');?>
21			</div>
22		</div>
23		<div class="control-group">
24			<div class="control-label">
25				<?php echo JText::_('COM_MESSAGES_FIELD_DATE_TIME_LABEL'); ?>
26			</div>
27			<div class="controls">
28				<?php echo JHtml::_('date', $this->item->date_time);?>
29			</div>
30		</div>
31		<div class="control-group">
32			<div class="control-label">
33				<?php echo JText::_('COM_MESSAGES_FIELD_SUBJECT_LABEL'); ?>
34			</div>
35			<div class="controls">
36				<?php echo $this->item->subject;?>
37			</div>
38		</div>
39		<div class="control-group">
40			<div class="control-label">
41				<?php echo JText::_('COM_MESSAGES_FIELD_MESSAGE_LABEL'); ?>
42			</div>
43			<div class="controls">
44				<?php echo $this->escape($this->item->message);?>
45			</div>
46		</div>
47		<input type="hidden" name="task" value="" />
48		<input type="hidden" name="reply_id" value="<?php echo $this->item->message_id; ?>" />
49		<?php echo JHtml::_('form.token'); ?>
50	</fieldset>
51</form>