Coding standards
Security in ResourceSpace
Developer reference
Database
Action functions
Admin functions
Ajax functions
Annotation functions
API functions
Collections functions
Comment functions
Config functions
CSV export functions
Dash functions
Debug functions
Encryption functions
Facial recognition functions
File functions
General functions
Language functions
Log functions
Login functions
Message functions
Migration functions
Node functions
PDF functions
Plugin functions
Render functions
Reporting functions
Request functions
Research functions
Slideshow functions
Theme permission functions
User functions
Video functions
Database functions
Metadata functions
Resource functions
Search functions
Map functions
Job functions
Tab functions
Test functions

render_help_link()

Parameters

ColumnTypeDefaultDescription
$page ''
$return_string false

Location

include/render_functions.php lines 3433 to 3452

Definition

 
function render_help_link($page='',$return_string=false)
    {
    global 
$lang,$help_modal,$baseurl;

    
// Build html for link into a string
    
$help_link_html  =      '<a ';
    
$help_link_html .=          'href="' $baseurl '/pages/help.php?page=' escape($page) . '" ';
    
$help_link_html .=          'title="' escape($lang["help-tooltip"]) . '" ';
    
$help_link_html .=          'class="HelpLink" ';
    if (
$help_modal
        { 
$help_link_html .=    'onClick="return ModalLoad(this, true);" ';}
    else
        { 
$help_link_html .=    'target="_blank" ';}
    
$help_link_html .=      '>';
    
$help_link_html .=      '<i aria-hidden="true" class="fa fa-fw fa-question-circle"></i>';
    
$help_link_html .=      '</a>';

    if (
$return_string===false) {echo $help_link_html;}
    else {return 
$help_link_html;}
    }

This article was last updated 15th December 2024 07:35 Europe/London time based on the source file dated 13th December 2024 14:05 Europe/London time.