<?php
/**
* Just display an about page nicely ...
* @package phlyMail Nahariya 4.0+, Branch MessageCenter
* @subpackage Handler Core
* @copyright 2005-2009 phlyLabs, Berlin (http://phlylabs.de)
* @version 0.0.6 2009-11-14
*/
// Only valid within phlyMail
if (!defined('_IN_PHM_')) die();
$tpl = new fxl_template($_PM_['path']['frontend'].'/templates/core.about.tpl');
if (file_exists($_PM_['path']['conf'].'/build.name')) {
$product = file_get_contents($_PM_['path']['conf'].'/build.name');
} else {
$product = '<unknown>';
}
if (file_exists($_PM_['path']['conf'].'/current.build')) {
$version = version_format(trim(file_get_contents($_PM_['path']['conf'].'/current.build')));
} else {
$product = '<broken install>';
}
$tpl->assign(array
('about' => $WP_msg['About']
,'frontend_path' => $_PM_['path']['theme']
,'product' => $product
,'version' => $version
,'frontend_path' => $_PM_['path']['frontend']
));
header('Content-Type: text/html; charset=UTF-8');
$tpl->display();
exit;
?>