Skip to content

Commit

Permalink
temporary fix to missime pagetitle in userclicks page
Browse files Browse the repository at this point in the history
  • Loading branch information
mariez committed Nov 12, 2017
1 parent 765b258 commit c64b36c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions functions.php
@@ -1,5 +1,9 @@
<?php
if ($page_title =='userclicks') $page_title = s('Click Statistics'); /* REMOVE AFTER RESOLVE MANTIS #18945 */


/* This array is to add third level to phpList menu, adding orphan items to a menulink */

$GLOBALS['subcat'] = array(
'import' => array ('import1','import2','import3','import4','importsimple'),
'users' => array('user','userhistory'),
Expand Down
2 changes: 2 additions & 0 deletions mainmenu.php
Expand Up @@ -3,6 +3,8 @@
// functions for theme bootstrap
include_once dirname(__FILE__).'/functions.php';

if ($page_title == 'userclicks') $page_title = s('Click Statistics'); /* REMOVE AFTER RESOLVE MANTIS #18945 */

/* fix sections not opening submenues on first click */
$GLOBALS['pagecategories']['statistics']['toplink'] = 'statsoverview';
$GLOBALS['pagecategories']['develop']['toplink'] = 'tests';
Expand Down

0 comments on commit c64b36c

Please sign in to comment.