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/WebContent/admin/itypeDescEdit.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"/> 
<s:form action="itypeDescEdit">
	<s:hidden name="form.uniqueId"/>
	<TABLE style="width:100%;">
		<TR>
			<TD colspan="2">
				<tt:section-header>
					<tt:section-title>
						<s:if test="op == #msg.actionSaveIType()"><loc:message name="sectionAddInstructionalTypes"/></s:if>
						<s:else><loc:message name="sectionEditInstructionalTypes"/></s:else>
					</tt:section-title>
					<s:if test="op == #msg.actionSaveIType()">
						<s:submit accesskey='%{#msg.accessSaveIType()}' name='op' value='%{#msg.actionSaveIType()}' title='%{#msg.titleSaveIType(#msg.accessSaveIType())}'/>
					</s:if>
					<s:else>
						<s:submit accesskey='%{#msg.accessUpdateIType()}' name='op' value='%{#msg.actionUpdateIType()}' title='%{#msg.titleUpdateIType(#msg.accessUpdateIType())}'/>
						<sec:authorize access="hasPermission(#form.uniqueId, 'ItypeDesc', 'InstructionalTypeDelete')">
							<s:submit accesskey='%{#msg.accessDeleteIType()}' name='op' value='%{#msg.actionDeleteIType()}' title='%{#msg.titleDeleteIType(#msg.accessDeleteIType())}'/>
						</sec:authorize>
					</s:else>
					<s:submit accesskey='%{#msg.accessBackITypes()}' name='op' value='%{#msg.actionBackITypes()}' title='%{#msg.titleBackITypes(#msg.accessBackITypes())}'/>
				</tt:section-header>
			</TD>
		</TR>

		<TR>
			<TD><loc:message name="fieldIType"/>:</TD>
			<TD>
				<s:if test="op == #msg.actionSaveIType()">
					<s:textfield name='form.id' maxlength="2" size="2"/>
					<s:fielderror fieldName="form.id"/>
				</s:if>
				<s:else>
					<s:hidden name="form.id"/><s:property value="form.id"/>
				</s:else>
			</TD>
		</TR>

		<TR>
			<TD><loc:message name="fieldAbbreviation"/>:</TD>
			<TD>
				<s:textfield name='form.abbreviation' size="7" maxlength="7"/>
				<s:fielderror fieldName="form.abbreviation"/>
			</TD>
		</TR>

		<TR>
			<TD><loc:message name="fieldName"/>:</TD>
			<TD>
				<s:textfield name="form.name" size="50" maxlength="50"/>
				<s:fielderror fieldName="form.name"/>
			</TD>
		</TR>

		<TR>
			<TD><loc:message name="fieldReference"/>:</TD>
			<TD>
				<s:textfield name="form.reference" size="20" maxlength="20"/>
				<s:fielderror fieldName="form.reference"/>
			</TD>
		</TR>

		<TR>
			<TD><loc:message name="fieldType"/>:</TD>
			<TD>
				<s:select name="form.type" list="form.types"/>
				<s:fielderror fieldName="form.type"/>
			</TD>
		</TR>
		
		<TR>
			<TD><loc:message name="fieldParent"/>:</TD>
			<TD>
				<s:select name="form.parent" list="%{#request.itypesList}" listKey="itype" listValue="desc" headerKey="" headerValue="-"/>
				<s:fielderror fieldName="form.parent"/>
			</TD>
		</TR>

		<TR>
			<TD><loc:message name="fieldOrganized"/>:</TD>
			<TD>
				<s:checkbox name="form.organized"/>
			</TD>
		</TR>

		<TR>
			<TD align="right" colspan="2">
				<tt:section-title/>
			</TD>
		</TR>

		<TR>
			<TD align="right" colspan="2">
				<s:if test="op == #msg.actionSaveIType()">
					<s:submit accesskey='%{#msg.accessSaveIType()}' name='op' value='%{#msg.actionSaveIType()}' title='%{#msg.titleSaveIType(#msg.accessSaveIType())}'/>
				</s:if>
				<s:else>
					<s:submit accesskey='%{#msg.accessUpdateIType()}' name='op' value='%{#msg.actionUpdateIType()}' title='%{#msg.titleUpdateIType(#msg.accessUpdateIType())}'/>
					<sec:authorize access="hasPermission(#form.uniqueId, 'ItypeDesc', 'InstructionalTypeDelete')">
						<s:submit accesskey='%{#msg.accessDeleteIType()}' name='op' value='%{#msg.actionDeleteIType()}' title='%{#msg.titleDeleteIType(#msg.accessDeleteIType())}'/>
					</sec:authorize>
				</s:else>
				<s:submit accesskey='%{#msg.accessBackITypes()}' name='op' value='%{#msg.actionBackITypes()}' title='%{#msg.titleBackITypes(#msg.accessBackITypes())}'/>
			</TD>
		</TR>
	</TABLE>
</s:form>
</loc:bundle>