add article si conf/ pas conf
This commit is contained in:
@@ -20,7 +20,8 @@ home.youknow=So now you know...
|
||||
home.link.choose=Choose one conference
|
||||
|
||||
connected.noconference.title=No conference selectionned
|
||||
connected.noconference.warning=You must choose a conference to access all your features :
|
||||
connected.noconference.warning=You must choose a conference to access all your features :
|
||||
article.post.noconference=You must choose a conference before post or edit an article.
|
||||
|
||||
conference.detail.description=Description
|
||||
conference.detail.other=Others informations
|
||||
@@ -158,6 +159,23 @@ form.submitArticle.noFile=You have to send the file of the article.
|
||||
form.addConference.invitationsHeader=Invitations
|
||||
|
||||
|
||||
###################
|
||||
# FORM <20>POST EDIT ARTICLE
|
||||
form.article.information=Article's information
|
||||
form.article.author.information=Author's information
|
||||
form.article.submit.info=Article for submission
|
||||
form.article.file=File
|
||||
|
||||
|
||||
|
||||
#Validation messages for errors
|
||||
submissionArticle.title=The title should not be null
|
||||
submissionArticle.theme=The theme should not be null
|
||||
submissionArticle.abstractText=The Abstract text should not be null
|
||||
submissionArticle.mainauthor=The main author should not be null, insert example "toto"
|
||||
submissionArticle.file=Please choose an article to submit
|
||||
|
||||
|
||||
button.add=Add
|
||||
button.browse=Browse
|
||||
button.reset=Reset
|
||||
@@ -228,12 +246,7 @@ evaluation.choose=Choose a article to evaluate
|
||||
|
||||
invitation.send=Send an invitation
|
||||
|
||||
#Validation messages for errors
|
||||
submissionArticle.title=The title should not be null
|
||||
submissionArticle.theme=The theme should not be null
|
||||
submissionArticle.abstractText=The Abstract text should not be null
|
||||
submissionArticle.mainauthor=the main author should not be null, insert example "toto"
|
||||
submissionArticle.file=please choose an article to submit
|
||||
|
||||
|
||||
|
||||
#valider les articles
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
</c:if>
|
||||
${currentConference.otherInformations }
|
||||
</c:when>
|
||||
</c:choose>
|
||||
</c:choose>
|
||||
</div>
|
||||
<h3 class="dateTitle"><fmt:message key="conference.detail.date.title" /></h3>
|
||||
<div class="textBox">
|
||||
|
||||
@@ -10,70 +10,91 @@
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h4 class="title"><c:choose>
|
||||
<h4 class="title">
|
||||
<c:choose>
|
||||
<c:when test="${param['action'] eq 'modify'}">
|
||||
<fmt:message key="submission.modify" />
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<fmt:message key="submission.title" />
|
||||
</c:otherwise>
|
||||
</c:choose></h4>
|
||||
|
||||
<form:form method="post" enctype="multipart/form-data" commandName="submissionArticle">
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="formLabel"><fmt:message key="form.submission.article.title" /></td>
|
||||
<td><form:input path="title" /> <span class="formError"><form:errors path="title" /></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="formLabel"><fmt:message key="form.submission.article.theme" /></td>
|
||||
<td><form:input path="theme" /> <span class="formError"><form:errors path="theme" /></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="formLabel"><fmt:message key="form.submission.article.abstractText" /></td>
|
||||
<td><form:textarea path="abstractText" cols="60" rows="10" /><span class="formError"><form:errors path="abstractText" /></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="formLabel"><fmt:message key="form.submission.mainauthor" />:</td>
|
||||
<td><b>${currentUser.firstName} ${currentUser.lastName}</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="formLabel"><fmt:message key="form.submission.secondaryauthor" /></td>
|
||||
<td><input id="newSecondaryAuthorInput" type="text" name="newSecondaryAuthor" />
|
||||
<input type="button" id="addSecondaryButton" name="addSecondary" value="<fmt:message key="button.add" />">
|
||||
|
||||
<div id="secondaryAuthorList" class="dynamicList">
|
||||
<div class="dynamicListHeader"><fmt:message key="form.submission.secondaryauthor" /></div>
|
||||
<c:if test="${param['action'] eq 'modify'}">
|
||||
<c:forEach items="${listSecondaryAuthors}" var="secAuthor" varStatus="i">
|
||||
<div class="dynamicListItem" style="height: 0px; width: 0px;"
|
||||
id="liste[${i.index}]">${secAuthor}<input type="hidden"
|
||||
id="liste[${i.index}]" name="liste[${i.index}]"
|
||||
value="${secAuthor}" /></div>
|
||||
</c:forEach>
|
||||
</c:if>
|
||||
</div>
|
||||
<input type="button" id="removeSecondaryButton" name="removeSecondary" value="<fmt:message key="button.removeSelected" />" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="formLabel">File</td>
|
||||
<td><input type="file" name="file" /><div class="formError"><form:errors path="file" /></div></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td><input type="reset" value="<fmt:message key="button.reset" />" />
|
||||
<input type="submit" value="<fmt:message key="button.OK" />" /></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
</form:form>
|
||||
|
||||
<a href="<c:url value="main.htm"/>">Home</a>
|
||||
|
||||
</c:choose>
|
||||
</h4>
|
||||
|
||||
<c:choose>
|
||||
<c:when test="${currentConferenceId == null}">
|
||||
<div class="warningBox">
|
||||
<fmt:message key="article.post.noconference" />
|
||||
<a href="<c:url value="listConference.htm"/>"><fmt:message key="home.link.choose" /></a>
|
||||
</div>
|
||||
</c:when>
|
||||
<c:when test="${currentConferenceId != null}">
|
||||
|
||||
<form:form method="post" enctype="multipart/form-data" commandName="submissionArticle" id="account_data">
|
||||
|
||||
<p class="legend"><fmt:message key="form.article.information" /></p>
|
||||
|
||||
<fieldset>
|
||||
<div>
|
||||
<form:label path="title"><fmt:message key="form.submission.article.title" /></form:label>
|
||||
<form:input path="title"/>*
|
||||
<span class="formError"><form:errors path="title" /></span>
|
||||
</div>
|
||||
<div>
|
||||
<form:label path="theme"><fmt:message key="form.submission.article.theme" /></form:label>
|
||||
<form:input path="theme"/>*
|
||||
<span class="formError"><form:errors path="theme" /></span>
|
||||
</div>
|
||||
<div>
|
||||
<form:label path="theme"><fmt:message key="form.submission.article.abstractText" /></form:label>
|
||||
<form:textarea path="abstractText" cols="60" rows="10" />*<br />
|
||||
<span class="abstractText"><form:errors path="theme" /></span>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<p class="legend"><fmt:message key="form.article.author.information" /></p>
|
||||
|
||||
<fieldset>
|
||||
<div>
|
||||
<form:label path="theme"><fmt:message key="form.submission.mainauthor" /></form:label>
|
||||
<b>${currentUser.firstName} ${currentUser.lastName}</b><br />
|
||||
</div>
|
||||
<div>
|
||||
<form:label path="theme"><fmt:message key="form.submission.secondaryauthor" /></form:label>
|
||||
<input id="newSecondaryAuthorInput" type="text" name="newSecondaryAuthor" />
|
||||
<input type="button" id="addSecondaryButton" name="addSecondary" value="<fmt:message key="button.add" />">
|
||||
<div id="secondaryAuthorList" class="dynamicList">
|
||||
<div class="dynamicListHeader"><fmt:message key="form.submission.secondaryauthor" /></div>
|
||||
<c:if test="${param['action'] eq 'modify'}">
|
||||
<c:forEach items="${listSecondaryAuthors}" var="secAuthor" varStatus="i">
|
||||
<div class="dynamicListItem" style="height: 0px; width: 0px;"
|
||||
id="liste[${i.index}]">${secAuthor}<input type="hidden"
|
||||
id="liste[${i.index}]" name="liste[${i.index}]"
|
||||
value="${secAuthor}" /></div>
|
||||
</c:forEach>
|
||||
</c:if>
|
||||
</div>
|
||||
<input type="button" id="removeSecondaryButton" name="removeSecondary" value="<fmt:message key="button.removeSelected" />" />
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<p class="legend"><fmt:message key="form.article.submit.info" /></p>
|
||||
|
||||
<fieldset>
|
||||
<div>
|
||||
<form:label path="file"><fmt:message key="form.article.file" /></form:label>
|
||||
<input type="file" name="file" />*
|
||||
<span class="abstractText"><form:errors path="file" /></span>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
|
||||
<input type="submit" value="<fmt:message key="button.OK" />" />
|
||||
|
||||
</form:form>
|
||||
|
||||
</c:when>
|
||||
</c:choose>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.7 KiB |
BIN
YACOSWeb/WebContent/images/button_back_32x32.png
Normal file
BIN
YACOSWeb/WebContent/images/button_back_32x32.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
@@ -494,7 +494,7 @@ a.manage_link:hover {
|
||||
a.back_link {
|
||||
text-decoration: none;
|
||||
padding-left: 50px;
|
||||
background: url(../images/button_back_32x32.gif) no-repeat left top;
|
||||
background: url(../images/button_back_32x32.png) no-repeat left top;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
color: #008281;
|
||||
|
||||
Reference in New Issue
Block a user