From d3741ee7736c2bb202d91273ff5726093d908a34 Mon Sep 17 00:00:00 2001 From: dignajar Date: Tue, 10 Nov 2015 19:47:21 -0300 Subject: [PATCH] Minor changes --- admin/themes/default/css/default.css | 9 +++- languages/fr_FR.json | 0 plugins/about/languages/en_US.json | 12 +++++ plugins/about/plugin.php | 73 ++++++++++++++++++++++++++++ 4 files changed, 93 insertions(+), 1 deletion(-) mode change 100755 => 100644 languages/fr_FR.json create mode 100644 plugins/about/languages/en_US.json create mode 100644 plugins/about/plugin.php diff --git a/admin/themes/default/css/default.css b/admin/themes/default/css/default.css index 7ab788c0..4c58ae51 100644 --- a/admin/themes/default/css/default.css +++ b/admin/themes/default/css/default.css @@ -236,9 +236,16 @@ div.plugin-links > span.separator { color: #AAAAAA; } +#jsformplugin textarea { + min-width: 400px; + width: 60%; + min-height: 100px; +} + #jsformplugin input[type=text] { min-width: 400px; width: 60%; + height: 37px; } #jsformplugin input[type="checkbox"] { @@ -249,6 +256,6 @@ div.plugin-links > span.separator { #jsformplugin label.forCheckbox { margin-left: 3px; - margin-bottom: 10px; + margin-bottom: 0px !important; display: inline-block; } diff --git a/languages/fr_FR.json b/languages/fr_FR.json old mode 100755 new mode 100644 diff --git a/plugins/about/languages/en_US.json b/plugins/about/languages/en_US.json new file mode 100644 index 00000000..cbab48ef --- /dev/null +++ b/plugins/about/languages/en_US.json @@ -0,0 +1,12 @@ +{ + "plugin-data": + { + "name": "About", + "description": "Little description about your site or your self.", + "author": "Bludit", + "email": "", + "website": "https://github.com/dignajar/bludit-plugins", + "version": "0.6", + "releaseDate": "2015-11-10" + } +} \ No newline at end of file diff --git a/plugins/about/plugin.php b/plugins/about/plugin.php new file mode 100644 index 00000000..0924fb50 --- /dev/null +++ b/plugins/about/plugin.php @@ -0,0 +1,73 @@ +dbFields = array( + 'label'=>'About', + 'text'=>'', + 'facebook'=>'', + 'twitter'=>'', + 'instagram'=>'', + 'googleplus'=>'' + ); + } + + public function form() + { + global $Language; + + $html = '
'; + $html .= ''; + $html .= ''; + $html .= '
'; + + $html .= '
'; + $html .= ''; + $html .= ''; + $html .= '
'; + + $html .= 'Social networks'; + + $html .= '
'; + $html .= ''; + $html .= ''; + $html .= '
'; + + $html .= '
'; + $html .= ''; + $html .= ''; + $html .= '
'; + + $html .= '
'; + $html .= ''; + $html .= ''; + $html .= '
'; + + $html .= '
'; + $html .= ''; + $html .= ''; + $html .= '
'; + + return $html; + } + + public function siteSidebar() + { + global $Language; + global $dbTags; + global $Url; + + $filter = $Url->filters('tag'); + + $html = '
'; + $html .= '

'.$this->getDbField('label').'

'; + $html .= '
'; + $html .= $this->getDbField('text'); + $html .= '
'; + $html .= '
'; + + return $html; + } +} \ No newline at end of file