Collections functions
General functions
Node functions
Render functions
Theme permission functions
User 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 2349 to 2374

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 22nd October 2020 11:35 Europe/London time based on the source file dated 22nd October 2020 11:15 Europe/London time.