| Server IP : 10.10.92.66 / Your IP : 104.23.243.84 Web Server : Apache/2.4.52 (Ubuntu) System : Linux jurnalpolinema 5.15.0-177-generic #187-Ubuntu SMP Sat Apr 11 22:54:33 UTC 2026 x86_64 User : jurnal ( 1001) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/jurnal/public_html/plugins/generic/staticPages/templates/ |
Upload File : |
{**
* templates/editStaticPageForm.tpl
*
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* Form for editing a static page
*}
<script src="{$pluginJavaScriptURL}/StaticPageFormHandler.js"></script>
<script>
$(function() {ldelim}
// Attach the form handler.
$('#staticPageForm').pkpHandler(
'$.pkp.controllers.form.staticPages.StaticPageFormHandler',
{ldelim}
previewUrl: {url|json_encode router=$smarty.const.ROUTE_PAGE page="pages" op="preview"}
{rdelim}
);
{rdelim});
</script>
{capture assign=actionUrl}{url router=$smarty.const.ROUTE_COMPONENT component="plugins.generic.staticPages.controllers.grid.StaticPageGridHandler" op="updateStaticPage" existingPageName=$blockName escape=false}{/capture}
<form class="pkp_form" id="staticPageForm" method="post" action="{$actionUrl}">
{csrf}
{if $staticPageId}
<input type="hidden" name="staticPageId" value="{$staticPageId|escape}" />
{/if}
{fbvFormArea id="staticPagesFormArea" class="border"}
{fbvFormSection}
{fbvElement type="text" label="plugins.generic.staticPages.path" id="path" value=$path maxlength="40" inline=true size=$fbvStyles.size.MEDIUM}
{fbvElement type="text" label="plugins.generic.staticPages.pageTitle" id="title" value=$title maxlength="255" inline=true multilingual=true size=$fbvStyles.size.MEDIUM}
{/fbvFormSection}
{fbvFormSection}
{capture assign="exampleUrl"}{url|replace:"REPLACEME":"%PATH%" router=$smarty.const.ROUTE_PAGE context=$currentContext->getPath() page="REPLACEME"}{/capture}
{translate key="plugins.generic.staticPages.viewInstructions" pagesPath=$exampleUrl}
{/fbvFormSection}
{fbvFormSection label="plugins.generic.staticPages.content" for="content"}
{fbvElement type="textarea" multilingual=true name="content" id="content" value=$content rich=true height=$fbvStyles.height.TALL variables=$allowedVariables}
{/fbvFormSection}
{/fbvFormArea}
{fbvFormSection class="formButtons"}
{fbvElement type="button" class="pkp_helpers_align_left" id="previewButton" label="common.preview"}
{assign var=buttonId value="submitFormButton"|concat:"-"|uniqid}
{fbvElement type="submit" class="submitFormButton" id=$buttonId label="common.save"}
{/fbvFormSection}
</form>