Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

refresh_collection_frame()

Parameters

ColumnTypeDefaultDescription
$collection ""

Location

include/collections_functions.php lines 946 to 964

Definition

 
function 
refresh_collection_frame($collection="")
    {
    
# Refresh the CollectionDiv
    
global $baseurl$headerinsert;

    if (
getval("ajax",false))
        {
        echo 
"<script  type=\"text/javascript\">
        CollectionDivLoad(\"" 
$baseurl "/pages/collections.php" . ((getval("k","")!="")?"?collection=" urlencode(getval("collection",$collection)) . "&k=" urlencode(getval("k","")) . "&":"?") . "nc=" time() . "\");    
        </script>"
;
        }
    else
        {
        
$headerinsert.="<script  type=\"text/javascript\">
        CollectionDivLoad(\"" 
$baseurl "/pages/collections.php" . ((getval("k","")!="")?"?collection=" urlencode(getval("collection",$collection)) . "&k=" urlencode(getval("k","")) . "&":"?") . "nc=" time() . "\");
        </script>"
;
        }
    }

This article was last updated 27th April 2024 21:05 Europe/London time based on the source file dated 25th April 2024 16:25 Europe/London time.