]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/item/compose.tpl
Store and display the subscribed tags
[friendica.git] / view / templates / item / compose.tpl
index 6845234d4150703652e65606a7ebaff3a23a0cb1..fa311bc662099aae1ced3b74f445d4ddef1faa1c 100644 (file)
@@ -47,6 +47,9 @@
                                        <button id="button_emojipicker" type="button" class="btn btn-sm template-icon emojis" aria-label="{{$l10n.edemojis}}" title="{{$l10n.edemojis}}" tabindex="14">
                                                <i class="fa fa-smile-o"></i>
                                        </button>
+                                       <button type="button" class="btn btn-sm template-icon bb-url" aria-label="{{$l10n.contentwarn}}" title="{{$l10n.contentwarn}}" onclick="insertFormatting('abstract',{{$id}});" tabindex="9">
+                                               <i class="fa fa-eye"></i>
+                                       </button>
                                </span>
                        </p>
                        <div id="dropzone-{{$id}}" class="dropzone" style="overflow:scroll">
                        {{if $scheduled_at}}{{$scheduled_at nofilter}}{{/if}}
                        {{if $created_at}}{{$created_at nofilter}}{{/if}}
 {{else}}
-                       <input type="hidden" name="group_allow" value="{{$group_allow}}"/>
+                       <input type="hidden" name="circle_allow" value="{{$circle_allow}}"/>
                        <input type="hidden" name="contact_allow" value="{{$contact_allow}}"/>
-                       <input type="hidden" name="group_deny" value="{{$group_deny}}"/>
+                       <input type="hidden" name="circle_deny" value="{{$circle_deny}}"/>
                        <input type="hidden" name="contact_deny" value="{{$contact_deny}}"/>
 {{/if}}
                </form>
        </div>
 </div>
 <script>
-       dzFactory.setupDropzone('#dropzone-{{$id}}', 'comment-edit-text-{{$id}}'); 
-</script>
-<script>
-window.onload = function(){
-       new EmojiPicker({
-               trigger: [
-                       {
-                               selector: '.emojis',
-                               insertInto: '.comment-edit-text'
-                       }
-               ],
-               closeButton: true,
-       });
-};
+       dzFactory.setupDropzone('#dropzone-{{$id}}', 'comment-edit-text-{{$id}}');
 </script>