diff --git a/config/config.ini.example b/config/config.ini.example index b0a38c7..88467d2 100644 --- a/config/config.ini.example +++ b/config/config.ini.example @@ -24,6 +24,9 @@ social.twitter = "https://twitter.com" social.facebook = "https://www.facebook.com" social.google = "https://plus.google.com" social.tumblr = "http://www.tumblr.com" +social.hubzilla = "" +social.gnusocial = "" +social.diaspora = "" ; Custom menu link. ; See example below: diff --git a/system/includes/functions.php b/system/includes/functions.php index 2096806..c822bdc 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -1814,6 +1814,9 @@ function social($imgDir = null) $google = config('social.google'); $tumblr = config('social.tumblr'); $rss = site_url() . 'feed/rss'; + $hubzilla = config('social.hubzilla'); + $gnusocial = config('social.gnusocial'); + $diaspora = config('social.diaspora'); if ($imgDir === null) { $imgDir = "default/img/"; @@ -1835,6 +1838,18 @@ function social($imgDir = null) echo 'Tumblr'; } + if (!empty($hubzilla)) { + echo 'Hubzilla'; + } + + if (!empty($gnusocial)) { + echo 'GNU Social'; + } + + if (!empty($diaspora)) { + echo 'Diaspora'; + } + echo 'RSS Feed'; } diff --git a/themes/blog/layout.html.php b/themes/blog/layout.html.php index ee8a673..3555baf 100644 --- a/themes/blog/layout.html.php +++ b/themes/blog/layout.html.php @@ -54,6 +54,9 @@
  • +
  • +
  • +
  • @@ -197,4 +200,4 @@ - \ No newline at end of file + diff --git a/themes/default/img/diaspora.png b/themes/default/img/diaspora.png new file mode 100644 index 0000000..248a6c2 Binary files /dev/null and b/themes/default/img/diaspora.png differ diff --git a/themes/default/img/gnusocial.png b/themes/default/img/gnusocial.png new file mode 100644 index 0000000..42f33c0 Binary files /dev/null and b/themes/default/img/gnusocial.png differ diff --git a/themes/default/img/hubzilla.png b/themes/default/img/hubzilla.png new file mode 100644 index 0000000..5d6a978 Binary files /dev/null and b/themes/default/img/hubzilla.png differ