diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/SmartyDynamic__example_8php-source.html b/livesupport/modules/htmlUI/doc/doxygen/html/SmartyDynamic__example_8php-source.html deleted file mode 100644 index 2c8ef2e40..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/SmartyDynamic__example_8php-source.html +++ /dev/null @@ -1,113 +0,0 @@ - - -LiveSupport - htmlUI module: SmartyDynamic_example.php Source File - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

SmartyDynamic_example.php

Go to the documentation of this file.
00001 <?php
-00011 require_once 'HTML/QuickForm.php';
-00012 require_once 'HTML/QuickForm/Renderer/Array.php';
-00013 // fix this if your Smarty is somewhere else
-00014 require_once 'Smarty/libs/Smarty.class.php';
-00015 
-00016 $form = new HTML_QuickForm('frmTest', 'post');
-00017 
-00018 $form->setDefaults(array(
-00019     'itxtTest'  => 'Test Text Box',
-00020     'itxaTest'  => 'Hello World',
-00021     'iselTest'  => array('B', 'C'),
-00022     'name'      => array('first' => 'Thomas', 'last' => 'Schulz'),
-00023     'iradYesNo' => 'Y',
-00024     'ichkABCD'  => array('A'=>true,'D'=>true)
-00025 ));
-00026 
-00027 $form->addElement('header', '', 'Normal Elements');
-00028 
-00029 $form->addElement('hidden', 'ihidTest', 'hiddenField');
-00030 
-00031 $form->addElement('text', 'itxtTest', array('Test Text', 'note' => 'Note for Testtext element.'));
-00032 
-00033 $form->addElement('textarea', 'itxaTest', 'Test TextArea', 'cols="40" rows="2"');
-00034 
-00035 // will be later assigned to style green
-00036 $form->addElement('password', 'ipwdTest', 'Test Password');
-00037 $select =& $form->addElement(
-00038     'select',
-00039     'iselTest',
-00040     array('Test Select', 'note' => 'We recommend to check at least two categories!'),
-00041     array('A'=>'A * * * * (luxory)', 'B'=>'B * * *','C'=>'C * *','D'=>'D * (simple)')
-00042  );
-00043 $select->setSize(4);
-00044 $select->setMultiple(true);
-00045 
-00046 $form->addElement('submit', 'isubTest', 'Test Submit');
-00047 
-00048 $form->addElement('header', '', 'Grouped Elements');
-00049 
-00050 $checkbox[] = &HTML_QuickForm::createElement('checkbox', 'A', null, 'A');
-00051 $checkbox[] = &HTML_QuickForm::createElement('checkbox', 'B', null, 'B');
-00052 $checkbox[] = &HTML_QuickForm::createElement('checkbox', 'C', null, 'C');
-00053 $checkbox[] = &HTML_QuickForm::createElement('checkbox', 'D', null, 'D');
-00054 $form->addGroup($checkbox, 'ichkABCD', 'ABCD', array('&nbsp;', '<br />'));
-00055 
-00056 // will be later assigned to style fancygroup
-00057 $radio[] = &HTML_QuickForm::createElement('radio', null, null, 'Yes', 'Y');
-00058 $radio[] = &HTML_QuickForm::createElement('radio', null, null, 'No', 'N');
-00059 $form->addGroup($radio, 'iradYesNo', 'Yes/No');
-00060 
-00061 // will be later assigned to style fancygroup
-00062 $name['first'] = &HTML_QuickForm::createElement('text', 'first', 'First:');
-00063 $name['first']->setSize(20);
-00064 $name['last'] = &HTML_QuickForm::createElement('text', 'last', 'Last:');
-00065 $name['last']->setSize(30);
-00066 $form->addGroup($name, 'name', 'Name');
-00067 
-00068 // add some 'required' rules to show "stars" and (possible) errors...
-00069 $form->addRule('itxtTest', 'Test Text is a required field', 'required');
-00070 $form->addRule('itxaTest', 'Test TextArea is a required field', 'required');
-00071 $form->addGroupRule('iradYesNo', 'Check Yes or No', 'required');
-00072 $form->addGroupRule('name', array('last' => array(array('Last name is required', 'required'))));
-00073 
-00074 // try to validate the form
-00075 if ($form->validate()) {
-00076     $form->freeze();
-00077 }
-00078 
-00079 $renderer =& new HTML_QuickForm_Renderer_Array(true, true);
-00080 
-00081 // give some elements aditional style informations
-00082 $renderer->setElementStyle(array(
-00083     'ipwdTest'  => 'green',
-00084     'iradYesNo' => 'fancygroup',
-00085     'name'      => 'fancygroup'
-00086 ));
-00087 
-00088 $form->accept($renderer);
-00089 
-00090 // setup a template object
-00091 $tpl =& new Smarty;
-00092 $tpl->template_dir = './templates';
-00093 $tpl->compile_dir  = './templates_c';
-00094 
-00095 // assign array with form data
-00096 $tpl->assign('form', $renderer->toArray());
-00097 
-00098 // capture the array stucture
-00099 // (only for showing in sample template)
-00100 ob_start();
-00101 print_r($renderer->toArray());
-00102 $tpl->assign('dynamic_array', ob_get_contents());
-00103 ob_end_clean();
-00104 
-00105 // render and display the template
-00106 $tpl->display('smarty-dynamic.tpl');
-00107 
-00108 ?>
-

Generated on Wed Jan 12 13:58:47 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/SmartyDynamic__example_8php.html b/livesupport/modules/htmlUI/doc/doxygen/html/SmartyDynamic__example_8php.html deleted file mode 100644 index 66eea7df4..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/SmartyDynamic__example_8php.html +++ /dev/null @@ -1,276 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: SmartyDynamic_example.php File Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

SmartyDynamic_example.php File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - -

Variables

 $form = new HTML_QuickForm('frmTest', 'post')
 $select
 $checkbox [] = &HTML_QuickForm::createElement('checkbox', 'A', null, 'A')
 $radio [] = &HTML_QuickForm::createElement('radio', null, null, 'Yes', 'Y')
 $name ['first'] = &HTML_QuickForm::createElement('text', 'first', 'First:')
 $renderer = & new HTML_QuickForm_Renderer_Array(true, true)
 $tpl = & new Smarty
$tpl template_dir = './templates'
$tpl compile_dir = './templates_c'
-


Variable Documentation

-

- - - - -
- - - - -
$checkbox[] = &HTML_QuickForm::createElement('checkbox', 'A', null, 'A')
-
- - - - - -
-   - - -

- -

-Definition at line 53 of file SmartyDynamic_example.php.

-

- - - - -
- - - - -
$form = new HTML_QuickForm('frmTest', 'post')
-
- - - - - -
-   - - -

- -

-Definition at line 16 of file SmartyDynamic_example.php. -

-Referenced by uiBase::_parseArr2Form(), uiHandler::_validateForm(), uiBrowser::getAddSubjectForm(), uiBrowser::getChangePasswdForm(), uiBrowser::getMetadataForm(), uiBrowser::getNewFileForm(), uiBrowser::getSearchForm(), uiBrowser::getSubj2GroupForm(), uiBrowser::loginform(), and uiBrowser::systemPrefs().

-

- - - - -
- - - - -
$name['last'] = &HTML_QuickForm::createElement('text', 'first', 'First:')
-
- - - - - -
-   - - -

- -

-Definition at line 64 of file SmartyDynamic_example.php.

-

- - - - -
- - - - -
$radio[] = &HTML_QuickForm::createElement('radio', null, null, 'Yes', 'Y')
-
- - - - - -
-   - - -

- -

-Definition at line 58 of file SmartyDynamic_example.php. -

-Referenced by uiBase::_parseArr2Form().

-

- - - - -
- - - - -
$renderer = & new HTML_QuickForm_Renderer_Array(true, true)
-
- - - - - -
-   - - -

- -

-Definition at line 79 of file SmartyDynamic_example.php. -

-Referenced by uiBrowser::loginform(), and uiBrowser::systemPrefs().

-

- - - - -
- - - - -
$select
-
- - - - - -
-   - - -

-Initial value:

& $form->addElement(
-    'select',
-    'iselTest',
-    array('Test Select', 'note' => 'We recommend to check at least two categories!'),
-    array('A'=>'A * * * * (luxory)', 'B'=>'B * * *','C'=>'C * *','D'=>'D * (simple)')
- )
-
-

-Definition at line 37 of file SmartyDynamic_example.php.

-

- - - - -
- - - - -
$tpl = & new Smarty
-
- - - - - -
-   - - -

- -

-Definition at line 91 of file SmartyDynamic_example.php.

-

- - - - -
- - - - -
$tpl compile_dir = './templates_c'
-
- - - - - -
-   - - -

- -

-Definition at line 93 of file SmartyDynamic_example.php.

-

- - - - -
- - - - -
$tpl template_dir = './templates'
-
- - - - - -
-   - - -

- -

-Definition at line 92 of file SmartyDynamic_example.php.

-


Generated on Wed Jan 12 13:58:48 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/SmartyExtensions_8inc_8php-source.html b/livesupport/modules/htmlUI/doc/doxygen/html/SmartyExtensions_8inc_8php-source.html deleted file mode 100644 index 31e3411bb..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/SmartyExtensions_8inc_8php-source.html +++ /dev/null @@ -1,59 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: SmartyExtensions.inc.php Source File - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

SmartyExtensions.inc.php

Go to the documentation of this file.
00001 <?php
-00002 ## some constants ########################
-00003 $Smarty->assign('UI_BROWSER', UI_BROWSER);
-00004 $Smarty->assign('UI_HANDLER', UI_HANDLER);
-00005 
-00006 // --- Smarty Extensions ---
-00016 function S_str_repeat($param)
-00017 {
-00018     extract($param);
-00019     return str_repeat($str, intval($count));
-00020 
-00021 }
-00022 $Smarty->register_function('str_repeat', 'S_str_repeat');
-00023 
-00032 function S_urlencode($param)
-00033 {
-00034     extract($param);
-00035     return urlencode($str);
-00036 }
-00037 $Smarty->register_function('urlencode',  'S_urlencode');
-00038 
-00047 function S_htmlspecialchars($param)
-00048 {
-00049     extract($param);
-00050     return htmlspecialchars($str);
-00051 }
-00052 $Smarty->register_function('htmlspecialchars', 'S_htmlspecialchars');
-00053 
-00061 function S_system($param)
-00062 {
-00063     extract($param);
-00064     eval($code);
-00065 }
-00066 $Smarty->register_function('system', 'S_system');
-00067 
-00075 function S_tra($param)
-00076 {
-00077     global $uiBrowser;
-00078 
-00079     foreach($param as $v) {
-00080         echo $uiBrowser->tra($v);
-00081     }
-00082 }
-00083 $Smarty->register_function('tra', 'S_tra');
-00084 ?>
-

Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/SmartyExtensions_8inc_8php.html b/livesupport/modules/htmlUI/doc/doxygen/html/SmartyExtensions_8inc_8php.html deleted file mode 100644 index d35dd75b9..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/SmartyExtensions_8inc_8php.html +++ /dev/null @@ -1,232 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: SmartyExtensions.inc.php File Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

SmartyExtensions.inc.php File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - -

Functions

 S_str_repeat ($param)
 str_repeat
 S_urlencode ($param)
 urlencode
 S_htmlspecialchars ($param)
 htmlspecialchars
 S_system ($param)
 system
 S_tra ($param)
 tra
-


Function Documentation

-

- - - - -
- - - - - - - - - -
S_htmlspecialchars param  ) 
-
- - - - - -
-   - - -

-htmlspecialchars -

-convert special chars in given string to html-entitys.

-

Parameters:
- - -
str string, string to convert
-
-
Returns:
string, converted string
- -

-Definition at line 47 of file SmartyExtensions.inc.php.

-

- - - - -
- - - - - - - - - -
S_str_repeat param  ) 
-
- - - - - -
-   - - -

-str_repeat -

-Repeate given string.

-

Parameters:
- - - -
str string, string to repeate
count numeric, how often to repeate (converted to type integer)
-
-
Returns:
string, repeated string
- -

-Definition at line 16 of file SmartyExtensions.inc.php.

-

- - - - -
- - - - - - - - - -
S_system param  ) 
-
- - - - - -
-   - - -

-system -

-Execute some PHP-code.

-

Parameters:
- - -
code string, code to execute
-
- -

-Definition at line 61 of file SmartyExtensions.inc.php.

-

- - - - -
- - - - - - - - - -
S_tra param  ) 
-
- - - - - -
-   - - -

-tra -

-Translate given string.

-

Parameters:
- - -
void array, array of strings to be outputted translated
-
- -

-Definition at line 75 of file SmartyExtensions.inc.php. -

-References $uiBrowser.

-

- - - - -
- - - - - - - - - -
S_urlencode param  ) 
-
- - - - - -
-   - - -

-urlencode -

-Encode given string to use in URL.

-

Parameters:
- - -
str string, string to encode
-
-
Returns:
string, encoded string
- -

-Definition at line 32 of file SmartyExtensions.inc.php.

-


Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/SmartyStatic__example_8php-source.html b/livesupport/modules/htmlUI/doc/doxygen/html/SmartyStatic__example_8php-source.html deleted file mode 100644 index fe49e8016..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/SmartyStatic__example_8php-source.html +++ /dev/null @@ -1,142 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: SmartyStatic_example.php Source File - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

SmartyStatic_example.php

Go to the documentation of this file.
00001 <?php
-00011 require_once 'HTML/QuickForm.php';
-00012 require_once 'HTML/QuickForm/Renderer/ArraySmarty.php';
-00013 // fix this if your Smarty is somewhere else
-00014 require_once 'Smarty/libs/Smarty.class.php';
-00015 
-00016 // Form name will be used to find the placeholders.
-00017 
-00018 $form = new HTML_QuickForm('form', 'POST');
-00019 
-00020 // Fills with some defaults values
-00021 
-00022 $defaultValues['company']  = 'Mamasam';
-00023 $defaultValues['country']  = array();
-00024 $defaultValues['name']     = array('first'=>'Bertrand', 'last'=>'Mansion');
-00025 $defaultValues['phone']    = array('513', '123', '4567');
-00026 $form->setDefaults($defaultValues);
-00027 
-00028 // Hidden
-00029 
-00030 $form->addElement('hidden', 'session', '1234567890');
-00031 
-00032 // Personal information
-00033 
-00034 $form->addElement('header', 'personal', 'Personal Information');
-00035 
-00036 $form->addElement('hidden', 'ihidTest', 'hiddenField');
-00037 $form->addElement('text', 'email', 'Your email:');
-00038 $form->addElement('password', 'pass', array('Your password:', 'note'=>'Please, choose a 8-10 characters password.'), 'size=10');
-00039 $name['last'] = &HTML_QuickForm::createElement('text', 'first', 'First', 'size=10');
-00040 $name['first'] = &HTML_QuickForm::createElement('text', 'last', 'Last', 'size=10');
-00041 $form->addGroup($name, 'name', 'Name:', ',&nbsp;');
-00042 $areaCode = &HTML_QuickForm::createElement('text', '', null,'size=4 maxlength=3');
-00043 $phoneNo1 = &HTML_QuickForm::createElement('text', '', null, 'size=4 maxlength=3');
-00044 $phoneNo2 = &HTML_QuickForm::createElement('text', '', null, 'size=5 maxlength=4');
-00045 $form->addGroup(array($areaCode, $phoneNo1, $phoneNo2), 'phone', 'Telephone:', '-');
-00046 
-00047 // Company information
-00048 
-00049 $form->addElement('header', 'company_info', 'Company Information');
-00050 
-00051 $form->addElement('text', 'company', 'Company:', 'size=20');
-00052 
-00053 $str[] = &HTML_QuickForm::createElement('text', '', null, 'size=20');
-00054 $str[] = &HTML_QuickForm::createElement('text', '', null, 'size=20');
-00055 $form->addGroup($str, 'street', 'Street:', '<br />');
-00056 
-00057 $addr['zip'] = &HTML_QuickForm::createElement('text', 'zip', 'Zip', 'size=6 maxlength=10');
-00058 $addr['city'] = &HTML_QuickForm::createElement('text', 'city', 'City', 'size=15');
-00059 $form->addGroup($addr, 'address', 'Zip, city:');
-00060 
-00061 $select = array('' => 'Please select...', 'AU' => 'Australia', 'FR' => 'France', 'DE' => 'Germany', 'IT' => 'Italy');
-00062 $form->addElement('select', 'country', 'Country:', $select);
-00063 
-00064 $checkbox[] = &HTML_QuickForm::createElement('checkbox', 'A', null, 'A');
-00065 $checkbox[] = &HTML_QuickForm::createElement('checkbox', 'B', null, 'B');
-00066 $checkbox[] = &HTML_QuickForm::createElement('checkbox', 'C', null, 'C');
-00067 $checkbox[] = &HTML_QuickForm::createElement('checkbox', 'D', null, 'D');
-00068 $form->addGroup($checkbox, 'destination', 'Destination:', array('&nbsp;', '<br />'));
-00069 
-00070 // Other elements
-00071 
-00072 $form->addElement('checkbox', 'news', '', " Check this box if you don't want to receive our newsletter.");
-00073 
-00074 $form->addElement('reset', 'reset', 'Reset');
-00075 $form->addElement('submit', 'submit', 'Register');
-00076 
-00077 // Adds some validation rules
-00078 
-00079 $form->addRule('email', 'Email address is required', 'required');
-00080 $form->addGroupRule('name', 'Name is required', 'required');
-00081 $form->addRule('pass', 'Password must be between 8 to 10 characters', 'rangelength', array(8, 10));
-00082 $form->addRule('country', 'Country is a required field', 'required');
-00083 $form->addGroupRule('destination', 'Please check at least two boxes', 'required', null, 2);
-00084 $form->addGroupRule('phone', 'Please fill all phone fields', 'required');
-00085 $form->addGroupRule('phone', 'Values must be numeric', 'numeric');
-00086 
-00087 $AddrRules['zip'][0] = array('Zip code is required', 'required');
-00088 $AddrRules['zip'][1] = array('Zip code is numeric only', 'numeric');
-00089 $AddrRules['city'][0] = array('City is required', 'required');
-00090 $AddrRules['city'][1] = array('City is letters only', 'lettersonly');
-00091 $form->addGroupRule('address', $AddrRules);
-00092 
-00093 // Tries to validate the form
-00094 if ($form->validate()) {
-00095     // Form is validated, then freezes the data
-00096     $form->freeze();
-00097 }
-00098 
-00099 // setup a template object
-00100 $tpl =& new Smarty;
-00101 $tpl->template_dir = './templates';
-00102 $tpl->compile_dir  = './templates_c';
-00103 
-00104 $renderer =& new HTML_QuickForm_Renderer_ArraySmarty($tpl, true);
-00105 
-00106 $renderer->setRequiredTemplate(
-00107    '{if $error}
-00108         <font color="red">{$label|upper}</font>
-00109     {else}
-00110         {$label}
-00111         {if $required}
-00112             <font color="red" size="1">*</font>
-00113         {/if}
-00114     {/if}'
-00115     );
-00116 
-00117 $renderer->setErrorTemplate(
-00118    '{if $error}
-00119         <font color="orange" size="1">{$error}</font><br />
-00120     {/if}{$html}'
-00121     );
-00122 
-00123 $form->accept($renderer);
-00124 
-00125 // assign array with form data
-00126 $tpl->assign('form', $renderer->toArray());
-00127 
-00128 // capture the array stucture
-00129 ob_start();
-00130 print_r($renderer->toArray());
-00131 $tpl->assign('static_array', ob_get_contents());
-00132 ob_end_clean();
-00133 
-00134 // render and display the template
-00135 $tpl->display('smarty-static.tpl');
-00136 
-00137 ?>
-

