Files
yacos/YACOSWeb/WebContent/WEB-INF/jsp/main.jsp
Frederic Debuire 2251288425 Multiple corrections
2008-02-24 23:17:02 +00:00

117 lines
4.4 KiB
Plaintext

<%@ include file="/WEB-INF/decorators/include.jsp"%>
<html>
<head></head>
<body>
<c:choose>
<c:when test="${currentConferenceId != null}">
<!-- Main page for current conference -->
<h4 class="title">${currentConference.title}</h4>
<c:if test="${end != null}">
<div class="warningBox">
Sorry, the ${end} period is over !
</div>
</c:if>
<center><h1 class="maintitle">${currentConference.title}</h1></center>
<h3 class="descriptionTitle"><fmt:message key="conference.detail.description" /></h3>
<div class="textBox">
${currentConference.description }
</div>
<h3 class="descriptionTitle"><fmt:message key="conference.detail.other" /></h3>
<div class="textBox">
<c:choose>
<c:when test="${currentConference.otherInformations != null}">
<c:if test="${currentConference.otherInformations == ''}">
<fmt:message key="conference.detail.nosuppl" />
</c:if>
${currentConference.otherInformations }
</c:when>
</c:choose>
</div>
<h3 class="dateTitle"><fmt:message key="conference.detail.date.title" /></h3>
<div class="textBox">
<b><fmt:message key="conference.detail.date.start" /></b>&nbsp;<fmt:formatDate value="${currentConference.dateStart }" dateStyle="long" /><br />
<b><fmt:message key="conference.detail.date.end" /></b>&nbsp;<fmt:formatDate value="${currentConference.dateEnd }" dateStyle="long" /><br /><br />
<b><fmt:message key="conference.detail.date.article" /></b>&nbsp;<fmt:formatDate value="${currentConference.dateArticle }" dateStyle="long" /><br />
<b><fmt:message key="conference.detail.date.evaluation" /></b>&nbsp;<fmt:formatDate value="${currentConference.dateEvaluation }" dateStyle="long" /><br />
</div>
<h3 class="descriptionTitle">Submission Informations</h3>
<div class="textBox">
<c:if test="${currentConference.pageNumber != 0}">
The number of pages for an article is about ${currentConference.pageNumber}.<br/><br/>
</c:if>
The following file's type are allowed:&nbsp;
<c:choose>
<c:when test="${currentConference.typePDF == true or currentConference.typeLatec == true or currentConference.typeWord == true or currentConference.typeODT == true}">
<c:if test="${currentConference.typePDF == true}">
.pdf&nbsp;
</c:if>
<c:if test="${currentConference.typeLatec == true}">
.tex&nbsp;
</c:if>
<c:if test="${currentConference.typeWord == true}">
.doc&nbsp;.docx&nbsp;
</c:if>
<c:if test="${currentConference.typeODT == true}">
.odt&nbsp;
</c:if>
</c:when>
<c:otherwise>
Any file's type.
</c:otherwise>
</c:choose>
<br /><br />
Other informations about the submission: ${currentConference.sendInfo}
</div>
<br />
<center><a href="<c:url value="submissionArticle.htm" />" class="submitLink"><fmt:message key="conference.detail.link.submit" /></a></center>
</c:when>
<c:otherwise>
<authz:authorize ifNotGranted="ROLE_ANONYMOUS">
<!-- Connected but no conference chosen -->
<h4 class="title"><fmt:message key="connected.noconference.title" /></h4>
<div class="warningBox">
<p>
<fmt:message key="connected.noconference.warning" />
<a href="<c:url value="listConference.htm"/>"><fmt:message key="home.link.choose" /></a>
</p>
<p>
<fmt:message key="connected.noconference.warning.userBoard" />
<a href="<c:url value="userBoard.htm"/>"><fmt:message key="home.link.userBoard" /></a>
</p>
</div>
</authz:authorize>
<authz:authorize ifAllGranted="ROLE_ANONYMOUS">
<!-- Main page for Yacos.com -->
<h4 class="title"><fmt:message key="title" /> : <fmt:message key="title.detail" /></h4>
<center>
<h1 class="maintitle"><fmt:message key="title" /></h1>
<h3 class="subtitle"><fmt:message key="title.detail" /></h3>
</center>
<h3 class="subtitle"><fmt:message key="home.whatis" /></h3>
<p><fmt:message key="home.whatis.txt" /></p>
<h3 class="subtitle"><fmt:message key="home.author" /></h3>
<p><fmt:message key="home.author.txt" /></p>
<h3 class="subtitle"><fmt:message key="home.referee" /></h3>
<p><fmt:message key="home.referee.txt" /></p>
<h3 class="subtitle"><fmt:message key="home.youknow" />&nbsp;<a href="<c:url value="listConference.htm"/>" class="register_link"><fmt:message key="home.link.choose" /> !</a></h3>
</authz:authorize>
</c:otherwise>
</c:choose>
</body>
</html>