* @license http://www.contenido.org/license/LIZENZ.txt * @link http://www.4fb.de * @link http://www.contenido.org * @since file available since contenido release <= 4.6 * * {@internal * created 2003-04-29 * modified 2008-06-26, Dominik Ziegler, add security fix * * $Id$: * }} * */ if(!defined('CON_FRAMEWORK')) { die('Illegal call'); } $tpl->set('s', 'ID', 'oTplSel'); $tpl->set('s', 'CLASS', 'text_medium'); $tpl->set('s', 'OPTIONS', ''); $tpl->set('s', 'CAPTION', ''); $tpl->set('s', 'SESSID', $sess->id); $tpl->set('s', 'ACTION', $select); $tmp_mstr = '%s'; $area = "client"; $mstr = sprintf($tmp_mstr, 'right_top', $sess->url("main.php?area=client&frame=3"), 'right_bottom', $sess->url("main.php?area=client_edit&action=client_new&frame=4"), i18n("Create client")); if (strpos($auth->auth["perm"],"sysadmin") !== false) { $tpl->set('s', 'NEWCLIENT', $mstr); } else { $tpl->set('s', 'NEWCLIENT', ' '); } $tpl->generate($cfg['path']['templates'] . $cfg['templates']['client_left_top']); ?>