Generated on Wed Jan 12 13:58:47 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/SmartyStatic__example_8php.html b/livesupport/modules/htmlUI/doc/doxygen/html/SmartyStatic__example_8php.html deleted file mode 100644 index 322c5b905..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/SmartyStatic__example_8php.html +++ /dev/null @@ -1,426 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: SmartyStatic_example.php File Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

SmartyStatic_example.php File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Variables

 $form = new HTML_QuickForm('form', 'POST')
 $defaultValues ['company'] = 'Mamasam'
 $name ['last'] = &HTML_QuickForm::createElement('text', 'first', 'First', 'size=10')
 $areaCode = &HTML_QuickForm::createElement('text', '', null,'size=4 maxlength=3')
 $phoneNo1 = &HTML_QuickForm::createElement('text', '', null, 'size=4 maxlength=3')
 $phoneNo2 = &HTML_QuickForm::createElement('text', '', null, 'size=5 maxlength=4')
 $str [] = &HTML_QuickForm::createElement('text', '', null, 'size=20')
 $addr ['zip'] = &HTML_QuickForm::createElement('text', 'zip', 'Zip', 'size=6 maxlength=10')
 $select = array('' => 'Please select...', 'AU' => 'Australia', 'FR' => 'France', 'DE' => 'Germany', 'IT' => 'Italy')
 $checkbox [] = &HTML_QuickForm::createElement('checkbox', 'A', null, 'A')
 $AddrRules ['zip'][0] = array('Zip code is required', 'required')
 $tpl = & new Smarty
$tpl template_dir = './templates'
$tpl compile_dir = './templates_c'
 $renderer = & new HTML_QuickForm_Renderer_ArraySmarty($tpl, true)
-


Variable Documentation

-

- - - - -
- - - - -
$addr['city'] = &HTML_QuickForm::createElement('text', 'zip', 'Zip', 'size=6 maxlength=10')
-
- - - - - -
-   - - -

- -

-Definition at line 58 of file SmartyStatic_example.php.

-

- - - - -
- - - - -
$AddrRules['city'][1] = array('Zip code is required', 'required')
-
- - - - - -
-   - - -

- -

-Definition at line 90 of file SmartyStatic_example.php.

-

- - - - -
- - - - -
$areaCode = &HTML_QuickForm::createElement('text', '', null,'size=4 maxlength=3')
-
- - - - - -
-   - - -

- -

-Definition at line 42 of file SmartyStatic_example.php.

-

- - - - -
- - - - -
$checkbox[] = &HTML_QuickForm::createElement('checkbox', 'A', null, 'A')
-
- - - - - -
-   - - -

- -

-Definition at line 67 of file SmartyStatic_example.php.

-

- - - - -
- - - - -
$defaultValues['phone'] = 'Mamasam'
-
- - - - - -
-   - - -

- -

-Definition at line 25 of file SmartyStatic_example.php.

-

- - - - -
- - - - -
$form = new HTML_QuickForm('form', 'POST')
-
- - - - - -
-   - - -

- -

-Definition at line 18 of file SmartyStatic_example.php.

-

- - - - -
- - - - -
$name['first'] = &HTML_QuickForm::createElement('text', 'first', 'First', 'size=10')
-
- - - - - -
-   - - -

- -

-Definition at line 40 of file SmartyStatic_example.php.

-

- - - - -
- - - - -
$phoneNo1 = &HTML_QuickForm::createElement('text', '', null, 'size=4 maxlength=3')
-
- - - - - -
-   - - -

- -

-Definition at line 43 of file SmartyStatic_example.php.

-

- - - - -
- - - - -
$phoneNo2 = &HTML_QuickForm::createElement('text', '', null, 'size=5 maxlength=4')
-
- - - - - -
-   - - -

- -

-Definition at line 44 of file SmartyStatic_example.php.

-

- - - - -
- - - - -
$renderer = & new HTML_QuickForm_Renderer_ArraySmarty($tpl, true)
-
- - - - - -
-   - - -

- -

-Definition at line 104 of file SmartyStatic_example.php.

-

- - - - -
- - - - -
$select = array('' => 'Please select...', 'AU' => 'Australia', 'FR' => 'France', 'DE' => 'Germany', 'IT' => 'Italy')
-
- - - - - -
-   - - -

- -

-Definition at line 61 of file SmartyStatic_example.php.

-

- - - - -
- - - - -
$str[] = &HTML_QuickForm::createElement('text', '', null, 'size=20')
-
- - - - - -
-   - - -

- -

-Definition at line 54 of file SmartyStatic_example.php.

-

- - - - -
- - - - -
$tpl = & new Smarty
-
- - - - - -
-   - - -

- -

-Definition at line 100 of file SmartyStatic_example.php.

-

- - - - -
- - - - -
$tpl compile_dir = './templates_c'
-
- - - - - -
-   - - -

- -

-Definition at line 102 of file SmartyStatic_example.php.

-

- - - - -
- - - - -
$tpl template_dir = './templates'
-
- - - - - -
-   - - -

- -

-Definition at line 101 of file SmartyStatic_example.php.

-


Generated on Wed Jan 12 13:58:48 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/annotated.html b/livesupport/modules/htmlUI/doc/doxygen/html/annotated.html deleted file mode 100644 index bc75cfa93..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/annotated.html +++ /dev/null @@ -1,17 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: Class List - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-

LiveSupport - htmlUI module Class List

Here are the classes, structs, unions and interfaces with brief descriptions: - - - -
uiBaseUiBase class
uiBrowser
uiHandlerUiHandler class
-
Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/classes.html b/livesupport/modules/htmlUI/doc/doxygen/html/classes.html deleted file mode 100644 index b39f70bed..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/classes.html +++ /dev/null @@ -1,16 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: Alphabetical List - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-

LiveSupport - htmlUI module Class Index

U

- -
  U  
-
uiBase   uiBrowser   uiHandler   

U

-


Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/classuiBase-members.html b/livesupport/modules/htmlUI/doc/doxygen/html/classuiBase-members.html deleted file mode 100644 index 5fe113a44..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/classuiBase-members.html +++ /dev/null @@ -1,15 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: Member List - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-

uiBase Member List

This is the complete list of members for uiBase, including all inherited members.

- - -
_parseArr2Form(&$form, &$mask, $side='client')uiBase
tra($input)uiBase


Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/classuiBase.html b/livesupport/modules/htmlUI/doc/doxygen/html/classuiBase.html deleted file mode 100644 index 805c41ec7..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/classuiBase.html +++ /dev/null @@ -1,141 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: uiBase Class Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-

uiBase Class Reference

uiBase class -More... -

-

Inheritance diagram for uiBase: -

- -uiBrowser -uiHandler - -List of all members. - - - - - - - - -

Public Member Functions

 tra ($input)
 tra
 _parseArr2Form (&$form, &$mask, $side='client')
 _parseArr2Form
-

Detailed Description

-uiBase class -

-LiveSupport HTML User Interface module -

- -

-Definition at line 17 of file ui_base.inc.php.


Member Function Documentation

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
uiBase::_parseArr2Form &$  form,
&$  mask,
side = 'client'
-
- - - - - -
-   - - -

-_parseArr2Form -

-Add elements/rules/groups to an given HTML_QuickForm object

-

Parameters:
- - - - -
form object, reference to HTML_QuickForm object
mask array, reference to array defining to form elements
side string, side where the validation should beeing
-
- -

-Definition at line 45 of file ui_base.inc.php. -

-References tra(). -

-Referenced by uiHandler::_validateForm(), uiBrowser::getAddSubjectForm(), uiBrowser::getMetadataForm(), uiBrowser::getNewFileForm(), uiBrowser::getSearchForm(), uiBrowser::loginform(), and uiBrowser::systemPrefs().

-

- - - - -
- - - - - - - - - -
uiBase::tra input  ) 
-
- - - - - -
-   - - -

-tra -

-Translate the given string using localisation files.

-

Parameters:
- - -
input string, string to translate
-
-
Returns:
string, translated string
- -

-Definition at line 28 of file ui_base.inc.php. -

-Referenced by _parseArr2Form(), uiHandler::addSubj(), uiHandler::delete(), and uiHandler::storeSystemPrefs().

-


The documentation for this class was generated from the following file: -
Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/classuiBase.png b/livesupport/modules/htmlUI/doc/doxygen/html/classuiBase.png deleted file mode 100644 index 0e8225480..000000000 Binary files a/livesupport/modules/htmlUI/doc/doxygen/html/classuiBase.png and /dev/null differ diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/classuiBrowser-members.html b/livesupport/modules/htmlUI/doc/doxygen/html/classuiBrowser-members.html deleted file mode 100644 index 73b9bf058..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/classuiBrowser-members.html +++ /dev/null @@ -1,36 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: Member List - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-

uiBrowser Member List

This is the complete list of members for uiBrowser, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - -
$alertMsguiBrowser
_parseArr2Form(&$form, &$mask, $side='client')uiBase
alertMsg()uiBrowser
getAddSubjectForm($mask)uiBrowser
getChangePasswdForm($uid)uiBrowser
getFile($id)uiBrowser
getGroups($id)uiBrowser
getInfo($id)uiBrowser
getMdata($id)uiBrowser
getMetadataForm($id, &$mask)uiBrowser
getNewFileData($id)uiBrowser
getNewFileForm($id, $mask)uiBrowser
getPermissions($id)uiBrowser
getSearchForm($id, &$mask)uiBrowser
getSearchRes($id, $search)uiBrowser
getStructure($id, $homedir=FALSE)uiBrowser
getSubj2GroupForm($id)uiBrowser
getSubjects()uiBrowser
getUserInfo()uiBrowser
loginform(&$Smarty, &$mask)uiBrowser
systemPrefs(&$mask)uiBrowser
tra($input)uiBase
uiBrowser($config)uiBrowser


Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/classuiBrowser.html b/livesupport/modules/htmlUI/doc/doxygen/html/classuiBrowser.html deleted file mode 100644 index 63237a03d..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/classuiBrowser.html +++ /dev/null @@ -1,938 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: uiBrowser Class Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-

uiBrowser Class Reference

Inheritance diagram for uiBrowser: -

- -uiBase - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 uiBrowser ($config)
 uiBrowser
 alertMsg ()
 alertMsg
 loginform (&$Smarty, &$mask)
 loginform
 getUserInfo ()
 getUserInfo
 getStructure ($id, $homedir=FALSE)
 getStructure
 getNewFileForm ($id, $mask)
 getNewFileForm
 getSearchForm ($id, &$mask)
 getSearchForm
 getSubjects ()
 getSubjects
 getAddSubjectForm ($mask)
 addSubjectForm
 getChangePasswdForm ($uid)
 getChangePasswdForm
 getGroups ($id)
 getGroups
 getSubj2GroupForm ($id)
 getSubj2GroupForm
 getPermissions ($id)
 getPermissions
 getNewFileData ($id)
 getNewFileData
 getSearchRes ($id, $search)
 getSearchRes
 getFile ($id)
 getFile
 getMdata ($id)
 getMdata
 getInfo ($id)
 getInfo
 getMetadataForm ($id, &$mask)
 getMetaDataForm
 systemPrefs (&$mask)

Public Attributes

 $alertMsg
-

Constructor & Destructor Documentation

-

- - - - -
- - - - - - - - - -
uiBrowser::uiBrowser config  ) 
-
- - - - - -
-   - - -

-uiBrowser -

-Initialize a new Browser Class including:

    -
  • database initialation
  • GreenBox initialation
-

-

Parameters:
- - -
$config array, configurartion data
-
- -

-Definition at line 15 of file ui_browser.class.php. -

-References $_REQUEST, and $config.

-


Member Function Documentation

-

- - - - -
- - - - - - - - -
uiBrowser::alertMsg  ) 
-
- - - - - -
-   - - -

-alertMsg -

-takes error message from session var

-

Returns:
string
- -

-Definition at line 38 of file ui_browser.class.php. -

-References alertMsg(). -

-Referenced by alertMsg(), and getFile().

-

- - - - -
- - - - - - - - - -
uiBrowser::getAddSubjectForm mask  ) 
-
- - - - - -
-   - - -

-addSubjectForm -

-create a form to add GreenBox subjects (users/groups)

-

Returns:
string (html)
- -

-Definition at line 193 of file ui_browser.class.php. -

-References uiBase::_parseArr2Form().

-

- - - - -
- - - - - - - - - -
uiBrowser::getChangePasswdForm uid  ) 
-
- - - - - -
-   - - -

-getChangePasswdForm -

-create a form to change user-passwords in GreenBox

-

Returns:
string (html)
- -

-Definition at line 214 of file ui_browser.class.php. -

-References changePasswd.

-

- - - - -
- - - - - - - - - -
uiBrowser::getFile id  ) 
-
- - - - - -
-   - - -

-getFile -

-Call access method and show access path. Example only - not really useable. TODO: resource should be released by release method call

-

Parameters:
- - -
id int, local id of accessed file
-
- -

-Definition at line 353 of file ui_browser.class.php. -

-References alertMsg().

-

- - - - -
- - - - - - - - - -
uiBrowser::getGroups id  ) 
-
- - - - - -
-   - - -

-getGroups -

-get a list of groups where user is member of

-$id int local user ID

Returns:
array
- -

-Definition at line 241 of file ui_browser.class.php. -

-Referenced by getSubj2GroupForm().

-

- - - - -
- - - - - - - - - -
uiBrowser::getInfo id  ) 
-
- - - - - -
-   - - -

-getInfo -

-Call getid3 library to analyze media file and show some results

-

Parameters:
- - -
$id int local ID of file
-
- -

-Definition at line 380 of file ui_browser.class.php.

-

- - - - -
- - - - - - - - - -
uiBrowser::getMdata id  ) 
-
- - - - - -
-   - - -

-getMdata -

-Show file's metadata as XML

-

Parameters:
- - -
id int, local id of stored file
-
-
Returns:
array
- -

-Definition at line 368 of file ui_browser.class.php.

-

