HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vmi1674223.contaboserver.net 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: root (0)
PHP: 7.4.3-4ubuntu2.22
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/unitime/target/unitime-4.8/user/instructorSearch.jsp
<%--
 * Licensed to The Apereo Foundation under one or more contributor license
 * agreements. See the NOTICE file distributed with this work for
 * additional information regarding copyright ownership.
 *
 * The Apereo Foundation licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file except in
 * compliance with the License. You may obtain a copy of the License at:
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * 
--%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="tt" uri="http://www.unitime.org/tags-custom" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="loc" uri="http://www.unitime.org/tags-localization" %>

<loc:bundle name="CourseMessages"><s:set var="msg" value="#attr.MSG"/>
<loc:bundle name="ConstantsMessages" id="CONST"><s:set var="const" value="#attr.CONST"/>
<s:form action="instructorSearch">
<table class="unitime-MainTable">
	<tr><td>
		<tt:section-header>
			<tt:section-title>
				<div style="padding-right: 3px; display: block; margin-bottom: 3px; vertical-align: bottom; line-height: 25px;">
				<b><loc:message name="propertyDepartment"/></b>
				<s:select name="deptId" list="%{#request.deptsList}" listKey="id" listValue="value"
					headerKey="" headerValue="%{#const.select()}"
				/>
				<s:submit name='op' value="%{#msg.actionSearchInstructors()}"
					title="%{#msg.titleSearchInstructors(#msg.accessSearchInstructors())}"
					accesskey="%{#msg.accessSearchInstructors()}"/>
				</div>
			</tt:section-title>
			<s:if test="#request.instructorList != null">
				<sec:authorize access="hasPermission(#deptId, 'Department', 'InstructorsExportPdf')">
					<s:submit name='op' value="%{#msg.actionExportPdf()}"
						title="%{#msg.titleExportPdf(#msg.accessExportPdf())}"
						accesskey="%{#msg.accessExportPdf()}"/>
					<s:submit name='op' value="%{#msg.actionExportCsv()}"
						title="%{#msg.titleExportCsv(#msg.accessExportCsv())}"
						accesskey="%{#msg.accessExportCsv()}"/>
				</sec:authorize>
				<sec:authorize access="hasPermission(#deptId, 'Department', 'InstructorSurveyAdmin')">
					<s:if test="hasSurveys == true">
						<s:submit name='op' value="%{#msg.actionExportSurveysXLS()}"/>
					</s:if>
				</sec:authorize>
			</s:if>
			<s:if test="deptId != null">
				<sec:authorize access="hasPermission(#deptId, 'Department', 'ManageInstructors')">
					<s:submit name='op' value="%{#msg.actionManageInstructorList()}"
						title="%{#msg.titleManageInstructorList(#msg.accessManageInstructorList())}"
						accesskey="%{#msg.accessManageInstructorList()}"/>
				</sec:authorize>
				<sec:authorize access="hasPermission(#deptId, 'Department', 'InstructorAdd')">
					<s:submit name='op' value="%{#msg.actionAddNewInstructor()}"
						title="%{#msg.titleAddNewInstructor(#msg.accessAddNewInstructor())}"
						accesskey="%{#msg.accessAddNewInstructor()}"/>
				</sec:authorize>
			</s:if>
		</tt:section-header>
		</td></tr>
		<tr><td colspan="2" align="center"><s:actionerror/></td></tr>
	</table>
	<s:if test="#request.instructorList != null">
		<table class="unitime-MainTable" style="padding-top: 20px;">
			<s:property value="%{#request.instructorList}" escapeHtml="false"/>
		</table>
		<table class="unitime-MainTable">
			<tr><td align="right" class="top-border-solid" style="padding-top: 3px;">
				<s:if test="#request.instructorList != null">
					<sec:authorize access="hasPermission(#deptId, 'Department', 'InstructorsExportPdf')">
						<s:submit name='op' value="%{#msg.actionExportPdf()}"
							title="%{#msg.titleExportPdf(#msg.accessExportPdf())}"
							accesskey="%{#msg.accessExportPdf()}"/>
						<s:submit name='op' value="%{#msg.actionExportCsv()}"
							title="%{#msg.titleExportCsv(#msg.accessExportCsv())}"
							accesskey="%{#msg.accessExportCsv()}"/>
					</sec:authorize>
					<sec:authorize access="hasPermission(#deptId, 'Department', 'InstructorSurveyAdmin')">
						<s:if test="hasSurveys == true">
							<s:submit name='op' value="%{#msg.actionExportSurveysXLS()}"/>
						</s:if>
					</sec:authorize>
				</s:if>
				<sec:authorize access="hasPermission(#deptId, 'Department', 'ManageInstructors')">
					<s:submit name='op' value="%{#msg.actionManageInstructorList()}"
						title="%{#msg.titleManageInstructorList(#msg.accessManageInstructorList())}"
						accesskey="%{#msg.accessManageInstructorList()}"/>
				</sec:authorize>
				<sec:authorize access="hasPermission(#deptId, 'Department', 'InstructorAdd')">
					<s:submit name='op' value="%{#msg.actionAddNewInstructor()}"
						title="%{#msg.titleAddNewInstructor(#msg.accessAddNewInstructor())}"
						accesskey="%{#msg.accessAddNewInstructor()}"/>
				</sec:authorize>
			</td></tr>
		</table>
	</s:if>
</s:form>
</loc:bundle>
</loc:bundle>