fixed typos
This commit is contained in:
parent
72e1edc5b4
commit
e201982ce1
|
@ -918,10 +918,7 @@ class accountContainer {
|
||||||
}
|
}
|
||||||
// Write HTML-Code
|
// Write HTML-Code
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo "<title>";
|
echo "<title>LDAP Account Manager</title>\n";
|
||||||
if ($this->dn_orig!='') echo _("Modify Account");
|
|
||||||
else echo _("Create new Account");
|
|
||||||
echo "</title>\n";
|
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/layout.css\">\n";
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/type_" . $this->type . ".css\">\n";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../style/type_" . $this->type . ".css\">\n";
|
||||||
echo "</head><body>\n";
|
echo "</head><body>\n";
|
||||||
|
@ -1072,8 +1069,8 @@ class accountContainer {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
$return[] = array(0 => array('kind' => 'text', 'text' => ' ')); // empty line
|
$return[] = array(0 => array('kind' => 'text', 'text' => ' ')); // empty line
|
||||||
if ($this->dn_orig!='') $text = _('Modify Account');
|
if ($this->dn_orig!='') $text = _('Modify account');
|
||||||
else $text = _('Create Account');
|
else $text = _('Create account');
|
||||||
$return[] = array ( 0 => array ( 'kind' => 'text', 'text' => $text ),
|
$return[] = array ( 0 => array ( 'kind' => 'text', 'text' => $text ),
|
||||||
1 => array ( 'kind' => 'input', 'type' => 'submit', 'name' => 'create', 'value' => $text, 'disabled' => $disabled),
|
1 => array ( 'kind' => 'input', 'type' => 'submit', 'name' => 'create', 'value' => $text, 'disabled' => $disabled),
|
||||||
2 => array ('kind' => 'help', 'value' => '402'));
|
2 => array ('kind' => 'help', 'value' => '402'));
|
||||||
|
|
|
@ -45,11 +45,11 @@ class sambaAccount extends baseModule {
|
||||||
function sambaAccount($scope) {
|
function sambaAccount($scope) {
|
||||||
// List of well known rids
|
// List of well known rids
|
||||||
$this->rids = array(
|
$this->rids = array(
|
||||||
_('Domain Admins') => 512, _('Domain Users') => 513,
|
_('Domain admins') => 512, _('Domain users') => 513,
|
||||||
_('Domain Guests') => 514, _('Domain Computers') => 515,
|
_('Domain guests') => 514, _('Domain computers') => 515,
|
||||||
_('Domain Controllers') => 516, _('Domain Certificate Admins') => 517,
|
_('Domain controllers') => 516, _('Domain certificate admins') => 517,
|
||||||
_('Domain Schema Admins') => 518, _('Domain Enterprise Admins') => 519,
|
_('Domain schema admins') => 518, _('Domain enterprise admins') => 519,
|
||||||
_('Domain Policy Admins') => 520 );
|
_('Domain policy admins') => 520 );
|
||||||
// call parent constructor
|
// call parent constructor
|
||||||
parent::baseModule($scope);
|
parent::baseModule($scope);
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,24 +52,24 @@ class sambaGroupMapping extends baseModule {
|
||||||
function sambaGroupMapping($scope) {
|
function sambaGroupMapping($scope) {
|
||||||
// load error messages
|
// load error messages
|
||||||
$this->rids = array(
|
$this->rids = array(
|
||||||
_('Domain Admins') => 512,
|
_('Domain admins') => 512,
|
||||||
_('Domain Users') => 513,
|
_('Domain users') => 513,
|
||||||
_('Domain Guests') => 514,
|
_('Domain guests') => 514,
|
||||||
_('Domain Computers') => 515,
|
_('Domain computers') => 515,
|
||||||
_('Domain Controllers') => 516,
|
_('Domain controllers') => 516,
|
||||||
_('Domain Certificate Admins') => 517,
|
_('Domain certificate admins') => 517,
|
||||||
_('Domain Schema Admins') => 518,
|
_('Domain schema admins') => 518,
|
||||||
_('Domain Enterprise Admins') => 519,
|
_('Domain enterprise admins') => 519,
|
||||||
_('Domain Policy Admins') => 520);
|
_('Domain policy admins') => 520);
|
||||||
|
|
||||||
$this->sambaGroupTypes = array (
|
$this->sambaGroupTypes = array (
|
||||||
_('User') => 1,
|
_('User') => 1,
|
||||||
_('Domain Group') => 2,
|
_('Domain group') => 2,
|
||||||
_('Domain') => 3,
|
_('Domain') => 3,
|
||||||
_('Local Group') => 4,
|
_('Local group') => 4,
|
||||||
_('Builtin Group') => 5,
|
_('Builtin group') => 5,
|
||||||
_('Deleted Account') => 6,
|
_('Deleted account') => 6,
|
||||||
_('Invalid Account') => 7
|
_('Invalid account') => 7
|
||||||
);
|
);
|
||||||
// call parent constructor
|
// call parent constructor
|
||||||
parent::baseModule($scope);
|
parent::baseModule($scope);
|
||||||
|
|
|
@ -62,9 +62,9 @@ class sambaSamAccount extends baseModule {
|
||||||
function sambaSamAccount($scope) {
|
function sambaSamAccount($scope) {
|
||||||
// List of well known rids
|
// List of well known rids
|
||||||
$this->rids = array(
|
$this->rids = array(
|
||||||
_('Domain Admins') => 512, _('Domain Users') => 513, _('Domain Guests') => 514,
|
_('Domain admins') => 512, _('Domain users') => 513, _('Domain guests') => 514,
|
||||||
_('Domain Computers') => 515, _('Domain Controllers') => 516, _('Domain Certificate Admins') => 517,
|
_('Domain computers') => 515, _('Domain controllers') => 516, _('Domain certificate admins') => 517,
|
||||||
_('Domain Schema Admins') => 518, _('Domain Enterprise Admins') => 519, _('Domain Policy Admins') => 520);
|
_('Domain schema admins') => 518, _('Domain enterprise admins') => 519, _('Domain policy admins') => 520);
|
||||||
// call parent constructor
|
// call parent constructor
|
||||||
parent::baseModule($scope);
|
parent::baseModule($scope);
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,9 +71,7 @@ if ($_GET['type']) {
|
||||||
$_SESSION['account'] = new accountContainer($_GET['type'], 'account');
|
$_SESSION['account'] = new accountContainer($_GET['type'], 'account');
|
||||||
// Show HTML Page
|
// Show HTML Page
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo "<title>";
|
echo "<title>LDAP Account Manager</title>\n";
|
||||||
echo _("Delete Account");
|
|
||||||
echo "</title>\n";
|
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
|
||||||
echo "</head><body>\n";
|
echo "</head><body>\n";
|
||||||
echo "<form action=\"delete.php\" method=\"post\">\n";
|
echo "<form action=\"delete.php\" method=\"post\">\n";
|
||||||
|
@ -124,9 +122,7 @@ if ($_POST['cancel']) {
|
||||||
if ($_POST['delete']) {
|
if ($_POST['delete']) {
|
||||||
// Show HTML Page
|
// Show HTML Page
|
||||||
echo $_SESSION['header'];
|
echo $_SESSION['header'];
|
||||||
echo "<title>";
|
echo "<title>LDAP Account Manager</title>\n";
|
||||||
echo _("Delete Account");
|
|
||||||
echo "</title>\n";
|
|
||||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
|
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
|
||||||
echo "</head><body>\n";
|
echo "</head><body>\n";
|
||||||
echo "<form action=\"delete.php\" method=\"post\">\n";
|
echo "<form action=\"delete.php\" method=\"post\">\n";
|
||||||
|
|
Loading…
Reference in New Issue