diff --git a/lam/templates/account/groupedit.php b/lam/templates/account/groupedit.php index 508497bf..3f96fa6b 100644 --- a/lam/templates/account/groupedit.php +++ b/lam/templates/account/groupedit.php @@ -227,10 +227,11 @@ do { // X-Or, only one if() can be true echo "\n"; echo "
\n"; -//echo "\n"; -//if (is_array($errors)) -// for ($i=0; $i\n"; + for ($i=0; $i"; + } // print_r($_SESSION['account']); switch ($select_local) { // Select which part of page will be loaded @@ -245,12 +246,22 @@ switch ($select_local) { // Select which part of page will be loaded case 'groupmembers': ldapreload('user'); echo "\n"; + echo "
\n\n\n\n
"; + echo "
"; + echo _('Please select page:'); + echo "\n"; + echo "\n
"; + echo "\n
"; + echo "\n
"; + echo "scriptPath)) echo " disabled "; + echo "value=\""; echo _('Quota'); echo "\">\n
"; + echo "
"; echo "
". _('Additional group members') . "\n"; echo "\n"; - echo "\n"; @@ -265,19 +276,7 @@ switch ($select_local) { // Select which part of page will be loaded if (is_array($temp)) { echo " \n"; } - echo "\n\n
"; + echo "
"; echo _('Group members'); echo "
\n
\n"; - echo "\n\n"; - echo "\n"; - echo ""; - echo "\n"; - echo ""; - echo "\n"; - echo ""; - echo "\n"; - echo ""; - echo "\n"; - echo "\n
1. ==>2. "; echo _('Members'); echo "==>3. ==>4. ==>5.
\n"; - + echo "
\n\n\n\n"; break; case 'general': @@ -285,7 +284,17 @@ switch ($select_local) { // Select which part of page will be loaded // load list of profiles $profilelist = getGroupProfiles(); // Show page info - echo "\n"; + echo "\n\n\n
"; + echo "
"; + echo _('Please select page:'); + echo "\n"; + echo "\n
"; + echo "\n
"; + echo "\n
"; + echo "scriptPath)) echo " disabled "; + echo "value=\""; echo _('Quota'); echo "\">\n
"; + echo "
"; echo "
"; echo _("General properties"); echo "\n\n\n\n\n\n
"; @@ -313,25 +322,17 @@ switch ($select_local) { // Select which part of page will be loaded echo ""._('Help'). "
"; echo _('Values with * are required'); - echo "
\n"; - echo "
"; - echo _("Load profile"); - echo "\n\n\n\n\n
"; - echo "\n". - "
\n
\n"; - echo "\n\n"; - echo "\n"; - echo ""; - echo "\n"; - echo ""; - echo "\n"; - echo ""; - echo "\n"; - echo ""; - echo "\n"; + echo "\n
1. "; echo _('General'); echo "==>2. ==>3. ==>4. ==>5.
"; + if (count($profilelist)!=0) { + echo "
"; + echo _("Load profile"); + echo "\n\n\n\n\n
"; + echo "\n". + "
\n
\n"; + } echo "
\n"; break; @@ -339,6 +340,17 @@ switch ($select_local) { // Select which part of page will be loaded // Samba Settings if ($_SESSION['config']->samba3 == 'yes') $samba3domains = $_SESSION['ldap']->search_domains($_SESSION[config]->get_domainSuffix()); echo "\n"; + echo "\n\n
"; + echo "
"; + echo _('Please select page:'); + echo "\n"; + echo "\n
"; + echo "\n
"; + echo "\n
"; + echo "scriptPath)) echo " disabled "; + echo "value=\""; echo _('Quota'); echo "\">\n
"; + echo "
"; echo "
"._('Samba properties')."\n"; echo "'."\n".''."\n"; - echo "
"; echo _('Windows groupname'); @@ -394,22 +406,22 @@ switch ($select_local) { // Select which part of page will be loaded else echo ''; } echo ''._('Help').'
\n
\n"; - echo "\n\n"; - echo "\n"; - echo ""; - echo "\n"; - echo ""; - echo "\n"; - echo ""; - echo "\n"; - echo ""; - echo "\n"; - echo "\n
2. ==>2. ==>3. "; echo _('Samba'); echo "==>4. ==>5.
\n"; + echo "
\n\n\n\n"; break; case 'quota': // Quota Settings + echo "\n"; + echo "\n\n
"; + echo "
"; + echo _('Please select page:'); + echo "\n"; + echo "\n
"; + echo "\n
"; + echo "\n
"; + echo "\n
"; + echo "
"; echo ''; echo "
"._('Quota properties')."\n"; echo "'; // inodes grace period $i++; } - echo "
"; @@ -434,23 +446,24 @@ switch ($select_local) { // Select which part of page will be loaded echo ''.$_SESSION['account']->quota[$i][8].'
\n
\n"; - echo "\n\n"; - echo "\n"; - echo ""; - echo "\n"; - echo ""; - echo "\n"; - echo ""; - echo "\n"; - echo ""; - echo "\n"; - echo "\n
2. ==>2. ==>3. ==>4. "; echo _('Quota'); echo "==>5.
\n"; + echo "
\n\n\n\n"; break; case 'final': // Final Settings echo ''; + echo "\n"; + echo "\n\n'."\n"; - echo "
"; + echo "
"; + echo _('Please select page:'); + echo "\n"; + echo "\n
"; + echo "\n
"; + echo "\n
"; + echo "scriptPath)) echo " disabled "; + echo "value=\""; echo _('Quota'); echo "\">\n
"; + echo "
"; echo "
"; if ($_SESSION['account_old']) echo _('Modify'); else echo _('Create'); @@ -493,18 +506,7 @@ switch ($select_local) { // Select which part of page will be loaded else echo _('Create Account'); echo '">'. '
\n\n"; - echo "\n\n"; - echo "\n"; - echo ""; - echo "\n"; - echo ""; - echo "\n"; - echo ""; - echo "\n"; - echo ""; - echo "\n"; - echo "\n
2. ==>2. ==>3. ==>4. ==>5. "; echo _('Final'); echo "
\n"; + echo "\n\n\n\n"; break; case 'finish':