Follow along with the video below to see how to install our site as a web app on your home screen.
ملاحظة: This feature may not be available in some browsers.
الحمد لله انك بخير و في أحسن حال اخي الغالي
بالنسبة للقوالب التي تستعملها الإضتفة هي كالاتي:
مشاهدة المرفق 642
و الإضافة تجدها في المرفقات إن شاء الله
تحياتي و تقدير
<xf:if is="$canEditTags">
<xf:if is="$xf.visitor.canScheduleContent($thread, $xf.reply.containerKey)">
<hr class="formRowSep" />
<xf:macro template="ozzmodz_sc_macros" name="row"
arg-content="{$thread}"
arg-context="{$xf.reply.containerKey}" />
</xf:if>
<xf:checkboxrow>
<hr class="formRowSep" />
<xf:if is="$conversation.isInsert() && $xf.visitor.canScheduleContent($conversation)">
<xf:macro template="ozzmodz_sc_macros" name="row"
arg-content="{$conversation}" />
</xf:if>
<xf:title>{{ phrase('post_thread') }}</xf:title>
<xf:head option="metaNoindex"><meta name="robots" content="noindex" /></xf:head>
<xf:breadcrumb source="$forum.getBreadcrumbs()" />
<xf:form action="{{ link('forums/post-thread', $forum) }}" ajax="true" class="block" data-xf-init="attachment-manager"
draft="{{ link('forums/draft', $forum) }}"
data-preview-url="{{ link('forums/thread-preview', $forum) }}">
<div class="block-container">
<div class="block-body">
<p style="color: #218c74!important;font-weight: bold;text-decoration: none;background: #FFFFFF!important;border-radius: 1px!important;border: 1px solid #FFFFFF!important;padding: 7px;display: block!important;text-align: center!important;box-shadow: 1px 2px 5px rgb(254,254,254);max-width: 739px!important;margin-right: auto;margin-left: auto;">
<i class="fa fa-warning"></i>لا تنسى قوله قوله تعالى: مَا يَلْفِظُ مِنْ قَوْلٍ إِلَّا لَدَيْهِ رَقِيبٌ عَتِيدٌ [ق:18]
</p>
<xf:prefixinputrow
label="{{ phrase('title') }}"
prefixes="{$prefixes}"
type="thread"
prefix-value="{{ $forum.draft_thread.prefix_id ?: ($thread.prefix_id ?: $forum.default_prefix_id) }}"
textbox-value="{{ $title ?: $thread.title ?: $forum.draft_thread.title }}"
textbox-class="input--title"
placeholder="{$forum.thread_prompt}"
rowtype="fullWidth noLabel"
autofocus="autofocus"
maxlength="{{ max_length('XF:Thread', 'title') }}" />
<div class="js-inlineNewPostFields">
<xf:editorrow name="message"
value="{{ $post.message ?: $forum.draft_thread.message }}"
attachments="{{ $attachmentData ? $attachmentData.attachments : [] }}"
rowtype="fullWidth noLabel mergePrev"
label="{{ phrase('message') }}" />
<xf:formrow>
<xf:if is="$attachmentData">
<xf:macro template="helper_attach_upload" name="upload_block"
arg-attachmentData="{$attachmentData}"
arg-forceHash="{$forum.draft_thread.attachment_hash}" />
</xf:if>
<xf:if is="$xf.options.multiQuote">
<xf:macro template="multi_quote_macros" name="button"
arg-href="{{ link('threads/multi-quote', $thread) }}"
arg-messageSelector=".js-post"
arg-storageKey="multiQuoteThread" />
</xf:if>
<xf:button class="button--link u-jsOnly" data-xf-click="preview-click" icon="preview" />
</xf:formrow>
<xf:if contentcheck="true">
<hr class="formRowSep" />
<xf:contentcheck>
<xf:macro template="custom_fields_macros" name="custom_fields_edit"
arg-type="threads"
arg-set="{$thread.custom_fields}"
arg-editMode="{{ $thread.getFieldEditMode() }}"
arg-onlyInclude="{$forum.field_cache}"
arg-requiredOnly="{{ $inlineMode ? true : false }}" />
</xf:contentcheck>
</xf:if>
<xf:if is="$forum.canEditTags()">
<hr class="formRowSep" />
<xf:tokeninputrow name="tags" value="{{ $thread.tags ? $thread.tags|join(', ') : $forum.draft_thread.tags }}"
href="{{ link('misc/tag-auto-complete') }}"
min-length="{$xf.options.tagLength.min}"
max-length="{$xf.options.tagLength.max}"
max-tokens="{$xf.options.maxContentTags}"
label="{{ phrase('tags') }}">
<xf:explain>
{{ phrase('multiple_tags_may_be_separated_by_commas') }}
<xf:if is="$forum.min_tags">
{{ phrase('this_content_must_have_at_least_x_tags', {'min': $forum.min_tags}) }}
</xf:if>
</xf:explain>
</xf:tokeninputrow>
</xf:if>
<xf:if is="!$xf.visitor.user_id">
<hr class="formRowSep" />
<xf:textboxrow name="_xfUsername" data-xf-init="guest-username"
maxlength="{{ max_length($xf.visitor, 'username') }}"
label="{{ phrase('name') }}" />
<xf:captcharow label="{{ phrase('verification') }}" />
<xf:else />
<hr class="formRowSep" />
<xf:macro template="helper_thread_options" name="watch_input" arg-thread="{$thread}" />
<xf:macro template="helper_thread_options" name="thread_status" arg-thread="{$thread}" />
</xf:if>
</div>
</div>
<xf:if is="$forum.canCreatePoll()">
<h2 class="block-formSectionHeader">
<span class="collapseTrigger collapseTrigger--block{{ $forum.draft_thread.poll ? ' is-active' : '' }}" data-xf-click="toggle" data-target="< :up :next">
<span class="block-formSectionHeader-aligner">{{ phrase('post_poll') }}</span>
</span>
</h2>
<div class="block-body block-body--collapsible{{ $forum.draft_thread.poll ? ' is-active' : '' }}">
<xf:macro template="poll_macros" name="add_edit_inputs" arg-draft="{$forum.draft_thread.poll}" />
</div>
</xf:if>
<xf:submitrow submit="{{ phrase('post_thread') }}" icon="write" sticky="true">
<xf:html>
<xf:button class="u-jsOnly" data-xf-click="preview-click" icon="preview" />
</xf:html>
</xf:submitrow>
</div>
</xf:form>
فوضعته تحت هذا الكود "<xf:if is="$forum.canEditTags()">"
<xf:if is="$forum.canEditTags()">