Collections functions
General functions
Render functions
Theme permission functions
Resource functions

change_collection_link()

Description

Generates a HTML link for adding a changing the current collection

Parameters

ColumnTypeDefaultDescription
$collection integer

Return

string

Location

include/collections_functions.php lines 3445 to 3449

Definition

 
function change_collection_link($collection)
    {
    global 
$lang;
    return 
'<a onClick="ChangeCollection('.$collection.',\'\');return false;" href="collections.php?collection='.$collection.'">' LINK_CARET $lang["selectcollection"].'</a>';
    }

This article was last updated 4th February 2023 12:05 Europe/London time based on the source file dated 1st February 2023 15:00 Europe/London time.