update
- 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>
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
</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'))) ;?>
|
||||
<?php print t('open'); ?>
|
||||
<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>
|
||||
|
@@ -4,6 +4,17 @@
|
||||
<?php //dsm($flag, 'flag') ;?>
|
||||
<li class="flaglist <?php print $flag->name; ?>">
|
||||
<?php print l($flag->title . '<span class="count">('.count($flag->flaged_content).')</span>', 'lists/'.$flag->fid, array('html'=>true,'attributes'=>array('class'=>array('open-list', $flag->name)))); ?>
|
||||
<?php if(flag_lists_is_owner('edit', $flag->fid)): ?>
|
||||
<?php
|
||||
print l('<i class="icon-wrench"></i>',
|
||||
'flags/lists/edit/'.$flag->fid,
|
||||
array(
|
||||
'html'=>true,
|
||||
'attributes'=>array('class'=>array('edit-list', $flag->name)),
|
||||
)
|
||||
);
|
||||
?>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user