%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/generic/staticPages/ |
Upload File : |
{**
* plugins/generic/staticPages/settingsForm.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.
*
* Form for Static Pages plugin settings.
*
*}
{assign var="pageTitle" value="plugins.generic.staticPages.displayName"}
{include file="common/header.tpl"}
{translate key="plugins.generic.staticPages.settingInstructions"}
<br />
{translate key="plugins.generic.staticPages.viewInstructions" pagesPath=$pagesPath|replace:"REPLACEME":"%PATH%"}
<br />
<br />
<form method="post" action="{plugin_url path="edit"}">
{include file="common/formErrors.tpl"}
<table width="100%" class="listing">
<tr><td colspan="3" class="headseparator"> </td></tr>
<tr class="heading" valign="bottom">
<td width="20%">{translate key="plugins.generic.staticPages.path"}</td>
<td width="60%">{translate key="plugins.generic.staticPages.pageTitle"}</td>
<td width="20%">{translate key="common.action"}</td>
</tr>
<tr><td colspan="3" class="headseparator"> </td></tr>
{iterate from=staticPages item=staticPage}
<tr valign="top">
<td width="20%" class="label">{$staticPage->getPath()|escape}</td>
<td width="50%" class="value" >{$staticPage->getStaticPageTitle()|strip_tags|truncate:40:"..."}</td>
<td width="30%"><a href="{url page="pages" op="view" path=$staticPage->getPath()}" class="action">{translate key="common.view"}</a> | <a href="{plugin_url path="edit"|to_array:$staticPage->getId()}" class="action">{translate key="common.edit"}</a> | <a href="{plugin_url path="delete"|to_array:$staticPage->getId()}" class="action">{translate key="common.delete"}</a></td>
</tr>
<tr>
<td colspan="3" class="{if $staticPages->eof()}end{/if}separator"> </td>
</tr>
{/iterate}
{if $staticPages->wasEmpty()}
<tr>
<td colspan="3" class="nodata">{translate key="plugins.generic.staticPages.noneExist"}</td>
</tr>
<tr>
<td colspan="3" class="endseparator"> </td>
</tr>
{/if}
</table>
<a class="action" href={plugin_url path="add"}>{translate key="plugins.generic.staticPages.addNewPage"}</a>
<p><input type="button" value="{translate key="common.done"}" class="button defaultButton" onclick="document.location.href='{url page="manager" op="plugins" escape=false}'" /></p>
</form>
<p><span class="formRequired">{translate key="common.requiredField"}</span></p>
{include file="common/footer.tpl"}