aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-24 18:23:48 -0700
committerfriendica <info@friendica.com>2012-04-24 18:23:48 -0700
commit5af80dbb89a2ce649b59439784e5166f63e4979d (patch)
treed4042bf37b7354545232b2d0ce925ed6179f4d67
parent139c2c1bbdffeb8df07004a9fdf919adf0bac72c (diff)
downloadvolse-hubzilla-5af80dbb89a2ce649b59439784e5166f63e4979d.tar.gz
volse-hubzilla-5af80dbb89a2ce649b59439784e5166f63e4979d.tar.bz2
volse-hubzilla-5af80dbb89a2ce649b59439784e5166f63e4979d.zip
restore qcomment selector
-rwxr-xr-xview/theme/darkzero-NS/comment_item.tpl8
-rwxr-xr-xview/theme/darkzero/comment_item.tpl8
-rwxr-xr-xview/theme/duepuntozero/comment_item.tpl8
-rwxr-xr-xview/theme/greenzero/comment_item.tpl8
-rwxr-xr-xview/theme/purplezero/comment_item.tpl8
-rwxr-xr-xview/theme/slack-NS/comment_item.tpl8
-rwxr-xr-xview/theme/slackr/comment_item.tpl8
7 files changed, 35 insertions, 21 deletions
diff --git a/view/theme/darkzero-NS/comment_item.tpl b/view/theme/darkzero-NS/comment_item.tpl
index 375aff8fa..84b9597e8 100755
--- a/view/theme/darkzero-NS/comment_item.tpl
+++ b/view/theme/darkzero-NS/comment_item.tpl
@@ -40,10 +40,12 @@
<div class="comment-edit-bb-end"></div>
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);" >$comment</textarea>
{{ if $qcomment }}
- {{ for $qcomment as $qc }}
- <span class="fakelink qcomment" onclick="commentInsert(this,$id); return false;" >$qc</span>
- &nbsp;
+ <select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" >
+ <option value=""></option>
+ {{ for $qcomment as $qc }}
+ <option value="$qc">$qc</option>
{{ endfor }}
+ </select>
{{ endif }}
<div class="comment-edit-text-end"></div>
diff --git a/view/theme/darkzero/comment_item.tpl b/view/theme/darkzero/comment_item.tpl
index 375aff8fa..84b9597e8 100755
--- a/view/theme/darkzero/comment_item.tpl
+++ b/view/theme/darkzero/comment_item.tpl
@@ -40,10 +40,12 @@
<div class="comment-edit-bb-end"></div>
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);" >$comment</textarea>
{{ if $qcomment }}
- {{ for $qcomment as $qc }}
- <span class="fakelink qcomment" onclick="commentInsert(this,$id); return false;" >$qc</span>
- &nbsp;
+ <select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" >
+ <option value=""></option>
+ {{ for $qcomment as $qc }}
+ <option value="$qc">$qc</option>
{{ endfor }}
+ </select>
{{ endif }}
<div class="comment-edit-text-end"></div>
diff --git a/view/theme/duepuntozero/comment_item.tpl b/view/theme/duepuntozero/comment_item.tpl
index 375aff8fa..84b9597e8 100755
--- a/view/theme/duepuntozero/comment_item.tpl
+++ b/view/theme/duepuntozero/comment_item.tpl
@@ -40,10 +40,12 @@
<div class="comment-edit-bb-end"></div>
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);" >$comment</textarea>
{{ if $qcomment }}
- {{ for $qcomment as $qc }}
- <span class="fakelink qcomment" onclick="commentInsert(this,$id); return false;" >$qc</span>
- &nbsp;
+ <select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" >
+ <option value=""></option>
+ {{ for $qcomment as $qc }}
+ <option value="$qc">$qc</option>
{{ endfor }}
+ </select>
{{ endif }}
<div class="comment-edit-text-end"></div>
diff --git a/view/theme/greenzero/comment_item.tpl b/view/theme/greenzero/comment_item.tpl
index 375aff8fa..84b9597e8 100755
--- a/view/theme/greenzero/comment_item.tpl
+++ b/view/theme/greenzero/comment_item.tpl
@@ -40,10 +40,12 @@
<div class="comment-edit-bb-end"></div>
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);" >$comment</textarea>
{{ if $qcomment }}
- {{ for $qcomment as $qc }}
- <span class="fakelink qcomment" onclick="commentInsert(this,$id); return false;" >$qc</span>
- &nbsp;
+ <select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" >
+ <option value=""></option>
+ {{ for $qcomment as $qc }}
+ <option value="$qc">$qc</option>
{{ endfor }}
+ </select>
{{ endif }}
<div class="comment-edit-text-end"></div>
diff --git a/view/theme/purplezero/comment_item.tpl b/view/theme/purplezero/comment_item.tpl
index 375aff8fa..84b9597e8 100755
--- a/view/theme/purplezero/comment_item.tpl
+++ b/view/theme/purplezero/comment_item.tpl
@@ -40,10 +40,12 @@
<div class="comment-edit-bb-end"></div>
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);" >$comment</textarea>
{{ if $qcomment }}
- {{ for $qcomment as $qc }}
- <span class="fakelink qcomment" onclick="commentInsert(this,$id); return false;" >$qc</span>
- &nbsp;
+ <select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" >
+ <option value=""></option>
+ {{ for $qcomment as $qc }}
+ <option value="$qc">$qc</option>
{{ endfor }}
+ </select>
{{ endif }}
<div class="comment-edit-text-end"></div>
diff --git a/view/theme/slack-NS/comment_item.tpl b/view/theme/slack-NS/comment_item.tpl
index 375aff8fa..84b9597e8 100755
--- a/view/theme/slack-NS/comment_item.tpl
+++ b/view/theme/slack-NS/comment_item.tpl
@@ -40,10 +40,12 @@
<div class="comment-edit-bb-end"></div>
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);" >$comment</textarea>
{{ if $qcomment }}
- {{ for $qcomment as $qc }}
- <span class="fakelink qcomment" onclick="commentInsert(this,$id); return false;" >$qc</span>
- &nbsp;
+ <select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" >
+ <option value=""></option>
+ {{ for $qcomment as $qc }}
+ <option value="$qc">$qc</option>
{{ endfor }}
+ </select>
{{ endif }}
<div class="comment-edit-text-end"></div>
diff --git a/view/theme/slackr/comment_item.tpl b/view/theme/slackr/comment_item.tpl
index 375aff8fa..84b9597e8 100755
--- a/view/theme/slackr/comment_item.tpl
+++ b/view/theme/slackr/comment_item.tpl
@@ -40,10 +40,12 @@
<div class="comment-edit-bb-end"></div>
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);" >$comment</textarea>
{{ if $qcomment }}
- {{ for $qcomment as $qc }}
- <span class="fakelink qcomment" onclick="commentInsert(this,$id); return false;" >$qc</span>
- &nbsp;
+ <select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" >
+ <option value=""></option>
+ {{ for $qcomment as $qc }}
+ <option value="$qc">$qc</option>
{{ endfor }}
+ </select>
{{ endif }}
<div class="comment-edit-text-end"></div>