mibew/src/messenger/webim/view/notification.php
2013-03-06 22:56:55 +01:00

71 lines
1.8 KiB
PHP

<?php
/*
* Copyright 2005-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
$page['title'] = getlocal("notification.title");
function tpl_content() { global $page, $webimroot, $errors;
$notification = $page['notification'];
?>
<?php echo getlocal("notification.intro") ?>
<br/><br/>
<div class="logpane">
<div class="header">
<div class="wlabel">
<?php echo getlocal("notification.label.to") ?>:
</div>
<div class="wvalue">
<?php echo topage(htmlspecialchars($notification['vcto'])) ?>
</div>
<br clear="all"/>
<div class="wlabel">
<?php echo getlocal("notification.label.time") ?>:
</div>
<div class="wvalue">
<?php echo date_to_text($notification['created']) ?>
</div>
<br clear="all"/>
<div class="wlabel">
<?php echo getlocal("notification.label.subj") ?>:
</div>
<div class="wvalue">
<?php echo topage(htmlspecialchars($notification['vcsubject'])) ?>
</div>
<br clear="all"/>
</div>
<div class="message">
<?php echo topage(prepare_html_message(htmlspecialchars($notification['tmessage']))) ?>
</div>
</div>
<br />
<a href="<?php echo $webimroot ?>/operator/notifications.php">
<?php echo getlocal("notification.back_to_list") ?></a>
<br />
<?php
} /* content */
require_once('inc_main.php');
?>