diff --git a/bl-themes/social-network/css/style.css b/bl-themes/social-network/css/style.css new file mode 100755 index 00000000..cf313e69 --- /dev/null +++ b/bl-themes/social-network/css/style.css @@ -0,0 +1,155 @@ +html { + position: relative; + min-height: 100%; +} + +body { + /* Padding top for navbar */ + padding-top: 56px; + /* Margin bottom for footer height */ + margin-bottom: 60px; + + font-size: 0.9em; + background-color: #E6ECEF; +} + +section { + padding: 150px 0; +} + +img { + max-width: 100%; +} + + +pre, code { + background: #f8f8f8; + color: #333; +} + +pre { + border-left: 2px solid #ccc; + padding: 10px; +} + +code { + display: inline-block; + padding: 0 0.5em; + line-height: 1.4em; + border-radius: 3px; +} + +table { + empty-cells: show; + border: 1px solid #cbcbcb; + width: 100%; + font-size: 0.9em; + margin-bottom: 1rem; +} + +thead { + background-color: #e0e0e0; + color: #000; + text-align: left; + vertical-align: bottom; +} + +tr { + display: table-row; + vertical-align: inherit; + border-color: inherit; +} + +th, td { + padding: 0.5em 1em; +} + +h1.title, +h2.title { + font-size: 2.3rem; +} + +blockquote { + padding: 10px 20px; + margin: 0 0 20px 20px; + border-left: 5px solid #eee; + font-style: italic; +} + +.bg-light-blue { + background: #EAF4FB; +} + +/* Navbar */ +img.nav-svg-icon { + width: 1rem; + height: 1rem; + padding-bottom: 2px; +} + +.nav-link { + font-size: 0.8em; +} + +/* Footer */ +footer { + position: absolute; + bottom: 0; + width: 100%; + height: 60px; + line-height: 60px; + font-size: 0.8em; +} + +.mini-logo { + height: 22px; + padding-bottom: 5px; +} + +/* Plugins */ +.plugin { + padding: 1rem!important; + margin-top: .5rem!important; + margin-bottom: .5rem!important; + position: relative; + display: -ms-flexbox; + display: flex; + -ms-flex-direction: column; + flex-direction: column; + min-width: 0; + word-wrap: break-word; + background-color: #fff; + background-clip: border-box; + border: 1px solid rgba(0,0,0,.125); + border-radius: .25rem; +} + +.plugin-label { + font-size: 1em; + text-transform: uppercase; +} + +.plugin ul { + list-style: none; + padding: 0 0 0 10px; +} + +.share { + font-size: 1.4em; +} + +.share a { + text-decoration: none; + margin: 0 2px; +} +.share .twitter { + color: #1BA1F2; +} + +.share .facebook { + color: #3B5A97; +} + +.share .reddit { + color: #FF4500; +} \ No newline at end of file diff --git a/bl-themes/social-network/img/codepen.svg b/bl-themes/social-network/img/codepen.svg new file mode 100644 index 00000000..a2e9dd0f --- /dev/null +++ b/bl-themes/social-network/img/codepen.svg @@ -0,0 +1,5 @@ + + + CodePen icon + + \ No newline at end of file diff --git a/bl-themes/social-network/img/facebook.svg b/bl-themes/social-network/img/facebook.svg new file mode 100644 index 00000000..aec3d78f --- /dev/null +++ b/bl-themes/social-network/img/facebook.svg @@ -0,0 +1,5 @@ + + + Facebook icon + + \ No newline at end of file diff --git a/bl-themes/social-network/img/favicon.png b/bl-themes/social-network/img/favicon.png new file mode 100644 index 00000000..60349a2b Binary files /dev/null and b/bl-themes/social-network/img/favicon.png differ diff --git a/bl-themes/social-network/img/github.svg b/bl-themes/social-network/img/github.svg new file mode 100644 index 00000000..e5c51731 --- /dev/null +++ b/bl-themes/social-network/img/github.svg @@ -0,0 +1,5 @@ + + + GitHub icon + + \ No newline at end of file diff --git a/bl-themes/social-network/img/gitlab.svg b/bl-themes/social-network/img/gitlab.svg new file mode 100644 index 00000000..befb8db2 --- /dev/null +++ b/bl-themes/social-network/img/gitlab.svg @@ -0,0 +1 @@ +GitLab icon \ No newline at end of file diff --git a/bl-themes/social-network/img/googleplus.svg b/bl-themes/social-network/img/googleplus.svg new file mode 100644 index 00000000..3b221b4c --- /dev/null +++ b/bl-themes/social-network/img/googleplus.svg @@ -0,0 +1,5 @@ + + + Google+ icon + + \ No newline at end of file diff --git a/bl-themes/social-network/img/instagram.svg b/bl-themes/social-network/img/instagram.svg new file mode 100644 index 00000000..10b83fe9 --- /dev/null +++ b/bl-themes/social-network/img/instagram.svg @@ -0,0 +1 @@ +Instagram icon diff --git a/bl-themes/social-network/img/linkedin.svg b/bl-themes/social-network/img/linkedin.svg new file mode 100644 index 00000000..144f8a8a --- /dev/null +++ b/bl-themes/social-network/img/linkedin.svg @@ -0,0 +1,5 @@ + + + LinkedIn icon + + \ No newline at end of file diff --git a/bl-themes/social-network/img/mastodon.svg b/bl-themes/social-network/img/mastodon.svg new file mode 100644 index 00000000..c3d117ae --- /dev/null +++ b/bl-themes/social-network/img/mastodon.svg @@ -0,0 +1 @@ +Mastodon icon \ No newline at end of file diff --git a/bl-themes/social-network/img/rss.svg b/bl-themes/social-network/img/rss.svg new file mode 100644 index 00000000..c47a1157 --- /dev/null +++ b/bl-themes/social-network/img/rss.svg @@ -0,0 +1 @@ +RSS icon \ No newline at end of file diff --git a/bl-themes/social-network/img/twitter.svg b/bl-themes/social-network/img/twitter.svg new file mode 100644 index 00000000..e0476a28 --- /dev/null +++ b/bl-themes/social-network/img/twitter.svg @@ -0,0 +1,5 @@ + + + Twitter icon + + \ No newline at end of file diff --git a/bl-themes/social-network/index.php b/bl-themes/social-network/index.php new file mode 100755 index 00000000..519fb2fc --- /dev/null +++ b/bl-themes/social-network/index.php @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + +
+
+ + +
+ +
+ + +
+ +
+ +
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/bl-themes/social-network/init.php b/bl-themes/social-network/init.php new file mode 100644 index 00000000..ac9fed10 --- /dev/null +++ b/bl-themes/social-network/init.php @@ -0,0 +1,19 @@ +isLogged()) { + try { + $user = new User($login->username()); + } catch (Exception $e) { + $user = false; + } + } +} + +$api = getPlugin('pluginAPI'); +$apiToken = $api->getToken(); + +?> \ No newline at end of file diff --git a/bl-themes/social-network/install.php b/bl-themes/social-network/install.php new file mode 100644 index 00000000..70419400 --- /dev/null +++ b/bl-themes/social-network/install.php @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/bl-themes/social-network/languages/de_CH.json b/bl-themes/social-network/languages/de_CH.json new file mode 100644 index 00000000..44c515a2 --- /dev/null +++ b/bl-themes/social-network/languages/de_CH.json @@ -0,0 +1,7 @@ +{ + "theme-data": + { + "name": "Blog X", + "description": "Theme für Blogs mit Navigatiationsleiste mit statischen Seiten und Social Media Icons, rechter Seitenleiste und Angabe der Lesezeit." + } +} diff --git a/bl-themes/social-network/languages/de_DE.json b/bl-themes/social-network/languages/de_DE.json new file mode 100644 index 00000000..44c515a2 --- /dev/null +++ b/bl-themes/social-network/languages/de_DE.json @@ -0,0 +1,7 @@ +{ + "theme-data": + { + "name": "Blog X", + "description": "Theme für Blogs mit Navigatiationsleiste mit statischen Seiten und Social Media Icons, rechter Seitenleiste und Angabe der Lesezeit." + } +} diff --git a/bl-themes/social-network/languages/en.json b/bl-themes/social-network/languages/en.json new file mode 100644 index 00000000..675b6ed6 --- /dev/null +++ b/bl-themes/social-network/languages/en.json @@ -0,0 +1,7 @@ +{ + "theme-data": + { + "name": "Social Network", + "description": "" + } +} \ No newline at end of file diff --git a/bl-themes/social-network/languages/es.json b/bl-themes/social-network/languages/es.json new file mode 100644 index 00000000..e71bd43a --- /dev/null +++ b/bl-themes/social-network/languages/es.json @@ -0,0 +1,7 @@ +{ + "theme-data": + { + "name": "Blog X", + "description": "Tema para bloggers, soporte para tiempo de lectura y barra de navegación con iconos sociales y páginas estáticas." + } +} \ No newline at end of file diff --git a/bl-themes/social-network/languages/fa_IR.json b/bl-themes/social-network/languages/fa_IR.json new file mode 100644 index 00000000..1ae3df3f --- /dev/null +++ b/bl-themes/social-network/languages/fa_IR.json @@ -0,0 +1,7 @@ +{ + "theme-data": + { + "name": "Blog X", + "description": "قالبی برای وبلاگ نویس ها، به همراه نوار کناری، زمان مطالعه و نوار ناوبری به همراه آیکن های شبکه مجازی و صفحات استاتیک." + } +} diff --git a/bl-themes/social-network/languages/it.json b/bl-themes/social-network/languages/it.json new file mode 100644 index 00000000..4215130c --- /dev/null +++ b/bl-themes/social-network/languages/it.json @@ -0,0 +1,7 @@ +{ + "theme-data": + { + "name": "Blog X", + "description": "Tema per blogger, con barra laterale a destra, tempo di lettura e barra di navigazione con icone social e pagine statiche." + } +} diff --git a/bl-themes/social-network/languages/nl_NL.json b/bl-themes/social-network/languages/nl_NL.json new file mode 100644 index 00000000..1b5fb278 --- /dev/null +++ b/bl-themes/social-network/languages/nl_NL.json @@ -0,0 +1,7 @@ +{ + "theme-data": + { + "name": "Blog X", + "description": "Thema voor bloggers, met zijbalk rechts, leestijdindicatie en navigatiebalk met social media en statische pagina's." + } +} \ No newline at end of file diff --git a/bl-themes/social-network/languages/ru_RU.json b/bl-themes/social-network/languages/ru_RU.json new file mode 100644 index 00000000..8995c0a2 --- /dev/null +++ b/bl-themes/social-network/languages/ru_RU.json @@ -0,0 +1,7 @@ +{ + "theme-data": + { + "name": "Blog X", + "description": "Тема для блоггеров, с боковой панелью справа, примерным временем чтения материала и блоком навигации со значками социальных сетей и статическими страницами." + } +} \ No newline at end of file diff --git a/bl-themes/social-network/languages/tr_TR.json b/bl-themes/social-network/languages/tr_TR.json new file mode 100644 index 00000000..860e3a8d --- /dev/null +++ b/bl-themes/social-network/languages/tr_TR.json @@ -0,0 +1,7 @@ +{ + "theme-data": + { + "name": "Blog X", + "description": "Blog yazarları için tema, sağ kenar çubuğu ile birlikte. Okuma süresi, kenar çubuğunda sosyal simgeler ve sabit sayfalar." + } +} diff --git a/bl-themes/social-network/metadata.json b/bl-themes/social-network/metadata.json new file mode 100644 index 00000000..fb9d8f1b --- /dev/null +++ b/bl-themes/social-network/metadata.json @@ -0,0 +1,10 @@ +{ + "author": "Bludit", + "email": "", + "website": "https://themes.bludit.com", + "version": "3.9.1", + "releaseDate": "2019-05-30", + "license": "MIT", + "compatible": "3.9.1", + "notes": "" +} \ No newline at end of file diff --git a/bl-themes/social-network/php/footer.php b/bl-themes/social-network/php/footer.php new file mode 100644 index 00000000..e6d9bcc8 --- /dev/null +++ b/bl-themes/social-network/php/footer.php @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/bl-themes/social-network/php/head.php b/bl-themes/social-network/php/head.php new file mode 100644 index 00000000..ed1a19f0 --- /dev/null +++ b/bl-themes/social-network/php/head.php @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bl-themes/social-network/php/home.php b/bl-themes/social-network/php/home.php new file mode 100644 index 00000000..9444af59 --- /dev/null +++ b/bl-themes/social-network/php/home.php @@ -0,0 +1,132 @@ + +
+ p('No pages found') ?> +
+ + + +
+
+
+ +
+
+ +
+
+
+ + + +
+ + +
+ + + + +
+ + + +
+ +

+ @user('nickname') ?> - + date() ?> +

+ + + contentBreak() ?> + + +
+
+ + + + +
+ +
diff --git a/bl-themes/social-network/php/navbar.php b/bl-themes/social-network/php/navbar.php new file mode 100644 index 00000000..f3605284 --- /dev/null +++ b/bl-themes/social-network/php/navbar.php @@ -0,0 +1,22 @@ + diff --git a/bl-themes/social-network/php/page.php b/bl-themes/social-network/php/page.php new file mode 100644 index 00000000..7b60f3d1 --- /dev/null +++ b/bl-themes/social-network/php/page.php @@ -0,0 +1,31 @@ + +
+ + + + + + coverImage()): ?> + Cover Image + + +
+ + +

title(); ?>

+
+ + isStatic() && !$url->notFound()): ?> + +
date(); ?> - get('Reading time') . ': ' . $page->readingTime() ?>
+ + + + content(); ?> + +
+ + + + +
diff --git a/bl-themes/social-network/php/sidebar.php b/bl-themes/social-network/php/sidebar.php new file mode 100644 index 00000000..3407d6f0 --- /dev/null +++ b/bl-themes/social-network/php/sidebar.php @@ -0,0 +1 @@ + \ No newline at end of file