forked from pkp/ojs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettingsForm.tpl
More file actions
29 lines (26 loc) · 1.28 KB
/
settingsForm.tpl
File metadata and controls
29 lines (26 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{**
* plugins/generic/htmlArticleGalley/settingsForm.tpl
*
* Copyright (c) 2014-2019 Simon Fraser University
* Copyright (c) 2003-2019 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* HTML Article Galley plugin settings
*
*}
<script>
$(function() {ldelim}
// Attach the form handler.
$('#hagSettingsForm').pkpHandler('$.pkp.controllers.form.AjaxFormHandler');
{rdelim});
</script>
<form class="pkp_form" id="hagSettingsForm" method="post" action="{url router=$smarty.const.ROUTE_COMPONENT op="manage" category="generic" plugin=$pluginName verb="settings" save=true}">
{csrf}
{include file="controllers/notification/inPlaceNotification.tpl" notificationId="hagSettingsFormNotification"}
{fbvFormArea id="htmlArticleGalleySettingsFormArea" title="plugins.generic.htmlArticleGalley.manager.settings.title"}
{fbvFormSection for="htmlArticleGalleyDisplayType" list=true description="plugins.generic.htmlArticleGalley.manager.settings.description"}
{fbvElement type="checkbox" id="htmlArticleGalleyDisplayType" value=HTML_ARTICLE_GALLEY_DISPLAY_INLINE checked=$htmlArticleGalleyDisplayType label="plugins.generic.htmlArticleGalley.manager.settings.htmlArticleGalleyDisplayType"}
{/fbvFormSection}
{/fbvFormArea}
{fbvFormButtons}
</form>