Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

render_clear_selected_btn()

Description

Renders the "Clear selected" button. This is using the special 'COLLECTION_TYPE_SELECTION' collection

Parameters

This function accepts no parameters.

Return

void

Location

include/render_functions.php lines 3158 to 3168

Definition

 
function render_clear_selected_btn()
    {
    global 
$lang$USER_SELECTION_COLLECTION$CSRF_token_identifier$usersession;

    
$attributes  " id=\"ClearSelectedResourcesBtn\" class=\"ClearSelectedButton\"";
    
$attributes .= " onclick=\"ClearSelectionCollection(this);\"";
    
$attributes .= " data-csrf-token-identifier=\"{$CSRF_token_identifier}\"";
    
$attributes .= " data-csrf-token=\"" generateCSRFToken($usersession"clear_selected_btn_{$USER_SELECTION_COLLECTION}") . "\"";

    return 
render_filter_bar_button($lang["clear_selected"], $attributesICON_REMOVE);
    }

This article was last updated 10th July 2020 01:05 Europe/London time based on the source file dated 8th July 2020 11:40 Europe/London time.