Move /acl module to src/
- Move Core\ACL::contactAutocomplete to Module\Search\Acl - Rename module path to /search/acl
This commit is contained in:
parent
c5563e5e78
commit
8f20e2054b
21 changed files with 396 additions and 378 deletions
|
@ -466,7 +466,7 @@ function updateConvItems(data) {
|
|||
$('body').css('cursor', 'auto');
|
||||
}
|
||||
/* autocomplete @nicknames */
|
||||
$(".comment-edit-form textarea").editor_autocomplete(baseurl+"/acl");
|
||||
$(".comment-edit-form textarea").editor_autocomplete(baseurl + '/search/acl');
|
||||
/* autocomplete bbcode */
|
||||
$(".comment-edit-form textarea").bbco_autocomplete('bbcode');
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
$(document).ready(function() {
|
||||
if(typeof acl=="undefined"){
|
||||
acl = new ACL(
|
||||
baseurl+"/acl",
|
||||
baseurl + '/search/acl',
|
||||
[ {{$allowcid nofilter}},{{$allowgid nofilter}},{{$denycid nofilter}},{{$denygid nofilter}} ],
|
||||
{{$features.aclautomention}},
|
||||
{{if $APP->is_mobile}}true{{else}}false{{/if}}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$("#contacts-search").contact_autocomplete(baseurl + '/acl', 'a', true);
|
||||
$("#contacts-search").contact_autocomplete(baseurl + '/search/acl', 'a', true);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
{{/if}}
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$(".comment-edit-wrapper textarea").editor_autocomplete(baseurl+"/acl");
|
||||
$(".comment-edit-wrapper textarea").editor_autocomplete(baseurl + '/search/acl');
|
||||
// make auto-complete work in more places
|
||||
$(".wall-item-comment-wrapper textarea").editor_autocomplete(baseurl+"/acl");
|
||||
$(".wall-item-comment-wrapper textarea").editor_autocomplete(baseurl + '/search/acl');
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
var textlen = $(this).val().length;
|
||||
$('#character-counter').text(textlen);
|
||||
});
|
||||
$textarea.editor_autocomplete(baseurl+"/acl");
|
||||
$textarea.editor_autocomplete(baseurl + '/search/acl');
|
||||
$textarea.bbco_autocomplete('bbcode');
|
||||
|
||||
let $acl_allow_input = $('#acl_allow');
|
||||
|
|
|
@ -19,7 +19,7 @@ function initEditor(callback) {
|
|||
$("#profile-jot-text-loading").show();
|
||||
$("#profile-jot-text-loading").hide();
|
||||
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||
$("#profile-jot-text").editor_autocomplete(baseurl+"/acl");
|
||||
$("#profile-jot-text").editor_autocomplete(baseurl + '/search/acl');
|
||||
$("#profile-jot-text").bbco_autocomplete('bbcode');
|
||||
$("a#jot-perms-icon").colorbox(colorbox_options);
|
||||
$(".jothidden").show();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$("#recip").name_autocomplete(baseurl + '/acl', 'm', false, function(data) {
|
||||
$("#recip").name_autocomplete(baseurl + '/search/acl', 'm', false, function(data) {
|
||||
$("#recip-complete").val(data.id);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<script language="javascript" type="text/javascript">
|
||||
$("#prvmail-text").editor_autocomplete(baseurl + '/acl');
|
||||
$("#prvmail-text").editor_autocomplete(baseurl + '/search/acl');
|
||||
</script>
|
||||
<script type="text/javascript" src="view/js/ajaxupload.js" ></script>
|
||||
<script>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$("#poke-recip").name_autocomplete(baseurl + '/acl', 'a', true, function(data) {
|
||||
$("#poke-recip").name_autocomplete(baseurl + '/search/acl', 'a', true, function(data) {
|
||||
$("#poke-recip-complete").val(data.id);
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<script language="javascript" type="text/javascript">
|
||||
$("#prvmail-text").editor_autocomplete(baseurl+"/acl");
|
||||
$("#prvmail-text").editor_autocomplete(baseurl + '/search/acl');
|
||||
</script>
|
||||
<script>
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ $(document).ready(function() {
|
|||
var eventPerms = document.getElementById('event-edit-form');
|
||||
|
||||
acl = new ACL(
|
||||
baseurl + "/acl",
|
||||
baseurl + '/search/acl',
|
||||
[
|
||||
JSON.parse(eventPerms.dataset.allow_cid),
|
||||
JSON.parse(eventPerms.dataset.allow_gid),
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
$(document).ready(function() {
|
||||
if(typeof acl=="undefined"){
|
||||
acl = new ACL(
|
||||
baseurl+"/acl",
|
||||
baseurl + '/search/acl',
|
||||
[ {{$allowcid nofilter}},{{$allowgid nofilter}},{{$denycid nofilter}},{{$denygid nofilter}} ],
|
||||
{{$features.aclautomention}},
|
||||
{{if $APP->is_mobile}}true{{else}}false{{/if}}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
$("#jot-category").show();
|
||||
$("#jot-category").addClass("jot-category-ex");
|
||||
$("#jot-profile-jot-wrapper").show();
|
||||
$("#profile-jot-text").editor_autocomplete(baseurl+"/acl");
|
||||
$("#profile-jot-text").editor_autocomplete(baseurl + '/search/acl');
|
||||
$("#profile-jot-text").bbco_autocomplete('bbcode');
|
||||
$("a#jot-perms-icon").colorbox({
|
||||
'inline' : true,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
<script type="text/javascript">
|
||||
$("#comment-edit-text-input").editor_autocomplete(baseurl+"/acl");
|
||||
$("#comment-edit-text-input").editor_autocomplete(baseurl + '/search/acl');
|
||||
|
||||
$(document).ready(function() {
|
||||
$("#comment-edit-text-input").bbco_autocomplete('bbcode');
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$("#nav-search-input-field").search_autocomplete(baseurl + '/acl');
|
||||
$("#nav-search-input-field").search_autocomplete(baseurl + '/search/acl');
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -10,7 +10,7 @@ function initEditor(callback) {
|
|||
$("#profile-jot-text-loading").show();
|
||||
$("#profile-jot-text-loading").hide();
|
||||
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||
$("#profile-jot-text").editor_autocomplete(baseurl+"/acl");
|
||||
$("#profile-jot-text").editor_autocomplete(baseurl + '/search/acl');
|
||||
$("#profile-jot-text").bbco_autocomplete('bbcode');
|
||||
$(".jothidden").show();
|
||||
$("a#jot-perms-icon").colorbox({
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$("#nav-search-text").search_autocomplete(baseurl + '/acl');
|
||||
$("#nav-search-text").search_autocomplete(baseurl + '/search/acl');
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue