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 3252 to 3256

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 26th June 2022 02:35 Europe/London time based on the source file dated 23rd June 2022 12:32 Europe/London time.