- - - - -
- - - - - - - - - - - - - - - - - - -
uiBrowser::getMetadataForm id,
&$  mask
-
- - - - - -
-   - - -

-getMetaDataForm -

-create a form to edit Metadata

-

Parameters:
- - -
id int
-
-
Returns:
string (html)
- -

-Definition at line 402 of file ui_browser.class.php. -

-References uiBase::_parseArr2Form(), and editMetaData.

-

- - - - -
- - - - - - - - - -
uiBrowser::getNewFileData id  ) 
-
- - - - - -
-   - - -

-getNewFileData -

-get basic data about Folder to store file in

-

Parameters:
- - -
$id int local ID of folder
-
-
Returns:
array
- -

-Definition at line 313 of file ui_browser.class.php.

-

- - - - -
- - - - - - - - - - - - - - - - - - -
uiBrowser::getNewFileForm id,
mask
-
- - - - - -
-   - - -

-getNewFileForm -

-create a form for file-upload

-

Parameters:
- - -
int local $id of directory to store file in
-
-string (html) -

-Definition at line 139 of file ui_browser.class.php. -

-References uiBase::_parseArr2Form(), and newfile.

-

- - - - -
- - - - - - - - - -
uiBrowser::getPermissions id  ) 
-
- - - - - -
-   - - -

-getPermissions -

-get permissions for local object ID

-

Parameters:
- - -
$id int local ID (file/folder)
-
-
Returns:
array
- -

-Definition at line 293 of file ui_browser.class.php. -

-References subjects.

-

- - - - -
- - - - - - - - - - - - - - - - - - -
uiBrowser::getSearchForm id,
&$  mask
-
- - - - - -
-   - - -

-getSearchForm -

-create a form for searching in StorageServer

-

Parameters:
- - -
int local ID of start-directory
-
-
Returns:
string (html)
- -

-Definition at line 160 of file ui_browser.class.php. -

-References uiBase::_parseArr2Form(), and search.

-

- - - - -
- - - - - - - - - - - - - - - - - - -
uiBrowser::getSearchRes id,
search
-
- - - - - -
-   - - -

-getSearchRes -

-get Search Result

-

Parameters:
- - - -
$id int local ID (file/folder) to search in
$serach string
-
-
Returns:
array
- -

-Definition at line 330 of file ui_browser.class.php. -

-References search.

-

- - - - -
- - - - - - - - - - - - - - - - - - -
uiBrowser::getStructure id,
homedir = FALSE
-
- - - - - -
-   - - -

-getStructure -

-get directory-structure

-

Parameters:
- - - -
int local ID of start-directory
boolean $homedir TRUE: get homedir of current user
-
-array tree of directory with subs -

-Definition at line 99 of file ui_browser.class.php. -

-References $_REQUEST.

-

- - - - -
- - - - - - - - - -
uiBrowser::getSubj2GroupForm id  ) 
-
- - - - - -
-   - - -

-getSubj2GroupForm -

-creates a form to assign groups to a user

-

Parameters:
- - -
$id int local user ID
-
-
Returns:
string (html)
- -

-Definition at line 262 of file ui_browser.class.php. -

-References addSubj2Group, and getGroups().

-

- - - - -
- - - - - - - - -
uiBrowser::getSubjects  ) 
-
- - - - - -
-   - - -

-getSubjects -

-get all GreenBox subjects (users/groups)

-

Returns:
array subj=>unique id of subject, loggedAs=>corresponding login name
- -

-Definition at line 178 of file ui_browser.class.php.

-

- - - - -
- - - - - - - - -
uiBrowser::getUserInfo  ) 
-
- - - - - -
-   - - -

-getUserInfo -

-get info about logged in user

-

Returns:
array uname=>user Name, uid=>user ID
- -

-Definition at line 83 of file ui_browser.class.php.

-

- - - - -
- - - - - - - - - - - - - - - - - - -
uiBrowser::loginform &$  Smarty,
&$  mask
-
- - - - - -
-   - - -

-loginform -

-create a login-form

-

Parameters:
- - -
string $faillogin login name of failed login process
-
-
Returns:
string (html)
- -

-Definition at line 57 of file ui_browser.class.php. -

-References uiBase::_parseArr2Form().

-

- - - - -
- - - - - - - - - -
uiBrowser::systemPrefs &$  mask  ) 
-
- - - - - -
-   - - -

- -

-Definition at line 416 of file ui_browser.class.php. -

-References uiBase::_parseArr2Form(), and systemPrefs(). -

-Referenced by systemPrefs().

-


Member Data Documentation

-

- - - - -
- - - - -
uiBrowser::$alertMsg
-
- - - - - -
-   - - -

- -

-Definition at line 3 of file ui_browser.class.php.

-


The documentation for this class was generated from the following file: -
Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/classuiBrowser.png b/livesupport/modules/htmlUI/doc/doxygen/html/classuiBrowser.png deleted file mode 100644 index 03a41ffeb..000000000 Binary files a/livesupport/modules/htmlUI/doc/doxygen/html/classuiBrowser.png and /dev/null differ diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/classuiHandler-members.html b/livesupport/modules/htmlUI/doc/doxygen/html/classuiHandler-members.html deleted file mode 100644 index e8d63c797..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/classuiHandler-members.html +++ /dev/null @@ -1,38 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: Member List - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-

uiHandler Member List

This is the complete list of members for uiHandler, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - -
$alertMsguiHandler
$redirUrluiHandler
_parseArr2Form(&$form, &$mask, $side='client')uiBase
_validateForm(&$formdata, &$mask)uiHandler
addPerm($subj, $permAction, $id, $allowDeny)uiHandler
addSubj(&$formdata, &$mask)uiHandler
addSubj2Group($login, $gname, $reid)uiHandler
copy($newPath, $id)uiHandler
delete($id, $delOverride=FALSE)uiHandler
getFile($id)uiHandler
getInfo($id)uiHandler
getMdata($id)uiHandler
login(&$formdata, &$mask)uiHandler
logout()uiHandler
move($newPath, $id)uiHandler
newFolder($newname, $id)uiHandler
passwd($uid, $oldpass, $pass, $pass2)uiHandler
removePerm($permid, $oid)uiHandler
removeSubj($login)uiHandler
removeSubjFromGr($login, $gname, $reid)uiHandler
rename($newname, $id)uiHandler
storeSystemPrefs(&$formdata, &$mask)uiHandler
tra($input)uiBase
uiHandler($config)uiHandler
upload(&$formdata, $id, &$mask)uiHandler


Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/classuiHandler.html b/livesupport/modules/htmlUI/doc/doxygen/html/classuiHandler.html deleted file mode 100644 index 1cfa10354..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/classuiHandler.html +++ /dev/null @@ -1,1139 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: uiHandler Class Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-

uiHandler Class Reference

uiHandler class -More... -

-

Inheritance diagram for uiHandler: -

- -uiBase - -List of all members. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Public Member Functions

 uiHandler ($config)
 login (&$formdata, &$mask)
 login
 logout ()
 logout
 upload (&$formdata, $id, &$mask)
 upload
 newFolder ($newname, $id)
 newFolder
 rename ($newname, $id)
 rename
 move ($newPath, $id)
 move
 copy ($newPath, $id)
 copy
 delete ($id, $delOverride=FALSE)
 delete
 getFile ($id)
 getFile
 getMdata ($id)
 getMdata
 getInfo ($id)
 getInfo
 addSubj (&$formdata, &$mask)
 addSubj
 removeSubj ($login)
 removeSubj
 passwd ($uid, $oldpass, $pass, $pass2)
 passwd
 addPerm ($subj, $permAction, $id, $allowDeny)
 addPerm
 removePerm ($permid, $oid)
 removePerm
 addSubj2Group ($login, $gname, $reid)
 addSubj2Group
 removeSubjFromGr ($login, $gname, $reid)
 Remove subject from group.
 storeSystemPrefs (&$formdata, &$mask)
 _validateForm (&$formdata, &$mask)

Public Attributes

 $redirUrl
 $alertMsg
-

Detailed Description

-uiHandler class -

-LiveSupport HTML User Interface module -

- -

-Definition at line 7 of file ui_handler.class.php.


Constructor & Destructor Documentation

-

- - - - -
- - - - - - - - - -
uiHandler::uiHandler config  ) 
-
- - - - - -
-   - - -

- -

-Definition at line 11 of file ui_handler.class.php. -

-References $_REQUEST, $config, and login().

-


Member Function Documentation

-

- - - - -
- - - - - - - - - - - - - - - - - - -
uiHandler::_validateForm &$  formdata,
&$  mask
-
- - - - - -
-   - - -

- -

-Definition at line 429 of file ui_handler.class.php. -

-References uiBase::_parseArr2Form().

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
uiHandler::addPerm subj,
permAction,
id,
allowDeny
-
- - - - - -
-   - - -

-addPerm -

-Add new permission record

-

Parameters:
- - - - - -
subj int, local user/group id
permAction string, type of action from set predefined in conf.php
id int, local id of file/object
allowDeny char, A or D
-
- -

-Definition at line 347 of file ui_handler.class.php. -

-References permissions.

-

- - - - -
- - - - - - - - - - - - - - - - - - -
uiHandler::addSubj &$  formdata,
&$  mask
-
- - - - - -
-   - - -

-addSubj -

-Create new user or group (empty pass => create group)

-

Parameters:
- - -
formdata array('login', 'pass')
-
- -

-Definition at line 266 of file ui_handler.class.php. -

-References login(), subjects, and uiBase::tra().

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
uiHandler::addSubj2Group login,
gname,
reid
-
- - - - - -
-   - - -

-addSubj2Group -

-Add {login} and direct/indirect members to {gname} and to groups, where {gname} is [in]direct member

-

Parameters:
- - - - -
login string
gname string
reid string, local id of managed group, just needed for redirect
-
- -

-Definition at line 384 of file ui_handler.class.php. -

-References groups, login(), and subjects.

-

- - - - -
- - - - - - - - - - - - - - - - - - -
uiHandler::copy newPath,
id
-
- - - - - -
-   - - -

-copy -

-Copy file to another folder TODO: format of destinantion path should be properly defined

-

Parameters:
- - - -
newPath string, destination relative path
id int, destination folder id
-
- -

-Definition at line 166 of file ui_handler.class.php.

-

- - - - -
- - - - - - - - - - - - - - - - - - -
uiHandler::delete id,
delOverride = FALSE
-
- - - - - -
-   - - -

-delete -

-Delete of stored file

-

Parameters:
- - - -
id int, local id of deleted file or folder
delOverride int, local id od folder which can deleted if not empty
-
- -

-Definition at line 187 of file ui_handler.class.php. -

-References uiBase::tra().

-

- - - - -
- - - - - - - - - -
uiHandler::getFile id  ) 
-
- - - - - -
-   - - -

-getFile -

-Call access method and show access path. Example only - not really useable. TODO: resource should be released by release method call

-

Parameters:
- - -
id int, local id of accessed file
-
- -

-Definition at line 215 of file ui_handler.class.php.

-

- - - - -
- - - - - - - - - -
uiHandler::getInfo id  ) 
-
- - - - - -
-   - - -

-getInfo -

-Call getid3 library to analyze media file and show some results

-

Parameters:
- - -
@param 
-
- -

-Definition at line 244 of file ui_handler.class.php.

-

- - - - -
- - - - - - - - - -
uiHandler::getMdata id  ) 
-
- - - - - -
-   - - -

-getMdata -

-Show file's metadata as XML

-

Parameters:
- - -
id int, local id of stored file
-
- -

-Definition at line 229 of file ui_handler.class.php.

-

- - - - -
- - - - - - - - - - - - - - - - - - -
uiHandler::login &$  formdata,
&$  mask
-
- - - - - -
-   - - -

-login -

-Login to the storageServer. It set sessid to the cookie with name defined in ../conf.php

-

Parameters:
- - - -
login string, username
pass string, password
-
- -

-Definition at line 33 of file ui_handler.class.php. -

-References login(). -

-Referenced by addSubj(), addSubj2Group(), login(), removeSubj(), removeSubjFromGr(), and uiHandler().

-

- - - - -
- - - - - - - - -
uiHandler::logout  ) 
-
- - - - - -
-   - - -

-logout -

-Logut from storageServer, takes sessid from cookie -

-Definition at line 56 of file ui_handler.class.php.

-

- - - - -
- - - - - - - - - - - - - - - - - - -
uiHandler::move newPath,
id
-
- - - - - -
-   - - -

-move -

-Move file to another folder TODO: format of destinantion path should be properly defined

-

Parameters:
- - - -
newPath string, destination relative path
id int, destination folder id
-
- -

-Definition at line 144 of file ui_handler.class.php.

-

- - - - -
- - - - - - - - - - - - - - - - - - -
uiHandler::newFolder newname,
id
-
- - - - - -
-   - - -

-newFolder -

-Create new folder in the storage

-

Parameters:
- - - -
newname string, name for the new folder
id int, destination folder id
-
- -

-Definition at line 112 of file ui_handler.class.php.

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
uiHandler::passwd uid,
oldpass,
pass,
pass2
-
- - - - - -
-   - - -

-passwd -

-Change password for specified user

-

Parameters:
- - - - - -
uid int, local user id
oldpass string, old user password
pass string, new password
pass2 string, retype of new password
-
- -

-Definition at line 313 of file ui_handler.class.php. -

-References subjects.

-

- - - - -
- - - - - - - - - - - - - - - - - - -
uiHandler::removePerm permid,
oid
-
- - - - - -
-   - - -

-removePerm -

-Remove permission record

-

Parameters:
- - -
permid int, local id of permission record
-
- -

-Definition at line 365 of file ui_handler.class.php. -

-References permissions.

-

- - - - -
- - - - - - - - - -
uiHandler::removeSubj login  ) 
-
- - - - - -
-   - - -

-removeSubj -

-Remove existing user or group

-

Parameters:
- - -
login string, login name of removed user
-
- -

-Definition at line 290 of file ui_handler.class.php. -

-References login(), and subjects.

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
uiHandler::removeSubjFromGr login,
gname,
reid
-
- - - - - -
-   - - -

-Remove subject from group. -

-

Parameters:
- - - - -
login string
gname string
reid string, local id of managed group, just needed for redirect
-
- -

-Definition at line 404 of file ui_handler.class.php. -

-References groups, login(), and subjects.

-

- - - - -
- - - - - - - - - - - - - - - - - - -
uiHandler::rename newname,
id
-
- - - - - -
-   - - -

-rename -

-Change the name of file or folder

-

Parameters:
- - - -
newname string, new name for the file or folder
id int, destination folder id
-
- -

-Definition at line 127 of file ui_handler.class.php.

-

- - - - -
- - - - - - - - - - - - - - - - - - -
uiHandler::storeSystemPrefs &$  formdata,
&$  mask
-
- - - - - -
-   - - -

- -

-Definition at line 418 of file ui_handler.class.php. -

-References systemPrefs, and uiBase::tra().

-

- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
uiHandler::upload &$  formdata,
id,
&$  mask
-
- - - - - -
-   - - -

-upload -

-Provides file upload and store it to the storage

-

Parameters:
- - - - - -
filename string, name for the uploaded file
mediafile file uploded by HTTP, raw binary media file
mdatafile file uploded by HTTP, metadata XML file
id int, destination folder id
-
- -

-Definition at line 74 of file ui_handler.class.php.

-


Member Data Documentation

-

- - - - -
- - - - -
uiHandler::$alertMsg
-
- - - - - -
-   - - -

- -

-Definition at line 9 of file ui_handler.class.php.

-

- - - - -
- - - - -
uiHandler::$redirUrl
-
- - - - - -
-   - - -

- -

-Definition at line 8 of file ui_handler.class.php.

-


The documentation for this class was generated from the following file: -
Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/classuiHandler.png b/livesupport/modules/htmlUI/doc/doxygen/html/classuiHandler.png deleted file mode 100644 index b324c6f69..000000000 Binary files a/livesupport/modules/htmlUI/doc/doxygen/html/classuiHandler.png and /dev/null differ diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/conf_8php-source.html b/livesupport/modules/htmlUI/doc/doxygen/html/conf_8php-source.html deleted file mode 100644 index 05b13a68b..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/conf_8php-source.html +++ /dev/null @@ -1,115 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: conf.php Source File - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

conf.php

