Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

renderCallToActionTile()

Description

Render a blank tile used for call to actions (e.g: on featured collections, a tile for creating new collections)

Parameters

ColumnTypeDefaultDescription
$link string URL

Return

void

Location

include/render_functions.php lines 2334 to 2359

Definition

 
function renderCallToActionTile($link)
    {
    global 
$themes_simple_view;

    if(!
$themes_simple_view || checkperm('b'))
        {
        return;
        }

    if(
'' === $link)
        {
        return;
        }
        
?>
    <div id="FeaturedSimpleTile" class="FeaturedSimplePanel HomePanel DashTile FeaturedSimpleTile FeaturedCallToActionTile">
        <a href=" echo $link?>" onclick="return ModalLoad(this, true, true);" class="">
            <div class="FeaturedSimpleTileContents">
                <div class="FeaturedSimpleTileText">
                    <h2><span class='fas fa-plus-circle'></span></h2>
                </div>
            </div>
        </a>
    </div>
    
    
return;
    }

This article was last updated 10th July 2020 23:35 Europe/London time based on the source file dated 8th July 2020 11:40 Europe/London time.