[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
14082024
/
Data
/
htdocs
/
htdocs
/
ojs
/
248
/
templates
/
manager
/
sections
/
[
Home
]
File: sections.tpl
{** * templates/manager/sections/sections.tpl * * Copyright (c) 2013-2019 Simon Fraser University * Copyright (c) 2003-2019 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Display list of sections in journal management. * *} {strip} {assign var="pageTitle" value="section.sections"} {include file="common/header.tpl"} {/strip} <script type="text/javascript"> {literal} $(document).ready(function() { setupTableDND("#dragTable", "moveSection"); }); {/literal} </script> <br /> <div id="sections"> <table width="100%" class="listing" id="dragTable"> <tr> <td class="headseparator" colspan="3"> </td> </tr> <tr class="heading" valign="bottom"> <td width="60%">{translate key="section.title"}</td> <td width="25%">{translate key="section.abbreviation"}</td> <td width="15%" align="right">{translate key="common.action"}</td> </tr> <tr> <td class="headseparator" colspan="3"> </td> </tr> {iterate from=sections item=section name=sections} <tr valign="top" id="section-{$section->getId()}" class="data"> <td class="drag">{$section->getLocalizedTitle()|escape}</td> <td class="drag">{$section->getLocalizedAbbrev()|escape}</td> <td align="right" class="nowrap"> <a href="{url op="editSection" path=$section->getId()}" class="action">{translate key="common.edit"}</a> | <a href="{url op="deleteSection" path=$section->getId()}" onclick="{if !in_array($section->getId(), $emptySectionIds)}alert('{translate|escape:"jsparam" key="manager.sections.alertDelete"}'); return false{else}return confirm('{translate|escape:"jsparam" key="manager.sections.confirmDelete"}'){/if}" class="action">{translate key="common.delete"}</a> | <a href="{url op="moveSection" d=u id=$section->getId()}">↑</a> <a href="{url op="moveSection" d=d id=$section->getId()}">↓</a> </td> </tr> {/iterate} <tr> <td colspan="3" class="endseparator"> </td> </tr> {if $sections->wasEmpty()} <tr> <td colspan="3" class="nodata">{translate key="manager.sections.noneCreated"}</td> </tr> <tr> <td colspan="3" class="endseparator"> </td> </tr> {else} <tr> <td align="left">{page_info iterator=$sections}</td> <td colspan="2" align="right">{page_links anchor="sections" name="sections" iterator=$sections}</td> </tr> {/if} </table> <a class="action" href="{url op="createSection"}">{translate key="manager.sections.create"}</a> </div> {include file="common/footer.tpl"}