예제 #1
0
    echo FSS_Admin_Permissions::prep_custom_rules($this->form, "assign_categories", "categories", 'fss.handler.assign.category', 'perm_ac')->input;
    ?>
						</div>				
					</div>
				</div>
			</div>
		
		</div>			
	</div>

<?php 
} elseif ($this->section == "com_fss.reports") {
    ?>

	<?php 
    echo FSS_Admin_Permissions::prep_custom_rules($this->form, "rules", "reports", 'fss.reports.report', 'reports')->input;
    ?>

<?php 
} else {
    ?>
	
	<?php 
    echo $this->form->getInput("rules");
    ?>

<?php 
}
?>

<script>
예제 #2
0
echo FSS_Admin_Permissions::prep_custom_rules($this->form, "assign_departments", "departments", 'fss.handler.assign.department', 'perm_ad')->input;
?>
								</div>
	
								<div class="tab-pane" id="t_admin_assign_categories">
									<div class="alert">
										<h4>Categories that the user can be assigned tickets for.</h4>
										<p>Only applies when:</p>
										<ul>
											<li><strong>Ticket Handler</strong> is <span class="label label-success">Allowed</span></li>
											<li><strong>Dont assign tickets</strong> is set to <span class="label label-important">Not Allowed</span></li>
											<li><strong>Assigned tickets for all categories</strong> is set to <span class="label label-important">Not Allowed</span></li>
										</ul>
									</div>			
									<?php 
echo FSS_Admin_Permissions::prep_custom_rules($this->form, "assign_categories", "categories", 'fss.handler.assign.category', 'perm_ac')->input;
?>
								</div>				
							</div>
						</div>
					</div>
		
				</div>			
			</div>

		</div>

	</div>

</div>