@@ 289-298 (lines=10) @@ | ||
286 | // Register Admin ID |
|
287 | $oModuleController->deleteAdminId($module_srl); |
|
288 | $admin_member = Context::get('admin_member'); |
|
289 | if($admin_member) |
|
290 | { |
|
291 | $admin_members = explode(',',$admin_member); |
|
292 | foreach($admin_members as $admin_id) |
|
293 | { |
|
294 | $admin_id = trim($admin_id); |
|
295 | if(!$admin_id) continue; |
|
296 | $oModuleController->insertAdminId($module_srl, $admin_id); |
|
297 | } |
|
298 | } |
|
299 | // List permissions |
|
300 | $xml_info = $oModuleModel->getModuleActionXML($module_info->module); |
|
301 |
@@ 228-238 (lines=11) @@ | ||
225 | if($skin_vars) $oModuleController->insertModuleSkinVars($module_srl, $skin_vars); |
|
226 | // Insert super admin's ID |
|
227 | $admin_id = trim($module_info->admin_id); |
|
228 | if($admin_id && $admin_id != 'Array') |
|
229 | { |
|
230 | $admin_ids = explode(',',$admin_id); |
|
231 | if(count($admin_id)) |
|
232 | { |
|
233 | foreach($admin_ids as $admin_id) |
|
234 | { |
|
235 | $oModuleController->insertAdminId($module_srl, $admin_id); |
|
236 | } |
|
237 | } |
|
238 | } |
|
239 | // Save extra configurations for each module(column data which doesn't exist in the defaut modules) |
|
240 | $extra_vars = unserialize($module_info->extra_vars); |
|
241 | $document_extra_keys = null; |