From c9e8a3e8febc512aee60db53d344fd2b1c606faa Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 26 Sep 2014 17:05:22 +0100 Subject: [PATCH 01/12] Minor doco. Add some clarity - that had me scratching my head. --- include/language.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/language.php b/include/language.php index 855d94505..83e5e0f20 100644 --- a/include/language.php +++ b/include/language.php @@ -146,7 +146,7 @@ function load_translation_table($lang, $install = false) { * * @param $s string that should get translated * @param $ctx optional context to appear in po file - * @return translated string if exsists, otherwise s + * @return translated string if exsists, otherwise return $s * */ function t($s,$ctx = '') { From 94fcf5885ee6543140884143afaba9a06adac3f9 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 26 Sep 2014 17:16:55 +0100 Subject: [PATCH 02/12] So much so, in fact, that I didn't even notice the typo. --- include/language.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/language.php b/include/language.php index 83e5e0f20..9db57dceb 100644 --- a/include/language.php +++ b/include/language.php @@ -146,7 +146,7 @@ function load_translation_table($lang, $install = false) { * * @param $s string that should get translated * @param $ctx optional context to appear in po file - * @return translated string if exsists, otherwise return $s + * @return translated string if exists, otherwise return $s * */ function t($s,$ctx = '') { From f652fbdf74ca646679df52825a7604893eca13e5 Mon Sep 17 00:00:00 2001 From: marijus Date: Fri, 26 Sep 2014 19:17:02 +0200 Subject: [PATCH 03/12] fix blockquote --- view/css/bootstrap-red.css | 5 ----- view/theme/redbasic/css/style.css | 20 +++++++++++++------- view/theme/redbasic/php/style.php | 6 +++--- view/tpl/photo_albums.tpl | 2 +- 4 files changed, 17 insertions(+), 16 deletions(-) diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index 0c004ee05..ba4cc08b0 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -74,8 +74,3 @@ nav .navbar-collapse .navbar-right { code { white-space: normal; } - - -blockquote { - font-size: 1em; -} diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 2cb2d917d..c908b9fc8 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -115,13 +115,7 @@ pre { border:1px solid $pre_borderc; } -blockquote { - background-color: $blockquote_bgcolour; - border-left: 4px solid $blockquote_bordercolour; - padding: 0.4em; - color: $blockquote_colour; - margin-left: 20px; -} + .ccollapse-wrapper { border: 1px solid #CCC; @@ -2248,6 +2242,18 @@ nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{ } /* bootstrap overrides */ + + +blockquote { + font-size: $font_size; + font-style: italic; + background-color: $blockquote_bgcolour; + border-left: 3px solid $blockquote_bordercolour; + padding: 0.4em; + color: $blockquote_colour; + margin: 0px 0px 0px 20px; +} + .badge { border-radius: $radiuspx; } diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index d6d77e961..edf77cb0b 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -142,11 +142,11 @@ if(! $a->install) { if (! $widget_brdrcolour) $widget_brdrcolour = "rgba(238,238,238,0.8)"; if (! $blockquote_colour) - $blockquote_colour = "#000"; + $blockquote_colour = "#4d4d4d"; if (! $blockquote_bgcolour) - $blockquote_bgcolour = "#f4f8f9"; + $blockquote_bgcolour = ""; if (! $blockquote_bordercolour) - $blockquote_bordercolour = "#dae4ee"; + $blockquote_bordercolour = "#ccc"; if (! $code_borderc) $code_borderc = "#444"; if (! $code_bgcolour) diff --git a/view/tpl/photo_albums.tpl b/view/tpl/photo_albums.tpl index 27f156c68..cbb07cac3 100755 --- a/view/tpl/photo_albums.tpl +++ b/view/tpl/photo_albums.tpl @@ -1,5 +1,5 @@ From 04e460c8f8915be3b7911bf0b9c9c0bcd8703e25 Mon Sep 17 00:00:00 2001 From: marijus Date: Fri, 26 Sep 2014 19:34:39 +0200 Subject: [PATCH 05/12] upload first but not inside another {{if}} --- view/tpl/photo_albums.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/tpl/photo_albums.tpl b/view/tpl/photo_albums.tpl index cc0890e26..5602f8571 100755 --- a/view/tpl/photo_albums.tpl +++ b/view/tpl/photo_albums.tpl @@ -1,10 +1,10 @@