Beispiel #1
0
     echo "      </td>\n";
     echo "    </tr>\n";
     echo "  </table>\n";
     echo "  <br />\n";
 }
 echo "  <table cellpadding=\"0\" cellspacing=\"0\" width=\"600\">\n";
 echo "    <tr>\n";
 echo "      <td align=\"left\">\n";
 echo "        <table class=\"box\" width=\"100%\">\n";
 echo "          <tr>\n";
 echo "            <td align=\"left\" class=\"posthead\">\n";
 echo "              <table class=\"posthead\" width=\"100%\">\n";
 echo "                <tr>\n";
 echo "                  <td align=\"left\" class=\"subhead\" colspan=\"1\">", gettext("User Groups"), "</td>\n";
 echo "                </tr>\n";
 if ($user_groups_array = perm_user_get_groups($uid)) {
     echo "                <tr>\n";
     echo "                  <td align=\"center\">\n";
     echo "                    <table width=\"90%\">\n";
     echo "                      <tr>\n";
     echo "                        <td align=\"left\">", gettext("This user is a member of the following groups"), ":</td>\n";
     echo "                      </tr>\n";
     echo "                      <tr>\n";
     echo "                        <td align=\"left\">&nbsp;</td>\n";
     echo "                      </tr>\n";
     echo "                    </table>\n";
     echo "                    <table class=\"box\" width=\"90%\">\n";
     echo "                      <tr>\n";
     echo "                        <td align=\"left\" class=\"posthead\">\n";
     echo "                          <table class=\"posthead\" width=\"100%\">\n";
     echo "                            <tr>\n";
Beispiel #2
0
     echo "                </tr>\n";
     echo "                <tr>\n";
     echo "                  <td>\n";
     html_display_warning_msg(gettext("Note: This user may be inheriting additional permissions from any user groups listed below."), '95%', 'center');
     echo "                  </td>\n";
     echo "                </tr>\n";
     echo "              </table>\n";
     echo "            </td>\n";
     echo "          </tr>\n";
     echo "        </table>\n";
     echo "      </td>\n";
     echo "    </tr>\n";
     echo "  </table>\n";
     echo "  <br />\n";
 }
 if (($user_groups_array = perm_user_get_groups($uid)) !== false) {
     echo "  <table cellpadding=\"0\" cellspacing=\"0\" width=\"800\">\n";
     echo "    <tr>\n";
     echo "      <td align=\"left\">\n";
     echo "        <table class=\"box\" width=\"100%\">\n";
     echo "          <tr>\n";
     echo "            <td align=\"left\" class=\"posthead\">\n";
     echo "              <table class=\"posthead\" width=\"100%\">\n";
     echo "                <tr>\n";
     echo "                  <td align=\"left\" class=\"subhead\" width=\"15\">&nbsp;</td>\n";
     echo "                  <td align=\"left\" class=\"subhead\" colspan=\"2\">", gettext("User Groups"), "</td>\n";
     echo "                </tr>\n";
     foreach ($user_groups_array as $user_group) {
         echo "                <tr>\n";
         echo "                  <td align=\"left\" width=\"15\">&nbsp;</td>\n";
         echo "                  <td align=\"left\" valign=\"top\">&nbsp;<a href=\"admin_user_groups_edit.php?webtag={$webtag}&amp;gid={$user_group['GID']}&amp;ret=admin_user.php%3Fwebtag%3D{$webtag}%26uid%3D{$uid}\" target=\"_self\">{$user_group['GROUP_NAME']}</a></td>\n";