Go to the documentation of this file.
00001 <?php
-00002 /*------------------------------------------------------------------------------
-00003 
-00004     Copyright (c) 2004 Media Development Loan Fund
-00005 
-00006     This file is part of the LiveSupport project.
-00007     http://livesupport.campware.org/
-00008     To report bugs, send an e-mail to bugs@campware.org
-00009 
-00010     LiveSupport is free software; you can redistribute it and/or modify
-00011     it under the terms of the GNU General Public License as published by
-00012     the Free Software Foundation; either version 2 of the License, or
-00013     (at your option) any later version.
-00014 
-00015     LiveSupport is distributed in the hope that it will be useful,
-00016     but WITHOUT ANY WARRANTY; without even the implied warranty of
-00017     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-00018     GNU General Public License for more details.
-00019 
-00020     You should have received a copy of the GNU General Public License
-00021     along with LiveSupport; if not, write to the Free Software
-00022     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-00023 
-00024 
-00025     Author   : $Author: sebastian $
-00026     Version  : $Revision: 1.1 $
-00027     Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/htmlUI/doc/doxygen/html/Attic/conf_8php-source.html,v $
-00028 
-00029 ------------------------------------------------------------------------------*/
-00030 
-00049 $config = array(
-00050     /* ================================================== basic configuration */
-00051     'dsn'           => array(
-00052         'username'      => 'test',
-00053         'password'      => 'test',
-00054         'hostspec'      => 'localhost',
-00055         'phptype'       => 'pgsql',
-00056         'database'      => 'LiveSupport-test',
-00057     ),
-00058     'tblNamePrefix' => 'ls_',
-00059     'authCookieName'=> 'lssid',
-00060     #'storageDir'    =>  dirname(getcwd()).'/stor',
-00061     #'bufferDir'     =>  dirname(getcwd()).'/stor/buffer',
-00062     #'transDir'      =>  dirname(getcwd()).'/trans',
-00063     #'accessDir'     =>  dirname(getcwd()).'/access',
-00064     'storageDir'    =>  dirname(__FILE__).'/../../storageServer/var/stor',
-00065     'bufferDir'     =>  dirname(__FILE__).'/../../storageServer/var/stor/buffer',
-00066     'transDir'      =>  dirname(__FILE__).'/../../storageServer/var/trans',
-00067     'accessDir'     =>  dirname(__FILE__).'/../../storageServer/var/access',
-00068 
-00069     /* ==================================================== URL configuration */
-00070     'storageUrlPath'        => '/livesupportStorageServer',
-00071     'storageXMLRPC'         => 'xmlrpc/xrLocStor.php',
-00072     'storageUrlHost'        => 'localhost',
-00073     'storageUrlPort'        => 80,
-00074 
-00075     /* ================================================ archive configuration */
-00076     'archiveUrlPath'        => '/livesupportArchiveServer',
-00077     'archiveXMLRPC'         => 'xmlrpc/xrArchive.php',
-00078     'archiveUrlHost'        => 'localhost',
-00079     'archiveUrlPort'        => 80,
-00080     'archiveAccountLogin'   => 'root',
-00081     'archiveAccountPass'    => 'q',
-00082 
-00083     /* ==================================== aplication-specific configuration */
-00084     'objtypes'      => array(
-00085         'RootNode'      => array('Folder'),
-00086         'Storage'       => array('Folder', 'File', 'Replica'),
-00087         'Folder'        => array('Folder', 'File', 'Replica'),
-00088         'File'          => array(),
-00089         'Replica'       => array(),
-00090     ),
-00091     'allowedActions'=> array(
-00092         'RootNode'      => array('classes', 'subjects'),
-00093         'Folder'        => array('editPrivs', 'write', 'read'),
-00094         'File'          => array('editPrivs', 'write', 'read'),
-00095         'Replica'       => array('editPrivs', 'write', 'read'),
-00096         '_class'        => array('editPrivs', 'write', 'read'),
-00097     ),
-00098     'allActions'    =>  array(
-00099         'editPrivs', 'write', 'read', 'classes', 'subjects'
-00100     ),
-00101 
-00102     /* ============================================== auxiliary configuration */
-00103     'RootNode'        => 'RootNode',
-00104     'tmpRootPass'   => 'q',
-00105 );
-00106 
-00107 
-00108 
-00109 
-00110 define('UI_HANDLER', 'ui_handler.php');
-00111 define('UI_BROWSER', 'ui_browser.php');
-00112 define('UI_FORM_STANDARD_METHOD', 'POST');
-00113 define('UI_INPUT_STANDARD_SIZE', 20);
-00114 define('UI_INPUT_STANDARD_MAXLENGTH', 50);
-00115 define('UI_INPUT_GBOBJECT_MAXFILESIZE', 10000);
-00116 define('UI_QFORM_REQUIRED',     'templates/form_parts/required.tpl');
-00117 define('UI_QFORM_REQUIREDNOTE', 'templates/form_parts/requirednote.tpl');
-00118 define('UI_QFORM_ERROR',        'templates/form_parts/required.tpl');
-00119 ?>
-

Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/conf_8php.html b/livesupport/modules/htmlUI/doc/doxygen/html/conf_8php.html deleted file mode 100644 index c2d076139..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/conf_8php.html +++ /dev/null @@ -1,326 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: conf.php File Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

conf.php File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - -

Enumerations

enum  UI_HANDLER
enum  UI_BROWSER
enum  UI_FORM_STANDARD_METHOD
enum  UI_INPUT_STANDARD_SIZE
enum  UI_INPUT_STANDARD_MAXLENGTH
enum  UI_INPUT_GBOBJECT_MAXFILESIZE
enum  UI_QFORM_REQUIRED
enum  UI_QFORM_REQUIREDNOTE
enum  UI_QFORM_ERROR

Variables

 $config
 configuration structure:
-


Enumeration Type Documentation

-

- - - - -
- - - - -
enum UI_BROWSER
-
- - - - - -
-   - - -

- -

-Definition at line 111 of file conf.php.

-

- - - - -
- - - - -
enum UI_FORM_STANDARD_METHOD
-
- - - - - -
-   - - -

- -

-Definition at line 112 of file conf.php.

-

- - - - -
- - - - -
enum UI_HANDLER
-
- - - - - -
-   - - -

- -

-Definition at line 110 of file conf.php.

-

- - - - -
- - - - -
enum UI_INPUT_GBOBJECT_MAXFILESIZE
-
- - - - - -
-   - - -

- -

-Definition at line 115 of file conf.php.

-

- - - - -
- - - - -
enum UI_INPUT_STANDARD_MAXLENGTH
-
- - - - - -
-   - - -

- -

-Definition at line 114 of file conf.php.

-

- - - - -
- - - - -
enum UI_INPUT_STANDARD_SIZE
-
- - - - - -
-   - - -

- -

-Definition at line 113 of file conf.php.

-

- - - - -
- - - - -
enum UI_QFORM_ERROR
-
- - - - - -
-   - - -

- -

-Definition at line 118 of file conf.php.

-

- - - - -
- - - - -
enum UI_QFORM_REQUIRED
-
- - - - - -
-   - - -

- -

-Definition at line 116 of file conf.php.

-

- - - - -
- - - - -
enum UI_QFORM_REQUIREDNOTE
-
- - - - - -
-   - - -

- -

-Definition at line 117 of file conf.php.

-


Variable Documentation

-

- - - - -
- - - - -
$config
-
- - - - - -
-   - - -

-configuration structure: -

-

-
dsn
-
datasource setting
-
tblNamePrefix
-
prefix for table names in the database
-
authCookieName
-
secret token cookie name
-
storageDir
-
main directory for storing binary media files
-
bufferDir
-
directory for temporary files
-
transDir
-
directory for incomplete transferred files
-
accessDir
-
directory for symlinks to accessed files
-
storageUrlPath
-
path-URL-part of storageServer base dir
-
storageXMLRPC
-
XMLRPC server script address relative to storageUrlPath
-
storageUrlHost, storageUrlPort
-
host and port of storageServer
-
archiveUrlPath
-
path-URL-part of archiveServer base dir
-
archiveXMLRPC
-
XMLRPC server script address relative to archiveUrlPath
-
archiveUrlHost, archiveUrlPort
-
host and port of archiveServer
-
- -

-Definition at line 49 of file conf.php. -

-Referenced by uiBrowser::uiBrowser(), and uiHandler::uiHandler().

-


Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/dir_000000.html b/livesupport/modules/htmlUI/doc/doxygen/html/dir_000000.html deleted file mode 100644 index a5f4e9c74..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/dir_000000.html +++ /dev/null @@ -1,39 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: var/ Directory Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

var Directory Reference

- - - - - - - - - - - - - - - - - - - - - - - -

Directories

directory  html

Files

file  conf.php [code]
file  index.php [code]
file  SmartyExtensions.inc.php [code]
file  ui_base.inc.php [code]
file  ui_browser.class.php [code]
file  ui_browser_init.php [code]
file  ui_fmask.inc.php [code]
file  ui_handler.class.php [code]
file  ui_handler_init.php [code]
-
Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/dir_000001.html b/livesupport/modules/htmlUI/doc/doxygen/html/dir_000001.html deleted file mode 100644 index b8952f801..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/dir_000001.html +++ /dev/null @@ -1,24 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: var/html/ Directory Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

html Directory Reference

- - - - - - - - -

Files

file  html/index.php [code]
file  ui_browser.php [code]
file  ui_handler.php [code]
-
Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/dirs.html b/livesupport/modules/htmlUI/doc/doxygen/html/dirs.html deleted file mode 100644 index 46cb033e7..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/dirs.html +++ /dev/null @@ -1,18 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: Directory Hierarchy - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-

LiveSupport - htmlUI module Directories

