Location: PHPKode > projects > phlyMail Lite > phlymail/handlers/calendar/loader.php
<?php
/**
 * loader.php - central loader for modules
 * @package phlyMail Nahariya 4.0+ Default branch
 * @copyright 2001-2010 phlyLabs, Berlin (http://phlylabs.de)
 * @version 0.2.9 2010-06-17
 */
// Only valid within phlyMail
if (!defined('_IN_PHM_')) die();

$myDir = dirname(__FILE__);

if (file_exists($myDir.'/lang.'.$WP_msg['language'].'.php')) {
    require_once($myDir.'/lang.'.$WP_msg['language'].'.php');
} else {
    require_once($myDir.'/lang.de.php');
}
require_once($myDir.'/functions.php');
$modname = false;
$outer_template = '3dframed.tpl';
switch($load) {
    case 'worker': $modname = 'worker.php'; break;
    case 'ilist': $modname = 'main.php'; $outer_template = 'maillist.tpl'; break;
    case 'flist': $modname = 'flist.php'; break;
    case 'edit_event': $modname = 'edit_event.php'; break;
    case 'edit_task': $modname = 'edit_task.php'; break;
    case 'edit_groups': $modname = 'edit_groups.php'; break;
    case 'alert_event': $modname = 'alert_event.php'; break;
    case 'setup': $modname = 'setup.php'; break;
    case 'folderprops': $modname = 'folderprops.php'; break;
    case 'sendto': $modname = 'sendto.php'; break;
    case 'exchange': $modname = 'exchange.php'; break;
    case 'invitation': $modname = 'invitations.php'; break;
}
if ($modname) include($myDir.'/'.$modname);
?>
Return current item: phlyMail Lite