aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authortommy tomson <thomas.bierey@gmx.de>2012-04-10 14:38:59 +0200
committertommy tomson <thomas.bierey@gmx.de>2012-04-10 14:38:59 +0200
commitb3f18945ba3c9596295deccd00789813d7702410 (patch)
tree8c1290b55a31b3c9b665884cbf7a8bc7e49af35f /view
parent9fafe64f82525b37d9fdd40f475e674566224516 (diff)
downloadvolse-hubzilla-b3f18945ba3c9596295deccd00789813d7702410.tar.gz
volse-hubzilla-b3f18945ba3c9596295deccd00789813d7702410.tar.bz2
volse-hubzilla-b3f18945ba3c9596295deccd00789813d7702410.zip
diabook-themes: added url and quote to bbcode toolbar under comment box
Diffstat (limited to 'view')
-rw-r--r--view/theme/diabook-aerith/comment_item.tpl4
-rw-r--r--view/theme/diabook-aerith/icons/bb-url.pngbin0 -> 939 bytes
-rw-r--r--view/theme/diabook-aerith/icons/quote.pngbin0 -> 631 bytes
-rw-r--r--view/theme/diabook-aerith/style.css9
-rw-r--r--view/theme/diabook-blue/comment_item.tpl4
-rw-r--r--view/theme/diabook-blue/icons/bb-url.pngbin0 -> 939 bytes
-rw-r--r--view/theme/diabook-blue/icons/quote.pngbin0 -> 631 bytes
-rw-r--r--view/theme/diabook-blue/style.css8
-rw-r--r--view/theme/diabook-red/comment_item.tpl4
-rw-r--r--view/theme/diabook-red/icons/bb-url.pngbin0 -> 939 bytes
-rw-r--r--view/theme/diabook-red/icons/quote.pngbin0 -> 631 bytes
-rw-r--r--view/theme/diabook-red/style.css8
-rw-r--r--view/theme/diabook/comment_item.tpl4
-rw-r--r--view/theme/diabook/icons/bb-url.pngbin0 -> 939 bytes
-rw-r--r--view/theme/diabook/icons/quote.pngbin0 -> 631 bytes
-rw-r--r--view/theme/diabook/style.css8
16 files changed, 45 insertions, 4 deletions
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 @@
<div class="comment-edit-photo-end"></div>
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);" onBlur="commentClose(this,$id);" >$comment</textarea>
<a class="icon bb-video" onclick="insertFormatting('video',$id);">video</a>
- <a class="icon bb-image" onclick="insertFormatting('img',$id);">img</a>
+ <a class="icon bb-image" onclick="insertFormatting('img',$id);">img</a>
+ <a class="icon bb-url" onclick="insertFormatting('url',$id);">url</a>
+ <a class="icon quote" onclick="insertFormatting('quote',$id);">quote</a>
<a class="icon italic" onclick="insertFormatting('i',$id);">i</a>
<a class="icon underline" onclick="insertFormatting('u',$id);">u</a>
<a class="icon bold" onclick="insertFormatting('b',$id);">b</a>
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
--- /dev/null
+++ b/view/theme/diabook-aerith/icons/bb-url.png
Binary files 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
--- /dev/null
+++ b/view/theme/diabook-aerith/icons/quote.png
Binary files 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;
diff --git a/view/theme/diabook-blue/comment_item.tpl b/view/theme/diabook-blue/comment_item.tpl
index 4668b9ce3..6e455b726 100644
--- a/view/theme/diabook-blue/comment_item.tpl
+++ b/view/theme/diabook-blue/comment_item.tpl
@@ -13,7 +13,9 @@
<div class="comment-edit-photo-end"></div>
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);" onBlur="commentClose(this,$id);" >$comment</textarea>
<a class="icon bb-video" onclick="insertFormatting('video',$id);">video</a>
- <a class="icon bb-image" onclick="insertFormatting('img',$id);">img</a>
+ <a class="icon bb-image" onclick="insertFormatting('img',$id);">img</a>
+ <a class="icon bb-url" onclick="insertFormatting('url',$id);">url</a>
+ <a class="icon quote" onclick="insertFormatting('quote',$id);">quote</a>
<a class="icon italic" onclick="insertFormatting('i',$id);">i</a>
<a class="icon underline" onclick="insertFormatting('u',$id);">u</a>
<a class="icon bold" onclick="insertFormatting('b',$id);">b</a>
diff --git a/view/theme/diabook-blue/icons/bb-url.png b/view/theme/diabook-blue/icons/bb-url.png
new file mode 100644
index 000000000..071fc1865
--- /dev/null
+++ b/view/theme/diabook-blue/icons/bb-url.png
Binary files differ
diff --git a/view/theme/diabook-blue/icons/quote.png b/view/theme/diabook-blue/icons/quote.png
new file mode 100644
index 000000000..a464f2859
--- /dev/null
+++ b/view/theme/diabook-blue/icons/quote.png
Binary files differ
diff --git a/view/theme/diabook-blue/style.css b/view/theme/diabook-blue/style.css
index 2f2369c46..f4eebe072 100644
--- a/view/theme/diabook-blue/style.css
+++ b/view/theme/diabook-blue/style.css
@@ -82,6 +82,14 @@
#adminpage table tr:hover { background-color: #eeeeee; }
#adminpage .selectall { text-align: right; }
/* icons */
+.icon.bb-url{
+ background-image: url("../../../view/theme/diabook-blue/icons/bb-url.png");
+ float: right;
+ margin-top: 2px;}
+.icon.quote{
+ background-image: url("../../../view/theme/diabook-blue/icons/quote.png");
+ float: right;
+ margin-top: 2px;}
.icon.bold{
background-image: url("../../../view/theme/diabook-blue/icons/bold.png");
float: right;
diff --git a/view/theme/diabook-red/comment_item.tpl b/view/theme/diabook-red/comment_item.tpl
index 4668b9ce3..64e4fb802 100644
--- a/view/theme/diabook-red/comment_item.tpl
+++ b/view/theme/diabook-red/comment_item.tpl
@@ -13,7 +13,9 @@
<div class="comment-edit-photo-end"></div>
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);" onBlur="commentClose(this,$id);" >$comment</textarea>
<a class="icon bb-video" onclick="insertFormatting('video',$id);">video</a>
- <a class="icon bb-image" onclick="insertFormatting('img',$id);">img</a>
+ <a class="icon bb-image" onclick="insertFormatting('img',$id);">img</a>
+ <a class="icon bb-url" onclick="insertFormatting('url',$id);">url</a>
+ <a class="icon quote" onclick="insertFormatting('quote',$id);">quote</a>
<a class="icon italic" onclick="insertFormatting('i',$id);">i</a>
<a class="icon underline" onclick="insertFormatting('u',$id);">u</a>
<a class="icon bold" onclick="insertFormatting('b',$id);">b</a>
diff --git a/view/theme/diabook-red/icons/bb-url.png b/view/theme/diabook-red/icons/bb-url.png
new file mode 100644
index 000000000..071fc1865
--- /dev/null
+++ b/view/theme/diabook-red/icons/bb-url.png
Binary files differ
diff --git a/view/theme/diabook-red/icons/quote.png b/view/theme/diabook-red/icons/quote.png
new file mode 100644
index 000000000..a464f2859
--- /dev/null
+++ b/view/theme/diabook-red/icons/quote.png
Binary files differ
diff --git a/view/theme/diabook-red/style.css b/view/theme/diabook-red/style.css
index 0cf034a56..0acc12dd3 100644
--- a/view/theme/diabook-red/style.css
+++ b/view/theme/diabook-red/style.css
@@ -82,6 +82,14 @@
#adminpage table tr:hover { background-color: #eeeeee; }
#adminpage .selectall { text-align: right; }
/* icons */
+.icon.bb-url{
+ background-image: url("../../../view/theme/diabook-red/icons/bb-url.png");
+ float: right;
+ margin-top: 2px;}
+.icon.quote{
+ background-image: url("../../../view/theme/diabook-red/icons/quote.png");
+ float: right;
+ margin-top: 2px;}
.icon.bold{
background-image: url("../../../view/theme/diabook-red/icons/bold.png");
float: right;
diff --git a/view/theme/diabook/comment_item.tpl b/view/theme/diabook/comment_item.tpl
index 4668b9ce3..535134256 100644
--- a/view/theme/diabook/comment_item.tpl
+++ b/view/theme/diabook/comment_item.tpl
@@ -13,7 +13,9 @@
<div class="comment-edit-photo-end"></div>
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);" onBlur="commentClose(this,$id);" >$comment</textarea>
<a class="icon bb-video" onclick="insertFormatting('video',$id);">video</a>
- <a class="icon bb-image" onclick="insertFormatting('img',$id);">img</a>
+ <a class="icon bb-image" onclick="insertFormatting('img',$id);">img</a>
+ <a class="icon bb-url" onclick="insertFormatting('url',$id);">url</a>
+ <a class="icon quote" onclick="insertFormatting('quote',$id);">quote</a>
<a class="icon italic" onclick="insertFormatting('i',$id);">i</a>
<a class="icon underline" onclick="insertFormatting('u',$id);">u</a>
<a class="icon bold" onclick="insertFormatting('b',$id);">b</a>
diff --git a/view/theme/diabook/icons/bb-url.png b/view/theme/diabook/icons/bb-url.png
new file mode 100644
index 000000000..071fc1865
--- /dev/null
+++ b/view/theme/diabook/icons/bb-url.png
Binary files differ
diff --git a/view/theme/diabook/icons/quote.png b/view/theme/diabook/icons/quote.png
new file mode 100644
index 000000000..a464f2859
--- /dev/null
+++ b/view/theme/diabook/icons/quote.png
Binary files differ
diff --git a/view/theme/diabook/style.css b/view/theme/diabook/style.css
index 229076484..7105ad0e3 100644
--- a/view/theme/diabook/style.css
+++ b/view/theme/diabook/style.css
@@ -83,6 +83,14 @@
#adminpage .selectall { text-align: right; }
/* icons */
+.icon.bb-url{
+ background-image: url("../../../view/theme/diabook/icons/bb-url.png");
+ float: right;
+ margin-top: 2px;}
+.icon.quote{
+ background-image: url("../../../view/theme/diabook/icons/quote.png");
+ float: right;
+ margin-top: 2px;}
.icon.bold{
background-image: url("../../../view/theme/diabook/icons/bold.png");
float: right;