Bug 1617 fixed : help page is displayed in current theme in public or admin pages

git-svn-id: http://piwigo.org/svn/trunk@5920 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
nikrou
2010-04-18 18:59:37 +00:00
parent 43a30afea6
commit 94d40c0eab
20 changed files with 116 additions and 22 deletions
+3 -4
View File
@@ -162,16 +162,15 @@ if (!function_exists('gd_info'))
// +-----------------------------------------------------------------------+
$template->set_filenames( array('thumbnail'=>'thumbnail.tpl') );
$template->assign(array(
'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=thumbnail',
));
$template->assign(
array('U_HELP' => get_root_url().'admin/popuphelp.php?page=thumbnail')
);
// +-----------------------------------------------------------------------+
// | search pictures without thumbnails |
// +-----------------------------------------------------------------------+
$wo_thumbnails = array();
$thumbnalized = array();
// what is the directory to search in ?
$query = '
SELECT galleries_url FROM '.SITES_TABLE.'