diff --git a/system/modules/sharebuttons/assets/.htaccess b/system/modules/sharebuttons/assets/.htaccess new file mode 100644 index 0000000..28cc359 --- /dev/null +++ b/system/modules/sharebuttons/assets/.htaccess @@ -0,0 +1,7 @@ + + Order allow,deny + Allow from all + + + Require all granted + \ No newline at end of file diff --git a/system/modules/sharebuttons/assets/shadow/facebook.png b/system/modules/sharebuttons/assets/shadow/facebook.png new file mode 100644 index 0000000..1324e8a Binary files /dev/null and b/system/modules/sharebuttons/assets/shadow/facebook.png differ diff --git a/system/modules/sharebuttons/assets/shadow/gplus.png b/system/modules/sharebuttons/assets/shadow/gplus.png new file mode 100644 index 0000000..0df4692 Binary files /dev/null and b/system/modules/sharebuttons/assets/shadow/gplus.png differ diff --git a/system/modules/sharebuttons/assets/shadow/linkedin.png b/system/modules/sharebuttons/assets/shadow/linkedin.png new file mode 100644 index 0000000..8a0e14b Binary files /dev/null and b/system/modules/sharebuttons/assets/shadow/linkedin.png differ diff --git a/system/modules/sharebuttons/assets/shadow/twitter.png b/system/modules/sharebuttons/assets/shadow/twitter.png new file mode 100644 index 0000000..c59d045 Binary files /dev/null and b/system/modules/sharebuttons/assets/shadow/twitter.png differ diff --git a/system/modules/sharebuttons/assets/sharebuttons_base.css b/system/modules/sharebuttons/assets/sharebuttons_base.css new file mode 100644 index 0000000..b838cd9 --- /dev/null +++ b/system/modules/sharebuttons/assets/sharebuttons_base.css @@ -0,0 +1,25 @@ +ul.sharebuttons { + list-style-type:none; + margin:0 -4px; + padding:0; +} + +ul.sharebuttons:after { + content:""; + display:block; + clear:both; +} + +ul.sharebuttons > li { + float:left; + margin:0 4px; +} + +ul.sharebuttons > li > a { + display:block; + white-space:nowrap; + overflow:hidden; + text-indent:100%; + background-repeat:no-repeat; + background-position:center; +} \ No newline at end of file diff --git a/system/modules/sharebuttons/assets/sharebuttons_shadow.css b/system/modules/sharebuttons/assets/sharebuttons_shadow.css new file mode 100644 index 0000000..bbc4417 --- /dev/null +++ b/system/modules/sharebuttons/assets/sharebuttons_shadow.css @@ -0,0 +1,30 @@ +/* from http://wegraphics.net/downloads/free-long-shadow-social-media-icons/ */ + +ul.sharebuttons > li > a { + width:32px; + height:32px; +} + +ul.sharebuttons > li > a.facebook { + background-image:url('shadow/facebook.png'); +} + +ul.sharebuttons > li > a.twitter { + background-image:url('shadow/twitter.png'); +} + +ul.sharebuttons > li > a.gplus { + background-image:url('shadow/gplus.png'); +} + +ul.sharebuttons > li > a.linkedin { + background-image:url('shadow/linkedin.png'); +} + +ul.sharebuttons > li > a.xing { + display:none; +} + +ul.sharebuttons > li > a.mail { + display:none; +} \ No newline at end of file diff --git a/system/modules/sharebuttons/assets/sharebuttons_simpleflat.css b/system/modules/sharebuttons/assets/sharebuttons_simpleflat.css new file mode 100644 index 0000000..4470572 --- /dev/null +++ b/system/modules/sharebuttons/assets/sharebuttons_simpleflat.css @@ -0,0 +1,30 @@ +/* from http://simplesharingbuttons.com/ */ + +ul.sharebuttons > li > a { + width:32px; + height:32px; +} + +ul.sharebuttons > li > a.facebook { + background-image:url('simpleflat/facebook.png'); +} + +ul.sharebuttons > li > a.twitter { + background-image:url('simpleflat/twitter.png'); +} + +ul.sharebuttons > li > a.gplus { + background-image:url('simpleflat/gplus.png'); +} + +ul.sharebuttons > li > a.linkedin { + background-image:url('simpleflat/linkedin.png'); +} + +ul.sharebuttons > li > a.xing { + display:none; +} + +ul.sharebuttons > li > a.mail { + background-image:url('simpleflat/email.png'); +} \ No newline at end of file diff --git a/system/modules/sharebuttons/assets/sharebuttons_simpleicons_black.css b/system/modules/sharebuttons/assets/sharebuttons_simpleicons_black.css new file mode 100644 index 0000000..280e9da --- /dev/null +++ b/system/modules/sharebuttons/assets/sharebuttons_simpleicons_black.css @@ -0,0 +1,61 @@ +/* from http://simpleicons.org/ */ + +ul.sharebuttons > li > a { + width:32px; + height:32px; +} + +ul.sharebuttons > li > a.facebook { + background-image:url('simpleicons/facebook-32-black.png'); +} + +ul.sharebuttons > li > a.twitter { + background-image:url('simpleicons/twitter-32-black.png'); +} + +ul.sharebuttons > li > a.gplus { + background-image:url('simpleicons/googleplus-32-black.png'); +} + +ul.sharebuttons > li > a.linkedin { + background-image:url('simpleicons/linkedin-32-black.png'); +} + +ul.sharebuttons > li > a.xing { + background-image:url('simpleicons/xing-32-black.png'); +} + +ul.sharebuttons > li > a.mail { + background-image:url('simpleicons/email-32-black.png'); +} + +@media only screen and (max-width:768px) { + + ul.sharebuttons > li > a { + background-size:100% auto; + } + + ul.sharebuttons > li > a.facebook { + background-image:url('simpleicons/facebook-64-black.png'); + } + + ul.sharebuttons > li > a.twitter { + background-image:url('simpleicons/twitter-64-black.png'); + } + + ul.sharebuttons > li > a.gplus { + background-image:url('simpleicons/googleplus-64-black.png'); + } + + ul.sharebuttons > li > a.linkedin { + background-image:url('simpleicons/linkedin-64-black.png'); + } + + ul.sharebuttons > li > a.xing { + background-image:url('simpleicons/xing-64-black.png'); + } + + ul.sharebuttons > li > a.mail { + background-image:url('simpleicons/email-64-black.png'); + } +} \ No newline at end of file diff --git a/system/modules/sharebuttons/assets/sharebuttons_simpleicons_white.css b/system/modules/sharebuttons/assets/sharebuttons_simpleicons_white.css new file mode 100644 index 0000000..4a3d237 --- /dev/null +++ b/system/modules/sharebuttons/assets/sharebuttons_simpleicons_white.css @@ -0,0 +1,61 @@ +/* from http://simpleicons.org/ */ + +ul.sharebuttons > li > a { + width:32px; + height:32px; +} + +ul.sharebuttons > li > a.facebook { + background-image:url('simpleicons/facebook-32.png'); +} + +ul.sharebuttons > li > a.twitter { + background-image:url('simpleicons/twitter-32.png'); +} + +ul.sharebuttons > li > a.gplus { + background-image:url('simpleicons/googleplus-32.png'); +} + +ul.sharebuttons > li > a.linkedin { + background-image:url('simpleicons/linkedin-32.png'); +} + +ul.sharebuttons > li > a.xing { + background-image:url('simpleicons/xing-32.png'); +} + +ul.sharebuttons > li > a.mail { + background-image:url('simpleicons/email-32.png'); +} + +@media only screen and (max-width:768px) { + + ul.sharebuttons > li > a { + background-size:100% auto; + } + + ul.sharebuttons > li > a.facebook { + background-image:url('simpleicons/facebook-64.png'); + } + + ul.sharebuttons > li > a.twitter { + background-image:url('simpleicons/twitter-64.png'); + } + + ul.sharebuttons > li > a.gplus { + background-image:url('simpleicons/googleplus-64.png'); + } + + ul.sharebuttons > li > a.linkedin { + background-image:url('simpleicons/linkedin-64.png'); + } + + ul.sharebuttons > li > a.xing { + background-image:url('simpleicons/xing-64.png'); + } + + ul.sharebuttons > li > a.mail { + background-image:url('simpleicons/email-64.png'); + } +} \ No newline at end of file diff --git a/system/modules/sharebuttons/assets/simpleflat/email.png b/system/modules/sharebuttons/assets/simpleflat/email.png new file mode 100644 index 0000000..8e91453 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleflat/email.png differ diff --git a/system/modules/sharebuttons/assets/simpleflat/facebook.png b/system/modules/sharebuttons/assets/simpleflat/facebook.png new file mode 100644 index 0000000..d7fb464 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleflat/facebook.png differ diff --git a/system/modules/sharebuttons/assets/simpleflat/gplus.png b/system/modules/sharebuttons/assets/simpleflat/gplus.png new file mode 100644 index 0000000..270a2de Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleflat/gplus.png differ diff --git a/system/modules/sharebuttons/assets/simpleflat/linkedin.png b/system/modules/sharebuttons/assets/simpleflat/linkedin.png new file mode 100644 index 0000000..96c801d Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleflat/linkedin.png differ diff --git a/system/modules/sharebuttons/assets/simpleflat/pinboard.png b/system/modules/sharebuttons/assets/simpleflat/pinboard.png new file mode 100644 index 0000000..dcbeeba Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleflat/pinboard.png differ diff --git a/system/modules/sharebuttons/assets/simpleflat/pinterest.png b/system/modules/sharebuttons/assets/simpleflat/pinterest.png new file mode 100644 index 0000000..cd5eff4 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleflat/pinterest.png differ diff --git a/system/modules/sharebuttons/assets/simpleflat/pocket.png b/system/modules/sharebuttons/assets/simpleflat/pocket.png new file mode 100644 index 0000000..423d78c Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleflat/pocket.png differ diff --git a/system/modules/sharebuttons/assets/simpleflat/reddit.png b/system/modules/sharebuttons/assets/simpleflat/reddit.png new file mode 100644 index 0000000..a36fad0 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleflat/reddit.png differ diff --git a/system/modules/sharebuttons/assets/simpleflat/tumblr.png b/system/modules/sharebuttons/assets/simpleflat/tumblr.png new file mode 100644 index 0000000..435338b Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleflat/tumblr.png differ diff --git a/system/modules/sharebuttons/assets/simpleflat/twitter.png b/system/modules/sharebuttons/assets/simpleflat/twitter.png new file mode 100644 index 0000000..3824707 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleflat/twitter.png differ diff --git a/system/modules/sharebuttons/assets/simpleflat/wordpress.png b/system/modules/sharebuttons/assets/simpleflat/wordpress.png new file mode 100644 index 0000000..c8aa728 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleflat/wordpress.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/email-32-black.png b/system/modules/sharebuttons/assets/simpleicons/email-32-black.png new file mode 100644 index 0000000..1e5c8bf Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/email-32-black.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/email-32.png b/system/modules/sharebuttons/assets/simpleicons/email-32.png new file mode 100644 index 0000000..96f46c6 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/email-32.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/email-64-black.png b/system/modules/sharebuttons/assets/simpleicons/email-64-black.png new file mode 100644 index 0000000..dbec680 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/email-64-black.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/email-64.png b/system/modules/sharebuttons/assets/simpleicons/email-64.png new file mode 100644 index 0000000..08b4cd7 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/email-64.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/facebook-32-black.png b/system/modules/sharebuttons/assets/simpleicons/facebook-32-black.png new file mode 100644 index 0000000..3d249fd Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/facebook-32-black.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/facebook-32.png b/system/modules/sharebuttons/assets/simpleicons/facebook-32.png new file mode 100644 index 0000000..b36497b Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/facebook-32.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/facebook-64-black.png b/system/modules/sharebuttons/assets/simpleicons/facebook-64-black.png new file mode 100644 index 0000000..3ec27a0 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/facebook-64-black.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/facebook-64.png b/system/modules/sharebuttons/assets/simpleicons/facebook-64.png new file mode 100644 index 0000000..06dbaa0 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/facebook-64.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/googleplus-32-black.png b/system/modules/sharebuttons/assets/simpleicons/googleplus-32-black.png new file mode 100644 index 0000000..9db76fd Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/googleplus-32-black.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/googleplus-32.png b/system/modules/sharebuttons/assets/simpleicons/googleplus-32.png new file mode 100644 index 0000000..59d3c8a Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/googleplus-32.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/googleplus-64-black.png b/system/modules/sharebuttons/assets/simpleicons/googleplus-64-black.png new file mode 100644 index 0000000..ed3d3b8 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/googleplus-64-black.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/googleplus-64.png b/system/modules/sharebuttons/assets/simpleicons/googleplus-64.png new file mode 100644 index 0000000..5738c36 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/googleplus-64.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/linkedin-32-black.png b/system/modules/sharebuttons/assets/simpleicons/linkedin-32-black.png new file mode 100644 index 0000000..dcdda37 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/linkedin-32-black.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/linkedin-32.png b/system/modules/sharebuttons/assets/simpleicons/linkedin-32.png new file mode 100644 index 0000000..71f7a2a Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/linkedin-32.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/linkedin-64-black.png b/system/modules/sharebuttons/assets/simpleicons/linkedin-64-black.png new file mode 100644 index 0000000..349cf7c Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/linkedin-64-black.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/linkedin-64.png b/system/modules/sharebuttons/assets/simpleicons/linkedin-64.png new file mode 100644 index 0000000..eed36c0 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/linkedin-64.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/twitter-32-black.png b/system/modules/sharebuttons/assets/simpleicons/twitter-32-black.png new file mode 100644 index 0000000..05e0c2c Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/twitter-32-black.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/twitter-32.png b/system/modules/sharebuttons/assets/simpleicons/twitter-32.png new file mode 100644 index 0000000..a4c7b50 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/twitter-32.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/twitter-64-black.png b/system/modules/sharebuttons/assets/simpleicons/twitter-64-black.png new file mode 100644 index 0000000..5b71ce3 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/twitter-64-black.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/twitter-64.png b/system/modules/sharebuttons/assets/simpleicons/twitter-64.png new file mode 100644 index 0000000..41124bb Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/twitter-64.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/xing-32-black.png b/system/modules/sharebuttons/assets/simpleicons/xing-32-black.png new file mode 100644 index 0000000..25fabb0 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/xing-32-black.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/xing-32.png b/system/modules/sharebuttons/assets/simpleicons/xing-32.png new file mode 100644 index 0000000..e622f29 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/xing-32.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/xing-64-black.png b/system/modules/sharebuttons/assets/simpleicons/xing-64-black.png new file mode 100644 index 0000000..6045e27 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/xing-64-black.png differ diff --git a/system/modules/sharebuttons/assets/simpleicons/xing-64.png b/system/modules/sharebuttons/assets/simpleicons/xing-64.png new file mode 100644 index 0000000..29131e5 Binary files /dev/null and b/system/modules/sharebuttons/assets/simpleicons/xing-64.png differ diff --git a/system/modules/sharebuttons/classes/ModuleShareButtons.php b/system/modules/sharebuttons/classes/ModuleShareButtons.php index fea270c..f037351 100644 --- a/system/modules/sharebuttons/classes/ModuleShareButtons.php +++ b/system/modules/sharebuttons/classes/ModuleShareButtons.php @@ -39,6 +39,15 @@ protected function compile() $this->Template->linkedin = $this->sharebuttons_linkedin; $this->Template->xing = $this->sharebuttons_xing; $this->Template->mail = $this->sharebuttons_mail; + $this->Template->usetheme = $this->sharebuttons_usetheme; + $this->Template->theme = $this->sharebuttons_theme; + + if( $this->sharebuttons_usetheme && TL_MODE == 'FE' ) + { + if( !is_array( $GLOBALS['TL_CSS'] ) ) $GLOBALS['TL_CSS'] = array(); + $GLOBALS['TL_CSS'][] = 'system/modules/sharebuttons/assets/sharebuttons_base.css'; + $GLOBALS['TL_CSS'][] = 'system/modules/sharebuttons/assets/'.$this->sharebuttons_theme.'.css'; + } } } ?> diff --git a/system/modules/sharebuttons/dca/tl_module.php b/system/modules/sharebuttons/dca/tl_module.php index b794942..fd87226 100644 --- a/system/modules/sharebuttons/dca/tl_module.php +++ b/system/modules/sharebuttons/dca/tl_module.php @@ -17,7 +17,9 @@ /** * Add palettes to tl_module */ -$GLOBALS['TL_DCA']['tl_module']['palettes']['sharebuttons'] = '{title_legend},name,headline,type;{sharebuttons_legend},sharebuttons_facebook,sharebuttons_twitter,sharebuttons_gplus,sharebuttons_linkedin,sharebuttons_xing,sharebuttons_mail,sharebuttons_template;{expert_legend},cssID,align,space'; +$GLOBALS['TL_DCA']['tl_module']['palettes']['__selector__'][] = 'sharebuttons_usetheme'; +$GLOBALS['TL_DCA']['tl_module']['palettes']['sharebuttons'] = '{title_legend},name,headline,type;{sharebuttons_legend},sharebuttons_facebook,sharebuttons_twitter,sharebuttons_gplus,sharebuttons_linkedin,sharebuttons_xing,sharebuttons_mail,sharebuttons_template;{sharebuttons_theme_legend},sharebuttons_usetheme;{expert_legend},cssID,align,space'; +$GLOBALS['TL_DCA']['tl_module']['subpalettes']['sharebuttons_usetheme'] = 'sharebuttons_theme'; /** * Add fields to tl_module @@ -93,6 +95,26 @@ 'sql' => "varchar(32) NOT NULL default 'sharebuttons_default'" ); +$GLOBALS['TL_DCA']['tl_module']['fields']['sharebuttons_usetheme'] = array +( + 'label' => &$GLOBALS['TL_LANG']['tl_module']['sharebuttons_usetheme'], + 'exclude' => true, + 'inputType' => 'checkbox', + 'eval' => array('submitOnChange'=>true), + 'sql' => "char(1) NOT NULL default ''" +); + +$GLOBALS['TL_DCA']['tl_module']['fields']['sharebuttons_theme'] = array +( + 'label' => &$GLOBALS['TL_LANG']['tl_module']['sharebuttons_theme'], + 'exclude' => true, + 'inputType' => 'select', + 'options' => array('sharebuttons_shadow','sharebuttons_simpleflat','sharebuttons_simpleicons_white','sharebuttons_simpleicons_black'), + 'reference' => &$GLOBALS['TL_LANG']['tl_module'], + 'default' => 'sharebuttons_shadow', + 'sql' => "varchar(32) NOT NULL default ''" +); + class tl_sharebuttons_module extends Backend { public function getSharebuttonsTemplates(DataContainer $dc) diff --git a/system/modules/sharebuttons/languages/de/modules.php b/system/modules/sharebuttons/languages/de/modules.php index 9b3b38b..be6b099 100644 --- a/system/modules/sharebuttons/languages/de/modules.php +++ b/system/modules/sharebuttons/languages/de/modules.php @@ -26,4 +26,13 @@ $GLOBALS['TL_LANG']['tl_module']['sharebuttons_mail'] = array('Zeige E-Mail','Zeige e-mail teilen button'); $GLOBALS['TL_LANG']['tl_module']['sharebuttons_template'] = array('Template','Verwendetes Frontend Template. Beginnt mit sharebuttons_'); +$GLOBALS['TL_LANG']['tl_module']['sharebuttons_theme_legend'] = "Theme"; + +$GLOBALS['TL_LANG']['tl_module']['sharebuttons_usetheme'] = array('Theme benutzen','Integriert CSS files für das styling der buttons'); +$GLOBALS['TL_LANG']['tl_module']['sharebuttons_theme'] = array('Theme','Wähle ein Theme aus, das für die buttons verwendet wird'); +$GLOBALS['TL_LANG']['tl_module']['sharebuttons_shadow'] = 'Shadow'; +$GLOBALS['TL_LANG']['tl_module']['sharebuttons_simpleflat'] = 'Simple Flat'; +$GLOBALS['TL_LANG']['tl_module']['sharebuttons_simpleicons_white'] = 'Simple Icons White'; +$GLOBALS['TL_LANG']['tl_module']['sharebuttons_simpleicons_black'] = 'Simple Icons Black'; + ?> \ No newline at end of file diff --git a/system/modules/sharebuttons/languages/en/modules.php b/system/modules/sharebuttons/languages/en/modules.php index 4b1fcbc..2742845 100644 --- a/system/modules/sharebuttons/languages/en/modules.php +++ b/system/modules/sharebuttons/languages/en/modules.php @@ -26,4 +26,13 @@ $GLOBALS['TL_LANG']['tl_module']['sharebuttons_mail'] = array('Enable E-Mail','Enable e-mail share button'); $GLOBALS['TL_LANG']['tl_module']['sharebuttons_template'] = array('Template','Used Template for frontend rendering. Starts with sharebuttons_'); +$GLOBALS['TL_LANG']['tl_module']['sharebuttons_theme_legend'] = "Theme"; + +$GLOBALS['TL_LANG']['tl_module']['sharebuttons_usetheme'] = array('Use theme','Integrates CSS files to style the buttons'); +$GLOBALS['TL_LANG']['tl_module']['sharebuttons_theme'] = array('Theme','Choose a theme for the buttons'); +$GLOBALS['TL_LANG']['tl_module']['sharebuttons_shadow'] = 'Shadow'; +$GLOBALS['TL_LANG']['tl_module']['sharebuttons_simpleflat'] = 'Simple Flat'; +$GLOBALS['TL_LANG']['tl_module']['sharebuttons_simpleicons_white'] = 'Simple Icons White'; +$GLOBALS['TL_LANG']['tl_module']['sharebuttons_simpleicons_black'] = 'Simple Icons Black'; + ?> \ No newline at end of file diff --git a/system/modules/sharebuttons/templates/sharebuttons_default.html5 b/system/modules/sharebuttons/templates/sharebuttons_default.html5 index c81f87e..4e78f03 100644 --- a/system/modules/sharebuttons/templates/sharebuttons_default.html5 +++ b/system/modules/sharebuttons/templates/sharebuttons_default.html5 @@ -1,6 +1,16 @@ -