diff --git a/e107_plugins/social/admin_config.php b/e107_plugins/social/admin_config.php index 958b6694c..a46db2b2f 100644 --- a/e107_plugins/social/admin_config.php +++ b/e107_plugins/social/admin_config.php @@ -83,6 +83,9 @@ class social_ui extends e_admin_ui 'facebook_like_menu_theme' => array('title'=> 'Theme', 'type'=>'dropdown', 'tab'=>2, 'writeParms'=>array('optArray'=>array('light'=>'Light','dark'=>'Dark')), 'data' => 'str'), 'facebook_like_menu_action' => array('title'=> 'Action', 'type'=>'dropdown', 'tab'=>2, 'writeParms'=>array('optArray'=>array('like'=>'Like','recommend'=>'Recommend')), 'data' => 'str'), 'facebook_like_menu_width' => array('title'=> 'Width', 'type'=>'number', 'tab'=>2, 'data' => 'int','help'=>'Width in px'), + // 'facebook_like_menu_ref' => array('title'=> "Referrer", 'type'=>'text', 'tab'=>2, 'data' => 'str', 'writeParms'=>'size=xxlarge', 'help'=>'Leave blank to use Site Url'), + + 'twitter_menu_theme' => array('title'=> 'Theme', 'type'=>'dropdown', 'tab'=>3, 'writeParms'=>array('optArray'=>array('light'=>'Light','dark'=>'Dark')), 'data' => 'str'), 'twitter_menu_height' => array('title'=> 'Height', 'type'=>'number', 'tab'=>3, 'data' => 'int','help'=>'Height in px'), diff --git a/e107_plugins/social/fb_like_menu.php b/e107_plugins/social/fb_like_menu.php index 12e33e009..fa4e6722a 100644 --- a/e107_plugins/social/fb_like_menu.php +++ b/e107_plugins/social/fb_like_menu.php @@ -20,12 +20,14 @@ if(deftrue('SOCIAL_FACEBOOK_INIT') ) $layout = vartrue($pref['facebook_like_menu_layout'], 'standard'); // standard, button_count, button or box_count. $width = vartrue($pref['facebook_like_menu_width'], 150); $theme = vartrue($pref['facebook_like_menu_theme'], 'light'); + $ref = deftrue('XURL_FACEBOOK', SITEURL); // vartrue($pref['facebook_like_menu_ref'], basename(); + $share = vartrue($pref['facebook_like_menu_share'], 'false'); $text = "
"; // prevent theme breakages. - $text .= '
'; + $text .= '
'; $text .= "
"; - e107::getRender()->tablerender('Facebook '.$theme,$text,'facebook-like-menu'); + e107::getRender()->tablerender('Facebook',$text,'facebook-like-menu'); }elseif(ADMIN) {