Collections functions
General functions
Node functions
Render functions
Theme permission functions
User 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 3628 to 3638

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}") . "\"";

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

This article was last updated 19th March 2024 05:35 Europe/London time based on the source file dated 15th March 2024 17:00 Europe/London time.