feature 3139: add details about search on id: in the help

Move CSS outside the help file

bug fixed: fallback on en_UK in case of missing help file


git-svn-id: http://piwigo.org/svn/trunk@29485 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2014-09-11 12:50:39 +00:00
parent 0ffdff9439
commit 8b4fa61135
4 changed files with 48 additions and 27 deletions
+9 -4
View File
@@ -47,16 +47,21 @@ if
and preg_match('/^[a-z_]*$/', $_GET['page'])
)
{
$help_content =
load_language('help/'.$_GET['page'].'.html', '', array('return'=>true) );
$help_content = load_language(
'help/'.$_GET['page'].'.html',
'',
array(
'force_fallback' => 'en_UK',
'return' => true,
)
);
if ($help_content == false)
{
$help_content = '';
}
$help_content = trigger_change(
'get_popup_help_content', $help_content, $_GET['page']);
$help_content = trigger_change('get_popup_help_content', $help_content, $_GET['page']);
}
else
{