This directory hierarchy is sorted roughly, but not completely, alphabetically: -
Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/doxygen.css b/livesupport/modules/htmlUI/doc/doxygen/html/doxygen.css deleted file mode 100644 index e5272cd12..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/doxygen.css +++ /dev/null @@ -1,297 +0,0 @@ -BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV { - font-family: Geneva, Arial, Helvetica, sans-serif; -} -BODY,TD { - font-size: 90%; -} -H1 { - text-align: center; - font-size: 160%; -} -H2 { - font-size: 120%; -} -H3 { - font-size: 110%; -} -CAPTION { font-weight: bold } -DIV.qindex { - width: 100%; - background-color: #eeeeff; - border: 1px solid #b0b0b0; - text-align: center; - margin: 2px; - padding: 2px; - line-height: 140%; -} -DIV.nav { - width: 100%; - background-color: #eeeeff; - border: 1px solid #b0b0b0; - text-align: center; - margin: 2px; - padding: 2px; - line-height: 140%; -} -A.qindex { - text-decoration: none; - font-weight: bold; - color: #1A419D; -} -A.qindex:visited { - text-decoration: none; - font-weight: bold; - color: #1A419D -} -A.qindex:hover { - text-decoration: none; - background-color: #ddddff; -} -A.qindexHL { - text-decoration: none; - font-weight: bold; - background-color: #6666cc; - color: #ffffff; - border: 1px double #9295C2; -} -A.qindexHL:hover { - text-decoration: none; - background-color: #6666cc; - color: #ffffff; -} -A.qindexHL:visited { text-decoration: none; background-color: #6666cc; color: #ffffff } -A.el { text-decoration: none; font-weight: bold } -A.elRef { font-weight: bold } -A.code:link { text-decoration: none; font-weight: normal; color: #0000FF} -A.code:visited { text-decoration: none; font-weight: normal; color: #0000FF} -A.codeRef:link { font-weight: normal; color: #0000FF} -A.codeRef:visited { font-weight: normal; color: #0000FF} -A:hover { text-decoration: none; background-color: #f2f2ff } -DL.el { margin-left: -1cm } -.fragment { - font-family: monospace -} -PRE.fragment { - border: 1px solid #CCCCCC; - background-color: #f5f5f5; - margin-top: 4px; - margin-bottom: 4px; - margin-left: 2px; - margin-right: 8px; - padding-left: 6px; - padding-right: 6px; - padding-top: 4px; - padding-bottom: 4px; -} -DIV.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px } -TD.md { background-color: #F4F4FB; font-weight: bold; } -TD.mdPrefix { - background-color: #F4F4FB; - color: #606060; - font-size: 80%; -} -TD.mdname1 { background-color: #F4F4FB; font-weight: bold; color: #602020; } -TD.mdname { background-color: #F4F4FB; font-weight: bold; color: #602020; width: 600px; } -DIV.groupHeader { - margin-left: 16px; - margin-top: 12px; - margin-bottom: 6px; - font-weight: bold; -} -DIV.groupText { margin-left: 16px; font-style: italic; font-size: 90% } -BODY { - background: white; - color: black; - margin-right: 20px; - margin-left: 20px; -} -TD.indexkey { - background-color: #eeeeff; - font-weight: bold; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px; - border: 1px solid #CCCCCC; -} -TD.indexvalue { - background-color: #eeeeff; - font-style: italic; - padding-right : 10px; - padding-top : 2px; - padding-left : 10px; - padding-bottom : 2px; - margin-left : 0px; - margin-right : 0px; - margin-top : 2px; - margin-bottom : 2px; - border: 1px solid #CCCCCC; -} -TR.memlist { - background-color: #f0f0f0; -} -P.formulaDsp { text-align: center; } -IMG.formulaDsp { } -IMG.formulaInl { vertical-align: middle; } -SPAN.keyword { color: #008000 } -SPAN.keywordtype { color: #604020 } -SPAN.keywordflow { color: #e08000 } -SPAN.comment { color: #800000 } -SPAN.preprocessor { color: #806020 } -SPAN.stringliteral { color: #002080 } -SPAN.charliteral { color: #008080 } -.mdTable { - border: 1px solid #868686; - background-color: #F4F4FB; -} -.mdRow { - padding: 8px 10px; -} -.mdescLeft { - padding: 0px 8px 4px 8px; - font-size: 80%; - font-style: italic; - background-color: #FAFAFA; - border-top: 1px none #E0E0E0; - border-right: 1px none #E0E0E0; - border-bottom: 1px none #E0E0E0; - border-left: 1px none #E0E0E0; - margin: 0px; -} -.mdescRight { - padding: 0px 8px 4px 8px; - font-size: 80%; - font-style: italic; - background-color: #FAFAFA; - border-top: 1px none #E0E0E0; - border-right: 1px none #E0E0E0; - border-bottom: 1px none #E0E0E0; - border-left: 1px none #E0E0E0; - margin: 0px; -} -.memItemLeft { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memItemRight { - padding: 1px 8px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memTemplItemLeft { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: none; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memTemplItemRight { - padding: 1px 8px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: none; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - background-color: #FAFAFA; - font-size: 80%; -} -.memTemplParams { - padding: 1px 0px 0px 8px; - margin: 4px; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-color: #E0E0E0; - border-right-color: #E0E0E0; - border-bottom-color: #E0E0E0; - border-left-color: #E0E0E0; - border-top-style: solid; - border-right-style: none; - border-bottom-style: none; - border-left-style: none; - color: #606060; - background-color: #FAFAFA; - font-size: 80%; -} -.search { color: #003399; - font-weight: bold; -} -FORM.search { - margin-bottom: 0px; - margin-top: 0px; -} -INPUT.search { font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #eeeeff; -} -TD.tiny { font-size: 75%; -} -a { - color: #252E78; -} -a:visited { - color: #3D2185; -} -.dirtab { padding: 4px; - border-collapse: collapse; - border: 1px solid #b0b0b0; -} -TH.dirtab { background: #eeeeff; - font-weight: bold; -} -HR { height: 1px; - border: none; - border-top: 1px solid black; -} diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/doxygen.png b/livesupport/modules/htmlUI/doc/doxygen/html/doxygen.png deleted file mode 100644 index f0a274bba..000000000 Binary files a/livesupport/modules/htmlUI/doc/doxygen/html/doxygen.png and /dev/null differ diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/files.html b/livesupport/modules/htmlUI/doc/doxygen/html/files.html deleted file mode 100644 index c4bfdf393..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/files.html +++ /dev/null @@ -1,26 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: File Index - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-

LiveSupport - htmlUI module File List

Here is a list of all files with brief descriptions: - - - - - - - - - - - - -
conf.php [code]
index.php [code]
html/index.php [code]
SmartyExtensions.inc.php [code]
ui_base.inc.php [code]
ui_browser.class.php [code]
ui_browser.php [code]
ui_browser_init.php [code]
ui_fmask.inc.php [code]
ui_handler.class.php [code]
ui_handler.php [code]
ui_handler_init.php [code]
-
Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/functions.html b/livesupport/modules/htmlUI/doc/doxygen/html/functions.html deleted file mode 100644 index 1006d4015..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/functions.html +++ /dev/null @@ -1,88 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: Class Members - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-
All | Functions | Variables
-
$ | _ | a | c | d | g | l | m | n | p | r | s | t | u
- -

- -

-Here is a list of all class members with links to the classes they belong to:

- $ -

-

- _ -

-

- a -

-

- c -

-

- d -

-

- g -

-

- l -

-

- m -

-

- n -

-

- p -

-

- r -

-

- s -

-

- t -

-

- u -

-
Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/functions_func.html b/livesupport/modules/htmlUI/doc/doxygen/html/functions_func.html deleted file mode 100644 index 6d666e3d9..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/functions_func.html +++ /dev/null @@ -1,84 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: Class Members - Functions - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-
All | Functions | Variables
-
_ | a | c | d | g | l | m | n | p | r | s | t | u
- -

- -

-

- _ -

-

- a -

-

- c -

-

- d -

-

- g -

-

- l -

-

- m -

-

- n -

-

- p -

-

- r -

-

- s -

-

- t -

-

- u -

-
Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/functions_vars.html b/livesupport/modules/htmlUI/doc/doxygen/html/functions_vars.html deleted file mode 100644 index f9903d818..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/functions_vars.html +++ /dev/null @@ -1,19 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: Class Members - Variables - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-
All | Functions | Variables
- -

-

-
Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/globals.html b/livesupport/modules/htmlUI/doc/doxygen/html/globals.html deleted file mode 100644 index dd3c8f3de..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/globals.html +++ /dev/null @@ -1,103 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: File Members - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-
All | Functions | Variables | Enumerations
-
$ | _ | a | b | c | d | e | g | i | l | m | n | p | r | s | u
- -

- -

-Here is a list of all file members with links to the files they belong to:

- $ -

-

- _ -

-

- a -

-

- b -

-

- c -

-

- d -

-

- e -

-

- g -

-

- i -

-

- l -

-

- m -

-

- n -

-

- p -

-

- r -

-

- s -

-

- u -

-
Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/globals_enum.html b/livesupport/modules/htmlUI/doc/doxygen/html/globals_enum.html deleted file mode 100644 index 6234836f3..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/globals_enum.html +++ /dev/null @@ -1,26 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: File Members - Enumerations - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-
All | Functions | Variables | Enumerations
- -

-

-
Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/globals_func.html b/livesupport/modules/htmlUI/doc/doxygen/html/globals_func.html deleted file mode 100644 index 828412468..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/globals_func.html +++ /dev/null @@ -1,23 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: File Members - Functions - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-
All | Functions | Variables | Enumerations
- -

-

-
Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/globals_vars.html b/livesupport/modules/htmlUI/doc/doxygen/html/globals_vars.html deleted file mode 100644 index 24f84ae29..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/globals_vars.html +++ /dev/null @@ -1,88 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: File Members - Variables - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-
All | Functions | Variables | Enumerations
-
$ | _ | a | b | c | d | e | g | i | l | m | n | p | r | s | u
- -

- -

-

- $ -

-

- _ -

-

- a -

-

- b -

-

- c -

-

- d -

-

- e -

-

- g -

-

- i -

-

- l -

-

- m -

-

- n -

-

- p -

-

- r -

-

- s -

-

- u -

-
Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/hierarchy.html b/livesupport/modules/htmlUI/doc/doxygen/html/hierarchy.html deleted file mode 100644 index 7d45d2798..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/hierarchy.html +++ /dev/null @@ -1,19 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: Hierarchical Index - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-

LiveSupport - htmlUI module Class Hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically: -
Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/html_2index_8php-source.html b/livesupport/modules/htmlUI/doc/doxygen/html/html_2index_8php-source.html deleted file mode 100644 index 64a212725..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/html_2index_8php-source.html +++ /dev/null @@ -1,18 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: index.php Source File - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

html/index.php

Go to the documentation of this file.
00001 <?php
-00002 require_once dirname(__FILE__).'/../conf.php';
-00003 header('LOCATION: '.HTMLUI_BROWSER);
-00004 ?>
-

Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/html_2index_8php.html b/livesupport/modules/htmlUI/doc/doxygen/html/html_2index_8php.html deleted file mode 100644 index 48c6514b6..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/html_2index_8php.html +++ /dev/null @@ -1,19 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: index.php File Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

html/index.php File Reference

-

-Go to the source code of this file. - -
-


Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/index.html b/livesupport/modules/htmlUI/doc/doxygen/html/index.html deleted file mode 100644 index 745161c7a..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: Main Page - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
-

LiveSupport - htmlUI module Documentation

-

-

1.0


Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/index_8php-source.html b/livesupport/modules/htmlUI/doc/doxygen/html/index_8php-source.html deleted file mode 100644 index 20b3eace6..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/index_8php-source.html +++ /dev/null @@ -1,18 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: index.php Source File - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

index.php

Go to the documentation of this file.
00001 <?php
-00002 require_once dirname(__FILE__).'/conf.php';
-00003 header('LOCATION: '.UI_BROWSER);
-00004 ?>
-

Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/index_8php.html b/livesupport/modules/htmlUI/doc/doxygen/html/index_8php.html deleted file mode 100644 index 89f0743d6..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/index_8php.html +++ /dev/null @@ -1,19 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: index.php File Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

index.php File Reference

-

-Go to the source code of this file. - -
-


Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/ui__base_8inc_8php-source.html b/livesupport/modules/htmlUI/doc/doxygen/html/ui__base_8inc_8php-source.html deleted file mode 100644 index 2064b470b..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/ui__base_8inc_8php-source.html +++ /dev/null @@ -1,92 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: ui_base.inc.php Source File - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

ui_base.inc.php

Go to the documentation of this file.
00001 <?php
-00002 function errCallBack($err)
-00003 {
-00004     echo "<pre>gm:\n".$err->getMessage()."\ndi:\n".$err->getDebugInfo()."\nui:\n".$err->getUserInfo()."\n";
-00005     echo "<hr>BackTrace:\n";
-00006     print_r($err->backtrace);
-00007     echo "</pre>\n";
-00008     exit;
-00009 }
-00010 
-00017 class uiBase
-00018 {
-00019     // --- basic funtionality ---
-00028     function tra($input)
-00029     {
-00030         // just a dummy function yet
-00031 
-00032         return $input;
-00033     }
-00034 
-00035 
-00045     function _parseArr2Form(&$form, &$mask, $side='client')
-00046     {
-00047         foreach($mask as $k=>$v) {
-00048             ## add elements ########################
-00049             if ($v['type']=='radio') {
-00050                 foreach($v['options'] as $rk=>$rv) {
-00051                     $radio[] =& $form->createElement($v['type'], NULL, NULL, $rv, $rk);
-00052                 }
-00053                 $form->addGroup($radio, $v['element'], $this->tra($v['label']));
-00054                 unset($radio);
-00055 
-00056             } elseif (isset($v['type'])) {
-00057                 $elem[$v['element']] =& $form->createElement($v['type'], $v['element'], $this->tra($v['label']), ($v['attributes']?$v['attributes']:(($v[type]=='text'||$v['type']=='file')?array('size'=>UI_INPUT_STANDARD_SIZE, 'maxlength'=>UI_INPUT_STANDARD_MAXLENGTH):NULL)));
-00058                 if($v['type']=='select') {
-00059                     $elem[$v['element']]->loadArray($v['options']);
-00060                     $elem[$v['element']]->setMultiple($v['multiple']);
-00061                 };
-00062                 if (!$v['groupit']) $form->addElement($elem[$v['element']]);
-00063             }
-00064             ## add required rule ###################
-00065             if ($v['required']) {
-00066                 $form->addRule($v['element'], ($v['errormsg']?$this->tra($v['errormsg']):$this->tra('please enter value for').' '.$this->tra($v['label'])), 'required', NULL, $side);
-00067             }
-00068             ## add constant value ##################
-00069             if (isset($v['constant'])) {
-00070                 $form->setConstants(array($v['element']=>$v['constant']));
-00071             }
-00072             ## add default value ###################
-00073             if (isset($v['default'])) {
-00074                 $form->setDefaults(array($v['element']=>$v['default']));
-00075             }
-00076             ## add other rules #####################
-00077             if ($v['rule']) {
-00078                 $form->addRule($v['element'], $this->tra($v['errormsg']), $v['rule'] , NULL, $side);
-00079             }
-00080             ## add group ###########################
-00081             if (is_array($v['group'])) {
-00082                 foreach($v['group'] as $val) {
-00083                     $groupthose[] =& $elem[$val];
-00084                 }
-00085                 $form->addGroup($groupthose, $v['name'], $this->tra($v['label']), $v['seperator'], $v['appendName']);
-00086                 unset($groupthose);
-00087             }
-00088             ## check error on type file ##########
-00089             if ($v['type']=='file') {
-00090                 if ($_POST[$v['element']]['error']) {
-00091                     $form->setElementError($v['element'], ($v['errormsg']?$this->tra($v['errormsg']):$this->tra('please enter value for').' '.$this->tra($v['label'])));
-00092                 }
-00093             }
-00094         }
-00095 
-00096         reset($mask);
-00097 
-00098         $form->validate();
-00099     }
-00100 }
-00101 ?>
-

Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/ui__base_8inc_8php.html b/livesupport/modules/htmlUI/doc/doxygen/html/ui__base_8inc_8php.html deleted file mode 100644 index 2e0bedd19..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/ui__base_8inc_8php.html +++ /dev/null @@ -1,53 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: ui_base.inc.php File Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

ui_base.inc.php File Reference

-

-Go to the source code of this file. - - - - -

Functions

 errCallBack ($err)
-


Function Documentation

-

- - - - -
- - - - - - - - - -
errCallBack err  ) 
-
- - - - - -
-   - - -

- -

-Definition at line 2 of file ui_base.inc.php.

-


Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser_8class_8php-source.html b/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser_8class_8php-source.html deleted file mode 100644 index 2cfec689a..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser_8class_8php-source.html +++ /dev/null @@ -1,288 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: ui_browser.class.php Source File - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

ui_browser.class.php

Go to the documentation of this file.
00001 <?php
-00002 class uiBrowser extends uiBase {
-00003     var $alertMsg;
-00004 
-00005     // --- class constructor ---
-00015     function uiBrowser($config)
-00016     {
-00017         $dbc = DB::connect($config['dsn'], TRUE);
-00018         $dbc->setFetchMode(DB_FETCHMODE_ASSOC);
-00019         $this->gb = &new GreenBox(&$dbc, $config);
-00020         $this->id = (!$_REQUEST['id'] ? $this->gb->storId : $_REQUEST['id']);
-00021         $this->sessid = $_REQUEST[$config['authCookieName']];
-00022         $this->userid = $this->gb->getSessUserId($this->sessid);
-00023         $this->login  = $this->gb->getSessLogin($this->sessid);
-00024         $this->InputTextStandardAttrib = array('size'     =>UI_INPUT_STANDARD_SIZE,
-00025                                                'maxlength'=>UI_INPUT_STANDARD_MAXLENGTH);
-00026 
-00027     }
-00028 
-00029     // --- error handling ---
-00038     function alertMsg()
-00039     {
-00040         if ($_SESSION['alertMsg']) {
-00041             $this->alertMsg = $_SESSION['alertMsg'];
-00042             unset($_SESSION['alertMsg']);
-00043             return $this->alertMsg;
-00044         }
-00045         return false;
-00046     }
-00047 
-00048     // --- template feed ---
-00057     function loginform(&$Smarty, &$mask)
-00058     {
-00059         $form = new HTML_QuickForm('loginbox', UI_STANDARD_FORM_METHOD, UI_HANDLER);
-00060         $form->setRequiredNote(file_get_contents(UI_QFORM_REQUIREDNOTE));
-00061         $this->_parseArr2Form($form, $mask);
-00062 
-00063         ## using Static Smarty Renderer
-00064         $renderer =& new HTML_QuickForm_Renderer_ArraySmarty($Smarty, true);
-00065         $renderer->setRequiredTemplate(file_get_contents(UI_QFORM_REQUIRED));
-00066         $renderer->setErrorTemplate(file_get_contents(UI_QFORM_ERROR));
-00067 
-00068         $form->accept($renderer);
-00069 
-00070         return $renderer->toArray();
-00071     }
-00072 
-00073 
-00074 
-00075 
-00083     function getUserInfo()
-00084     {
-00085         return array('uname'=>$this->gb->getSessLogin($this->sessid),
-00086                      'uid'  =>$this->gb->getSessUserId($this->sessid));
-00087     }
-00088 
-00099     function getStructure($id, $homedir=FALSE)
-00100     {
-00101         if ($homedir) {
-00102             $id = $this->gb->getObjId($this->login, $this->gb->storId);
-00103             $data['id'] = $id;
-00104         } else {
-00105             $data['id'] = $id;
-00106         }
-00107 
-00108         $data=array_merge($data, array(
-00109                 'pathdata'  => $this->gb->getPath($id, $this->sessid),
-00110                 'listdata'  => ($this->gb->getObjType($id)=='Folder'?
-00111                     $this->gb->listFolder($id, $this->sessid):array()
-00112                 ),
-00113                 'tree'  => ($_REQUEST['tree']=='Y'),
-00114                 'showPath'  => true,
-00115                 'showTree'  => true,
-00116             ));
-00117             if($_REQUEST['tree']=='Y'){
-00118                 $data['treedata'] = $this->gb->getSubTree($id, $this->sessid);
-00119             }
-00120 
-00121         if(PEAR::isError($data['listdata'])){
-00122             $data['msg'] = $data['listdata']->getMessage();
-00123             $data['listdata'] = array();
-00124         }
-00125 
-00126         return $data;
-00127     }
-00128 
-00129 
-00139     function getNewFileForm($id, $mask)
-00140     {
-00141         $form = new HTML_QuickForm('newfile', UI_STANDARD_FORM_METHOD, UI_HANDLER);
-00142         $form->setConstants(array('id'=>$id));
-00143         $form->addElement('hidden', 'id');
-00144 
-00145         $this->_parseArr2Form($form, $mask);
-00146 
-00147         return $form->toHTML();
-00148     }
-00149 
-00150 
-00160     function getSearchForm($id, &$mask)
-00161     {
-00162         $form = new HTML_QuickForm('search', UI_STANDARD_FORM_METHOD, UI_BROWSER);
-00163         $form->setConstants(array('id'=>$id));
-00164         $form->addElement('hidden', 'id');
-00165 
-00166         $this->_parseArr2Form($form, $mask);
-00167 
-00168         return $form->toHTML();
-00169     }
-00170 
-00178     function getSubjects()
-00179     {
-00180         return array('subj'       => $this->gb->getSubjectsWCnt(),
-00181                      'loggedAs'   => $this->login
-00182                     );
-00183     }
-00184 
-00185 
-00193     function getAddSubjectForm($mask)
-00194     {
-00195         $form = new HTML_QuickForm('addSubject', UI_STANDARD_FORM_METHOD, UI_HANDLER);
-00196         #$form->setConstants(array('act'=>'addSubj'));
-00197         #$form->addElement('hidden', 'act');
-00198         #$form->addElement('text', 'login', $this->tra('Add Subject with Name'), $this->InputTextStandardAttrib);
-00199         #$form->addElement('password', 'pass', $this->tra('and Password'), $this->InputTextStandardAttrib);
-00200         #$form->addElement('submit', NULL, $this->tra('Add'));
-00201         #$form->addRule('login', $this->tra('enter a Subject Name'), 'required', null, 'client');
-00202         #$form->addRule('pass', $this->tra('enter a Password'), 'required', null, 'client');
-00203         $this->_parseArr2Form($form, $mask);
-00204         return $form->toHTML();
-00205     }
-00206 
-00214     function getChangePasswdForm($uid)
-00215     {
-00216         $form = new HTML_QuickForm('changePasswd', UI_STANDARD_FORM_METHOD, UI_HANDLER);
-00217         $form->setConstants(array('act'=>'changePasswd',
-00218                                   'uid'=>$uid));
-00219         $form->addElement('hidden', 'act');
-00220         $form->addElement('hidden', 'uid');
-00221         $form->addElement('text', 'oldpass', $this->tra('Old Password'), $this->InputTextStandardAttrib);
-00222         $form->addElement('text', 'pass', $this->tra('new Password'), $this->InputTextStandardAttrib);
-00223         $form->addElement('text', 'pass2', $this->tra('retype new Password'), $this->InputTextStandardAttrib);
-00224         $form->addElement('submit', NULL, $this->tra('Change'));
-00225         $form->addRule('oldpass', $this->tra('enter Old Password'), 'required', null, 'client');
-00226         $form->addRule('pass', $this->tra('enter new Password'), 'required', null, 'client');
-00227         $form->addRule('pass2', $this->tra('retype new Password'), 'required', null, 'client');
-00228         $form->addRule(array('pass', 'pass2'), 'The passwords do not match', 'compare', null, 'client');
-00229 
-00230         return $form->toHTML();
-00231     }
-00232 
-00241     function getGroups($id)
-00242     {
-00243         return array(
-00244             'rows'      => $this->gb->listGroup($id),
-00245             'id'        => $id,
-00246             'loggedAs'  => $this->login,
-00247             'gname'     => $this->gb->getSubjName($id),
-00248             'subj'      => $this->gb->getSubjects()
-00249         );
-00250     }
-00251 
-00252 
-00262     function getSubj2GroupForm($id)
-00263     {
-00264         $g = $this->getGroups($id);
-00265         foreach($g['subj'] as $s) {
-00266             $this->logins[($s['login'])]=$s['login'];
-00267         }
-00268 
-00269         $form = new HTML_QuickForm('addSubj2Group', UI_STANDARD_FORM_METHOD, UI_HANDLER);
-00270         $form->setConstants(array('act'=>'addSubj2Group',
-00271                                   'reid'=>$g['id'],
-00272                                   'gname'=>$g['gname']));
-00273         $form->addElement('hidden', 'act');
-00274         $form->addElement('hidden', 'reid');
-00275         $form->addElement('hidden', 'gname');
-00276         $s =& $form->createElement('select', 'login', 'Add Group: ');
-00277         $s->loadArray($this->logins, NULL);
-00278         $form->addElement($s);
-00279         $form->addElement('submit', NULL, $this->tra('Do'));
-00280 
-00281         return $form->toHTML();
-00282     }
-00283 
-00293     function getPermissions($id)
-00294     {
-00295         return array('pathdata'  => $this->gb->getPath($id),
-00296                      'perms'     => $this->gb->getObjPerms($id),
-00297                      'actions'   => $this->gb->getAllowedActions($this->gb->getObjType($id)),
-00298                      'subjects'  => $this->gb->getSubjects(),
-00299                      'id'        => $id,
-00300                      'loggedAs'  => $this->login
-00301                      );
-00302     }
-00303 
-00313     function getNewFileData($id)
-00314     {
-00315         return array('pathdata'  => $this->gb->getPath($id, $this->sessid),
-00316                      'showEdit'  => true,
-00317                      'id'    => $id,
-00318                       );
-00319     }
-00320 
-00330     function getSearchRes($id, $search)
-00331     {
-00332         foreach ($this->gb->localSearch($search, $this->sessid) as $rec) {
-00333                 $res = array('items' => array('gunid'  => $rec,
-00334                                               'par_id' => $this->gb->_idFromGunid($rec)));
-00335             }
-00336 
-00337         return array('search'   => $res,
-00338                      'showSRes' => true,
-00339                      'id'       => $id
-00340                      );
-00341 
-00342     }
-00343 
-00353     function getFile($id)
-00354     {
-00355         $r = $this->gb->access($id, $this->sessid);
-00356         if(PEAR::isError($r)) $_SESSION['alertMsg'] = $r->getMessage();
-00357         else print_r($r);
-00358     }
-00359 
-00368     function getMdata($id)
-00369     {
-00370         return($this->gb->getMdata($id, $this->sessid));
-00371     }
-00372 
-00380     function getInfo($id)
-00381     {
-00382         $ia = $this->gb->analyzeFile($id, $this->sessid);
-00383 
-00384         return "fileformat: {$ia['fileformat']}<br>
-00385                 channels: {$ia['audio']['channels']}<br>
-00386                 sample_rate: {$ia['audio']['sample_rate']}<br>
-00387                 bits_per_sample: {$ia['audio']['bits_per_sample']}<br>
-00388                 channelmode: {$ia['audio']['channelmode']}<br>
-00389                 title: {$ia['id3v1']['title']}<br>
-00390                 artist: {$ia['id3v1']['artist']}<br>
-00391                 comment: {$ia['id3v1']['comment']}";
-00392     }
-00393 
-00402     function getMetadataForm($id, &$mask)
-00403     {
-00404         $form = new HTML_QuickForm('editMetaData', UI_STANDARD_FORM_METHOD, UI_HANDLER);
-00405         $form->setConstants(array('act'=>'editMetaData',
-00406                                   'id'=>$id));
-00407         $form->addElement('hidden', 'act');
-00408         $form->addElement('hidden', 'id');
-00409 
-00410         $this->_parseArr2Form($form, $mask);
-00411 
-00412         return $form->toHTML();
-00413     }
-00414 
-00415 
-00416     function systemPrefs(&$mask)
-00417     {
-00418         $form = new HTML_QuickForm('systemPrefs', UI_STANDARD_FORM_METHOD, UI_HANDLER);
-00419         $form->setConstants(array('act'=>'systemPrefs'));
-00420         $form->addElement('hidden', 'act');
-00421 
-00422         $this->_parseArr2Form($form, $mask);
-00423 
-00424         ## using Static Smarty Renderer
-00425         $renderer =& new HTML_QuickForm_Renderer_Array(true, true);
-00426         $form->accept($renderer);
-00427 
-00428         return $renderer->toArray();
-00429     }
-00430 }
-00431 ?>
-

Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser_8class_8php.html b/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser_8class_8php.html deleted file mode 100644 index a0fa826b9..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser_8class_8php.html +++ /dev/null @@ -1,19 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: ui_browser.class.php File Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

