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 3383 to 3387

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 2nd October 2022 16:35 Europe/London time based on the source file dated 22nd September 2022 11:00 Europe/London time.