} else if (jQuery(this).hasClass("delete-field")) {
				jQuery("#delete_field").attr("data-id", jQuery(this).parent().parent().attr("data-id")).modal("show");
			}
			return false;
		});
	});
	</script>
	<style type="text/css">
		.reorder-handle {cursor:pointer;}
	</style>
	<h1>Custom Profile Fields</h1>
	<div class="display-generic">
		Department specific profile fields can be defined here. These fields are filled out by users in their profiles, which are pulled in to department websites. The responses to these fields should be considered public information.</p>
	</div>
	<?php 
    echo departments_nav($department_id, "profile-fields");
    ?>
	<div class="row-fluid">
		<a href="#" class="btn btn-navbar pull-left" id="reorder">Reorder</a>
		<a href="#add_field" class="btn btn-primary pull-right" data-toggle="modal" id="add_field_btn">Add Field</a>
	</div>
	<br />
	
		<table width="100%" cellpadding="0" cellspacing="0" border="0" class="table table-striped table-hover table-bordered" id="field-list">
			<thead>
				<tr>
					<th>Title</th>
					<th width="10%">Type</th>
					<th width="10%">Length</th>
					<th width="5%">Req.</th>
					<th width="8%"></th>
示例#2
0
            ?>
			<form action="<?php 
            echo ENTRADA_URL . "/admin/settings/manage/departments" . "?" . replace_query(array("step" => 2)) . "&org=" . $ORGANISATION_ID;
            ?>
" id ="department_edit_form" method="post">
				<table style="width: 100%" cellspacing="0" cellpadding="2" border="0" summary="Adding Page">
					<colgroup>
						<col style="width: 30%" />
						<col style="width: 70%" />
					</colgroup>
					<thead>
						<tr>
							<td colspan="2">
								<h1>Edit Department</h1>
								<?php 
            echo departments_nav($department_id, "edit");
            ?>
							</td>
						</tr>
					</thead>
					<tfoot>
						<tr>
							<td colspan="2" style="padding-top: 15px; text-align: right">
								<input type="button" class="btn" value="Cancel" onclick="window.location='<?php 
            echo ENTRADA_URL;
            ?>
/admin/settings/manage/departments?org=<?php 
            echo $ORGANISATION_ID;
            ?>
'" />
								<input type="submit" class="btn btn-primary" value="<?php