{** * templates/subscription/users.tpl * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 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}
{translate key="manager.subscriptions.subscriptionCreatedSuccessfully"}
{/if}

{translate key="manager.subscriptions.selectSubscriber.desc"}

 

{foreach from=$alphaList item=letter}{if $letter == $searchInitial}{$letter|escape}{else}{$letter|escape}{/if} {/foreach}{if $searchInitial==''}{translate key="common.all"}{else}{translate key="common.all"}{/if}

{iterate from=users item=user} {assign var="userid" value=$user->getId()} {/iterate} {if $users->wasEmpty()} {else} {/if}
 
{translate key="user.username"} {translate key="user.name"} {translate key="user.email"}
 
{if $isJournalManager}{/if}{$user->getUsername()|escape}{if $isJournalManager}{/if} {$user->getFullName(true)|escape} {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} getId()}{else}{url op="createSubscription" path=$redirect userId=$user->getId()}{/if}" class="action">{translate key="manager.subscriptions.select"}
 
{translate key="common.none"}
 
{page_info iterator=$users} {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}
{url|assign:"selectSubscriberUrl" op="selectSubscriber" path=$redirect} {translate key="manager.people.createUser"}
{include file="common/footer.tpl"}