|
@@ -130,10 +130,10 @@ function materio_flag_block_info() {
|
|
|
'cache' => DRUPAL_NO_CACHE
|
|
|
);
|
|
|
|
|
|
-$blocks['materio_flag_mylists_nav'] = array(
|
|
|
- 'info' => t('My Materio flag lists navigation'),
|
|
|
- 'cache' => DRUPAL_NO_CACHE
|
|
|
-);
|
|
|
+ $blocks['materio_flag_mylists_nav'] = array(
|
|
|
+ 'info' => t('My Materio flag lists navigation'),
|
|
|
+ 'cache' => DRUPAL_NO_CACHE
|
|
|
+ );
|
|
|
|
|
|
return $blocks;
|
|
|
}
|
|
@@ -243,7 +243,7 @@ function materio_flag_entity_info_alter(&$entity_info) {
|
|
|
*/
|
|
|
function materio_flag_entity_view($entity, $type, $view_mode, $langcode) {
|
|
|
if($type == 'node'){
|
|
|
- if(user_access('create flag lists')){
|
|
|
+ if(user_access('create flag lists') && $view_mode != 'print'){
|
|
|
|
|
|
$entity->content['flaglistslinks'] = materio_flag_get_entity_links($entity, $type, $view_mode);
|
|
|
|