baseline
[omp.pkp.sfu.ca.git] / templates / about / editorialPolicies.tpl
blob473b48db300aeea0e1ce377e9ae9a7046e70829f
1 {**
2  * editorialPolicies.tpl
3  *
4  * Copyright (c) 2003-2009 John Willinsky
5  * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
6  *
7  * About the Press / Editorial Policies.
8  * 
9  * $Id: editorialPolicies.tpl,v 1.3 2009/07/30 23:16:14 tylerl Exp $
10  *}
11 {strip}
12 {assign var="pageTitle" value="about.editorialPolicies"}
13 {include file="common/header.tpl"}
14 {/strip}
16 <ul class="plain">
17         {if $currentPress->getLocalizedSetting('focusScopeDesc') != ''}<li>&#187; <a href="{url op="editorialPolicies" anchor="focusAndScope"}">{translate key="about.focusAndScope"}</a></li>{/if}
18         {if count($arrangements) > 0}<li>&#187; <a href="{url op="editorialPolicies" anchor="arrangementPolicies"}">{translate key="about.arrangementPolicies"}</a></li>{/if}
19         {if $currentPress->getLocalizedSetting('reviewPolicy') != ''}<li>&#187; <a href="{url op="editorialPolicies" anchor="peerReviewProcess"}">{translate key="about.peerReviewProcess"}</a></li>{/if}
20         {if $currentPress->getLocalizedSetting('openAccessPolicy') != ''}<li>&#187; <a href="{url op="editorialPolicies" anchor="openAccessPolicy"}">{translate key="about.openAccessPolicy"}</a></li>{/if}
21         {foreach key=key from=$currentPress->getLocalizedSetting('customAboutItems') item=customAboutItem}
22                 {if !empty($customAboutItem.title)}
23                         <li>&#187; <a href="{url op="editorialPolicies" anchor=custom`$key`}">{$customAboutItem.title|escape}</a></li>
24                 {/if}
25         {/foreach}
26 </ul>
28 {if $currentPress->getLocalizedSetting('focusScopeDesc') != ''}
29 <div id="focusAndScope"><h3>{translate key="about.focusAndScope"}</h3>
30 <p>{$currentPress->getLocalizedSetting('focusScopeDesc')|nl2br}</p>
32 <div class="separator">&nbsp;</div>
33 </div>
34 {/if}
36 {if count($arrangements) > 0}
37 <div id="arrangementPolicies"><h3>{translate key="about.arrangementPolicies"}</h3>
38 {foreach from=$arrangements item=arrangement}{if !$arrangement->getHideAbout()}
39         <h4>{$arrangement->getLocalizedTitle()}</h4>
40         {if strlen($arrangement->getLocalizedPolicy()) > 0}
41                 <p>{$arrangement->getLocalizedPolicy()|nl2br}</p>
42         {/if}
44         {assign var="hasEditors" value=0}
45         {foreach from=$arrangementEditorEntriesByArrangement item=arrangementEditorEntries key=key}
46                 {if $key == $arrangement->getId()}
47                         {foreach from=$arrangementEditorEntries item=arrangementEditorEntry}
48                                 {assign var=arrangementEditor value=$arrangementEditorEntry.user}
49                                 {if 0 == $hasEditors++}
50                                 {translate key="user.role.editors"}
51                                 <ul class="plain">
52                                 {/if}
53                                 <li>{$arrangementEditor->getFirstName()|escape} {$arrangementEditor->getLastName()|escape}{if strlen($arrangementEditor->getAffiliation()) > 0}, {$arrangementEditor->getAffiliation()|escape}{/if}</li>
54                         {/foreach}
55                 {/if}
56         {/foreach}
57         {if $hasEditors}</ul>{/if}
59         <table class="plain" width="60%">
60                 <tr>
61                         <td width="50%">{if !$arrangement->getEditorRestricted()}{icon name="checked"}{else}{icon name="unchecked"}{/if} {translate key="manager.arrangement.open"}</td>
62                         <td width="50%">{if $arrangement->getMetaIndexed()}{icon name="checked"}{else}{icon name="unchecked"}{/if} {translate key="manager.arrangement.indexed"}</td>
63                 </tr>
64         </table>
65 {/if}{/foreach}
66 </div>
68 <div class="separator">&nbsp;</div>
69 {/if}
71 {if $currentPress->getLocalizedSetting('reviewPolicy') != ''}<div id="peerReviewProcess"><h3>{translate key="about.peerReviewProcess"}</h3>
72 <p>{$currentPress->getLocalizedSetting('reviewPolicy')|nl2br}</p>
74 <div class="separator">&nbsp;</div>
75 </div>
76 {/if}
78 {if $currentPress->getLocalizedSetting('openAccessPolicy') != ''} 
79 <div id="openAccessPolicy"><h3>{translate key="about.openAccessPolicy"}</h3>
80 <p>{$currentPress->getLocalizedSetting('openAccessPolicy')|nl2br}</p>
82 <div class="separator">&nbsp;</div>
83 </div>
84 {/if}
86 {foreach key=key from=$currentPress->getLocalizedSetting('customAboutItems') item=customAboutItem name=customAboutItems}
87         {if !empty($customAboutItem.title)}
88                 <div id="custom{$key|escape}"><h3>{$customAboutItem.title|escape}</h3>
89                 <p>{$customAboutItem.content|nl2br}</p>
90                 {if !$smarty.foreach.customAboutItems.last}<div class="separator">&nbsp;</div>{/if}
91                 </div>
92         {/if}
93 {/foreach}
95 {include file="common/footer.tpl"}