%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/JetJournal/templates/manager/sections/ |
Upload File : |
{**
* templates/manager/sections/sections.tpl
*
* Copyright (c) 2003-2012 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"}