Skip to content
Snippets Groups Projects
Commit 3fd3af91 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Wrong use of the htmlinject hook... now supports better more than one module that uses htmlinject

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2078 44740490-163a-0410-bde0-09ae8108e29a
parent c62767a3
No related branches found
No related tags found
No related merge requests found
...@@ -38,11 +38,11 @@ function portal_hook_htmlinject(&$hookinfo) { ...@@ -38,11 +38,11 @@ function portal_hook_htmlinject(&$hookinfo) {
$hookinfo['jquery']['version'] = '1.6'; $hookinfo['jquery']['version'] = '1.6';
// Header // Header
$hookinfo['pre'][0] = '<div id="portalmenu" class="ui-tabs ui-widget ui-widget-content ui-corner-all">' . $hookinfo['pre'][] = '<div id="portalmenu" class="ui-tabs ui-widget ui-widget-content ui-corner-all">' .
$portal->getMenu($hookinfo['page']) . $portal->getMenu($hookinfo['page']) .
'<div id="portalcontent" class="ui-tabs-panel ui-widget-content ui-corner-bottom">'; '<div id="portalcontent" class="ui-tabs-panel ui-widget-content ui-corner-bottom">';
// Footer // Footer
$hookinfo['post'][0] = '</div></div>'; $hookinfo['post'][] = '</div></div>';
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment