fixed typos

This commit is contained in:
Roland Gruber 2006-10-22 07:45:58 +00:00
parent 72e1edc5b4
commit e201982ce1
5 changed files with 27 additions and 34 deletions

View File

@ -918,10 +918,7 @@ class accountContainer {
}
// Write HTML-Code
echo $_SESSION['header'];
echo "<title>";
if ($this->dn_orig!='') echo _("Modify Account");
else echo _("Create new Account");
echo "</title>\n";
echo "<title>LDAP Account Manager</title>\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 "</head><body>\n";
@ -1072,8 +1069,8 @@ class accountContainer {
);
}
$return[] = array(0 => array('kind' => 'text', 'text' => '&nbsp;')); // empty line
if ($this->dn_orig!='') $text = _('Modify Account');
else $text = _('Create Account');
if ($this->dn_orig!='') $text = _('Modify account');
else $text = _('Create account');
$return[] = array ( 0 => array ( 'kind' => 'text', 'text' => $text ),
1 => array ( 'kind' => 'input', 'type' => 'submit', 'name' => 'create', 'value' => $text, 'disabled' => $disabled),
2 => array ('kind' => 'help', 'value' => '402'));

View File

@ -45,11 +45,11 @@ class sambaAccount extends baseModule {
function sambaAccount($scope) {
// List of well known rids
$this->rids = array(
_('Domain Admins') => 512, _('Domain Users') => 513,
_('Domain Guests') => 514, _('Domain Computers') => 515,
_('Domain Controllers') => 516, _('Domain Certificate Admins') => 517,
_('Domain Schema Admins') => 518, _('Domain Enterprise Admins') => 519,
_('Domain Policy Admins') => 520 );
_('Domain admins') => 512, _('Domain users') => 513,
_('Domain guests') => 514, _('Domain computers') => 515,
_('Domain controllers') => 516, _('Domain certificate admins') => 517,
_('Domain schema admins') => 518, _('Domain enterprise admins') => 519,
_('Domain policy admins') => 520 );
// call parent constructor
parent::baseModule($scope);
}

View File

@ -52,24 +52,24 @@ class sambaGroupMapping extends baseModule {
function sambaGroupMapping($scope) {
// load error messages
$this->rids = array(
_('Domain Admins') => 512,
_('Domain Users') => 513,
_('Domain Guests') => 514,
_('Domain Computers') => 515,
_('Domain Controllers') => 516,
_('Domain Certificate Admins') => 517,
_('Domain Schema Admins') => 518,
_('Domain Enterprise Admins') => 519,
_('Domain Policy Admins') => 520);
_('Domain admins') => 512,
_('Domain users') => 513,
_('Domain guests') => 514,
_('Domain computers') => 515,
_('Domain controllers') => 516,
_('Domain certificate admins') => 517,
_('Domain schema admins') => 518,
_('Domain enterprise admins') => 519,
_('Domain policy admins') => 520);
$this->sambaGroupTypes = array (
_('User') => 1,
_('Domain Group') => 2,
_('Domain group') => 2,
_('Domain') => 3,
_('Local Group') => 4,
_('Builtin Group') => 5,
_('Deleted Account') => 6,
_('Invalid Account') => 7
_('Local group') => 4,
_('Builtin group') => 5,
_('Deleted account') => 6,
_('Invalid account') => 7
);
// call parent constructor
parent::baseModule($scope);

View File

@ -62,9 +62,9 @@ class sambaSamAccount extends baseModule {
function sambaSamAccount($scope) {
// List of well known rids
$this->rids = array(
_('Domain Admins') => 512, _('Domain Users') => 513, _('Domain Guests') => 514,
_('Domain Computers') => 515, _('Domain Controllers') => 516, _('Domain Certificate Admins') => 517,
_('Domain Schema Admins') => 518, _('Domain Enterprise Admins') => 519, _('Domain Policy Admins') => 520);
_('Domain admins') => 512, _('Domain users') => 513, _('Domain guests') => 514,
_('Domain computers') => 515, _('Domain controllers') => 516, _('Domain certificate admins') => 517,
_('Domain schema admins') => 518, _('Domain enterprise admins') => 519, _('Domain policy admins') => 520);
// call parent constructor
parent::baseModule($scope);
}

View File

@ -71,9 +71,7 @@ if ($_GET['type']) {
$_SESSION['account'] = new accountContainer($_GET['type'], 'account');
// Show HTML Page
echo $_SESSION['header'];
echo "<title>";
echo _("Delete Account");
echo "</title>\n";
echo "<title>LDAP Account Manager</title>\n";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
echo "</head><body>\n";
echo "<form action=\"delete.php\" method=\"post\">\n";
@ -124,9 +122,7 @@ if ($_POST['cancel']) {
if ($_POST['delete']) {
// Show HTML Page
echo $_SESSION['header'];
echo "<title>";
echo _("Delete Account");
echo "</title>\n";
echo "<title>LDAP Account Manager</title>\n";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n";
echo "</head><body>\n";
echo "<form action=\"delete.php\" method=\"post\">\n";