12345678910111213141516171819 |
- <div class="mylists">
- <?php foreach ($lists as $name => $list): ?>
- <section class="flag-list <?php print $list['list']->name; ?>">
- <?php //dsm($list, 'list');?>
- <h2 class="listname">
- <span class="listname">
- <?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'))) ;?>
- <i class="fi-arrows-expand"></i>
- </a>
- </h2>
- <?php $content = $list['content']; ?>
- <?php $entity_view = entity_view('node', $content, $viewmode); ?>
- <div class="flaged <?php print $list['list']->name; ?>"> <?php print render($entity_view); ?> </div>
- </section>
- <?php endforeach; ?>
- </div>
|