Merge pull request #275 from pichalite/fix-search-setting

hide enable in-topic search setting if in-topic search not available
main
Julian Lam 9 years ago
commit 8e38f26a16

@ -42,12 +42,14 @@
<input type="checkbox" data-property="openOutgoingLinksInNewTab" <!-- IF settings.openOutgoingLinksInNewTab -->checked<!-- ENDIF settings.openOutgoingLinksInNewTab -->/> <strong>[[user:open_links_in_new_tab]]</strong> <input type="checkbox" data-property="openOutgoingLinksInNewTab" <!-- IF settings.openOutgoingLinksInNewTab -->checked<!-- ENDIF settings.openOutgoingLinksInNewTab -->/> <strong>[[user:open_links_in_new_tab]]</strong>
</label> </label>
</div> </div>
<!-- IF inTopicSearchAvailable -->
<div class="checkbox"> <div class="checkbox">
<label> <label>
<input type="checkbox" data-property="topicSearchEnabled" <!-- IF settings.topicSearchEnabled -->checked<!-- ENDIF settings.topicSearchEnabled -->/> <strong>[[user:enable_topic_searching]]</strong> <input type="checkbox" data-property="topicSearchEnabled" <!-- IF settings.topicSearchEnabled -->checked<!-- ENDIF settings.topicSearchEnabled -->/> <strong>[[user:enable_topic_searching]]</strong>
</label> </label>
</div> </div>
<p class="help-block">[[user:topic_search_help]]</p> <p class="help-block">[[user:topic_search_help]]</p>
<!-- ENDIF inTopicSearchAvailable -->
<div class="checkbox"> <div class="checkbox">
<label> <label>
<input type="checkbox" data-property="scrollToMyPost" <!-- IF settings.scrollToMyPost -->checked<!-- ENDIF settings.scrollToMyPost -->/> <strong>[[user:scroll_to_my_post]]</strong> <input type="checkbox" data-property="scrollToMyPost" <!-- IF settings.scrollToMyPost -->checked<!-- ENDIF settings.scrollToMyPost -->/> <strong>[[user:scroll_to_my_post]]</strong>

Loading…
Cancel
Save