Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video 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 2777 to 2781

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 15th June 2021 13:35 Europe/London time based on the source file dated 10th June 2021 11:45 Europe/London time.