first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{**
|
||||
* templates/manager/importexport/plugins.tpl
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2003-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* List available import/export plugins.
|
||||
*}
|
||||
<div class="pkp_page_content pkp_page_importexport_plugins">
|
||||
{help file="tools" class="pkp_help_tab"}
|
||||
|
||||
<ul>
|
||||
{foreach from=$plugins item=plugin}
|
||||
<li><a href="{url op="importexport" path="plugin"|to_array:$plugin->getName()}">{$plugin->getDisplayName()|escape}</a>: {$plugin->getDescription()|escape}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
@@ -0,0 +1,30 @@
|
||||
{**
|
||||
* templates/management/tools/index.tpl
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2003-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* Management index.
|
||||
*}
|
||||
{extends file="layouts/backend.tpl"}
|
||||
|
||||
{block name="page"}
|
||||
<h1 class="app__pageHeading">
|
||||
{translate key="navigation.tools"}
|
||||
</h1>
|
||||
|
||||
<script type="text/javascript">
|
||||
// Attach the JS file tab handler.
|
||||
$(function() {ldelim}
|
||||
$('#managementTabs').pkpHandler('$.pkp.controllers.TabHandler');
|
||||
{rdelim});
|
||||
</script>
|
||||
<div id="managementTabs" class="pkp_controllers_tab">
|
||||
<ul>
|
||||
<li><a name="importexport" href="{url op="importexport"}">{translate key="navigation.tools.importExport"}</a></li>
|
||||
<li><a name="permissions" href="{url op="permissions"}">{translate key="settings.libraryFiles.category.permissions"}</a></li>
|
||||
{call_hook name="Templates::Management::Settings::tools"}
|
||||
</ul>
|
||||
</div>
|
||||
{/block}
|
||||
@@ -0,0 +1,31 @@
|
||||
{**
|
||||
* templates/management/tools/permissions.tpl
|
||||
*
|
||||
* Copyright (c) 2013-2021 Simon Fraser University
|
||||
* Copyright (c) 2003-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* Display the permissions tool page.
|
||||
*
|
||||
*}
|
||||
<script>
|
||||
$(function() {ldelim}
|
||||
// Attach the form handler.
|
||||
$('#resetPermissionsForm').pkpHandler(
|
||||
'$.pkp.controllers.form.AjaxFormHandler',
|
||||
{ldelim}
|
||||
confirmText: {translate|json_encode key="manager.setup.resetPermissions.confirm"},
|
||||
{rdelim}
|
||||
);
|
||||
{rdelim});
|
||||
</script>
|
||||
|
||||
<form class="pkp_form" id="resetPermissionsForm" method="post" action="{url router=\PKP\core\PKPApplication::ROUTE_PAGE page="management" op="tools" path="resetPermissions"}">
|
||||
<div class="pkp_page_content pkp_page_permissions">
|
||||
<h3>{translate key="manager.setup.resetPermissions"}</h3>
|
||||
<p>{translate key="manager.setup.resetPermissions.description"}</p>
|
||||
|
||||
{csrf}
|
||||
{fbvElement type="submit" id="resetPermissionsFormButton" label="manager.setup.resetPermissions"}
|
||||
</div>
|
||||
</form>
|
||||
Reference in New Issue
Block a user