From 7d018f651d5f5b21a650d81ab5ea16a224585da6 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Mon, 9 Apr 2012 00:02:48 +0200 Subject: fixed z-index of youtube-vids fixed bug to hide right_side --- view/theme/diabook-aerith/oembed_video.tpl | 4 +++ view/theme/diabook-aerith/style-network.css | 2 +- view/theme/diabook-aerith/style-profile.css | 2 +- view/theme/diabook-aerith/style.css | 4 +-- view/theme/diabook-aerith/theme.php | 45 +++++++++++++++++++++++++---- 5 files changed, 48 insertions(+), 9 deletions(-) create mode 100644 view/theme/diabook-aerith/oembed_video.tpl (limited to 'view/theme/diabook-aerith') diff --git a/view/theme/diabook-aerith/oembed_video.tpl b/view/theme/diabook-aerith/oembed_video.tpl new file mode 100644 index 000000000..d6d29f724 --- /dev/null +++ b/view/theme/diabook-aerith/oembed_video.tpl @@ -0,0 +1,4 @@ + + +
+
diff --git a/view/theme/diabook-aerith/style-network.css b/view/theme/diabook-aerith/style-network.css index 3b461e6db..07bda6a24 100644 --- a/view/theme/diabook-aerith/style-network.css +++ b/view/theme/diabook-aerith/style-network.css @@ -2173,7 +2173,7 @@ blockquote { color: #777; } .oembed { - font-size: large; + font-weight: bold; } .aprofile dt{ diff --git a/view/theme/diabook-aerith/style-profile.css b/view/theme/diabook-aerith/style-profile.css index 73f46e9ee..8909f0870 100644 --- a/view/theme/diabook-aerith/style-profile.css +++ b/view/theme/diabook-aerith/style-profile.css @@ -2162,7 +2162,7 @@ blockquote { color: #777; } .oembed { - font-size: large; + font-weight: bold; } .aprofile dt{ diff --git a/view/theme/diabook-aerith/style.css b/view/theme/diabook-aerith/style.css index f82652154..23ae05940 100644 --- a/view/theme/diabook-aerith/style.css +++ b/view/theme/diabook-aerith/style.css @@ -1276,7 +1276,7 @@ body .pageheader{ font-size: 20px; margin-bottom: 20px; margin-top: 0px; - max-width: 575px; + max-width: 775px; } .qcomment{ max-width: 122px; @@ -2324,7 +2324,7 @@ blockquote { color: #777; } .oembed { - font-size: large; + font-weight: bold; } .aprofile dt{ diff --git a/view/theme/diabook-aerith/theme.php b/view/theme/diabook-aerith/theme.php index a1ea51e82..40093e545 100755 --- a/view/theme/diabook-aerith/theme.php +++ b/view/theme/diabook-aerith/theme.php @@ -3,13 +3,13 @@ /* * Name: Diabook-aerith * Description: Diabook-aerith : report bugs and request here: http://pad.toktan.org/p/diabook or contact me : thomas_bierey@friendica.eu - * Version: (Version: 1.014) + * Version: (Version: 1.015) * Author: */ //print diabook-version for debugging -$diabook_version = "Diabook-aerith (Version: 1.014)"; +$diabook_version = "Diabook-aerith (Version: 1.015)"; $a->page['htmlhead'] .= sprintf('', $diabook_version); @@ -366,6 +366,35 @@ $a->page['htmlhead'] .= ' '; +$a->page['htmlhead'] .= ' + '; if ($a->argv[0].$a->argv[1] === "profile".$a->user['nickname'] or $a->argv[0] === "network" && local_user()){ $a->page['htmlhead'] .= ' @@ -374,7 +403,12 @@ $a->page['htmlhead'] .= ' $(function() { $(".oembed.photo img").aeImageResize({height: 400, width: 400}); }); +'; + + if($ccCookie != "8") { +$a->page['htmlhead'] .= ' +';} +$a->page['htmlhead'] .= ' +';} \ No newline at end of file -- cgit v1.2.3 From d25a9df99600b0ce204d88114f07f5ed1db9d5d3 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Mon, 9 Apr 2012 19:56:53 +0200 Subject: diabook-themes: small icon fix --- view/theme/diabook-aerith/icons/contacts.png | Bin 568 -> 803 bytes view/theme/diabook-aerith/icons/contacts3.png | Bin 0 -> 568 bytes view/theme/diabook-aerith/icons/messages.png | Bin 579 -> 901 bytes view/theme/diabook-aerith/icons/messages3.png | Bin 0 -> 579 bytes view/theme/diabook-aerith/icons/notifications.png | Bin 754 -> 1033 bytes view/theme/diabook-aerith/icons/notifications3.png | Bin 0 -> 754 bytes view/theme/diabook-aerith/icons/notify.png | Bin 795 -> 1100 bytes view/theme/diabook-aerith/icons/notify3.png | Bin 0 -> 795 bytes 8 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 view/theme/diabook-aerith/icons/contacts3.png create mode 100755 view/theme/diabook-aerith/icons/messages3.png create mode 100755 view/theme/diabook-aerith/icons/notifications3.png create mode 100755 view/theme/diabook-aerith/icons/notify3.png (limited to 'view/theme/diabook-aerith') diff --git a/view/theme/diabook-aerith/icons/contacts.png b/view/theme/diabook-aerith/icons/contacts.png index cd0e289a7..79f6d497c 100644 Binary files a/view/theme/diabook-aerith/icons/contacts.png and b/view/theme/diabook-aerith/icons/contacts.png differ diff --git a/view/theme/diabook-aerith/icons/contacts3.png b/view/theme/diabook-aerith/icons/contacts3.png new file mode 100644 index 000000000..cd0e289a7 Binary files /dev/null and b/view/theme/diabook-aerith/icons/contacts3.png differ diff --git a/view/theme/diabook-aerith/icons/messages.png b/view/theme/diabook-aerith/icons/messages.png index e2bf7d24d..c83ba186a 100755 Binary files a/view/theme/diabook-aerith/icons/messages.png and b/view/theme/diabook-aerith/icons/messages.png differ diff --git a/view/theme/diabook-aerith/icons/messages3.png b/view/theme/diabook-aerith/icons/messages3.png new file mode 100755 index 000000000..e2bf7d24d Binary files /dev/null and b/view/theme/diabook-aerith/icons/messages3.png differ diff --git a/view/theme/diabook-aerith/icons/notifications.png b/view/theme/diabook-aerith/icons/notifications.png index 2b4fbb818..2bcd74927 100755 Binary files a/view/theme/diabook-aerith/icons/notifications.png and b/view/theme/diabook-aerith/icons/notifications.png differ diff --git a/view/theme/diabook-aerith/icons/notifications3.png b/view/theme/diabook-aerith/icons/notifications3.png new file mode 100755 index 000000000..2b4fbb818 Binary files /dev/null and b/view/theme/diabook-aerith/icons/notifications3.png differ diff --git a/view/theme/diabook-aerith/icons/notify.png b/view/theme/diabook-aerith/icons/notify.png index 9765bfd53..159cd2c59 100755 Binary files a/view/theme/diabook-aerith/icons/notify.png and b/view/theme/diabook-aerith/icons/notify.png differ diff --git a/view/theme/diabook-aerith/icons/notify3.png b/view/theme/diabook-aerith/icons/notify3.png new file mode 100755 index 000000000..9765bfd53 Binary files /dev/null and b/view/theme/diabook-aerith/icons/notify3.png differ -- cgit v1.2.3 From 0d4fab4ee3cba6db669d6b7e608bfbbba8e8d3dc Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Tue, 10 Apr 2012 00:55:39 +0200 Subject: bbcode toolbar attached to the comment text field minor css-fixes --- view/theme/diabook-aerith/comment_item.tpl | 39 ++++++++++++++++++++++++++ view/theme/diabook-aerith/icons/bb-image.png | Bin 0 -> 697 bytes view/theme/diabook-aerith/icons/bb-video.png | Bin 0 -> 917 bytes view/theme/diabook-aerith/icons/bold.png | Bin 0 -> 699 bytes view/theme/diabook-aerith/icons/italic.png | Bin 0 -> 577 bytes view/theme/diabook-aerith/icons/underline.png | Bin 0 -> 604 bytes view/theme/diabook-aerith/style-network.css | 3 +- view/theme/diabook-aerith/style-profile.css | 3 +- view/theme/diabook-aerith/style.css | 25 +++++++++++++++-- view/theme/diabook-aerith/theme.php | 33 ++++++++++++++++++++-- 10 files changed, 96 insertions(+), 7 deletions(-) create mode 100644 view/theme/diabook-aerith/comment_item.tpl create mode 100644 view/theme/diabook-aerith/icons/bb-image.png create mode 100644 view/theme/diabook-aerith/icons/bb-video.png create mode 100644 view/theme/diabook-aerith/icons/bold.png create mode 100644 view/theme/diabook-aerith/icons/italic.png create mode 100644 view/theme/diabook-aerith/icons/underline.png (limited to 'view/theme/diabook-aerith') diff --git a/view/theme/diabook-aerith/comment_item.tpl b/view/theme/diabook-aerith/comment_item.tpl new file mode 100644 index 000000000..4668b9ce3 --- /dev/null +++ b/view/theme/diabook-aerith/comment_item.tpl @@ -0,0 +1,39 @@ +
+
+ + + + + + + +
+ $mytitle +
+
+ + video + img + i + u + b + {{ if $qcomment }} + + {{ endif }} + +
+ + +
+
+ +
diff --git a/view/theme/diabook-aerith/icons/bb-image.png b/view/theme/diabook-aerith/icons/bb-image.png new file mode 100644 index 000000000..9a1b32113 Binary files /dev/null and b/view/theme/diabook-aerith/icons/bb-image.png differ diff --git a/view/theme/diabook-aerith/icons/bb-video.png b/view/theme/diabook-aerith/icons/bb-video.png new file mode 100644 index 000000000..bd323531e Binary files /dev/null and b/view/theme/diabook-aerith/icons/bb-video.png differ diff --git a/view/theme/diabook-aerith/icons/bold.png b/view/theme/diabook-aerith/icons/bold.png new file mode 100644 index 000000000..8fab2a10f Binary files /dev/null and b/view/theme/diabook-aerith/icons/bold.png differ diff --git a/view/theme/diabook-aerith/icons/italic.png b/view/theme/diabook-aerith/icons/italic.png new file mode 100644 index 000000000..bf4b2b81d Binary files /dev/null and b/view/theme/diabook-aerith/icons/italic.png differ diff --git a/view/theme/diabook-aerith/icons/underline.png b/view/theme/diabook-aerith/icons/underline.png new file mode 100644 index 000000000..b1b4d3574 Binary files /dev/null and b/view/theme/diabook-aerith/icons/underline.png differ diff --git a/view/theme/diabook-aerith/style-network.css b/view/theme/diabook-aerith/style-network.css index 07bda6a24..385b58ac4 100644 --- a/view/theme/diabook-aerith/style-network.css +++ b/view/theme/diabook-aerith/style-network.css @@ -1298,6 +1298,7 @@ transition: all 0.2s ease-in-out; padding: 5px; margin-bottom: 0px; width: 575px; + padding-top: 10px; } .tread-wrapper a{ color: #3465A4; @@ -1447,7 +1448,7 @@ transition: all 0.2s ease-in-out; } .wall-item-comment-wrapper { - margin: 1px 0px 0px 80px; + margin: 1px 5px 17px 80px; background-color: #fff; width: 500px; } diff --git a/view/theme/diabook-aerith/style-profile.css b/view/theme/diabook-aerith/style-profile.css index 8909f0870..078b6d01f 100644 --- a/view/theme/diabook-aerith/style-profile.css +++ b/view/theme/diabook-aerith/style-profile.css @@ -1291,6 +1291,7 @@ transition: all 0.2s ease-in-out; padding: 5px; margin-bottom: 0px; width: 575px; + padding-top: 10px; } .tread-wrapper a{ color: #3465A4; @@ -1439,7 +1440,7 @@ transition: all 0.2s ease-in-out; padding-left: 12px; } .wall-item-comment-wrapper { - margin: 1px 5px 1px 80px; + margin: 1px 5px 17px 80px; } .wall-item-comment-wrapper .comment-edit-photo { display: none; diff --git a/view/theme/diabook-aerith/style.css b/view/theme/diabook-aerith/style.css index 23ae05940..2089090f1 100644 --- a/view/theme/diabook-aerith/style.css +++ b/view/theme/diabook-aerith/style.css @@ -82,7 +82,27 @@ #adminpage table tr:hover { background-color: #eeeeee; } #adminpage .selectall { text-align: right; } /* icons */ - +.icon.bold{ + background-image: url("../../../view/theme/diabook-aerith/icons/bold.png"); + float: right; + margin-top: 2px;} +.icon.underline{ + background-image: url("../../../view/theme/diabook-aerith/icons/underline.png"); + float: right; + margin-top: 2px;} +.icon.italic{ + background-image: url("../../../view/theme/diabook-aerith/icons/italic.png"); + float: right; + margin-top: 2px;} +.icon.bb-image{ + background-image: url("../../../view/theme/diabook-aerith/icons/bb-image.png"); + float: right; + margin-top: 2px;} +.icon.bb-video{ + background-image: url("../../../view/theme/diabook-aerith/icons/bb-video.png"); + float: right; + margin-top: 2px;} + .icon.contacts { background-image: url("../../../view/theme/diabook-aerith/icons/contacts.png");} .icon.notifications { @@ -1331,6 +1351,7 @@ body .pageheader{ padding: 5px; margin-bottom: 0px; width: 775px; + padding-top: 10px; } .tread-wrapper a{ color: #3465A4; @@ -1592,7 +1613,7 @@ body .pageheader{ padding-left: 12px; } .wall-item-comment-wrapper { - margin: 1px 5px 1px 80px; + margin: 1px 5px 17px 80px; } .wall-item-comment-wrapper .comment-edit-photo { display: none; diff --git a/view/theme/diabook-aerith/theme.php b/view/theme/diabook-aerith/theme.php index 40093e545..1b26e47f8 100755 --- a/view/theme/diabook-aerith/theme.php +++ b/view/theme/diabook-aerith/theme.php @@ -3,13 +3,13 @@ /* * Name: Diabook-aerith * Description: Diabook-aerith : report bugs and request here: http://pad.toktan.org/p/diabook or contact me : thomas_bierey@friendica.eu - * Version: (Version: 1.015) + * Version: (Version: 1.016) * Author: */ //print diabook-version for debugging -$diabook_version = "Diabook-aerith (Version: 1.015)"; +$diabook_version = "Diabook-aerith (Version: 1.016)"; $a->page['htmlhead'] .= sprintf('', $diabook_version); @@ -507,4 +507,31 @@ function restore_boxes(){ $.cookie("close_lastlikes","2", { expires: 365, path: "/" }); alert("Right-hand column was restored. Please refresh your browser"); } -';} \ No newline at end of file +';} + +$a->page['htmlhead'] .= ' + + '; \ No newline at end of file -- cgit v1.2.3 From b3f18945ba3c9596295deccd00789813d7702410 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Tue, 10 Apr 2012 14:38:59 +0200 Subject: diabook-themes: added url and quote to bbcode toolbar under comment box --- view/theme/diabook-aerith/comment_item.tpl | 4 +++- view/theme/diabook-aerith/icons/bb-url.png | Bin 0 -> 939 bytes view/theme/diabook-aerith/icons/quote.png | Bin 0 -> 631 bytes view/theme/diabook-aerith/style.css | 9 +++++++++ 4 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 view/theme/diabook-aerith/icons/bb-url.png create mode 100644 view/theme/diabook-aerith/icons/quote.png (limited to 'view/theme/diabook-aerith') diff --git a/view/theme/diabook-aerith/comment_item.tpl b/view/theme/diabook-aerith/comment_item.tpl index 4668b9ce3..6e455b726 100644 --- a/view/theme/diabook-aerith/comment_item.tpl +++ b/view/theme/diabook-aerith/comment_item.tpl @@ -13,7 +13,9 @@
video - img + img + url + quote i u b diff --git a/view/theme/diabook-aerith/icons/bb-url.png b/view/theme/diabook-aerith/icons/bb-url.png new file mode 100644 index 000000000..071fc1865 Binary files /dev/null and b/view/theme/diabook-aerith/icons/bb-url.png differ diff --git a/view/theme/diabook-aerith/icons/quote.png b/view/theme/diabook-aerith/icons/quote.png new file mode 100644 index 000000000..a464f2859 Binary files /dev/null and b/view/theme/diabook-aerith/icons/quote.png differ diff --git a/view/theme/diabook-aerith/style.css b/view/theme/diabook-aerith/style.css index 2089090f1..d1611d326 100644 --- a/view/theme/diabook-aerith/style.css +++ b/view/theme/diabook-aerith/style.css @@ -82,6 +82,15 @@ #adminpage table tr:hover { background-color: #eeeeee; } #adminpage .selectall { text-align: right; } /* icons */ + +.icon.bb-url{ + background-image: url("../../../view/theme/diabook-aerith/icons/bb-url.png"); + float: right; + margin-top: 2px;} +.icon.quote{ + background-image: url("../../../view/theme/diabook-aerith/icons/quote.png"); + float: right; + margin-top: 2px;} .icon.bold{ background-image: url("../../../view/theme/diabook-aerith/icons/bold.png"); float: right; -- cgit v1.2.3 From 6db33fc5138e55f5ae95fe7b24b3e93f8e20408c Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Tue, 10 Apr 2012 15:13:34 +0200 Subject: diabook-themes: smal fix in bbcode-js --- view/theme/diabook-aerith/theme.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'view/theme/diabook-aerith') diff --git a/view/theme/diabook-aerith/theme.php b/view/theme/diabook-aerith/theme.php index 1b26e47f8..c0537b010 100755 --- a/view/theme/diabook-aerith/theme.php +++ b/view/theme/diabook-aerith/theme.php @@ -526,10 +526,16 @@ function insertFormatting(BBcode,id) { if (document.selection) { textarea.focus(); selected = document.selection.createRange(); + if (BBcode == "url"){ + selected.text = "["+BBcode+"]" + "http://" + selected.text + "[/"+BBcode+"]"; + } else selected.text = "["+BBcode+"]" + selected.text + "[/"+BBcode+"]"; } else if (textarea.selectionStart || textarea.selectionStart == "0") { var start = textarea.selectionStart; var end = textarea.selectionEnd; + if (BBcode == "url"){ + textarea.value = textarea.value.substring(0, start) + "["+BBcode+"]" + "http://" + textarea.value.substring(start, end) + "[/"+BBcode+"]" + textarea.value.substring(end, textarea.value.length); + } else textarea.value = textarea.value.substring(0, start) + "["+BBcode+"]" + textarea.value.substring(start, end) + "[/"+BBcode+"]" + textarea.value.substring(end, textarea.value.length); } return true; -- cgit v1.2.3 From a1d5026abf129fc520327881a293d17c1ab21eff Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Wed, 11 Apr 2012 18:49:07 +0200 Subject: diabook-themes: small fix --- view/theme/diabook-aerith/comment_item.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/theme/diabook-aerith') diff --git a/view/theme/diabook-aerith/comment_item.tpl b/view/theme/diabook-aerith/comment_item.tpl index 6e455b726..225a5dd5c 100644 --- a/view/theme/diabook-aerith/comment_item.tpl +++ b/view/theme/diabook-aerith/comment_item.tpl @@ -15,10 +15,10 @@ video img url - quote - i u + i b + quote {{ if $qcomment }}