Deleted "follow_buttons" unused plugin #2661
parent
8cd209ad8d
commit
e1c6448948
@ -1,6 +0,0 @@ |
||||
Follow buttons (or AddThis icons) |
||||
=== |
||||
|
||||
Edit the main/plugin/follow_buttons/index.php file in order to add your settings. |
||||
|
||||
It can slow down your website because it will load a javascript file from the addthis.com server |
@ -1,20 +0,0 @@ |
||||
<?php |
||||
/** |
||||
* Controller for example date plugin. |
||||
* |
||||
* @package chamilo.plugin.sharethis |
||||
*/ |
||||
|
||||
//Plugin settings |
||||
$_template = null; |
||||
|
||||
//$_template['message'] = 'Follow us'; |
||||
|
||||
$_template['facebook'] = 'chamilolms'; //http://www.facebook.com/your-profile |
||||
$_template['twitter'] = 'chamilo_news'; //http://twitter.com/your-profile |
||||
$_template['linkedin'] = 'chamilo_news'; //http://www.linkedin.com/in/your-profile |
||||
$_template['googleplus'] = ''; //https://plus.google.com/your-profile |
||||
$_template['youtube'] = ''; //http://www.youtube.com/user/your-profile |
||||
$_template['flickr'] = ''; //http://www.flickr.com/photos/your-profile |
||||
$_template['vimeo'] = ''; //http://www.vimeo.com/your-profile |
||||
$_template['rss'] = 'http://www.chamilo.org/'; |
@ -1,31 +0,0 @@ |
||||
<?php |
||||
/** |
||||
* This script is a configuration file for the date plugin. You can use it as a master for other platform plugins (course plugins are slightly different). |
||||
* These settings will be used in the administration interface for plugins (Chamilo configuration settings->Plugins). |
||||
* |
||||
* @package chamilo.plugin |
||||
* |
||||
* @author Julio Montoya <gugli100@gmail.com> |
||||
*/ |
||||
/** |
||||
* Plugin details (must be present). |
||||
*/ |
||||
|
||||
/* Plugin config */ |
||||
|
||||
//the plugin title |
||||
$plugin_info['title'] = 'Follow icons'; |
||||
//the comments that go with the plugin |
||||
$plugin_info['comment'] = "Add social icons (implemented using addthis.com)"; |
||||
//the plugin version |
||||
$plugin_info['version'] = '1.0'; |
||||
//the plugin author |
||||
$plugin_info['author'] = 'Julio Montoya'; |
||||
|
||||
$plugin_info['templates'] = ['template.tpl']; |
||||
|
||||
//For bigger icons change this value to addthis_32x32_style |
||||
$plugin_info['icon_class'] = ''; |
||||
|
||||
//To use vertical alignment change this value to |
||||
$plugin_info['position'] = 'addthis_default_style'; //addthis_vertical_style |
@ -1,35 +0,0 @@ |
||||
<div class="well"> |
||||
<!-- AddThis Button BEGIN --> |
||||
{% if follow_buttons.message is not empty %} |
||||
<h3>{{ follow_buttons.message }}</h3> |
||||
{% endif %} |
||||
|
||||
<div class="addthis_toolbox {{ follow_buttons.plugin_info.icon_class}} {{ follow_buttons.plugin_info.position}} "> |
||||
{% if follow_buttons.facebook is not empty %} |
||||
<a class="addthis_button_facebook_follow" addthis:userid="{{ follow_buttons.facebook }}"></a> |
||||
{% endif %} |
||||
{% if follow_buttons.twitter is not empty %} |
||||
<a class="addthis_button_twitter_follow" addthis:userid="{{ follow_buttons.twitter }}"></a> |
||||
{% endif %} |
||||
{% if follow_buttons.linkedin is not empty %} |
||||
<a class="addthis_button_linkedin_follow" addthis:userid="{{ follow_buttons.linkedin }}"></a> |
||||
{% endif %} |
||||
{% if follow_buttons.googleplus is not empty %} |
||||
<a class="addthis_button_google_follow" addthis:userid="{{ follow_buttons.googleplus }}"></a> |
||||
{% endif %} |
||||
{% if follow_buttons.youtube is not empty %} |
||||
<a class="addthis_button_youtube_follow" addthis:userid="{{ follow_buttons.youtube }}"></a> |
||||
{% endif %} |
||||
{% if follow_buttons.flickr is not empty %} |
||||
<a class="addthis_button_flickr_follow" addthis:userid="{{ follow_buttons.flickr }}"></a> |
||||
{% endif %} |
||||
{% if follow_buttons.vimeo is not empty %} |
||||
<a class="addthis_button_vimeo_follow" addthis:userid="{{ follow_buttons.vimeo }}"></a> |
||||
{% endif %} |
||||
{% if follow_buttons.rss is not empty %} |
||||
<a class="addthis_button_rss_follow" addthis:url="{{ follow_buttons.rss }}"></a> |
||||
{% endif %} |
||||
</div> |
||||
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f69d7995360186c"></script> |
||||
<!-- AddThis Button END --> |
||||
</div> |
Loading…
Reference in new issue