opigno--add-content-to-og-list.tpl.php in Opigno 7.0
2 theme calls to opigno--add-content-to-og-list.tpl.php
- hook_opigno_widget_view in ./
opigno.api.php - Implements hook_opigno_widget_view()
- opigno_og_add_content_block in includes/
opigno.block.inc - OG Add content block. Display links to create content for the current OG.
File
theme/opigno--add-content-to-og-list.tpl.phpView source
<?php
/**
* @todo
*/
?>
<ul class="opigno-add-content optigno-add-content-to-og">
<?php
foreach ($tools as $tool) {
?>
<?php
if (isset($tool['create_label']) && isset($tool['create_url'])) {
?>
<?php
if ($tool['create_url']) {
?>
<li><a href="<?php
print $tool['create_url'];
?>"><?php
print $tool['create_label'];
?></a></li>
<?php
}
?>
<?php
}
?>
<?php
}
?>
</ul>