diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/functions_user.inc.php | 1 | ||||
-rw-r--r-- | include/user.inc.php | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php index 5be76dfbc..e14d0c627 100644 --- a/include/functions_user.inc.php +++ b/include/functions_user.inc.php @@ -238,6 +238,7 @@ function init_userprefs($userdata) $language = DEFAULT_LANGUAGE; } include_once(PHPWG_ROOT_PATH . 'language/' . $language . '/admin.lang.php'); + include_once(PHPWG_ROOT_PATH . 'language/' . $language . '/faq.lang.php'); } $template = setup_style($template); diff --git a/include/user.inc.php b/include/user.inc.php index 05b91d738..c1f018f92 100644 --- a/include/user.inc.php +++ b/include/user.inc.php @@ -131,9 +131,5 @@ if ( $user['status'] == 'admin' ) } // calculation of the number of picture to display per page $user['nb_image_page'] = $user['nb_image_line'] * $user['nb_line_page']; - init_userprefs($user); - -$user['lien_expanded']='./template/'.$user['template'].'/theme/expanded.gif'; -$user['lien_collapsed']='./template/'.$user['template'].'/theme/collapsed.gif'; ?> |