Ignore:
Timestamp:
Jan 2, 2011, 2:24:22 AM (13 years ago)
Author:
rub
Message:

Add share icon on picture and album page

Rename footer.lang.php to common.lang.php
Remove use of target to open a new window

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/FacebookPlug/Plugin/include/header.inc.php

    r8435 r8436  
    7474  global $template, $conf, $user, $page;
    7575
     76  // Lingua
     77  load_language('common.lang', FBP_DIR.'/');
     78
    7679  // Get init facebook
    7780  $page['fbp']['do_facebook_init'] = trigger_event('fbp_do_facebook_init', $conf['fbp']['force_facebook_init']);
     
    8285    // define language
    8386    $template->assign('FACEBOOK_LANGUAGE', fbp_get_fb_language());
     87    $template->assign('FBP_PATH', FBP_PATH);
    8488    $template->assign('fbp', $conf['fbp']);
    8589    //~ $template->smarty->register_modifier('boolean_to_string', 'boolean_to_string');
     
    132136        (script_basename() == 'picture')
    133137        and
    134         ($conf['fbp']['social_plugin_like_button']['enabled'] or $conf['fbp']['social_plugin_facepile']['enabled'] or $conf['fbp']['social_plugin_comments']['enabled'])
     138        ($conf['fbp']['social_plugin_like_button']['enabled'] or $conf['fbp']['social_plugin_facepile']['enabled'] or $conf['fbp']['social_plugin_comments']['enabled'] or $conf['fbp']['share_picture'])
    135139      )
    136140      or
     
    138142        (script_basename() == 'index')
    139143        and
    140         ($conf['fbp']['social_plugin_activity_feed']['enabled'] or $conf['fbp']['social_plugin_like_box']['enabled'])
     144        ($conf['fbp']['social_plugin_activity_feed']['enabled'] or $conf['fbp']['social_plugin_like_box']['enabled'] or $conf['fbp']['share_album'])
    141145      )
    142146      or
Note: See TracChangeset for help on using the changeset viewer.