@@ -1,6 +1,10 @@
|
||||
<section class="mylists">
|
||||
<?php foreach ($lists as $name => $list): ?>
|
||||
<h2 class="listname"><?php print $list['list']->title; ?></h2>
|
||||
<div class="flaged"> <?php print render(entity_view('node', $list['content'], $viewmode)); ?> </div>
|
||||
<?php //dsm($list, 'list');?>
|
||||
<h2 class="listname <?php print $list['list']->name; ?>">
|
||||
<span><?php print $list['list']->title.' ('.count($list['content']).')'; ?></span>
|
||||
<a class="open-list" href="<?php print $list['list']->path; ?>"><?php print t('open this @name', array('@name'=>variable_get('flag_lists_name', 'list'))) ;?></a>
|
||||
</h2>
|
||||
<div class="flaged <?php print $list['list']->name; ?>"> <?php print render(entity_view('node', $list['content'], $viewmode)); ?> </div>
|
||||
<?php endforeach; ?>
|
||||
</section>
|
9
templates/materio-flag-mylists-list.tpl.php
Normal file
9
templates/materio-flag-mylists-list.tpl.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php //dsm($variables, '$variables'); ?>
|
||||
<div class="materio-flags-list <?php print ' view-mode-' . $variables['view_mode'];?>" fid="<?php print $variables['fid']; ?>">
|
||||
<div class="flaglist-items">
|
||||
<p class="flaglist-infos"><?php print $list_count; ?></p>
|
||||
<?php print render(entity_view('node', $items, $variables['view_mode'])); ?>
|
||||
</div>
|
||||
<?php print $pager; ?>
|
||||
</div>
|
||||
|
7
templates/materio-flag-mylists-nav-block.tpl.php
Normal file
7
templates/materio-flag-mylists-nav-block.tpl.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<section class="mylists">
|
||||
<ul>
|
||||
<?php foreach ($flags as $name => $flag): ?>
|
||||
<li class="flaglist <?php print $flag->name; ?>"><?php print $flag->title; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</section>
|
@@ -3,6 +3,7 @@
|
||||
?>
|
||||
<section class="materiobase-actuality">
|
||||
<?php if($count): ?>
|
||||
<p class="actualities-infos"><?php print $actualities_infos; ?></p>
|
||||
<div class="actuality-items">
|
||||
<?php print render(entity_view('node', $items, $view_mode)); ?>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user