aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-04-05 02:32:07 -0700
committerfriendica <info@friendica.com>2014-04-05 02:32:07 -0700
commit4901ef8faf743fd7fef97fc75a1c727804bf3df5 (patch)
treeed0c0f6450b81e9f4bcb1c1f2d3727653e4310f5 /view
parent32e71cf06b7471923dec37b613da3a044f51f28d (diff)
downloadvolse-hubzilla-4901ef8faf743fd7fef97fc75a1c727804bf3df5.tar.gz
volse-hubzilla-4901ef8faf743fd7fef97fc75a1c727804bf3df5.tar.bz2
volse-hubzilla-4901ef8faf743fd7fef97fc75a1c727804bf3df5.zip
provide the ability for rpost to post as another of your channels. This does not yet work, so the functionality has not been enabled.
Diffstat (limited to 'view')
-rw-r--r--view/tpl/channel_id_select.tpl7
-rwxr-xr-xview/tpl/jot.tpl6
2 files changed, 12 insertions, 1 deletions
diff --git a/view/tpl/channel_id_select.tpl b/view/tpl/channel_id_select.tpl
new file mode 100644
index 000000000..ecebd4bc0
--- /dev/null
+++ b/view/tpl/channel_id_select.tpl
@@ -0,0 +1,7 @@
+{{if $channels}}
+<select name="dest_channel" id="dest-channel-select">
+{{foreach $channels as $c}}
+<option {{if $c.channel_id == $selected}}selected="selected"{{/if}} value="{{$c.channel_id}}">{{$c.channel_name}}</option>
+{{/foreach}}
+</select>
+{{/if}} \ No newline at end of file
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index eea586ceb..5f79b4d88 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -13,7 +13,11 @@
<input type="hidden" name="preview" id="jot-preview" value="0" />
{{$mimeselect}}
{{$layoutselect}}
-
+ {{if $id_select}}
+ <div class="channel-id-select-div">
+ <span class="channel-id-select-desc">{{$id_seltext}}</span> {{$id_select}}
+ </div>
+ {{/if}}
<div id="jot-title-wrap">
<input name="title" id="jot-title" type="text" placeholder="{{$placeholdertitle}}" value="{{$title}}" class="jothidden" style="display:none">
</div>