Bug 6262 solved.
Corrected some duplicate lines at users list file.
This commit is contained in:
@@ -230,6 +230,10 @@ switch ($_POST['action'])
|
||||
$oDataset->setFetchmode(ResultSet::FETCHMODE_ASSOC);
|
||||
|
||||
$rows = Array();
|
||||
unset($first);
|
||||
$first['USR_UID'] = '';
|
||||
$first['USR_VALUE'] = G::LoadTranslation('ID_NO_MANAGER_SELECTED');
|
||||
$rows[] = $first;
|
||||
|
||||
$conf = new Configurations();
|
||||
|
||||
|
||||
@@ -57,18 +57,12 @@ $G_PUBLISH = new Publisher;
|
||||
G::LoadClass('configuration');
|
||||
$c = new Configurations();
|
||||
$configPage = $c->getConfiguration('usersList', 'pageSize','',$_SESSION['USER_LOGGED']);
|
||||
$configEnv = $c->getConfiguration('ENVIRONMENT_SETTINGS', '');
|
||||
$Config['pageSize'] = isset($configPage['pageSize']) ? $configPage['pageSize'] : 20;
|
||||
$Config['fullNameFormat'] = isset($configEnv['format']) ? $configEnv['format'] : '@userName';
|
||||
$Config['dateFormat'] = isset($configEnv['dateFormat']) ? $configEnv['dateFormat'] : 'Y/m/d';
|
||||
|
||||
$oHeadPublisher =& headPublisher::getSingleton();
|
||||
$oHeadPublisher->addExtJsScript('users/usersList', false); //adding a javascript file .js
|
||||
$oHeadPublisher->addContent('users/usersList'); //adding a html file .html.
|
||||
$oHeadPublisher->assign('CONFIG', $Config);
|
||||
|
||||
G::LoadClass('configuration');
|
||||
$c = new Configurations();
|
||||
$oHeadPublisher->assign('FORMATS',$c->getFormats());
|
||||
|
||||
G::RenderPage('publish', 'extJs');
|
||||
Reference in New Issue
Block a user