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 2723 to 2727

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 5th March 2021 12:35 Europe/London time based on the source file dated 4th March 2021 14:40 Europe/London time.