Skip to content
Snippets Groups Projects
Select Git revision
  • bc353dd0b22994c867fab475d039a47b918115b6
  • master default protected
  • cesnet_simplesamlphp-1.19.8
  • elixir_simplesamlphp-1.19.8
  • simplesamlphp-1.19.8
  • cesnet_simplesamlphp-1.19.5
  • simplesamlphp-2.0
  • feature/assets
  • feature/rac-source-selector
  • cleanup/remove-base64-attributes
  • simplesamlphp-1.19
  • elixir_simplesamlphp-1.19.5
  • aarc_idp_hinting
  • feature/validate-authstate-before-processing
  • feature/build-two-tarballs
  • dependabot/composer/twig/twig-3.4.3
  • tvdijen-patch-1
  • unchanged-acs-url-no-www-script
  • feature/translation-improvements
  • symfony6
  • move_tests
  • v1.19.9
  • v2.1.3
  • v2.0.10
  • v2.1.2
  • v2.0.9
  • v2.1.1
  • v2.0.8
  • v2.1.0
  • v2.0.7
  • v2.1.0-rc1
  • v2.0.6
  • v2.0.5
  • 2.0.4-alpha.1
  • v2.0.4-alpha.1
  • v2.0.4
  • v2.0.3
  • v2.0.2
  • v2.0.1-alpha.1
  • v2.0.1
  • v1.19.8
41 results

hook_frontpage.php

Blame
  • user avatar
    Andreas Åkre Solberg authored
    git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1392 44740490-163a-0410-bde0-09ae8108e29a
    bc353dd0
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    hook_frontpage.php 437 B
    <?php
    /**
     * Hook to add the simple consenet admin module to the frontpage.
     *
     * @param array &$links  The links on the frontpage, split into sections.
     */
    function saml2debug_hook_frontpage(&$links) {
    	assert('is_array($links)');
    	assert('array_key_exists("links", $links)');
    
    	$links['links'][] = array(
    		'href' => SimpleSAML_Module::getModuleURL('saml2debug/debug.php'),
    		'text' => array('en' => 'SAML 2.0 Debugger'),
    	);
    	
    }
    
    
    ?>