homebox-block.tpl.php in Homebox 6
Same filename and directory in other branches
homebox-block.tpl.php Default theme implementation each homebox block.
1 theme call to homebox-block.tpl.php
- homebox.tpl.php in ./
homebox.tpl.php - homebox.tpl.php Default layout for homebox.
File
homebox-block.tpl.phpView source
<?php
/**
* @file
* homebox-block.tpl.php
* Default theme implementation each homebox block.
*/
?>
<div id="homebox-block-<?php
print $block->module . '-' . $block->delta;
?>" class="<?php
print $block->homebox_classes;
?> clear-block block block-<?php
print $block->module;
?>">
<div class="homebox-portlet-inner">
<h3 class="portlet-header"><?php
print $block->subject;
?></h3>
<div class="portlet-config">
<?php
if (variable_get('homebox_users_use_colors_' . $pid, FALSE)) {
?>
<div class="homebox-colors">
<?php
for ($i = 0; $i < HOMEBOX_NUMBER_OF_COLOURS; $i++) {
?>
<span href="#" class="homebox-color-selector" style="background-color: <?php
print variable_get('homebox_color_' . $pid . '_' . $i, '#E4F0F8');
?>;"> </span>
<?php
}
?>
</div>
<?php
}
?>
<?php
if ($block->module == 'views') {
?>
<?php
$filters = theme('homebox_views_exposed_filter', $block);
?>
<?php
print $filters;
?>
<?php
}
?>
<?php
if (variable_get('homebox_users_use_colors_' . $pid, FALSE) || $block->module == 'views' && !is_null($filters)) {
?>
<div class="clear-block"></div>
<?php
}
?>
</div>
<div class="portlet-content"><?php
print $block->content;
?></div>
</div>
</div>