
- added materio_user.module (add permission to view the profile page) - materio_serach_api.pages : limit actu items for anonymous - materio_search_api_ajax.pages & materio_flag.pages : redirect to real page if current page not corresponding on ajax request (solve the view mode block visibility on user edit profile page) - materio_flag : added edit lists functionalities ++ get_list_page_title func Signed-off-by: bachy <git@g-u-i.net>
17 lines
715 B
PHP
17 lines
715 B
PHP
<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="icon-resize-full"></i>
|
|
</a>
|
|
</h2>
|
|
<div class="flaged <?php print $list['list']->name; ?>"> <?php print render(entity_view('node', $list['content'], $viewmode)); ?> </div>
|
|
</section>
|
|
<?php endforeach; ?>
|
|
</div>
|