Navigation Menu

Skip to content

Commit

Permalink
Bug 1426 fixed : admin help popup use gallery theme instead of admin …
Browse files Browse the repository at this point in the history
…theme

git-svn-id: http://piwigo.org/svn/trunk@4893 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
nikrou committed Feb 15, 2010
1 parent c1d6177 commit 6992b27
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
12 changes: 12 additions & 0 deletions admin/template/goto/popuphelp.tpl
@@ -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>

3 changes: 2 additions & 1 deletion include/common.inc.php
Expand Up @@ -155,7 +155,8 @@ function sanitize_mysql_kv(&$v, $k)
}

// 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']);
Expand Down
1 change: 1 addition & 0 deletions popuphelp.php
Expand Up @@ -26,6 +26,7 @@
// +-----------------------------------------------------------------------+

define('PHPWG_ROOT_PATH','./');
define('PWG_HELP', true);
include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );

// +-----------------------------------------------------------------------+
Expand Down
12 changes: 0 additions & 12 deletions template/yoga/popuphelp.tpl

This file was deleted.

0 comments on commit 6992b27

Please sign in to comment.