Project

General

Profile

« Previous | Next » 

Revision 1823

Added by Dietmar about 12 years ago

! update user management, now home folder only will be created
if homefolders in settings are enabledPlugin
add save & back in user modify

View differences:

index.php
44 44
        // Set parameter 'action' as alternative to javascript mechanism
45 45
        $action = (isset($aActionRequest['add'])    ? 'add'    : $action );
46 46
        $action = (isset($aActionRequest['save'])   ? 'save'   : $action );
47
        $action = (isset($aActionRequest['save_back']) ? 'save'   : $action );
47 48
        $action = (isset($aActionRequest['modify']) ? 'modify' : $action );
48 49
        $action = (isset($aActionRequest['delete']) ? 'delete' : $action );
49 50
        $action = (isset($aActionRequest['delete_outdated']) ? 'delete_outdated' : $action );
......
141 142
					$output  = show_userlist($admin, $aActionRequest);
142 143
				}
143 144
		endswitch; // end of switch
145

  
144 146
		if( ($msg = msgQueue::getSuccess()) != '')
145 147
		{
146 148
			$output = $admin->format_message($msg, 'ok').$output;
......
149 151
		{
150 152
			$output = $admin->format_message($msg, 'error').$output;
151 153
		}
154

  
152 155
		print $output;
156
        if( isset($aActionRequest['BackLink']) && isset($aActionRequest['save_back']) ) {
157
            $sBackLink = $aActionRequest['BackLink'];
158
echo "<script type=\"text/javascript\">
159
<!--
160
// Get the location object
161
var locationObj = document.location;
162
// Set the value of the location object
163
document.location = '$sBackLink';
164
-->
165
</script>";
166
        }
153 167
		$admin->print_footer();
168

  
154 169
    }
155 170

  
156 171
	if(!defined('WB_URL'))

Also available in: Unified diff