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 5730
Collapse All | Expand All

(-)a/pages/article/ArticleHandler.inc.php (-2 / +2 lines)
 Lines 135-141   class ArticleHandler extends Handler { Link Here 
135
135
136
			// Article cover page.
136
			// Article cover page.
137
			$locale = Locale::getLocale();
137
			$locale = Locale::getLocale();
138
			if (isset($article) && $article->getLocalizedFileName() && $article->getLocalizedShowCoverPage() && !$article->getLocalizedHideCoverPageAbstract($locale)) {
138
			if (isset($article) && $article->getLocalizedFileName() && $article->getLocalizedShowCoverPage() && !$article->getLocalizedHideCoverPageAbstract()) {
139
				import('classes.file.PublicFileManager');
139
				import('classes.file.PublicFileManager');
140
				$publicFileManager = new PublicFileManager();
140
				$publicFileManager = new PublicFileManager();
141
				$coverPagePath = $request->getBaseUrl() . '/';
141
				$coverPagePath = $request->getBaseUrl() . '/';
 Lines 143-149   class ArticleHandler extends Handler { Link Here 
143
				$templateMgr->assign('coverPagePath', $coverPagePath);
143
				$templateMgr->assign('coverPagePath', $coverPagePath);
144
				$templateMgr->assign('coverPageFileName', $article->getLocalizedFileName());
144
				$templateMgr->assign('coverPageFileName', $article->getLocalizedFileName());
145
				$templateMgr->assign('width', $article->getLocalizedWidth());
145
				$templateMgr->assign('width', $article->getLocalizedWidth());
146
				$templateMgr->assign('height', $article->getLocalized());
146
				$templateMgr->assign('height', $article->getLocalizedHeight());
147
				$templateMgr->assign('coverPageAltText', $article->getLocalizedCoverPageAltText());
147
				$templateMgr->assign('coverPageAltText', $article->getLocalizedCoverPageAltText());
148
			}
148
			}
149
149
(-)a/lib/pkp/classes/submission/Submission.inc.php (+7 lines)
 Lines 731-736   class Submission extends DataObject { Link Here 
731
	}
731
	}
732
732
733
	/**
733
	/**
734
	 * Get localized hide cover page in abstract view
735
	 */
736
	function getLocalizedHideCoverPageAbstract() {
737
		return $this->getLocalizedData('hideCoverPageAbstract');
738
	}
739
740
	/**
734
	 * Get submission date.
741
	 * Get submission date.
735
	 * @return date
742
	 * @return date
736
	 */
743
	 */

Return to bug 5730