render_selected_resources_counter()

Description

Generates HTML for the "X Selected" in the search results found part pointing to the special collection COLLECTION_TYPE_SELECTION

Parameters

ColumnTypeDefaultDescription
$i integer Counter to display

Return

string Returns HTML

Location

include/render_functions.php lines 3646 to 3654

Definition

 
function render_selected_resources_counter($i)
    {
    global 
$baseurl$lang$USER_SELECTION_COLLECTION;

    
$url generateURL("{$baseurl}", array("c" => $USER_SELECTION_COLLECTION));

    
$x_selected '<span class="Selected">' number_format($i) . "</span> {$lang["selected"]}";
    return 
"<a href=\"{$url}\" class=\"SelectionCollectionLink\" onclick=\"return CentralSpaceLoad(this, true);\">{$x_selected}</a>";
    }

This article was last updated 17th April 2025 21:35 Europe/London time based on the source file dated 17th April 2025 12:55 Europe/London time.