This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
Incam_SGD/templates/ktcore/help_with_edit.smarty

20 lines
1.1 KiB
Plaintext

{if (!$help_body)}
<div class="ktErrorMessage"><span>{i18n}No content specified for this help file yet. <strong>Edit it first.</strong>{/i18n}</span></div>
{else}
{$context->oPage->requireJSResource("resources/js/help.js")}
<input type="hidden" name="back_key" id="back_key" value="{$back_key}"/>
<div id="kt_help_body">
{$help_body}
</div>
{/if}
<hr />
<p>{if $can_edit}<a href="{ktLink base="admin.php" subpath="/misc/helpmanagement" query="action=customise&name=`$target_name`"}" class="ktAction ktEdit" style="float:
left; padding-right: 0.5em;">{i18n}Edit this help page.{/i18n}</a><a href="{ktLink base="admin.php" subpath="/misc/helpmanagement" query="action=customise&name=`$target_name`"}">{i18n}Edit this help page.{/i18n}</a><br/>{/if}
<a href="{ktLink base="help.php" query="action=go_back&back_key=`$back_key`"}" class="ktAction ktBack" style="float:
left; padding-right: 0.5em; clear: left; ">{i18n}Return to where you came from.{/i18n}</a><a href="{ktLink base="help.php" query="action=go_back&back_key=`$back_key`"}">{i18n}Return to where you came from.{/i18n}</a></p>