Commit e7787aa0 authored by Alec Smecher's avatar Alec Smecher
Browse files

*5400* Removed unused template

parent a0341df3
......@@ -106,7 +106,6 @@ class ReferralPlugin extends GenericPlugin {
HookRegistry::register ('TemplateManager::include', array(&$this, 'handleReaderTemplateInclude'));
case 'article/interstitial.tpl':
case 'article/pdfInterstitial.tpl':
case 'article/view.tpl':
$this->logArticleRequest($templateMgr);
break;
case 'author/index.tpl':
......
{**
* view.tpl
*
* Copyright (c) 2003-2010 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Article View.
*
* $Id$
*}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$defaultCharset|escape}" />
<title>{$article->getFirstAuthor(true)|escape}</title>
<link rel="stylesheet" href="{$baseUrl}/lib/pkp/styles/common.css" type="text/css" />
<link rel="stylesheet" href="{$baseUrl}/styles/common.css" type="text/css" />
<link rel="stylesheet" href="{$baseUrl}/styles/articleView.css" type="text/css" />
{foreach from=$stylesheets item=cssUrl}
<link rel="stylesheet" href="{$cssUrl}" type="text/css" />
{/foreach}
<script type="text/javascript" src="{$baseUrl}/lib/pkp/js/general.js"></script>
{$additionalHeadData}
</head>
<frameset cols="*,180" style="border: 0;">
{if !$galley}
{url|assign:"articleUrl" op="viewArticle" path=$articleId}
{url|assign:"rstUrl" op="viewRST" path=$articleId}
{else}
{url|assign:"rstUrl" op="viewRST" path=$articleId|to_array:$galleyId}
{if $galley->isHtmlGalley()}
{url|assign:"articleUrl" op="viewArticle" path=$articleId|to_array:$galleyId}
{elseif $galley->isPdfGalley()}
{url|assign:"articleUrl" op="viewPDFInterstitial" path=$articleId|to_array:$galleyId}
{elseif $galley->isInlineable()}
{url|assign:"articleUrl" op="viewFile" path=$articleId|to_array:$galleyId}
{else}
{url|assign:"articleUrl" op="viewDownloadInterstitial" path=$articleId|to_array:$galleyId}
{/if}
{/if}
<frame src="{$articleUrl}" frameborder="0"/>
<frame src="{$rstUrl}" noresize="noresize" frameborder="0" scrolling="auto" />
<noframes>
<body>
<table width="100%">
<tr>
<td align="center">
{translate key="common.error.framesRequired" url=$articleUrl}
</td>
</tr>
</table>
</body>
</noframes>
</frameset>
</html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment