Changeset 858 in ExiteCMS for trunk/administration/user_groups.php


Ignore:
Timestamp:
09/29/07 21:51:40 (5 years ago)
Author:
hverton
Message:

Added language selection and language detection
When adding a new member as sponsor, the member will be added to the 'Sponsors' user_group
Added missing index.php to the new cache directories

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        11Copy of config.php 
         2config.backup.php 
        23config.php 
  • trunk/administration/user_groups.php

    r834 r858  
    6868        $title = $locale['408']; 
    6969        $variables['message'] = $locale['411']; 
     70    } elseif ($status == "dels") { 
     71        $title = $locale['408']; 
     72        $variables['message'] = $locale['419']; 
    7073    } 
    7174    // define the message panel variables 
     
    200203} elseif (isset($_POST['delete'])) { 
    201204 
     205    $result = dbquery("SELECT group_ident FROM ".$db_prefix."user_groups WHERE group_id = '$group_id'"); 
     206    if ($result) { 
     207        $data = dbarray($result); 
     208        if ($data['group_ident'] != "") { 
     209            redirect(FUSION_SELF.$aidlink."&status=dels"); 
     210        } 
     211    } 
    202212    if (dbcount("(*)", "users", "user_groups REGEXP('^\\\.{$group_id}$|\\\.{$group_id}\\\.|\\\.{$group_id}$')") != 0) { 
    203213        redirect(FUSION_SELF.$aidlink."&status=deln"); 
Note: See TracChangeset for help on using the changeset viewer.