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 21st May 2024 11:05 Europe/London time based on the source file dated 16th May 2024 18:10 Europe/London time.