parent
6bfc0fa071
commit
7578b1bbf8
|
@ -143,7 +143,8 @@ $helpArray = array (
|
||||||
Warning: Older systems have problems with usernames longer than 8 characters. You can't log in to Windows if username is longer than 16
|
Warning: Older systems have problems with usernames longer than 8 characters. You can't log in to Windows if username is longer than 16
|
||||||
characters.")),
|
characters.")),
|
||||||
"401" => array ("ext" => "FALSE", "Headline" => _("UID number"),
|
"401" => array ("ext" => "FALSE", "Headline" => _("UID number"),
|
||||||
"Text" => _("If empty UID number will be generated automaticly. Valid values are between").' '.$_SESSION['config']->get_minUID().' '._("and").' '.$_SESSION['config']->get_maxUID()."."),
|
"Text" => _("If empty UID number will be generated automaticly. Valid values are between %s and %s."),
|
||||||
|
"variables" => array($_SESSION['config']->get_minUID(), $_SESSION['config']->get_maxUID())),
|
||||||
"402" => array ("ext" => "FALSE", "Headline" => _("Additional groups"),
|
"402" => array ("ext" => "FALSE", "Headline" => _("Additional groups"),
|
||||||
"Text" => _("Hold the CTRL-key to (de)select multiple groups."). ' '. _("Can be left empty.")),
|
"Text" => _("Hold the CTRL-key to (de)select multiple groups."). ' '. _("Can be left empty.")),
|
||||||
"403" => array ("ext" => "FALSE", "Headline" => _("Home directory"),
|
"403" => array ("ext" => "FALSE", "Headline" => _("Home directory"),
|
||||||
|
@ -159,7 +160,8 @@ $helpArray = array (
|
||||||
character because groupadd also does not allow it. Lam doesn't allow capital letters A-Z because it
|
character because groupadd also does not allow it. Lam doesn't allow capital letters A-Z because it
|
||||||
can cause several problems. If groupname is allready used username will expanded with a number. The next free number will be used.")),
|
can cause several problems. If groupname is allready used username will expanded with a number. The next free number will be used.")),
|
||||||
"408" => array ("ext" => "FALSE", "Headline" => _("GID number"),
|
"408" => array ("ext" => "FALSE", "Headline" => _("GID number"),
|
||||||
"Text" => _("If empty GID number will be generated automaticly. Valid values are between").' '.$_SESSION['config']->get_minGID().' '._("and").' '.$_SESSION['config']->get_maxGID()."."),
|
"Text" => _("If empty GID number will be generated automaticly. Valid values are between %s and %s."),
|
||||||
|
"variables" => array($_SESSION['config']->get_minGID(), $_SESSION['config']->get_maxGID())),
|
||||||
"409" => array ("ext" => "FALSE", "Headline" => _("Gecos"),
|
"409" => array ("ext" => "FALSE", "Headline" => _("Gecos"),
|
||||||
"Text" => _("Group description. If left empty group name will be used.")),
|
"Text" => _("Group description. If left empty group name will be used.")),
|
||||||
"410" => array ("ext" => "FALSE", "Headline" => _("Host name"),
|
"410" => array ("ext" => "FALSE", "Headline" => _("Host name"),
|
||||||
|
@ -167,7 +169,8 @@ $helpArray = array (
|
||||||
character because useradd also does not allow it. Lam doesn't allow capital letters A-Z because it
|
character because useradd also does not allow it. Lam doesn't allow capital letters A-Z because it
|
||||||
can cause several problems. Hostnames are always ending with $. If last character isn't $ it will be added. If hostname is allready used username will expanded with a number. The next free number will be used.")),
|
can cause several problems. Hostnames are always ending with $. If last character isn't $ it will be added. If hostname is allready used username will expanded with a number. The next free number will be used.")),
|
||||||
"411" => array ("ext" => "FALSE", "Headline" => _("UID number"),
|
"411" => array ("ext" => "FALSE", "Headline" => _("UID number"),
|
||||||
"Text" => _("If empty UID number will be generated automaticly. Valid values are between").' '.$_SESSION['config']->get_minMachine().' '._("and").' '.$_SESSION['config']->get_maxMachine()."."),
|
"Text" => _("If empty UID number will be generated automaticly. Valid values are between %s and %s."),
|
||||||
|
"variables" => array($_SESSION['config']->get_minMachine(), $_SESSION['config']->get_maxMachine())),
|
||||||
"412" => array ("ext" => "FALSE", "Headline" => _("Primary group"),
|
"412" => array ("ext" => "FALSE", "Headline" => _("Primary group"),
|
||||||
"Text" => _("The Primary group the host should be member of.")),
|
"Text" => _("The Primary group the host should be member of.")),
|
||||||
"413" => array ("ext" => "FALSE", "Headline" => _("Gecos"),
|
"413" => array ("ext" => "FALSE", "Headline" => _("Gecos"),
|
||||||
|
|
|
@ -212,7 +212,6 @@ function getquotas($type,$user='+') {
|
||||||
* scriptPath is Path to lamdaemon.pl on remote system
|
* scriptPath is Path to lamdaemon.pl on remote system
|
||||||
*/
|
*/
|
||||||
exec("perl ".escapeshellarg($_SESSION['lampath']."lib/lamdaemon.pl")." ".escapeshellarg($_SESSION['config']->scriptServer)." ".escapeshellarg($_SESSION['config']->scriptPath)." ".$towrite, $vals, $status);
|
exec("perl ".escapeshellarg($_SESSION['lampath']."lib/lamdaemon.pl")." ".escapeshellarg($_SESSION['config']->scriptServer)." ".escapeshellarg($_SESSION['config']->scriptPath)." ".$towrite, $vals, $status);
|
||||||
print("perl ".escapeshellarg($_SESSION['lampath']."lib/lamdaemon.pl")." ".escapeshellarg($_SESSION['config']->scriptServer)." ".escapeshellarg($_SESSION['config']->scriptPath)." ".$towrite);
|
|
||||||
/* $vals is a string which contains a two dimensional array.
|
/* $vals is a string which contains a two dimensional array.
|
||||||
* We have to recreate it with explode
|
* We have to recreate it with explode
|
||||||
*
|
*
|
||||||
|
|
|
@ -857,7 +857,7 @@ switch ($select_local) {
|
||||||
case 'finish':
|
case 'finish':
|
||||||
// Final Settings
|
// Final Settings
|
||||||
echo '<input name="select" type="hidden" value="finish">';
|
echo '<input name="select" type="hidden" value="finish">';
|
||||||
echo "<fieldset class=\"groupedit-bright\"><legend class=\"groupedit-bright\"><b>"._('Success')."</b></legend>\n";
|
echo "<fieldset class=\"groupedit-bright\"><legend class=\"groupedit-bright\"><b>"._('Note')."</b></legend>\n";
|
||||||
echo "<table border=0 width=\"100%\">";
|
echo "<table border=0 width=\"100%\">";
|
||||||
echo '<tr><td>';
|
echo '<tr><td>';
|
||||||
echo _('Group').' ';
|
echo _('Group').' ';
|
||||||
|
|
|
@ -449,7 +449,7 @@ switch ($select_local) {
|
||||||
case 'finish':
|
case 'finish':
|
||||||
// Final Settings
|
// Final Settings
|
||||||
echo '<input name="select" type="hidden" value="finish">';
|
echo '<input name="select" type="hidden" value="finish">';
|
||||||
echo "<fieldset class=\"hostedit-bright\"><legend class=\"hostedit-bright\"><b>"._('Success')."</b></legend>\n";
|
echo "<fieldset class=\"hostedit-bright\"><legend class=\"hostedit-bright\"><b>"._('Note')."</b></legend>\n";
|
||||||
echo "<table border=0 width=\"100%\"><tr><td>";
|
echo "<table border=0 width=\"100%\"><tr><td>";
|
||||||
echo '<tr><td>';
|
echo '<tr><td>';
|
||||||
echo _('Host');
|
echo _('Host');
|
||||||
|
|
|
@ -1551,7 +1551,7 @@ switch ($select_local) {
|
||||||
case 'finish':
|
case 'finish':
|
||||||
// Final Settings
|
// Final Settings
|
||||||
echo '<input name="select" type="hidden" value="finish">';
|
echo '<input name="select" type="hidden" value="finish">';
|
||||||
echo "<fieldset class=\"groupedit-bright\"><legend class=\"useredit-bright\"><b>"._('Success')."</b></legend>\n";
|
echo "<fieldset class=\"groupedit-bright\"><legend class=\"useredit-bright\"><b>"._('Note')."</b></legend>\n";
|
||||||
echo "<table border=0 width=\"100%\"><tr><td>";
|
echo "<table border=0 width=\"100%\"><tr><td>";
|
||||||
echo '<tr><td>';
|
echo '<tr><td>';
|
||||||
echo _('User ');
|
echo _('User ');
|
||||||
|
|
Loading…
Reference in New Issue