Variables | |
$strPathInDcmms = '../' | |
$dcmPage = new DcmPage(basename(__FILE__)) | |
$dcmPage | strPathInDcmms = '../' |
$arrQuery = array() | |
$query | |
$result = pg_exec($query) | |
$arrResult = array() | |
alter group dcmmsuser add user | $_POST ["UserName"] |
$strInsertToTable | |
$objResult = pg_query($strCreate) | |
$strMessage | |
case | edit_user |
case | update_user |
case | toggle_administrator |
case | remove_user |
case | __pad1__ |
$strToggleLandmarkEditor | |
$objResult = pg_query($strToggleLandmarkEditor) | |
$strMessage | |
$arrAdminIDs | |
$params ['totalItems'] = count($arrUserIDs) | |
$params ['perPage'] = 10 | |
$params ['nextImg'] = _('Next >>') | |
$params ['prevImg'] = _('<< Back') | |
$pager = & Pager::factory($params) | |
$data = $pager->getPageData() | |
$links = $pager->getLinks() | |
$strQuery | |
$arrActions | |
$arrHelp | |
$result = pg_exec($strQuery) | |
$numFields = pg_numfields($result) | |
$numActions = count($arrActions) | |
$arrActions |
|
Initial value: _("Create user") ?>" title="<?= _('Click this button to create the new user.') ?>" /></td></tr> </table> </form><?php $dcmPage->footer("$Date: 2006-06-17 14:56:24 +0200 (Sat, 17 Jun 2006) $Empty"); exit(); break; case "create_user" : if((array_key_exists("UserName", $_POST))&& (array_key_exists("Password", $_POST))&& (array_key_exists("AdministrativeArea", $_POST) && ($_POST["Password"] != "")&&($_POST["UserName"] != "")&& (is_numeric($_POST["AdministrativeArea"])))) { $strCreate = "create user ".$_POST["UserName"]." password '". $_POST["Password"]."' |
|
Initial value: _("Administrator") ?></th> <?php if($numActions > 0) { echo("<th>"._("Action")."</th>"); }?> </tr><?php $arrActionKeys = array_keys($arrActions) array_values($arrActions) |
|
Initial value: array( _("Edit") => "user_management.php?action=edit_user&user_name=", _("Toggle Administrator") => "user_management.php?action=toggle_administrator&user_name=", _("Remove") => "user_management.php?action=remove_user&user_name=", _('Toggle Landmark Editor') => 'user_management.php?action=toggle_landmarkeditor&user_name=') |
|
Initial value: $strMessage ?></p> <?php } ?> <p><a href="user_management.php?PHPSESSID=<?= session_id() ?>&action=add_user&pageID=<?= isset($_REQUEST['pageID']) ? $_REQUEST['pageID'] : '1' ?>" title="<?= _("Create a new DCMMS user.")?>"><?= _("Add User") ?></a></p><?php $arrUserIDs = pg_get_group_array("dcmmsuser") pg_get_group_array("dcmmsadministrator") |
|
Initial value: array( _("Edit") => _("Edit DCMMS user attributes."), _("Toggle Administrator") => _("Make the user a DCMMS administrator and vice versa."), _("Remove") => _("Delete a DCMMS user."), _('Toggle Landmark Editor') => _('Make the user a landmark editor and vice versa.')) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: 'select codedvalue, '.pg_localize('name', 'administrativearea').' from administrativearea' |
|
|
|
|
|
Initial value: "insert into dcmmsuser values ('".$_POST["UserName"]. "',".$_POST["AdministrativeArea"].',false)' |
|
Initial value: sprintf( _('Successfully changed the landmark editor role of user "%s".'), $_REQUEST['user_name']) |
|
Initial value: sprintf( _("Successfully created user '%s'."), $_POST["UserName"]) |
|
|
|
Initial value: "select usename as username, usename as username,usename,usename as username,usename as". " username, coalesce(".pg_localize('name', 'AdministrativeArea'). ", '')as AdministrativeArea, IsLandmarkEditor as LandmarkEditor from ". "pg_user,DcmmsUser left outer join AdministrativeArea on AdministrativeArea.CodedValue = DcmmsUser.AdministrativeArea where ". "usename=DcmmsUser.Name and ". " (" |
|
Initial value: 'update DcmmsUser set IsLandmarkEditor = not
IsLandmarkEditor where Name = \''.
$_REQUEST['user_name'].'\''
|
|
|
|
|
|
|
|
|
|
|
|
|