-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ezra Verheijen
committed
Feb 5, 2015
1 parent
e989503
commit 3558110
Showing
1 changed file
with
28 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
{namespace site.block} | ||
/** | ||
* Kennispark icon template | ||
* @param id | ||
* @param categories | ||
* @param icon | ||
* @param txt | ||
* @param num | ||
* @param title | ||
* @param popup_title | ||
* @param content | ||
*/ | ||
{template .icon} | ||
<div class="mega-entry {foreach $category in keys($categories)} | ||
{if not isFirst($category)} ' ' {/if} | ||
{$categories[$category]} | ||
{/foreach} cat-all core9-block" data-type="icon" data-src="/jaarplan-nieuw/svg-generator.php?img={$icon}&txt={$txt}&num={$num}" data-width="320" data-height="240"> | ||
<div class="mega-covercaption mega-square-top mega-landscape-bottom mega-portrait-bottom"> | ||
<div class="mega-title">{$title?:''}</div> | ||
<div class="mega-content">{$content?:''|noAutoescape}</div> | ||
</div> | ||
<a class="fancybox icon" id="{$id?:''}" rel="group" href="/jaarplan-nieuw/svg-generator.php?img={$icon}&txt={$txt|escapeUri}&num={$num}" title="{$popup_title?:''}" data-bkgrnd=""> | ||
<div class="mega-hover"> | ||
<div class="mega-hoverview"></div> | ||
</div> | ||
</a> | ||
</div> | ||
{/template} | ||
{namespace site.block} | ||
/** | ||
* Kennispark icon template | ||
* @param id | ||
* @param categories | ||
* @param icon | ||
* @param txt | ||
* @param num | ||
* @param title | ||
* @param popup_title | ||
* @param content | ||
*/ | ||
{template .icon} | ||
<div class="mega-entries {foreach $category in $categories} | ||
{if not isFirst($category)} ' ' {/if} | ||
{$category} | ||
{/foreach} cat-all core9-block" data-type="icon" data-src="/jaarplan-nieuw/svg-generator.php?img={$icon}&txt={$txt}&num={$num}" data-width="320" data-height="240"> | ||
<div class="mega-covercaption mega-square-top mega-landscape-bottom mega-portrait-bottom"> | ||
<div class="mega-title">{$title?:''}</div> | ||
<div class="mega-content">{$content?:''|noAutoescape}</div> | ||
</div> | ||
<a class="fancybox icon" id="{$id?:''}" rel="group" href="/jaarplan-nieuw/svg-generator.php?img={$icon}&txt={$txt|escapeUri}&num={$num}" title="{$popup_title?:''}" data-bkgrnd=""> | ||
<div class="mega-hover"> | ||
<div class="mega-hoverview"></div> | ||
</div> | ||
</a> | ||
</div> | ||
{/template} |