*** empty log message ***

This commit is contained in:
sebastian 2005-02-10 14:28:16 +00:00
parent a6852eb2b2
commit 28a886b130
9 changed files with 10 additions and 9 deletions

View File

@ -23,7 +23,7 @@
Author : $Author: sebastian $
Version : $Revision: 1.6 $
Version : $Revision: 1.7 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/htmlUI/var/Attic/conf.php,v $
------------------------------------------------------------------------------*/

View File

@ -1,4 +1,4 @@
<!-- $Id: smarty-dynamic-fancygroup.tpl,v 1.5 2005/02/10 14:03:50 sebastian Exp $ -->
<!-- $Id: smarty-dynamic-fancygroup.tpl,v 1.6 2005/02/10 14:28:02 sebastian Exp $ -->
<tr>
<td valign="top" align="right">

View File

@ -1,4 +1,4 @@
<!-- $Id: smarty-dynamic-green.tpl,v 1.5 2005/02/10 14:03:50 sebastian Exp $ -->
<!-- $Id: smarty-dynamic-green.tpl,v 1.6 2005/02/10 14:28:02 sebastian Exp $ -->
<tr>
<td align="right" valign="top" class="green"><b>{$element.label}:</b></td>

View File

@ -1,5 +1,5 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- $Id: smarty-dynamic.tpl,v 1.5 2005/02/10 14:03:50 sebastian Exp $ -->
<!-- $Id: smarty-dynamic.tpl,v 1.6 2005/02/10 14:28:02 sebastian Exp $ -->
<html>
<head>
<title>Smarty template for Array renderer</title>

View File

@ -1,5 +1,5 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- $Id: smarty-static.tpl,v 1.6 2005/02/10 14:03:50 sebastian Exp $ -->
<!-- $Id: smarty-static.tpl,v 1.7 2005/02/10 14:27:04 sebastian Exp $ -->
<html>
<head>
<title>Smarty template for ArraySmarty renderer: 2 column layout example</title>

View File

@ -39,7 +39,7 @@ if (is_array($_REQUEST['popup'])){
$Smarty->assign('statusbar', $uiBrowser->getStationInfo($ui_fmask['systemPrefs']));
if ($uiBrowser->userid) {
if ($uiBrowser->userid) {
$Smarty->assign('showMenuTop', TRUE);
$Smarty->assign('sp', $uiBrowser->getSP());
$Smarty->assign('showSP', TRUE);

View File

@ -34,6 +34,7 @@ class uiBase
}
$dbc->setFetchMode(DB_FETCHMODE_ASSOC);
$this->gb =& new GreenBox(&$dbc, $config);
$this->config = $config;
$this->sessid = $_REQUEST[$config['authCookieName']];
$this->userid = $this->gb->getSessUserId($this->sessid);
$this->login = $this->gb->getSessLogin($this->sessid);
@ -315,7 +316,7 @@ class uiBase
function getFileInfo($id)
{
$f = $this->gb->analyzeFile($id, $this->sessid);
$f = $this->gb->analyzeFile($id, $this->sessid);
return array(
'name' => $this->getFileName($id),
'type' => 0,

View File

@ -22,7 +22,7 @@ PEAR::setErrorHandling(PEAR_ERROR_RETURN);
// some global vars/objects
$Smarty = new Smarty;
$uiBrowser = new uiBrowser($config);
$uiBase = new uiBase($config);
$uiBase = new uiBase($config);
require_once dirname(__FILE__).'/SmartyExtensions.inc.php';

View File

@ -33,7 +33,7 @@ class uiHandler extends uiBase {
* @param pass string, password
*/
function login(&$formdata, &$mask)
{
{
if ($this->_validateForm($formdata, $mask)) {
$sessid = $this->gb->login($formdata['login'], $formdata['pass']);
if($sessid && !PEAR::isError($sessid)){