Bug 1426 fixed : admin help popup use gallery theme instead of admin theme
git-svn-id: http://piwigo.org/svn/trunk@4893 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
c1d6177df9
commit
6992b27535
4 changed files with 15 additions and 13 deletions
12
admin/template/goto/popuphelp.tpl
Normal file
12
admin/template/goto/popuphelp.tpl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<div id="content" class="content">
|
||||
{$HELP_CONTENT}
|
||||
</div> <!-- content -->
|
||||
|
||||
<ul class="categoryActions">
|
||||
<li>
|
||||
<a href="#" onclick="window.close();" title="{'Close this window'|@translate}">
|
||||
<img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/exit.png" class="button" alt="exit">
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
|
@ -155,7 +155,8 @@ if (is_a_guest())
|
|||
}
|
||||
|
||||
// template instance
|
||||
if ( defined('IN_ADMIN') and IN_ADMIN )
|
||||
if (( defined('IN_ADMIN') and IN_ADMIN )
|
||||
or (defined('PWG_HELP') and PWG_HELP))
|
||||
{// Admin template
|
||||
list($user['admin_template'], $user['admin_theme']) =
|
||||
explode ('/', $conf['admin_layout']);
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
// +-----------------------------------------------------------------------+
|
||||
|
||||
define('PHPWG_ROOT_PATH','./');
|
||||
define('PWG_HELP', true);
|
||||
include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
<div id="content" class="content">
|
||||
{$HELP_CONTENT}
|
||||
</div> <!-- content -->
|
||||
|
||||
<ul class="categoryActions">
|
||||
<li>
|
||||
<a href="#" onclick="window.close();" title="{'Close this window'|@translate}">
|
||||
<img src="{$ROOT_URL}{$themeconf.icon_dir}/exit.png" class="button" alt="exit">
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue