mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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:
+9
-4
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user