1
0
Fork 0

Replace "group" with "circle" in the rest of the code

- Remaining mentions already mean "forum"
This commit is contained in:
Hypolite Petovan 2023-05-13 19:54:35 -04:00
commit 4f7740264e
120 changed files with 1308 additions and 1304 deletions

View file

@ -59,7 +59,7 @@
{{include file="field_checkbox.tpl" field=$unkmail}}
{{include file="field_input.tpl" field=$cntunkmail}}
{{$group_select nofilter}}
{{$circle_select nofilter}}
{{if not $is_community}}
<h3>{{$permissions}}</h3>
@ -194,4 +194,4 @@
<input type="submit" name="relocate-submit" class="settings-submit" value="{{$relocate_button}}"/>
</div>
</form>
</div>
</div>

View file

@ -6,20 +6,20 @@
$(document).ready(function() {
$('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
$('#contact_allow, #contact_deny, #circle_allow, #circle_deny').change(function() {
var selstr;
$('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
$('#contact_allow option:selected, #contact_deny option:selected, #circle_allow option:selected, #circle_deny option:selected').each( function() {
selstr = $(this).html();
$('#jot-perms-icon').removeClass('unlock').addClass('lock');
$('#jot-public').hide();
});
if(selstr == null) {
if(selstr == null) {
$('#jot-perms-icon').removeClass('lock').addClass('unlock');
$('#jot-public').show();
}
}).trigger('change');
$('.settings-content-block').hide();
$('.settings-heading').click(function(){
$('.settings-content-block').hide();