Coding standards
Security in ResourceSpace
Developer reference
Database
Action functions
Admin functions
Ajax functions
Annotation functions
API functions
Collections functions
Comment functions
Config functions
CSV export functions
Dash functions
Debug functions
Encryption functions
Facial recognition functions
File functions
General functions
Language functions
Log functions
Login functions
Message functions
Migration functions
Node functions
PDF functions
Plugin functions
Render functions
Reporting functions
Request functions
Research functions
Slideshow functions
Theme permission functions
User functions
Video functions
Database functions
Metadata functions
Resource functions
Search functions
Map functions
Job functions
Tab functions
Test 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.