Links block V1, lang other than english needs update

This commit is contained in:
Ice
2008-04-25 22:31:59 +00:00
parent f946690f06
commit 903aaf8574
11 changed files with 203 additions and 42 deletions

View File

@@ -822,7 +822,18 @@ if( $user->data['is_registered'] && $auth->acl_get('a_board') )
'module_mode' => 'customblock',
'module_auth' => ''
);
$modules->update_module_data($customblock);
$modules->update_module_data($customblock);
$linkblock = array(
'module_basename' => 'portal',
'module_enabled' => 1,
'module_display' => 1,
'parent_id' => $portal['module_id'],
'module_class' => 'acp',
'module_langname' => 'ACP_PORTAL_LINKS_INFO',
'module_mode' => 'links',
'module_auth' => ''
);
$modules->update_module_data($linkblock);
// clear cache and log what we did
$cache->purge();
@@ -873,7 +884,18 @@ if( $user->data['is_registered'] && $auth->acl_get('a_board') )
'module_mode' => 'customblock',
'module_auth' => ''
);
$modules->update_module_data($customblock);
$modules->update_module_data($customblock);
$linkblock = array(
'module_basename' => 'portal',
'module_enabled' => 1,
'module_display' => 1,
'parent_id' => $portal['module_id'],
'module_class' => 'acp',
'module_langname' => 'ACP_PORTAL_LINKS_INFO',
'module_mode' => 'links',
'module_auth' => ''
);
$modules->update_module_data($linkblock);
$updated = true;
}