*** empty log message ***
This commit is contained in:
parent
a6852eb2b2
commit
28a886b130
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: sebastian $
|
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 $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/htmlUI/var/Attic/conf.php,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
|
|
@ -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>
|
<tr>
|
||||||
<td valign="top" align="right">
|
<td valign="top" align="right">
|
||||||
|
|
|
@ -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>
|
<tr>
|
||||||
<td align="right" valign="top" class="green"><b>{$element.label}:</b></td>
|
<td align="right" valign="top" class="green"><b>{$element.label}:</b></td>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
<!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>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Smarty template for Array renderer</title>
|
<title>Smarty template for Array renderer</title>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
<!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>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Smarty template for ArraySmarty renderer: 2 column layout example</title>
|
<title>Smarty template for ArraySmarty renderer: 2 column layout example</title>
|
||||||
|
|
|
@ -39,7 +39,7 @@ if (is_array($_REQUEST['popup'])){
|
||||||
|
|
||||||
$Smarty->assign('statusbar', $uiBrowser->getStationInfo($ui_fmask['systemPrefs']));
|
$Smarty->assign('statusbar', $uiBrowser->getStationInfo($ui_fmask['systemPrefs']));
|
||||||
|
|
||||||
if ($uiBrowser->userid) {
|
if ($uiBrowser->userid) {
|
||||||
$Smarty->assign('showMenuTop', TRUE);
|
$Smarty->assign('showMenuTop', TRUE);
|
||||||
$Smarty->assign('sp', $uiBrowser->getSP());
|
$Smarty->assign('sp', $uiBrowser->getSP());
|
||||||
$Smarty->assign('showSP', TRUE);
|
$Smarty->assign('showSP', TRUE);
|
||||||
|
|
|
@ -34,6 +34,7 @@ class uiBase
|
||||||
}
|
}
|
||||||
$dbc->setFetchMode(DB_FETCHMODE_ASSOC);
|
$dbc->setFetchMode(DB_FETCHMODE_ASSOC);
|
||||||
$this->gb =& new GreenBox(&$dbc, $config);
|
$this->gb =& new GreenBox(&$dbc, $config);
|
||||||
|
$this->config = $config;
|
||||||
$this->sessid = $_REQUEST[$config['authCookieName']];
|
$this->sessid = $_REQUEST[$config['authCookieName']];
|
||||||
$this->userid = $this->gb->getSessUserId($this->sessid);
|
$this->userid = $this->gb->getSessUserId($this->sessid);
|
||||||
$this->login = $this->gb->getSessLogin($this->sessid);
|
$this->login = $this->gb->getSessLogin($this->sessid);
|
||||||
|
@ -315,7 +316,7 @@ class uiBase
|
||||||
|
|
||||||
function getFileInfo($id)
|
function getFileInfo($id)
|
||||||
{
|
{
|
||||||
$f = $this->gb->analyzeFile($id, $this->sessid);
|
$f = $this->gb->analyzeFile($id, $this->sessid);
|
||||||
return array(
|
return array(
|
||||||
'name' => $this->getFileName($id),
|
'name' => $this->getFileName($id),
|
||||||
'type' => 0,
|
'type' => 0,
|
||||||
|
|
|
@ -22,7 +22,7 @@ PEAR::setErrorHandling(PEAR_ERROR_RETURN);
|
||||||
// some global vars/objects
|
// some global vars/objects
|
||||||
$Smarty = new Smarty;
|
$Smarty = new Smarty;
|
||||||
$uiBrowser = new uiBrowser($config);
|
$uiBrowser = new uiBrowser($config);
|
||||||
$uiBase = new uiBase($config);
|
$uiBase = new uiBase($config);
|
||||||
|
|
||||||
require_once dirname(__FILE__).'/SmartyExtensions.inc.php';
|
require_once dirname(__FILE__).'/SmartyExtensions.inc.php';
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ class uiHandler extends uiBase {
|
||||||
* @param pass string, password
|
* @param pass string, password
|
||||||
*/
|
*/
|
||||||
function login(&$formdata, &$mask)
|
function login(&$formdata, &$mask)
|
||||||
{
|
{
|
||||||
if ($this->_validateForm($formdata, $mask)) {
|
if ($this->_validateForm($formdata, $mask)) {
|
||||||
$sessid = $this->gb->login($formdata['login'], $formdata['pass']);
|
$sessid = $this->gb->login($formdata['login'], $formdata['pass']);
|
||||||
if($sessid && !PEAR::isError($sessid)){
|
if($sessid && !PEAR::isError($sessid)){
|
||||||
|
|
Loading…
Reference in New Issue