Add basic tabs for quote
authorCyperghost <olaf_schmitz_1@t-online.de>
Tue, 17 Dec 2024 09:33:28 +0000 (10:33 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 8 Jan 2025 16:22:46 +0000 (17:22 +0100)
com.woltlab.wcf/templates/__messageFormQuote.tpl [new file with mode: 0644]
com.woltlab.wcf/templates/__messageFormQuoteInline.tpl [new file with mode: 0644]
com.woltlab.wcf/templates/messageFormTabs.tpl
com.woltlab.wcf/templates/messageFormTabsInline.tpl

diff --git a/com.woltlab.wcf/templates/__messageFormQuote.tpl b/com.woltlab.wcf/templates/__messageFormQuote.tpl
new file mode 100644 (file)
index 0000000..30e8947
--- /dev/null
@@ -0,0 +1,5 @@
+{* TODO *}
+
+<div id="quote-{if $wysiwygSelector|isset}{$wysiwygSelector}{else}text{/if}" class="jsOnly messageTabMenuContent">
+
+</div>
diff --git a/com.woltlab.wcf/templates/__messageFormQuoteInline.tpl b/com.woltlab.wcf/templates/__messageFormQuoteInline.tpl
new file mode 100644 (file)
index 0000000..30e8947
--- /dev/null
@@ -0,0 +1,5 @@
+{* TODO *}
+
+<div id="quote-{if $wysiwygSelector|isset}{$wysiwygSelector}{else}text{/if}" class="jsOnly messageTabMenuContent">
+
+</div>
index bfc4726dc0d9841e34adbb8d80410f58278fb119..3fbf13842ceb15990d531157d43cac5165c5a6cd 100644 (file)
                                </li>
                        {/if}
                        {event name='tabMenuTabs'}
+
+                       <li data-name="quote">
+                               {* TODO change count *}
+                               <button type="button">
+                                       {icon name='quote-left'}
+                                       <span>{lang count=10}wcf.message.quote.showQuotes{/lang}</span>
+                               </button>
+                       </li>
                </ul>
        </nav>
 
@@ -53,4 +61,6 @@
        {include file='__messageFormPoll'}
 
        {event name='tabMenuContents'}
+
+       {include file='__messageFormQuote'}
 </div>
\ No newline at end of file
index 71c23dbcb20b99819a719e52117d395e2bc5426a..ec9e0de82e70f666c674b6368867779b859b509f 100644 (file)
                                </li>
                        {/if}
                        {event name='tabMenuTabs'}
+
+                       <li data-name="quote">
+                               {* TODO change count *}
+                               <button type="button">
+                                       {icon name='quote-left'}
+                                       <span>{lang count=10}wcf.message.quote.showQuotes{/lang}</span>
+                               </button>
+                       </li>
                </ul>
        </nav>
 
@@ -57,4 +65,6 @@
        {include file='__messageFormPollInline'}
 
        {event name='tabMenuContents'}
+
+       {include file='__messageFormQuoteInline'}
 </div>
\ No newline at end of file