ui_browser.class.php File Reference

-

-Go to the source code of this file. - -
-


Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser_8php-source.html b/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser_8php-source.html deleted file mode 100644 index 45472bf87..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser_8php-source.html +++ /dev/null @@ -1,125 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: ui_browser.php Source File - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

ui_browser.php

Go to the documentation of this file.
00001 <?php
-00002 require_once dirname(__FILE__).'/../ui_browser_init.php';
-00003 
-00004 if (!$uiBrowser->sessid) {
-00005     $Smarty->assign('loginform', $uiBrowser->loginform($Smarty, $ui_fmask['login']));
-00006     $Smarty->display('login.tpl');
-00007     die();
-00008 }
-00009 
-00010 
-00011 
-00012 switch($_REQUEST['act']){
-00013     case "getHomeDir":
-00014     default:
-00015         $Smarty->assign('structure', $uiBrowser->getStructure($uiBrowser->id, $_REQUEST['act']=='getHomeDir' ? TRUE : FALSE));
-00016         $Smarty->assign('showPath', TRUE);
-00017 
-00018         if ($_REQUEST['tree']=='Y') {
-00019             $Smarty->assign('showTree', TRUE);
-00020         } else {
-00021             $Smarty->assign('showObjects', TRUE);
-00022         }
-00023         $Smarty->assign('delOverride', $_REQUEST['delOverride']);
-00024         $Smarty->assign('obj_types', array('Folder'=>'D', 'File'=>'F', 'Replica'=>'R'));
-00025         break;
-00026 
-00027     case "permissions":
-00028         $Smarty->assign('structure', $uiBrowser->getStructure($uiBrowser->id, $_REQUEST['act']=='getHomeDir' ? TRUE : FALSE));
-00029         $Smarty->assign('showPath', TRUE);
-00030 
-00031         $Smarty->assign('perms', $uiBrowser->getPermissions($uiBrowser->id));
-00032         $Smarty->assign('showPermissions', TRUE);
-00033     break;
-00034 
-00035     case "newfile":
-00036         $Smarty->assign('structure', $uiBrowser->getStructure($uiBrowser->id, $_REQUEST['act']=='getHomeDir' ? TRUE : FALSE));
-00037         $Smarty->assign('showPath', TRUE);
-00038 
-00039         $Smarty->assign('newfiledata', $uiBrowser->getNewFileData($uiBrowser->id));
-00040         $Smarty->assign('newfileform', $uiBrowser->getNewFileForm($uiBrowser->id, $ui_fmask['upload']));
-00041         $Smarty->assign('showNewFileForm', TRUE);
-00042         break;
-00043 
-00044     case "sform":
-00045         $Smarty->assign('searchform', $uiBrowser->getSearchForm($uiBrowser->id, $ui_fmask['search']));
-00046         $Smarty->assign('showSearchForm', TRUE);
-00047 
-00048         break;
-00049 
-00050     case "search":
-00051         $Smarty->assign('searchres', $uiBrowser->getSearchRes($uiBrwoser->id, $_REQUEST['search']));
-00052         $Smarty->assign('showSearchRes', TRUE);
-00053         $Smarty->assign('searchform', $uiBrowser->getSearchForm($uiBrwoser->id, $ui_fmask['search']));
-00054         $Smarty->assign('showSearchForm', TRUE);
-00055 
-00056         break;
-00057 
-00058     case "subjects":
-00059     case "addUser":
-00060     case "addGroup":
-00061         $Smarty->assign('subjects', $uiBrowser->getSubjects());
-00062         switch($_REQUEST['act']) {
-00063             case "addUser":  $Smarty->assign('addSubjectForm', $uiBrowser->getAddSubjectForm($ui_fmask['addUser']));  break;
-00064             case "addGroup": $Smarty->assign('addSubjectForm', $uiBrowser->getAddSubjectForm($ui_fmask['addGroup'])); break;
-00065         }
-00066         $Smarty->assign('showSubjects', TRUE);
-00067     break;
-00068 
-00069     case "passwd":
-00070         $Smarty->assign('changePassForm', $uiBrowser->getChangePasswdForm($_REQUEST['uid']));
-00071         $Smarty->assign('showSubjects', TRUE);
-00072     break;
-00073 
-00074     case "groups":
-00075         $Smarty->assign('groups', $uiBrowser->getGroups($uiBrowser->id));
-00076         $Smarty->assign('addSubj2GroupForm', $uiBrowser->getSubj2GroupForm($uiBrowser->id));
-00077         $Smarty->assign('showSubjects', TRUE);
-00078     break;
-00079 
-00080     case "getFile":
-00081         $Smarty->assign('fData', $uiBrowser->getFile($uiBrowser->id));
-00082         $Smarty->assign('showFile', TRUE);
-00083     break;
-00084 
-00085     case "getMdata":
-00086         $Smarty->assign('fMetaData', $uiBrowser->getMdata($uiBrowser->id));
-00087         $Smarty->assign('showFile', TRUE);
-00088     break;
-00089 
-00090     case "getInfo":
-00091         $Smarty->assign('fInfo', $uiBrowser->getInfo($uiBrowser->id));
-00092         $Smarty->assign('showFile', TRUE);
-00093     break;
-00094 
-00095     case "editMetaData":
-00096         $Smarty->assign('mDataForm', $uiBrowser->getMetaDataForm($uiBrowser->id, $ui_fmask['mData']));
-00097         $Smarty->assign('showMetaDataForm', TRUE);
-00098     break;
-00099 
-00100     case "systemPrefs":
-00101         $Smarty->assign('dynform', $uiBrowser->systemPrefs($ui_fmask['systemPrefs']));
-00102         $Smarty->assign('showSystemPrefs', TRUE);
-00103     break;
-00104 }
-00105 ## end gbHtmlBrowse.php
-00106 
-00107 $Smarty->assign('userinfo', $uiBrowser->getUserInfo());
-00108 $Smarty->assign('logouthref', UI_HANDLER.'?act=logout');
-00109 
-00110 $Smarty->display('main.tpl');
-00111 ?>
-

Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser_8php.html b/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser_8php.html deleted file mode 100644 index 2935f3326..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser_8php.html +++ /dev/null @@ -1,413 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: ui_browser.php File Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

ui_browser.php File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Variables

 break
case permissions
case newfile
case sform
case search
case subjects
case addGroup
case passwd
case groups
case getFile
case getMdata
case getInfo
case editMetaData
case systemPrefs
-


Variable Documentation

-

- - - - -
- - - - -
case addGroup
-
- - - - - -
-   - - -

- -

-Definition at line 64 of file ui_browser.php.

-

- - - - -
- - - - -
break
-
- - - - - -
-   - - -

- -

-Definition at line 103 of file ui_browser.php.

-

- - - - -
- - - - -
case editMetaData
-
- - - - - -
-   - - -

- -

-Definition at line 96 of file ui_browser.php. -

-Referenced by uiBrowser::getMetadataForm().

-

- - - - -
- - - - -
case getFile
-
- - - - - -
-   - - -

- -

-Definition at line 81 of file ui_browser.php.

-

- - - - -
- - - - -
case getInfo
-
- - - - - -
-   - - -

- -

-Definition at line 91 of file ui_browser.php.

-

- - - - -
- - - - -
case getMdata
-
- - - - - -
-   - - -

- -

-Definition at line 86 of file ui_browser.php.

-

- - - - -
- - - - -
case groups
-
- - - - - -
-   - - -

- -

-Definition at line 75 of file ui_browser.php. -

-Referenced by uiHandler::addSubj2Group(), and uiHandler::removeSubjFromGr().

-

- - - - -
- - - - -
case newfile
-
- - - - - -
-   - - -

- -

-Definition at line 36 of file ui_browser.php. -

-Referenced by uiBrowser::getNewFileForm().

-

- - - - -
- - - - -
case passwd
-
- - - - - -
-   - - -

- -

-Definition at line 70 of file ui_browser.php.

-

- - - - -
- - - - -
case permissions
-
- - - - - -
-   - - -

- -

-Definition at line 28 of file ui_browser.php. -

-Referenced by uiHandler::addPerm(), and uiHandler::removePerm().

-

- - - - -
- - - - -
case search
-
- - - - - -
-   - - -

- -

-Definition at line 51 of file ui_browser.php. -

-Referenced by uiBrowser::getSearchForm(), and uiBrowser::getSearchRes().

-

- - - - -
- - - - -
case sform
-
- - - - - -
-   - - -

- -

-Definition at line 45 of file ui_browser.php.

-

- - - - -
- - - - -
case subjects
-
- - - - - -
-   - - -

- -

-Definition at line 61 of file ui_browser.php. -

-Referenced by uiHandler::addSubj(), uiHandler::addSubj2Group(), uiBrowser::getPermissions(), uiHandler::passwd(), uiHandler::removeSubj(), and uiHandler::removeSubjFromGr().

-

- - - - -
- - - - -
case systemPrefs
-
- - - - - -
-   - - -

- -

-Definition at line 101 of file ui_browser.php. -

-Referenced by uiHandler::storeSystemPrefs().

-


Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser__init_8php-source.html b/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser__init_8php-source.html deleted file mode 100644 index 13fbc288a..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser__init_8php-source.html +++ /dev/null @@ -1,54 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: ui_browser_init.php Source File - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

ui_browser_init.php

Go to the documentation of this file.
00001 <?php
-00002 session_start();
-00003 require_once dirname(__FILE__).'/conf.php';
-00004 require_once dirname(__FILE__).'/ui_fmask.inc.php';
-00005 
-00006 // LS classes/functions
-00007 require_once dirname(__FILE__).'/ui_base.inc.php';
-00008 require_once dirname(__FILE__).'/ui_browser.class.php';
-00009 require_once dirname(__FILE__).'/../../storageServer/var/GreenBox.php';
-00010 
-00011 // well known classes
-00012 require_once dirname(__FILE__).'/html/Smarty/libs/Smarty.class.php';
-00013 
-00014 require_once 'DB.php';
-00015 require_once 'HTML/QuickForm.php';
-00016 require_once 'HTML/QuickForm/Renderer/ArraySmarty.php';
-00017 
-00018 #PEAR::setErrorHandling(PEAR_ERROR_TRIGGER, E_USER_WARNING);
-00019 #PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'errCallBack');
-00020 PEAR::setErrorHandling(PEAR_ERROR_RETURN);
-00021 #PEAR::setErrorHandling(PEAR_ERROR_PRINT);
-00022 
-00023 // some global vars/objects
-00024 $Smarty = new Smarty;
-00025 require_once  dirname(__FILE__).'/SmartyExtensions.inc.php';
-00026 $uiBrowser = new uiBrowser($config);
-00027 $uiBase    = new uiBase();
-00028 
-00029 ## some basic things
-00030 $Smarty->assign('alertMsg', $uiBrowser->alertMsg());
-00031 $Smarty->assign('GLOBALS', $GLOBALS);  ## ??? should i do this ####
-00032 
-00033 ## retransfer incomplete formdata from SESSION to POST-data
-00034 if(is_array($_SESSION['retransferFormData'])){
-00035     foreach($_SESSION['retransferFormData'] as $k=>$v){
-00036         $_POST[$k] = $v;
-00037     }
-00038     unset($_SESSION['retransferFormData']);
-00039 }
-00040 ?>
-

Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser__init_8php.html b/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser__init_8php.html deleted file mode 100644 index c1bcabc3d..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/ui__browser__init_8php.html +++ /dev/null @@ -1,104 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: ui_browser_init.php File Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

ui_browser_init.php File Reference

-

-Go to the source code of this file. - - - - - - - - -

Variables

 $Smarty = new Smarty
 $uiBrowser = new uiBrowser($config)
 $uiBase = new uiBase()
-


Variable Documentation

-

- - - - -
- - - - -
$Smarty = new Smarty
-
- - - - - -
-   - - -

- -

-Definition at line 24 of file ui_browser_init.php.

-

- - - - -
- - - - -
$uiBase = new uiBase()
-
- - - - - -
-   - - -

- -

-Definition at line 27 of file ui_browser_init.php.

-

- - - - -
- - - - -
$uiBrowser = new uiBrowser($config)
-
- - - - - -
-   - - -

- -

-Definition at line 26 of file ui_browser_init.php. -

-Referenced by S_tra().

-


Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/ui__fmask_8inc_8php-source.html b/livesupport/modules/htmlUI/doc/doxygen/html/ui__fmask_8inc_8php-source.html deleted file mode 100644 index 93db35e52..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/ui__fmask_8inc_8php-source.html +++ /dev/null @@ -1,302 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: ui_fmask.inc.php Source File - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

