aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-09-23 17:09:06 +0000
committergweltas <gweltas@piwigo.org>2004-09-23 17:09:06 +0000
commit79a6102edc39c4bd71633545d5bc436e9256f29c (patch)
tree7d77af03712b7fd98152c538ad50c385dd109f3a /include
parent4106c2a524aee09776998ceb21ea4fd350128f1b (diff)
- Delivery of french translation in order to test i18n
- Deletion of collapsed & expanded gifs (obsoletes) - Creation of faq language file for further writing of a end user-oriented FAQ git-svn-id: http://piwigo.org/svn/trunk@532 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/functions_user.inc.php1
-rw-r--r--include/user.inc.php4
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';
?>