This commit is contained in:
Xes
2025-08-14 22:39:38 +02:00
parent 3641e93527
commit 5403f346e3
3370 changed files with 327179 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
Share buttons plugin
===
This plugin could slow down your website because it will load a javascript file from the addthis.com server.
This plugin is very close to the Follow Buttons plugin.

View File

@@ -0,0 +1,21 @@
<?php
/**
* Controller for example date plugin.
*
* @package chamilo.plugin.share_buttons
*/
echo '
<div class="well well-sm">
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style '.$plugin_info['icon_class'].'">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<!-- AddThis Button END -->
</div>
<script type="text/javascript" src="//s7.addthis.com/js/250/addthis_widget.js"></script>
';

View File

@@ -0,0 +1,22 @@
<?php
/**
* This script is a configuration file for the add_this plugin.
* 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 config */
// The plugin title.
$plugin_info['title'] = 'Share this page';
// The comments that go with the plugin.
$plugin_info['comment'] = "Show social icons to share a page using addthis.com";
// The plugin version.
$plugin_info['version'] = '1.0';
// The plugin author.
$plugin_info['author'] = 'Julio Montoya';
// For bigger icons change this value to addthis_32x32_style
$plugin_info['icon_class'] = '';