1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
<?php
/**
* $Horde: kronolith/view.php,v 1.8.2.3 2008/01/10 22:01:20 chuck Exp $
*
* Copyright 2005-2008 The Horde Project (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (GPL). If you
* did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
*
* @author Chuck Hagenbuch <chuck@horde.org>
*/
require_once dirname(__FILE__) . '/lib/base.php';
$view = Kronolith::getView(Util::getFormData('view'));
if ($view) {
$print_view = false;
Kronolith::tabs(strtolower(str_replace('kronolith_view_', '', String::lower(get_class($view)))));
$view->html();
echo '<div style="display:none" id="view_vars" view="' . htmlspecialchars(Util::getFormData('view')) . '" timestamp="' . Kronolith::currentTimestamp() . '" print="' . Util::addParameter($view->link(), 'print', 1) . '">';
}
|