X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/mod/forum/templates
home
/
cbholdings
/
pasukulu
/
mod
/
forum
/
templates
/
📁
..
📄
big_search_form.mustache
(8.46 KB)
📄
blog_discussion_list.mustache
(1.12 KB)
📄
discussion_favourite_toggle.mustache
(2.07 KB)
📄
discussion_list.mustache
(26.03 KB)
📄
discussion_lock_toggle.mustache
(1.65 KB)
📄
discussion_pin_toggle.mustache
(1.81 KB)
📄
discussion_settings_body_content.mustache
(4.25 KB)
📄
discussion_settings_drawer.mustache
(1.49 KB)
📄
discussion_subscription_toggle.mustache
(2.37 KB)
📄
discussion_times.mustache
(1.88 KB)
📄
form-user-selector-suggestion.mustache
(1.47 KB)
📄
forum_action_menu.mustache
(4.17 KB)
📄
forum_actionbar.mustache
(2.69 KB)
📄
forum_discussion.mustache
(3.77 KB)
📄
forum_discussion_favourite_toggle.mustache
(1.47 KB)
📄
forum_discussion_nested_post.mustache
(1.21 KB)
📄
forum_discussion_nested_posts.mustache
(1018 B)
📄
forum_discussion_nested_v2.mustache
(2.49 KB)
📄
forum_discussion_nested_v2_first_post.mustache
(19.49 KB)
📄
forum_discussion_nested_v2_post_reply.mustache
(3.29 KB)
📄
forum_discussion_nested_v2_posts.mustache
(1 KB)
📄
forum_discussion_post.mustache
(18.52 KB)
📄
forum_discussion_posts.mustache
(1003 B)
📄
forum_discussion_threaded_post.mustache
(1.4 KB)
📄
forum_discussion_threaded_posts.mustache
(1.37 KB)
📄
forum_new_discussion_actionbar.mustache
(1.89 KB)
📄
forum_post_email_htmlemail.mustache
(4.59 KB)
📄
forum_post_email_htmlemail_body.mustache
(6.03 KB)
📄
forum_post_email_textemail.mustache
(2.43 KB)
📄
forum_post_emaildigestbasic_htmlemail.mustache
(1.68 KB)
📄
forum_post_emaildigestbasic_textemail.mustache
(1.3 KB)
📄
forum_post_emaildigestfull_htmlemail.mustache
(3.72 KB)
📄
forum_post_emaildigestfull_textemail.mustache
(1.6 KB)
📄
forum_post_subject_with_context_links.mustache
(2.16 KB)
📄
forum_posts_with_context_links.mustache
(1.36 KB)
📄
forum_search_results.mustache
(2.28 KB)
📄
forum_subscription_action.mustache
(2.75 KB)
📄
frontpage_news_discussion_list.mustache
(1.13 KB)
📄
frontpage_social_discussion_list.mustache
(1.4 KB)
📁
grades
📄
inpage_reply.mustache
(3.37 KB)
📄
inpage_reply_v2.mustache
(4.53 KB)
📁
local
📄
mark_as_read.mustache
(1.22 KB)
📄
news_discussion_list.mustache
(1.18 KB)
📄
qanda_discussion_list.mustache
(1.21 KB)
📄
quick_search_form.mustache
(1.11 KB)
📄
setting_switch.mustache
(1.45 KB)
📄
settings_drawer_trigger.mustache
(1.65 KB)
📄
settings_header.mustache
(1.56 KB)
📄
single_discussion_list.mustache
(1.24 KB)
📄
social_discussion_list.mustache
(2.3 KB)
Editing: big_search_form.mustache
{{! This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see <http://www.gnu.org/licenses/>. }} {{! @template mod_forum/big_search_form Big search form. Example context (json): { "actionurl": "https://example.com/mod/forum/search.php", "courseid": "2", "words": "apples", "phrase": "Lorem ipsum dolor", "notwords": "Not these words", "showfullwords": [ { "fullwords": "Exactly" } ], "datefromchecked": 1, "datetochecked": "", "forumoptions": [ { "name": "Forum One", "value": "23" }, { "name": "Forum Two", "value": "34" } ], "subject": "Help me please", "user": "Helpy McUser" } }} <div id="intro" class="box searchbox boxaligncenter"> {{#str}}searchforumintro, forum{{/str}} </div> <div class="box generalbox boxaligncenter"> <form id="searchform" class="mform" action="{{actionurl}}" method="get"> <table class="searchbox table table-striped" id="form"> <tr> <td class="c0 text-xs-right align-bottom"> <label for="words">{{#str}}searchwords, forum{{/str}}</label> <input type="hidden" value="{{courseid}}" name="id"> </td> <td class="c1"> <input type="text" class="form-control" name="words" id="words" value="{{words}}"> </td> </tr> <tr> <td class="c0 text-xs-right align-bottom"> <label for="phrase">{{#str}}searchphrase, forum{{/str}}</label> </td> <td class="c1"> <input type="text" class="form-control" name="phrase" id="phrase" value="{{phrase}}"> </td> </tr> <tr> <td class="c0 text-xs-right align-bottom"> <label for="notwords">{{#str}}searchnotwords, forum{{/str}}</label> </td> <td class="c1"> <input type="text" class="form-control" name="notwords" id="notwords" value="{{notwords}}"> </td> </tr> {{#showfullwords}} <tr> <td class="c0 text-xs-right align-bottom"> <label for="fullwords">{{#str}}searchfullwords, forum{{/str}}</label> </td> <td class="c1"> <input type="text" class="form-control" name="fullwords" id="fullwords" value="{{fullwords}}"> </td> </tr> {{/showfullwords}} <tr> <td class="c0 text-xs-right align-bottom"> <label for="timefromrestrict">{{#str}}searchdatefrom, forum{{/str}}</label> </td> <td class="c1 text-nowrap form-inline"> <div class="fdate_time_selector d-flex flex-wrap align-items-center"> <input type="checkbox" name="timefromrestrict" value="1" {{#datefromchecked}}checked{{/datefromchecked}}> {{{datefromfields}}} </div> <input type="hidden" name="hfromday" value="0"> <input type="hidden" name="hfrommonth" value="0"> <input type="hidden" name="hfromyear" value="0"> <input type="hidden" name="hfromhour" value="0"> <input type="hidden" name="hfromminute" value="0"> </td> </tr> <tr> <td class="c0 text-xs-right align-bottom"> <label for="timetorestrict">{{#str}}searchdateto, forum{{/str}}</label> </td> <td class="c1 text-nowrap form-inline"> <div class="fdate_time_selector d-flex flex-wrap align-items-center"> <input type="checkbox" name="timetorestrict" value="1" {{#datetochecked}}checked{{/datetochecked}}> {{{datetofields}}} </div> <input type="hidden" name="htoday" value="0"> <input type="hidden" name="htomonth" value="0"> <input type="hidden" name="htoyear" value="0"> <input type="hidden" name="htohour" value="0"> <input type="hidden" name="htominute" value="0"> </td> </tr> <tr> <td class="c0 text-xs-right align-bottom"> <label for="menuforumid">{{#str}}searchwhichforums, forum{{/str}}</label> </td> <td class="c1"> <select name="forumid" id="menuforumid" class="form-control custom-select"> {{#forumoptions}} <option value="{{value}}" {{#selected}}selected{{/selected}}>{{name}}</option> {{/forumoptions}} </select> </td> </tr> <tr> <td class="c0 text-xs-right align-bottom"> <label for="subject">{{#str}}searchsubject, forum{{/str}}</label> </td> <td class="c1"> <input type="text" class="form-control" name="subject" id="subject" value="{{subject}}"> </td> </tr> <tr> <td class="c0 text-xs-right align-bottom"> <label for="user">{{#str}}searchuser, forum{{/str}}</label> </td> <td class="c1"> <input type="text" class="form-control" name="user" id="user" value="{{user}}"> </td> </tr> {{^guestuser}} <tr> <td class="c0 text-xs-right align-bottom"> <label for="starredonly">{{#str}}starredonly, forum{{/str}}</label> </td> <td class="c1 align-middle form-inline"> <input type="checkbox" class="form-control" name="starredonly" id="starredonly" value="1" {{#starredonly}}checked{{/starredonly}} /> </td> </tr> {{/guestuser}} {{#tagsenabled}} <tr> <td class="c0"> <label for="tags" class="mt-1">{{#str}}searchtags, forum{{/str}}</label> </td> <td class="c1"> <select class="custom-select" name="tags[]" id="tags" multiple> {{#tagoptions}} <option value="{{value}}" {{#selected}}selected{{/selected}}>{{{text}}}</option> {{/tagoptions}} </select> </td> </tr> {{/tagsenabled}} <tr> <td> </td> <td class="submit"> <button type="submit" class="btn btn-primary">{{#str}}searchforums, forum{{/str}}</button> </td> </tr> </table> </form> </div> {{#js}} require(['jquery'], function($) { var toggleDateFields = function(prefix, disabled) { $('#searchform select[name^=' + prefix + ']').prop('disabled', disabled); $('#searchform input[name^=h' + prefix + ']').val(disabled ? 1 : 0); }; toggleDateFields('from', !$("#searchform input[name='timefromrestrict']").prop('checked')); $("#searchform input[name='timefromrestrict']").click(function() { toggleDateFields('from', !this.checked); }); toggleDateFields('to', !$("#searchform input[name='timetorestrict']").prop('checked')); $("#searchform input[name='timetorestrict']").click(function() { toggleDateFields('to', !this.checked); }); }); {{/js}}
Upload File
Create Folder