We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

View | Details | Raw Unified | Return to bug 4718 | Differences between
and this patch

Collapse All | Expand All

(-)a/pages/editor/index.php (-6 / +7 lines)
 Lines 130-141   switch ($op) { Link Here 
130
	// Scheduling functions
130
	// Scheduling functions
131
	//
131
	//
132
	case 'scheduleForPublication':
132
	case 'scheduleForPublication':
133
	 //
133
	case 'setDatePublished':
134
	 // Payments
134
	//
135
	 //
135
	// Payments
136
	 case 'waiveSubmissionFee':
136
	//
137
	 case 'waiveFastTrackFee':
137
	case 'waiveSubmissionFee':
138
	 case 'waivePublicationFee':
138
	case 'waiveFastTrackFee':
139
	case 'waivePublicationFee':
139
		define('HANDLER_CLASS', 'SubmissionEditHandler');
140
		define('HANDLER_CLASS', 'SubmissionEditHandler');
140
		import('pages.sectionEditor.SubmissionEditHandler');
141
		import('pages.sectionEditor.SubmissionEditHandler');
141
		break;
142
		break;
(-)a/pages/sectionEditor/SubmissionEditHandler.inc.php (-5 / +30 lines)
 Lines 307-313   class SubmissionEditHandler extends SectionEditorHandler { Link Here 
307
		$completedPaymentDao =& DAORegistry::getDAO('OJSCompletedPaymentDAO');
307
		$completedPaymentDao =& DAORegistry::getDAO('OJSCompletedPaymentDAO');
308
308
309
		$publicationFeeEnabled = $paymentManager->publicationEnabled();
309
		$publicationFeeEnabled = $paymentManager->publicationEnabled();
310
		$templateMgr->assign('publicatonFeeEnabled',  $publicationFeeEnabled);
310
		$templateMgr->assign('publicationFeeEnabled',  $publicationFeeEnabled);
311
		if ( $publicationFeeEnabled ) {
311
		if ( $publicationFeeEnabled ) {
312
			$templateMgr->assign_by_ref('publicationPayment', $completedPaymentDao->getPublicationCompletedPayment ( $journal->getId(), $articleId ));
312
			$templateMgr->assign_by_ref('publicationPayment', $completedPaymentDao->getPublicationCompletedPayment ( $journal->getId(), $articleId ));
313
		}
313
		}
 Lines 2306-2318   class SubmissionEditHandler extends SectionEditorHandler { Link Here 
2306
2306
2307
	/**
2307
	/**
2308
	 * Schedule/unschedule an article for publication.
2308
	 * Schedule/unschedule an article for publication.
2309
	 * @param $args array
2310
	 * @param $request object
2309
	 */
2311
	 */
2310
	function scheduleForPublication($args) {
2312
	function scheduleForPublication($args, $request) {
2311
		$articleId = (int) array_shift($args);
2313
		$articleId = (int) array_shift($args);
2312
		$issueId = (int) Request::getUserVar('issueId');
2314
		$issueId = (int) $request->getUserVar('issueId');
2313
		$this->validate($articleId, SECTION_EDITOR_ACCESS_EDIT);
2315
		$this->validate($articleId, SECTION_EDITOR_ACCESS_EDIT);
2314
2316
2315
		$journal =& Request::getJournal();
2317
		$journal =& $request->getJournal();
2316
		$submission =& $this->submission;
2318
		$submission =& $this->submission;
2317
2319
2318
		$sectionEditorSubmissionDao =& DAORegistry::getDAO('SectionEditorSubmissionDAO');
2320
		$sectionEditorSubmissionDao =& DAORegistry::getDAO('SectionEditorSubmissionDAO');
 Lines 2370-2376   class SubmissionEditHandler extends SectionEditorHandler { Link Here 
2370
2372
2371
		$sectionEditorSubmissionDao->updateSectionEditorSubmission($submission);
2373
		$sectionEditorSubmissionDao->updateSectionEditorSubmission($submission);
2372
2374
2373
		Request::redirect(null, null, 'submissionEditing', array($articleId), null, 'scheduling');
2375
		$request->redirect(null, null, 'submissionEditing', array($articleId), null, 'scheduling');
2376
	}
2377
2378
	/**
2379
	 * Set the publication date for a published article
2380
	 * @param $args array
2381
	 * @param $request object
2382
	 */
2383
	function setDatePublished($args, $request) {
2384
		$articleId = (int) array_shift($args);
2385
		$issueId = (int) $request->getUserVar('issueId');
2386
		$this->validate($articleId, SECTION_EDITOR_ACCESS_EDIT);
2387
2388
		$journal =& $request->getJournal();
2389
		$submission =& $this->submission;
2390
2391
		$publishedArticleDao =& DAORegistry::getDAO('PublishedArticleDAO');
2392
		$publishedArticle =& $publishedArticleDao->getPublishedArticleByArticleId($articleId);
2393
		if ($publishedArticle) {
2394
			$datePublished = $request->getUserDateVar('datePublished');
2395
			$publishedArticle->setDatePublished($datePublished);
2396
			$publishedArticleDao->updatePublishedArticle($publishedArticle);
2397
		}
2398
		$request->redirect(null, null, 'submissionEditing', array($articleId), null, 'scheduling');
2374
	}
2399
	}
2375
2400
2376
	/**
2401
	/**
(-)a/pages/sectionEditor/index.php (-3 / +4 lines)
 Lines 132-143   switch ($op) { Link Here 
132
	// Scheduling functions
132
	// Scheduling functions
133
	//
133
	//
134
	case 'scheduleForPublication':
134
	case 'scheduleForPublication':
135
	case 'setDatePublished':
135
	 //
136
	 //
136
	 // Payments
137
	 // Payments
137
	 //
138
	 //
138
	 case 'waiveSubmissionFee':
139
	case 'waiveSubmissionFee':
139
	 case 'waiveFastTrackFee':
140
	case 'waiveFastTrackFee':
140
	 case 'waivePublicationFee':
141
	case 'waivePublicationFee':
141
		define('HANDLER_CLASS', 'SubmissionEditHandler');
142
		define('HANDLER_CLASS', 'SubmissionEditHandler');
142
		import('pages.sectionEditor.SubmissionEditHandler');
143
		import('pages.sectionEditor.SubmissionEditHandler');
143
		break;
144
		break;
(-)a/plugins/importexport/quickSubmit/QuickSubmitForm.inc.php (-2 / +4 lines)
 Lines 136-141   class QuickSubmitForm extends Form { Link Here 
136
			)
136
			)
137
		);
137
		);
138
138
139
		$this->readUserDateVars(array('datePublished'));
140
139
		$sectionDao =& DAORegistry::getDAO('SectionDAO');
141
		$sectionDao =& DAORegistry::getDAO('SectionDAO');
140
		$section =& $sectionDao->getSection($this->getData('sectionId'));
142
		$section =& $sectionDao->getSection($this->getData('sectionId'));
141
		if ($section && !$section->getAbstractsNotRequired()) {
143
		if ($section && !$section->getAbstractsNotRequired()) {
 Lines 156-162   class QuickSubmitForm extends Form { Link Here 
156
158
157
		$temporaryFile = $temporaryFileManager->handleUpload($fileName, $user->getId());
159
		$temporaryFile = $temporaryFileManager->handleUpload($fileName, $user->getId());
158
160
159
		if($temporaryFile) {
161
		if ($temporaryFile) {
160
			return $temporaryFile->getId();
162
			return $temporaryFile->getId();
161
		} else {
163
		} else {
162
			return false;
164
			return false;
 Lines 387-393   class QuickSubmitForm extends Form { Link Here 
387
				$publishedArticle = new PublishedArticle();
389
				$publishedArticle = new PublishedArticle();
388
				$publishedArticle->setId($submission->getId());
390
				$publishedArticle->setId($submission->getId());
389
				$publishedArticle->setIssueId($issueId);
391
				$publishedArticle->setIssueId($issueId);
390
				$publishedArticle->setDatePublished(Core::getCurrentDate());
392
				$publishedArticle->setDatePublished($this->getData('datePublished'));
391
				$publishedArticle->setSeq(REALLY_BIG_NUMBER);
393
				$publishedArticle->setSeq(REALLY_BIG_NUMBER);
392
				$publishedArticle->setViews(0);
394
				$publishedArticle->setViews(0);
393
				$publishedArticle->setAccessStatus(ARTICLE_ACCESS_ISSUE_DEFAULT);
395
				$publishedArticle->setAccessStatus(ARTICLE_ACCESS_ISSUE_DEFAULT);
(-)a/plugins/importexport/quickSubmit/QuickSubmitPlugin.inc.php (-8 / +8 lines)
 Lines 86-97   class QuickSubmitPlugin extends ImportExportPlugin { Link Here 
86
		$form->readInputData();
86
		$form->readInputData();
87
		$formLocale = $form->getFormLocale();
87
		$formLocale = $form->getFormLocale();
88
88
89
		if (Request::getUserVar('addAuthor')) {
89
		if ($request->getUserVar('addAuthor')) {
90
			$editData = true;
90
			$editData = true;
91
			$authors = $form->getData('authors');
91
			$authors = $form->getData('authors');
92
			$authors[] = array();
92
			$authors[] = array();
93
			$form->setData('authors', $authors);
93
			$form->setData('authors', $authors);
94
		} else if (($delAuthor = Request::getUserVar('delAuthor')) && count($delAuthor) == 1) {
94
		} else if (($delAuthor = $request->getUserVar('delAuthor')) && count($delAuthor) == 1) {
95
			$editData = true;
95
			$editData = true;
96
			list($delAuthor) = array_keys($delAuthor);
96
			list($delAuthor) = array_keys($delAuthor);
97
			$delAuthor = (int) $delAuthor;
97
			$delAuthor = (int) $delAuthor;
 Lines 107-117   class QuickSubmitPlugin extends ImportExportPlugin { Link Here 
107
			if ($form->getData('primaryContact') == $delAuthor) {
107
			if ($form->getData('primaryContact') == $delAuthor) {
108
				$form->setData('primaryContact', 0);
108
				$form->setData('primaryContact', 0);
109
			}
109
			}
110
		} else if (Request::getUserVar('moveAuthor')) {
110
		} else if ($request->getUserVar('moveAuthor')) {
111
			$editData = true;
111
			$editData = true;
112
			$moveAuthorDir = Request::getUserVar('moveAuthorDir');
112
			$moveAuthorDir = $request->getUserVar('moveAuthorDir');
113
			$moveAuthorDir = $moveAuthorDir == 'u' ? 'u' : 'd';
113
			$moveAuthorDir = $moveAuthorDir == 'u' ? 'u' : 'd';
114
			$moveAuthorIndex = (int) Request::getUserVar('moveAuthorIndex');
114
			$moveAuthorIndex = (int) $request->getUserVar('moveAuthorIndex');
115
			$authors = $form->getData('authors');
115
			$authors = $form->getData('authors');
116
116
117
			if (!(($moveAuthorDir == 'u' && $moveAuthorIndex <= 0) || ($moveAuthorDir == 'd' && $moveAuthorIndex >= count($authors) - 1))) {
117
			if (!(($moveAuthorDir == 'u' && $moveAuthorIndex <= 0) || ($moveAuthorDir == 'd' && $moveAuthorIndex >= count($authors) - 1))) {
 Lines 136-151   class QuickSubmitPlugin extends ImportExportPlugin { Link Here 
136
				}
136
				}
137
			}
137
			}
138
			$form->setData('authors', $authors);
138
			$form->setData('authors', $authors);
139
		} else if (Request::getUserVar('uploadSubmissionFile')) {
139
		} else if ($request->getUserVar('uploadSubmissionFile')) {
140
			$editData = true;
140
			$editData = true;
141
			$tempFileId = $form->getData('tempFileId');
141
			$tempFileId = $form->getData('tempFileId');
142
			$tempFileId[$formLocale] = $form->uploadSubmissionFile('submissionFile');
142
			$tempFileId[$formLocale] = $form->uploadSubmissionFile('submissionFile');
143
			$form->setData('tempFileId', $tempFileId);
143
			$form->setData('tempFileId', $tempFileId);
144
		}
144
		}
145
145
146
		if (Request::getUserVar('createAnother') && $form->validate()) {
146
		if ($request->getUserVar('createAnother') && $form->validate()) {
147
			$form->execute();
147
			$form->execute();
148
			Request::redirect(null, 'manager', 'importexport', array('plugin', $this->getName()));
148
			$request->redirect(null, 'manager', 'importexport', array('plugin', $this->getName()));
149
		} else if (!isset($editData) && $form->validate()) {
149
		} else if (!isset($editData) && $form->validate()) {
150
			$form->execute();
150
			$form->execute();
151
			$templateMgr->display($this->getTemplatePath() . 'submitSuccess.tpl');
151
			$templateMgr->display($this->getTemplatePath() . 'submitSuccess.tpl');
(-)a/plugins/importexport/quickSubmit/index.tpl (-4 / +28 lines)
 Lines 69-86   function updateAbstractRequired() { Link Here 
69
			<td class="label" width="5%">
69
			<td class="label" width="5%">
70
				<input type="radio" name="destination" id="destinationUnpublished" value="queue" {if not $publishToIssue} checked="checked"{/if}{if $enablePageNumber} onclick="document.getElementById('submit').pages.disabled = true;document.getElementById('submit').pagesHidden.value = document.getElementById('submit').pages.value; document.getElementById('submit').pages.value = '';"{/if}/>
70
				<input type="radio" name="destination" id="destinationUnpublished" value="queue" {if not $publishToIssue} checked="checked"{/if}{if $enablePageNumber} onclick="document.getElementById('submit').pages.disabled = true;document.getElementById('submit').pagesHidden.value = document.getElementById('submit').pages.value; document.getElementById('submit').pages.value = '';"{/if}/>
71
			</td>
71
			</td>
72
			<td class="value" width="95%">{fieldLabel name="destinationUnpublished" key="plugins.importexport.quickSubmit.leaveUnpublished"}</td>
72
			<td colspan="2" class="value" width="95%">{fieldLabel name="destinationUnpublished" key="plugins.importexport.quickSubmit.leaveUnpublished"}</td>
73
		</tr>
73
		</tr>
74
		<tr valign="top">
74
		<tr valign="top">
75
			<td class="label">
75
			<td rowspan="2" class="label">
76
				<input type="radio" id="destinationIssue" name="destination" value="issue" {if $publishToIssue} checked="checked"{/if}{if $enablePageNumber} onclick="document.getElementById('submit').pages.disabled = false;document.getElementById('submit').pages.value = document.getElementById('submit').pagesHidden.value;"{/if}/>
76
				<input type="radio" id="destinationIssue" name="destination" value="issue" {if $publishToIssue} checked="checked"{/if}{if $enablePageNumber} onclick="document.getElementById('submit').pages.disabled = false;document.getElementById('submit').pages.value = document.getElementById('submit').pagesHidden.value;"{/if}/>
77
			</td>
77
			</td>
78
			<td class="value">{fieldLabel name="destinationIssue" key="plugins.importexport.quickSubmit.addToExisting"} <select name="issueId" id="issueId" size="1" class="selectMenu">{html_options options=$issueOptions selected=$issueNumber}</select></td>
78
			<td width="20%" class="value">
79
				{fieldLabel name="destinationIssue" key="plugins.importexport.quickSubmit.addToExisting"}
80
			</td>
81
			<td class="value">
82
				<select name="issueId" id="issueId" size="1" class="selectMenu">{html_options options=$issueOptions selected=$issueNumber}</select>
83
			</td>
84
		</tr>
85
		<tr valign="top">
86
			<td class="label">
87
				<label for="issueId">{translate key="editor.issues.published"}</label>
88
			</td>
89
			<td class="value">
90
				{* Find good values for starting and ending year options *}
91
				{assign var=currentYear value=$smarty.now|date_format:"%Y"}
92
				{if $datePublished}
93
					{assign var=publishedYear value=$datePublished|date_format:"%Y"}
94
					{math|assign:"minYear" equation="min(x,y)-10" x=$publishedYear y=$currentYear}
95
					{math|assign:"maxYear" equation="max(x,y)+2" x=$publishedYear y=$currentYear}
96
				{else}
97
					{* No issue publication date info *}
98
					{math|assign:"minYear" equation="x-10" x=$currentYear}
99
					{math|assign:"maxYear" equation="x+2" x=$currentYear}
100
				{/if}
101
				{html_select_date prefix="datePublished" time=$datePublished|default:"---" all_extra="class=\"selectMenu\"" start_year=$minYear end_year=$maxYear year_empty="common.year"|translate month_empty="common.month"|translate day_empty="common.day"|translate}
102
			</td>
79
		</tr>
103
		</tr>
80
		{if $enablePageNumber}
104
		{if $enablePageNumber}
81
			<tr valign="top">
105
			<tr valign="top">
82
				<td class="label">&nbsp;</td>
106
				<td class="label">&nbsp;</td>
83
				<td class="value">
107
				<td colspan="2" class="value">
84
					{fieldLabel name="pages" key="editor.issues.pages"}&nbsp;
108
					{fieldLabel name="pages" key="editor.issues.pages"}&nbsp;
85
					<input name="pages" id="pages" {if $publishToIssue}value="{$pages|escape}" {else}disabled="disabled" {/if}size="20" maxlength="40" class="textField" />
109
					<input name="pages" id="pages" {if $publishToIssue}value="{$pages|escape}" {else}disabled="disabled" {/if}size="20" maxlength="40" class="textField" />
86
					<input type="hidden" name="pagesHidden" value="{$pages|escape}" />
110
					<input type="hidden" name="pagesHidden" value="{$pages|escape}" />
(-)a/templates/editor/issues/issueData.tpl (-5 / +11 lines)
 Lines 88-101    Link Here 
88
	<tr valign="top">
88
	<tr valign="top">
89
		<td class="label">{translate key="common.status"}</td>
89
		<td class="label">{translate key="common.status"}</td>
90
		<td class="value">
90
		<td class="value">
91
			{if $issue->getDatePublished()}
91
			{if $issue->getPublished()}
92
				{translate key="editor.issues.published"}&nbsp;&nbsp;
92
				{translate key="editor.issues.published"}&nbsp;&nbsp;
93
				{* Find good values for starting and ending year options *}
93
				{* Find good values for starting and ending year options *}
94
				{assign var=publishedYear value=$issue->getDatePublished()|date_format:"%Y"}
95
				{assign var=currentYear value=$smarty.now|date_format:"%Y"}
94
				{assign var=currentYear value=$smarty.now|date_format:"%Y"}
96
				{math|assign:"minYear" equation="min(x,y)-10" x=$publishedYear y=$currentYear}
95
				{if $datePublished}
97
				{math|assign:"maxYear" equation="max(x,y)+2" x=$publishedYear y=$currentYear}
96
					{assign var=publishedYear value=$datePublished|date_format:"%Y"}
98
				{html_select_date prefix="datePublished" time=$datePublished all_extra="class=\"selectMenu\"" start_year=$minYear end_year=$maxYear}
97
					{math|assign:"minYear" equation="min(x,y)-10" x=$publishedYear y=$currentYear}
98
					{math|assign:"maxYear" equation="max(x,y)+2" x=$publishedYear y=$currentYear}
99
				{else}
100
					{* No issue publication date info *}
101
					{math|assign:"minYear" equation="x-10" x=$currentYear}
102
					{math|assign:"maxYear" equation="x+2" x=$currentYear}
103
				{/if}
104
				{html_select_date prefix="datePublished" time=$datePublished|default:"---" all_extra="class=\"selectMenu\"" start_year=$minYear end_year=$maxYear year_empty="-" month_empty="-" day_empty="-"}
99
			{else}
105
			{else}
100
				{translate key="editor.issues.unpublished"}
106
				{translate key="editor.issues.unpublished"}
101
			{/if}
107
			{/if}
(-)a/templates/sectionEditor/submission/scheduling.tpl (-33 / +63 lines)
 Lines 11-45    Link Here 
11
<div id="scheduling">
11
<div id="scheduling">
12
<h3>{translate key="submission.scheduling"}</h3>
12
<h3>{translate key="submission.scheduling"}</h3>
13
13
14
{if !$publicatonFeeEnabled || $publicationPayment}
14
<table class="data" width="100%">
15
{if !$publicationFeeEnabled || $publicationPayment}
15
	<form action="{url op="scheduleForPublication" path=$submission->getId()}" method="post">
16
	<form action="{url op="scheduleForPublication" path=$submission->getId()}" method="post">
16
	<p>
17
		<tr valign="top">
17
		<label for="issueId">{translate key="editor.article.scheduleForPublication"}</label>
18
			<td width="25%" class="label">
18
		{if $publishedArticle}
19
				<label for="issueId">{translate key="editor.article.scheduleForPublication"}</label>
19
			{assign var=issueId value=$publishedArticle->getIssueId()}
20
			</td>
20
		{else}
21
			<td width="25%" class="value">
21
			{assign var=issueId value=0}
22
				{if $publishedArticle}
22
		{/if}
23
					{assign var=issueId value=$publishedArticle->getIssueId()}
23
		<select name="issueId" id="issueId" class="selectMenu">
24
				{else}
24
			<option value="">{translate key="editor.article.scheduleForPublication.toBeAssigned"}</option>
25
					{assign var=issueId value=0}
25
			{html_options options=$issueOptions|truncate:40:"..." selected=$issueId}
26
				{/if}
26
		</select>&nbsp;
27
				<select name="issueId" id="issueId" class="selectMenu">
27
		<input type="submit" value="{translate key="common.record"}" class="button defaultButton" />&nbsp;
28
					<option value="">{translate key="editor.article.scheduleForPublication.toBeAssigned"}</option>
28
		{if $issueId}
29
					{html_options options=$issueOptions|truncate:40:"..." selected=$issueId}
29
			{if $isEditor}
30
				</select>
30
				<a href="{url op="issueToc" path=$issueId}" class="action">{translate key="issue.toc"}</a>
31
			</td>
31
			{else}
32
			<td width="50%" class="value">
32
				<a href="{url page="issue" op="view" path=$issueId}" class="action">{translate key="issue.toc"}</a>
33
				<input type="submit" value="{translate key="common.record"}" class="button defaultButton" />&nbsp;
33
			{/if}
34
				{if $issueId}
34
		{/if}
35
					{if $isEditor}
35
	</p>
36
						<a href="{url op="issueToc" path=$issueId}" class="action">{translate key="issue.toc"}</a>
37
					{else}
38
						<a href="{url page="issue" op="view" path=$issueId}" class="action">{translate key="issue.toc"}</a>
39
					{/if}
40
				{/if}
41
			</td>
42
		</tr>
36
	</form>
43
	</form>
44
	{if $publishedArticle}
45
		<form action="{url op="setDatePublished" path=$submission->getId()}" method="post">
46
			<tr valign="top">
47
				<td width="20%" class="label">
48
					<label for="issueId">{translate key="editor.issues.published"}</label>
49
				</td>
50
				<td class="value">
51
					{* Find good values for starting and ending year options *}
52
					{assign var=currentYear value=$smarty.now|date_format:"%Y"}
53
					{if $publishedArticle->getDatePublished()}
54
						{assign var=publishedYear value=$publishedArticle->getDatePublished()|date_format:"%Y"}
55
						{math|assign:"minYear" equation="min(x,y)-10" x=$publishedYear y=$currentYear}
56
						{math|assign:"maxYear" equation="max(x,y)+2" x=$publishedYear y=$currentYear}
57
					{else}
58
						{* No issue publication date info *}
59
						{math|assign:"minYear" equation="x-10" x=$currentYear}
60
						{math|assign:"maxYear" equation="x+2" x=$currentYear}
61
					{/if}
62
					{html_select_date prefix="datePublished" time=$publishedArticle->getDatePublished()|default:"---" all_extra="class=\"selectMenu\"" start_year=$minYear end_year=$maxYear year_empty="-" month_empty="-" day_empty="-"}
63
				</td>
64
				<td class="value">
65
					<input type="submit" value="{translate key="common.record"}" class="button defaultButton" />&nbsp;
66
				</td>
67
			</tr>
68
		</form>
69
	{/if}{* $publishedArticle *}
37
{else}
70
{else}
38
	<table class="data">
71
	<tr>
39
    <tr>
72
		<td>{translate key="editor.article.payment.publicationFeeNotPaid"}</td>
40
    	<td width="50%">
41
    		{translate key="editor.article.payment.publicationFeeNotPaid"}
42
    	</td>
43
		<td align="right">
73
		<td align="right">
44
			<form action="{url op="waivePublicationFee" path=$submission->getId()}" method="post">
74
			<form action="{url op="waivePublicationFee" path=$submission->getId()}" method="post">
45
			<input type="hidden" name="markAsPaid" value=1 />
75
			<input type="hidden" name="markAsPaid" value=1 />
 Lines 48-61    Link Here 
48
			</form>
78
			</form>
49
		</td>
79
		</td>
50
		{if $isEditor}
80
		{if $isEditor}
51
		<td align="left">
81
			<td align="left">
52
			<form action="{url op="waivePublicationFee" path=$submission->getId()}" method="post">
82
				<form action="{url op="waivePublicationFee" path=$submission->getId()}" method="post">
53
			<input type="hidden" name="sendToScheduling" value=1 />
83
					<input type="hidden" name="sendToScheduling" value=1 />
54
			<input type="submit" value="{translate key="payment.waive"}" class="button defaultButton" />&nbsp;
84
					<input type="submit" value="{translate key="payment.waive"}" class="button defaultButton" />&nbsp;
55
			</form>
85
				</form>
56
		</td>	
86
			</td>	
57
		{/if}
87
		{/if}
58
	</tr>
88
	</tr>
59
	</table>
60
{/if}
89
{/if}
90
</table>
61
</div>
91
</div>
(-)a/dbscripts/xml/ojs_schema.xml (-3 / +1 lines)
 Lines 604-612    Link Here 
604
		<field name="issue_id" type="I8">
604
		<field name="issue_id" type="I8">
605
			<NOTNULL/>
605
			<NOTNULL/>
606
		</field>
606
		</field>
607
		<field name="date_published" type="T">
607
		<field name="date_published" type="T"/>
608
			<NOTNULL/>
609
		</field>
610
		<field name="seq" type="F">
608
		<field name="seq" type="F">
611
			<NOTNULL/>
609
			<NOTNULL/>
612
			<DEFAULT VALUE="0"/>
610
			<DEFAULT VALUE="0"/>

Return to bug 4718