ui_fmask.inc.php

Go to the documentation of this file.
00001 <?php
-00002 $ui_fmask = array(
-00003     /* ===================== list of system preferences which can be adjusted */
-00004     'systemPrefs'   => array(
-00005         array(
-00006             'element'   => 'basics',
-00007             'type'  => 'header',
-00008             'label' => 'Basic Settings',
-00009         ),
-00010         array(
-00011             'element'   => 'maxfilesize',
-00012             'type'  => 'text',
-00013             'label' => 'Maximum File Size for Upload',
-00014             'required'  =>TRUE,
-00015         ),
-00016         array(
-00017             'rule'     => 'numeric',
-00018             'element'  => 'maxfilesize',
-00019             'errormsg' => 'Value for Maximum File Size must be numeric'
-00020         ),
-00021         array(
-00022             'element' => 'stationname',
-00023             'type'    => 'text',
-00024             'label'   => 'Staion Name',
-00025             'required'=>TRUE
-00026         ),
-00027         array(
-00028             'element'   => 'stationurl',
-00029             'type'  => 'text',
-00030             'label' => 'Station URL',
-00031             'required'  =>TRUE
-00032         ),
-00033         array(
-00034             'element'   => 'stationurl2',
-00035             'type'  => 'text',
-00036             'label' => 'Station URL2',
-00037             'required'  =>TRUE
-00038         ),
-00039         array(
-00040             'element' => 'upload',
-00041             'type'  => 'header',
-00042             'label' => 'Upload'
-00043         ),
-00044         array(
-00045             'element'   => 'stationlogo',
-00046             'type'  => 'file',
-00047             'label' => 'Station Logo',
-00048             'required'  =>FALSE
-00049         ),
-00050         array(
-00051             'element'   =>'submit',
-00052             'type'      =>'submit',
-00053             'label'     =>'Submit'
-00054         )
-00055     ),
-00056 
-00057     /* =========================================================== Matadata-Mask */
-00058     'mData' =>  array(
-00059         array(
-00060             'element' => 'title',
-00061             'type'    => 'text',
-00062             'label'   => 'Title',
-00063             'required'=> TRUE,
-00064             'groupit' => TRUE
-00065         ),
-00066         array(
-00067             'element' =>'alternative',
-00068             'type'    =>'text',
-00069             'label'   =>'Alternative Title',
-00070             'required'=>FALSE
-00071         ),
-00072         array(
-00073             'element' =>'description',
-00074             'type'    =>'textarea',
-00075             'label'   =>'Description',
-00076             'required'=>TRUE
-00077         ),
-00078         array(
-00079             'element' =>'genre',
-00080             'type'    =>'select',
-00081             'label'   =>'Genre(s)',
-00082             'required'=>TRUE,
-00083             'multiple'=>TRUE,
-00084             'options' =>array(
-00085                 'rock'      =>'Rock',
-00086                 'blues'     =>'Blues',
-00087                 'jazz'      =>'Jazz',
-00088                 'pop'       =>'Pop',
-00089                 'house'     =>'House',
-00090                 'industrial'=>'Industrial',
-00091                 )
-00092         ),
-00093         array(
-00094             'element' =>'decade',
-00095             'type'    =>'select',
-00096             'label'   =>'Decade',
-00097             'required'=>FALSE,
-00098             'multiple'=>FALSE,
-00099             'options' =>array(
-00100                 '1960'  =>'60\'s',
-00101                 '1970'  =>'70\'s',
-00102                 '1980'  =>'80\'s',
-00103                 '1990'  =>'90\'s'
-00104             )
-00105         ),
-00106         array(
-00107             'element'   =>'licence',
-00108             'type'      =>'radio',
-00109             'label'     =>'Licence exists',
-00110             'required'  =>TRUE,
-00111             'options'   =>array(
-00112                 'yes'    =>'Yes',
-00113                 'no'     =>'No'
-00114             )
-00115         ),
-00116         array(
-00117             'group'     =>'licencegrp',
-00118             'elements'  =>array('licence'),
-00119             'label'     =>'grplkabel'
-00120         ),
-00121         array(
-00122             'element'   =>'full_processed',
-00123             'type'      =>'checkbox',
-00124             'label'     =>'Full processed',
-00125             'required'  =>FALSE
-00126         ),
-00127         array(
-00128             'element'   =>'reset',
-00129             'type'      =>'reset',
-00130             'label'     =>'Reset',
-00131             'groupit'   =>TRUE
-00132         ),
-00133         array(
-00134             'element'   =>'submit',
-00135             'type'      =>'submit',
-00136             'label'     =>'Submit',
-00137             'groupit'   =>TRUE
-00138         ),
-00139         array(
-00140             'group'     => array('reset', 'submit'),
-00141             'name'      => NULL,
-00142             'label'     => NULL,
-00143             'seperator' => '&nbsp;&nbsp;',
-00144             'appendName'=> NULL
-00145         )
-00146     ),
-00147     'addUser' => array(
-00148         array(
-00149             'element'   => 'act',
-00150             'type'      => 'hidden',
-00151             'constant'  => 'addUser'
-00152         ),
-00153         array(
-00154             'element'   => 'login',
-00155             'type'      => 'text',
-00156             'label'     => 'Username',
-00157             'required'  => TRUE
-00158         ),
-00159         array(
-00160             'element'   =>'pass',
-00161             'type'      =>'password',
-00162             'label'     =>'Users Password',
-00163             'required'  =>TRUE
-00164         ),
-00165         array(
-00166             'element'   =>'pass2',
-00167             'type'      =>'password',
-00168             'label'     =>'Repeat Password',
-00169             'required'  =>TRUE
-00170         ),
-00171         array(
-00172             'rule'      =>'compare',
-00173             'element'   =>array('pass','pass2'),
-00174             'errormsg'  =>'Passwords didn´t match'
-00175         ),
-00176         array(
-00177             'element'   =>'submit',
-00178             'type'      =>'submit',
-00179             'label'     =>'Submit'
-00180         )
-00181     ),
-00182     'addGroup' => array(
-00183         array(
-00184             'element'   => 'act',
-00185             'type'      => 'hidden',
-00186             'constant'  => 'addGroup'
-00187         ),
-00188         array(
-00189             'element'   => 'login',
-00190             'type'      => 'text',
-00191             'label'     => 'Group Name',
-00192             'required'  => TRUE
-00193         ),
-00194         array(
-00195             'element'   =>'submit',
-00196             'type'      =>'submit',
-00197             'label'     =>'Submit'
-00198         )
-00199     ),
-00200     'login' => array(
-00201         array(
-00202             'element'   => 'act',
-00203             'type'      => 'hidden',
-00204             'constant'  => 'login'
-00205         ),
-00206         array(
-00207             'element'   => 'login',
-00208             'type'      => 'text',
-00209             'label'     => 'Username',
-00210             'required'  => TRUE
-00211         ),
-00212         array(
-00213             'element'   => 'pass',
-00214             'type'      => 'password',
-00215             'label'     => 'Password',
-00216             'required'  => TRUE
-00217         ),
-00218         array(
-00219             'element'   => 'submit',
-00220             'type'      => 'submit',
-00221             'label'     => 'Submit'
-00222         )
-00223     ),
-00224 
-00225 
-00226         #$form->setConstants(array('id'=>$id));
-00227         #$form->addElement('hidden', 'id');
-00228 
-00229         #$form->addRule('filename', $this->tra('enter a Filename'), 'required', null, 'client');
-00230         #$form->addRule('mediafile', $this->tra('select a Media-file'), 'required', null, 'client');
-00231         #$form->addRule('mdatafile', $this->tra('select a Metadata-file'), 'required', null, 'client');
-00232 
-00233     'upload'    => array(
-00234         array(
-00235             'element'   => 'act',
-00236             'type'      => 'hidden',
-00237             'constant'  => 'upload'
-00238         ),
-00239         array(
-00240             'element'   => 'MAX_FILE_SIZE',
-00241             'type'      => 'hidden',
-00242             'constant'  => UI_INPUT_GBOBJECT_MAXFILESIZE
-00243         ),
-00244         array(
-00245             'element'   => 'filename',
-00246             'type'      => 'text',
-00247             'label'     => 'Filename',
-00248             'required'  => TRUE
-00249         ),
-00250         array(
-00251             'element'   => 'mediafile',
-00252             'type'      => 'file',
-00253             'label'     => 'Mediafile',
-00254             'required'  => TRUE,
-00255             'errormsg'  => 'please select Media file'
-00256         ),
-00257         array(
-00258             'element'   => 'mdatafile',
-00259             'type'      => 'file',
-00260             'label'     => 'Metadata',
-00261             'required'  => TRUE,
-00262             'errormsg'  => 'please select Metadata file'
-00263         ),
-00264         array(
-00265             'element'   => 'submit',
-00266             'type'      => 'submit',
-00267             'label'     => 'Submit'
-00268         )
-00269     ),
-00270     'search'    => array(
-00271     array(
-00272             'element'   => 'act',
-00273             'type'      => 'hidden',
-00274             'constant'  => 'search'
-00275         ),
-00276         array(
-00277             'element'   => 'search',
-00278             'type'      => 'text',
-00279             'label'     => 'Searchstring',
-00280             'required'  => TRUE
-00281         ),
-00282         array(
-00283             'element'   => 'submit',
-00284             'type'      => 'submit',
-00285             'label'     => 'Submit'
-00286         )
-00287     )
-00288 );
-

Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/ui__fmask_8inc_8php.html b/livesupport/modules/htmlUI/doc/doxygen/html/ui__fmask_8inc_8php.html deleted file mode 100644 index 8cd052a01..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/ui__fmask_8inc_8php.html +++ /dev/null @@ -1,48 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: ui_fmask.inc.php File Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

ui_fmask.inc.php File Reference

-

-Go to the source code of this file. - - - - -

Variables

 $ui_fmask
-


Variable Documentation

-

- - - - -
- - - - -
$ui_fmask
-
- - - - - -
-   - - -

- -

-Definition at line 2 of file ui_fmask.inc.php.

-


Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler_8class_8php-source.html b/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler_8class_8php-source.html deleted file mode 100644 index 11ef76c8d..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler_8class_8php-source.html +++ /dev/null @@ -1,312 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: ui_handler.class.php Source File - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

ui_handler.class.php

Go to the documentation of this file.
00001 <?php
-00007 class uiHandler extends uiBase {
-00008     var $redirUrl;
-00009     var $alertMsg;
-00010 
-00011     function uiHandler($config)
-00012     {
-00013         $dbc = DB::connect($config['dsn'], TRUE);
-00014         $dbc->setFetchMode(DB_FETCHMODE_ASSOC);
-00015         $this->gb = &new GreenBox(&$dbc, $config);
-00016         $this->id = (!$_REQUEST['id'] ? $this->gb->storId : $_REQUEST['id']);
-00017         $this->sessid = $_REQUEST[$config['authCookieName']];
-00018         $this->userid = $this->gb->getSessUserId($this->sessid);
-00019         $this->login  = $this->gb->getSessLogin ($this->sessid);
-00020         $this->config = $config;
-00021     }
-00022 
-00023     // --- authentication ---
-00033     function login(&$formdata, &$mask)
-00034     {    $formdata['xxx'] = 'yyy';
-00035         $this->redirUrl = UI_BROWSER;
-00036         if ($this->_validateForm($formdata, $mask)) {
-00037             $sessid = $this->gb->login($formdata['login'], $formdata['pass']);
-00038             if($sessid && !PEAR::isError($sessid)){
-00039                 setcookie($this->config['authCookieName'], $sessid);
-00040 
-00041                 $fid = $this->gb->getObjId($formdata['login'], $this->gb->storId);
-00042                 if(!PEAR::isError($fid)) $this->redirUrl.="?id=$fid";
-00043             }else{
-00044                 $this->alertMsg = 'Login failed.';
-00045             }
-00046         }
-00047 
-00048     }
-00049 
-00056     function logout()
-00057     {
-00058         $this->gb->logout($this->sessid);
-00059         setcookie($this->config['authCookieName'], '');
-00060         $this->redirUrl = UI_BROWSER;
-00061     }
-00062 
-00063     // --- files ---
-00074     function upload(&$formdata, $id, &$mask)
-00075     {
-00076         if ($this->_validateForm($formdata, $mask)) {
-00077             $tmpgunid = md5(
-00078                 microtime().$_SERVER['SERVER_ADDR'].rand()."org.mdlf.livesupport"
-00079             );
-00080             $ntmp = $this->gb->bufferDir.'/'.$tmpgunid;
-00081             #        $ntmp = tempnam(""{$gb->bufferDir}", 'gbTmp_');
-00082             $mdtmp = "";
-00083             move_uploaded_file($formdata['mediafile']['tmp_name'], $ntmp);
-00084             chmod($ntmp, 0664);
-00085             if($formdata['mdatafile']['tmp_name']){
-00086                 $mdtmp = "$ntmp.xml";
-00087                 if(move_uploaded_file($formdata['mdatafile']['tmp_name'], $mdtmp)){
-00088                     chmod($mdtmp, 0664);
-00089                 }
-00090             }
-00091             $r = $this->gb->putFile($id, $formdata['filename'], $ntmp, $mdtmp, $this->sessid);
-00092             if(PEAR::isError($r)) $this->alertMsg = $r->getMessage();
-00093             else{
-00094             #            $gb->updateMetadataDB($gb->_pathFromId($r), $mdata, $sessid);
-00095                 @unlink($ntmp);
-00096                 @unlink($mdtmp);
-00097             }
-00098             $this->redirUrl = UI_BROWSER."?id=".$id;
-00099          } else {
-00100             $this->redirUrl = UI_BROWSER."?act=newfile&id=".$id;
-00101          }
-00102     }
-00103 
-00112     function newFolder($newname, $id)
-00113     {
-00114         $r = $this->gb->createFolder($id, $newname, $this->sessid);
-00115         if(PEAR::isError($r)) $this->alertMsg = $r->getMessage();
-00116         $this->redirUrl = UI_BROWSER.'?id='.$id;
-00117     }
-00118 
-00127     function rename($newname, $id)
-00128     {
-00129         $parid = $this->gb->getparent($this->id);
-00130         $r = $this->gb->renameFile($id, $newname, $this->sessid);
-00131         if(PEAR::isError($r)) $this->alertMsg = $r->getMessage();
-00132         $this->redirUrl = UI_BROWSER."?id=$parid";
-00133     }
-00134 
-00144     function move($newPath, $id)
-00145     {
-00146         $newPath = urlencode($newPath);
-00147         $did = $this->gb->getObjIdFromRelPath($id, $newPath);
-00148         $parid = $this->gb->getparent($id);
-00149         $r = $this->gb->moveFile($id, $did, $this->sessid);
-00150         if(PEAR::isError($r)){
-00151             $this->alertMsg = $r->getMessage();
-00152             $this->redirUrl  = UI_BROWSER."?id=$parid";
-00153         }
-00154         else $this->redirUrl = UI_BROWSER."?id=$did";
-00155     }
-00156 
-00166     function copy($newPath, $id)
-00167     {
-00168         $newPath = urldecode($newPath);
-00169         $did = $this->gb->getObjIdFromRelPath($id, $newPath);
-00170         $parid = $this->gb->getparent($id);
-00171         $r = $this->gb->copyFile($id, $did, $this->sessid);
-00172         if(PEAR::isError($r)){
-00173             $this->alertMsg = $r->getMessage();
-00174             $this->redirUrl  = UI_BROWSER."?id=$parid";
-00175         }
-00176         else $this->redirUrl = UI_BROWSER."?id=$did";
-00177     }
-00178 
-00187     function delete($id, $delOverride=FALSE)
-00188     {
-00189         $parid = $this->gb->getparent($id);
-00190 
-00191         ## add emtyness-test here ###
-00192         if (!($delOverride==$id) && (count($this->gb->getObjType($id)=='Folder'?
-00193                       $this->gb->listFolder($id, $this->sessid):NULL))) {
-00194             $this->alertMsg = $this->tra("Folder is not empty. You can override this protection by clicking DEL again");
-00195             $this->redirUrl = UI_BROWSER."?id=$parid&delOverride=$id";
-00196             return;
-00197         }
-00198         #############################
-00199 
-00200         $r = $this->gb->deleteFile($id, $this->sessid);
-00201         if(PEAR::isError($r)) $this->alertMsg = $r->getMessage();
-00202         $this->redirUrl = UI_BROWSER."?id=$parid";
-00203     }
-00204 
-00205 
-00215     function getFile($id)
-00216     {
-00217         $r = $this->gb->access($id, $this->sessid);
-00218         if(PEAR::isError($r)) $this->alertMsg = $r->getMessage();
-00219         else echo $r;
-00220     }
-00221 
-00229     function getMdata($id)
-00230     {
-00231         header("Content-type: text/xml");
-00232         $r = $this->gb->getMdata($id, $this->sessid);
-00233         print_r($r);
-00234     }
-00235 
-00244     function getInfo($id)
-00245     {
-00246         header("Content-type: text/plain");
-00247         $ia = $this->gb->analyzeFile($id, $this->sessid);
-00248         echo"fileformat: {$ia['fileformat']}\n";
-00249         echo"channels: {$ia['audio']['channels']}\n";
-00250         echo"sample_rate: {$ia['audio']['sample_rate']}\n";
-00251         echo"bits_per_sample: {$ia['audio']['bits_per_sample']}\n";
-00252         echo"channelmode: {$ia['audio']['channelmode']}\n";
-00253         echo"title: {$ia['id3v1']['title']}\n";
-00254         echo"artist: {$ia['id3v1']['artist']}\n";
-00255         echo"comment: {$ia['id3v1']['comment']}\n";
-00256     }
-00257 
-00258    // --- subjs ----
-00266     function addSubj(&$formdata, &$mask)
-00267     {
-00268         $this->redirUrl = UI_BROWSER.'?act='.$_REQUEST['act'];
-00269 
-00270         ## first validate the form data
-00271         if ($this->_validateForm($formdata, $mask)) {
-00272             if($this->gb->checkPerm($this->userid, 'subjects')){
-00273                 $res = $this->gb->addSubj($formdata['login'], ($formdata['pass']=='' ? NULL:$formdata['pass'] ));
-00274                 $this->alertMsg = $this->tra('Subject "'.$formdata['login'].'" added.');
-00275             } else {
-00276                 $this->alertMsg = $this->tra('Access denied.');
-00277                 return;
-00278             }
-00279         }
-00280         if(PEAR::isError($res)) $this->alertMsg = $res->getMessage();
-00281     }
-00282 
-00290     function removeSubj($login)
-00291     {
-00292         $this->redirUrl = UI_BROWSER.'?act=subjects';
-00293 
-00294         if($this->gb->checkPerm($this->userid, 'subjects')){
-00295             $res = $this->gb->removeSubj($login);
-00296         }else{
-00297             $this->alertMsg='Access denied.';
-00298             return;
-00299         }
-00300         if(PEAR::isError($res)) $this->alertMsg = $res->getMessage();
-00301     }
-00302 
-00313     function passwd($uid, $oldpass, $pass, $pass2)
-00314     {
-00315         $this->redirUrl = UI_BROWSER.'?act=subjects';
-00316         $ulogin = $this->gb->getSubjName($uid);
-00317 
-00318         if($this->userid != $uid &&
-00319             ! $this->gb->checkPerm($this->userid, 'subjects')){
-00320             $this->alertMsg='Access denied..';
-00321             return;
-00322         }
-00323         if(FALSE === $this->gb->authenticate($ulogin, $oldpass)){
-00324             $this->alertMsg='Wrong old pasword.';
-00325             return;
-00326         }
-00327         if($pass !== $pass2){
-00328             $this->alertMsg = "Passwords do not match. ".
-00329                 "($pass/$pass2)";
-00330             $this->redirUrl = UI_BROWSER.'?act=subjects';
-00331             return;
-00332         }
-00333         $this->gb->passwd($ulogin, $oldpass, $pass);
-00334     }
-00335 
-00336     // --- perms ---
-00347     function addPerm($subj, $permAction, $id, $allowDeny)
-00348     {
-00349         if($this->gb->checkPerm($this->userid, 'editPerms', $id)){
-00350             $this->gb->addPerm($subj, $permAction,
-00351                 $id, $allowDeny);
-00352         }else{
-00353             $this->alertMsg='Access denied.';
-00354         }
-00355         $this->redirUrl = UI_BROWSER.'?id='.$id.'&act=permissions';
-00356     }
-00357 
-00365     function removePerm($permid, $oid)
-00366     {
-00367         if($this->gb->checkPerm($this->userid, 'editPerms', $oid))
-00368             $this->gb->removePerm($permid);
-00369         else $this->alertMsg='Access denied.';
-00370         $this->redirUrl = UI_BROWSER.'?act=permissions&id='.$id;
-00371     }
-00372 
-00373 
-00384     function addSubj2Group($login, $gname, $reid)
-00385     {
-00386         if($this->gb->checkPerm($this->userid, 'subjects')){
-00387             $res = $this->gb->addSubj2Gr($login, $gname);
-00388         }else{
-00389             $this->alertMsg='Access denied.';
-00390             return;
-00391         }
-00392         if(PEAR::isError($res)) $this->alertMsg = $res->getMessage();
-00393 
-00394         $this->redirUrl = UI_BROWSER.'?act=groups&id='.$reid;
-00395     }
-00396 
-00404     function removeSubjFromGr($login, $gname, $reid)
-00405     {
-00406         if($this->gb->checkPerm($this->userid, 'subjects')){
-00407             $res = $this->gb->removeSubjFromGr($login, $gname);
-00408         }else{
-00409             $this->alertMsg='Access denied.';
-00410             return;
-00411         }
-00412         if(PEAR::isError($res)) $this->alertMsg = $res->getMessage();
-00413 
-00414         $this->redirUrl = UI_BROWSER.'?act=groups&id='.$reid;
-00415     }
-00416 
-00417 
-00418     function storeSystemPrefs(&$formdata, &$mask)
-00419     {
-00420         ## first validate the form data
-00421         if ($this->_validateForm($formdata, $mask)) {
-00422             $this->alertMsg = $this->tra('Settings saved');
-00423             $this->redirUrl = UI_BROWSER;
-00424             return;
-00425         }
-00426         $this->redirUrl = UI_BROWSER.'?act=systemPrefs';
-00427     }
-00428 
-00429     function _validateForm(&$formdata, &$mask)
-00430     {
-00431         $form = new HTML_QuickForm('validation', UI_STANDARD_FORM_METHOD, UI_HANDLER);
-00432         $this->_parseArr2Form($form, $mask, 'server');
-00433         if (!$form->validate()) {
-00434             $_SESSION['retransferFormData'] = $formdata;
-00435             return FALSE;
-00436         }
-00437         ## test for uploadet files ####
-00438         foreach($mask as $k) {
-00439             if ($k['type']=='file') {
-00440                 if ($formdata[$k['element']]['error']) {
-00441                     $_SESSION['retransferFormData'] = $formdata;
-00442                     return FALSE;
-00443                 }
-00444             }
-00445         }
-00446         reset($mask);
-00447         return TRUE;
-00448     }
-00449 
-00450 }
-00451 
-00452 ?>
-

Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler_8class_8php.html b/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler_8class_8php.html deleted file mode 100644 index 35e811cf9..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler_8class_8php.html +++ /dev/null @@ -1,19 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: ui_handler.class.php File Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

