Code Duplication    Length = 3-3 lines in 2 locations

manager/actions/mutate_module.dynamic.php 1 location

@@ 687-689 (lines=3) @@
684
							}
685
						}
686
					}
687
					if($modx->hasPermission('access_permissions')) {
688
						$chks = '<label><input type="checkbox" name="chkallgroups"' . (!$notPublic ? ' checked="checked"' : '') . ' onclick="makePublic(true)" /><span class="warning"> ' . $_lang['all_usr_groups'] . '</span></label><br />' . "\n" . $chks;
689
					}
690
					echo $chks;
691
					?>
692
				<?php endif; ?>

manager/views/page/tmplvar.blade.php 1 location

@@ 509-511 (lines=3) @@
506
                            }
507
                        }
508
509
                        if ($modx->hasPermission('access_permissions')) {
510
                            $chks = "<li><label><input type='checkbox' name='chkalldocs' " . (empty($notPublic) ? "checked='checked'" : '') . " onclick=\"makePublic(true)\" /> <span class='warning'>" . $_lang['all_doc_groups'] . "</span></label></li>" . $chks;
511
                        }
512
513
                        echo '<ul>' . $chks . '</ul>';
514