*** empty log message ***

This commit is contained in:
sebastian 2005-03-10 12:19:15 +00:00
parent dfde7d4dbe
commit deea502419
5 changed files with 8 additions and 5 deletions

View file

@ -2,7 +2,7 @@
session_start();
## LS classes/functions #############################################
require_once dirname(__FILE__).'/conf.php';
require_once dirname(__FILE__).'/ui_conf.php';
require_once dirname(__FILE__).'/ui_browser.class.php';

View file

@ -1,4 +1,6 @@
<?php
define('UI_VERBOSE', TRUE);
define('UI_HANDLER', 'ui_handler.php');
define('UI_BROWSER', 'ui_browser.php');
define('UI_FORM_STANDARD_METHOD', 'POST');

View file

@ -2,7 +2,7 @@
session_start();
## LS classes/functions #############################################
require_once dirname(__FILE__).'/conf.php';
require_once dirname(__FILE__).'/ui_conf.php';
require_once dirname(__FILE__).'/ui_handler.class.php';
## initialize objects ###############################################

View file

@ -132,7 +132,7 @@ class uiPlaylist
foreach ($elemIds as $elemId) {
$r = $this->Base->gb->addAudioClipToPlaylist($this->token, $elemId, $this->Base->sessid);
if (PEAR::isError($r)) {
print_r($r);
if (UI_VERBOSE) print_r($r);
$this->Base->_retMsg('Error on add item to Playlist');
return FALSE;
}
@ -252,6 +252,7 @@ class uiPlaylist
$r = $this->Base->gb->changeFadeInfo($this->token, $i, $val['fadeIn'], $val['fadeOut'], $this->Base->sessid);
#print_r($r);
if (PEAR::isError($r)) {
if (UI_VERBOSE) print_r($r);
$this->Base->_retMsg('ChangeFadeInfo failed');
return FALSE;
}

View file

@ -67,7 +67,7 @@ class uiScratchPad
function addItem($id)
{
if(!$this->Base->STATIONPREFS[UI_SCRATCHPAD_MAXLENGTH_KEY]) {
if (!$this->verbose) $this->Base->_retMsg('ScratchPad length is not set in System Preferences, so it cannot be used.');
if ($this->verbose) $this->Base->_retMsg('ScratchPad length is not set in System Preferences, so it cannot be used.');
return false;
}