ui_handler.class.php File Reference

-

-Go to the source code of this file. - -
-


Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler_8php-source.html b/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler_8php-source.html deleted file mode 100644 index 375714e9b..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler_8php-source.html +++ /dev/null @@ -1,95 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: ui_handler.php Source File - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

ui_handler.php

Go to the documentation of this file.
00001 <?php
-00002 require dirname(__FILE__).'/../ui_handler_init.php';
-00003 
-00004 switch($_REQUEST['act']){
-00005 
-00006     case "login";
-00007         $uiHandler->login($_REQUEST, $ui_fmask["login"]);
-00008     break;
-00009 
-00010     case "logout";
-00011         $uiHandler->logout();
-00012     break;
-00013 
-00014     case "upload":
-00015         $uiHandler->upload(array_merge($_REQUEST, $_FILES), $uiHandler->id, $ui_fmask["upload"]);
-00016     break;
-00017 
-00018     case "newFolder":
-00019         $uiHandler->newFolder($_REQUEST["newname"], $uiHandler->id);
-00020     break;
-00021 
-00022     case "rename":
-00023         $uiHandler->rename($_REQUEST["newname"], $uiHandler->id);
-00024     break;
-00025 
-00026     case "move":
-00027         $uiHandler->move($_REQUEST["newPath"], $uiHandler->id);
-00028     break;
-00029 
-00030     case "copy":
-00031         $uiHandler->copy($_REQUEST["newPath"], $uiHandler->id);
-00032     break;
-00033 
-00034     case "delete":
-00035         $uiHandler->delete($uiHandler->id, $_REQUEST["delOverride"]);
-00036     break;
-00037 
-00038     case "addUser":
-00039         $uiHandler->addSubj($_REQUEST, $ui_fmask["addUser"]);
-00040     break;
-00041 
-00042     case "addGroup":
-00043         $uiHandler->addSubj($_REQUEST, $ui_fmask["addGroup"]);
-00044     break;
-00045 
-00046     case "removeSubj":
-00047         $uiHandler->removeSubj($_REQUEST["login"]);
-00048     break;
-00049 
-00050     case "changePasswd":
-00051         $uiHandler->passwd($_REQUEST["uid"], $_REQUEST["oldpass"], $_REQUEST["pass"], $_REQUEST["pass2"]);
-00052     break;
-00053 
-00054     case "addPerm":
-00055         $uiHandler->addPerm($_REQUEST["subj"], $_REQUEST["permAction"], $uiHandler->id, $_REQUEST["allowDeny"]);
-00056     break;
-00057 
-00058     case "removePerm":
-00059         $uiHandler->removePerm($_REQUEST["permid"], $_REQUEST["oid"]);
-00060     break;
-00061 
-00062     case "addSubj2Group":
-00063         $uiHandler->addSubj2Group($_REQUEST["login"], $_REQUEST["gname"], $_REQUEST["reid"]);
-00064     break;
-00065 
-00066     case "removeSubjFromGr":
-00067         $uiHandler->removeSubjFromGr($_REQUEST["login"], $_REQUEST["gname"], $_REQUEST["reid"]);
-00068     break;
-00069 
-00070     case "systemPrefs":
-00071         $uiHandler->storeSystemPrefs($_REQUEST, $ui_fmask["systemPrefs"]);
-00072     break;
-00073 
-00074     default:
-00075         $_SESSION["alertMsg"] = $uiHandler->tra("Unknown method: ").$_REQUEST["act"];
-00076         header("Location: ".UI_BROWSER);
-00077         die();
-00078 }
-00079 if ($uiHandler->alertMsg) $_SESSION['alertMsg'] = $uiHandler->alertMsg;
-00080 header('Location: '.$uiHandler->redirUrl);
-00081 ?>
-

Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler_8php.html b/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler_8php.html deleted file mode 100644 index d577c5dfa..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler_8php.html +++ /dev/null @@ -1,621 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: ui_handler.php File Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

ui_handler.php File Reference

-

-Go to the source code of this file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Variables

 break
case logout
case upload
case $_FILES
case $uiHandler id
case $uiHandler $ui_fmask ["upload"]
case newFolder
case rename
case move
case copy
case delete
case $_REQUEST ["delOverride"]
case addUser
case addGroup
case removeSubj
case changePasswd
case addPerm
case removePerm
case addSubj2Group
case removeSubjFromGr
case systemPrefs
default __pad0__
-


Variable Documentation

-

- - - - -
- - - - -
case $_FILES
-
- - - - - -
-   - - -

- -

-Definition at line 15 of file ui_handler.php.

-

- - - - -
- - - - -
case $_REQUEST["reid"]
-
- - - - - -
-   - - -

- -

-Definition at line 67 of file ui_handler.php. -

-Referenced by uiBrowser::getStructure(), uiBrowser::uiBrowser(), and uiHandler::uiHandler().

-

- - - - -
- - - - -
case $ui_fmask["systemPrefs"]
-
- - - - - -
-   - - -

- -

-Definition at line 71 of file ui_handler.php.

-

- - - - -
- - - - -
default __pad0__
-
- - - - - -
-   - - -

- -

-Definition at line 75 of file ui_handler.php.

-

- - - - -
- - - - -
case addGroup
-
- - - - - -
-   - - -

- -

-Definition at line 43 of file ui_handler.php.

-

- - - - -
- - - - -
case addPerm
-
- - - - - -
-   - - -

- -

-Definition at line 55 of file ui_handler.php.

-

- - - - -
- - - - -
case addSubj2Group
-
- - - - - -
-   - - -

- -

-Definition at line 63 of file ui_handler.php. -

-Referenced by uiBrowser::getSubj2GroupForm().

-

- - - - -
- - - - -
case addUser
-
- - - - - -
-   - - -

- -

-Definition at line 39 of file ui_handler.php.

-

- - - - -
- - - - -
break
-
- - - - - -
-   - - -

- -

-Definition at line 72 of file ui_handler.php.

-

- - - - -
- - - - -
case changePasswd
-
- - - - - -
-   - - -

- -

-Definition at line 51 of file ui_handler.php. -

-Referenced by uiBrowser::getChangePasswdForm().

-

- - - - -
- - - - -
case copy
-
- - - - - -
-   - - -

- -

-Definition at line 31 of file ui_handler.php.

-

- - - - -
- - - - -
case delete
-
- - - - - -
-   - - -

- -

-Definition at line 35 of file ui_handler.php.

-

- - - - -
- - - - -
case uiHandler id
-
- - - - - -
-   - - -

- -

-Definition at line 55 of file ui_handler.php.

-

- - - - -
- - - - -
case logout
-
- - - - - -
-   - - -

- -

-Definition at line 10 of file ui_handler.php.

-

- - - - -
- - - - -
case move
-
- - - - - -
-   - - -

- -

-Definition at line 27 of file ui_handler.php.

-

- - - - -
- - - - -
case newFolder
-
- - - - - -
-   - - -

- -

-Definition at line 19 of file ui_handler.php.

-

- - - - -
- - - - -
case removePerm
-
- - - - - -
-   - - -

- -

-Definition at line 59 of file ui_handler.php.

-

- - - - -
- - - - -
case removeSubj
-
- - - - - -
-   - - -

- -

-Definition at line 47 of file ui_handler.php.

-

- - - - -
- - - - -
case removeSubjFromGr
-
- - - - - -
-   - - -

- -

-Definition at line 67 of file ui_handler.php.

-

- - - - -
- - - - -
case rename
-
- - - - - -
-   - - -

- -

-Definition at line 23 of file ui_handler.php.

-

- - - - -
- - - - -
case systemPrefs
-
- - - - - -
-   - - -

- -

-Definition at line 71 of file ui_handler.php.

-

- - - - -
- - - - -
case upload
-
- - - - - -
-   - - -

- -

-Definition at line 15 of file ui_handler.php.

-


Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler__init_8php-source.html b/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler__init_8php-source.html deleted file mode 100644 index 9f4de0b30..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler__init_8php-source.html +++ /dev/null @@ -1,35 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: ui_handler_init.php Source File - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

ui_handler_init.php

Go to the documentation of this file.
00001 <?php
-00002 session_start();
-00003 require_once dirname(__FILE__).'/conf.php';
-00004 require_once dirname(__FILE__).'/ui_fmask.inc.php';
-00005 
-00006 // LS classes/functions
-00007 require_once dirname(__FILE__).'/../../storageServer/var/GreenBox.php';
-00008 require_once dirname(__FILE__).'/ui_base.inc.php';
-00009 require_once dirname(__FILE__).'/ui_handler.class.php';
-00010 
-00011 // well known classes
-00012 require_once 'DB.php';
-00013 require_once 'HTML/QuickForm.php';
-00014 
-00015 #PEAR::setErrorHandling(PEAR_ERROR_TRIGGER, E_USER_WARNING);
-00016 #PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'errCallBack');
-00017 PEAR::setErrorHandling(PEAR_ERROR_RETURN);
-00018 #PEAR::setErrorHandling(PEAR_ERROR_PRINT);
-00019 
-00020 $uiHandler = new uiHandler($config);
-00021 ?>
-

Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler__init_8php.html b/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler__init_8php.html deleted file mode 100644 index ae3d17e97..000000000 --- a/livesupport/modules/htmlUI/doc/doxygen/html/ui__handler__init_8php.html +++ /dev/null @@ -1,48 +0,0 @@ - - -LiveSupport&nbsp;-&nbsp;htmlUI&nbsp;module: ui_handler_init.php File Reference - - - -
Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
- -

ui_handler_init.php File Reference

-

-Go to the source code of this file. - - - - -

Variables

 $uiHandler = new uiHandler($config)
-


Variable Documentation

-

- - - - -
- - - - -
$uiHandler = new uiHandler($config)
-
- - - - - -
-   - - -

- -

-Definition at line 20 of file ui_handler_init.php.

-


Generated on Wed Jan 12 16:22:49 2005 for LiveSupport - htmlUI module by  - -doxygen 1.4.0
- - diff --git a/livesupport/modules/htmlUI/var/Smarty-2.6.6.tar.gz b/livesupport/modules/htmlUI/var/Smarty-2.6.6.tar.gz deleted file mode 100644 index e59e81e7f..000000000 Binary files a/livesupport/modules/htmlUI/var/Smarty-2.6.6.tar.gz and /dev/null differ