[Koha-bugs] [Bug 31339] Use Template::Toolkit WRAPPER for Koha Plugins

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 11 08:49:00 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31339

--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
Here's an example for a tool plugin:

[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Plugins › Tools › Koha </title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body>

[% INCLUDE 'header.inc' %]
[% INCLUDE 'prefs-admin-search.inc' %]

<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
    <ol>
        <li>
            <a href="/cgi-bin/koha/mainpage.pl">Home</a>
        </li>
        <li>
            <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
        </li>
        <li>
            <a href="/cgi-bin/koha/plugins/plugins-home.pl">Plugins</a>
        </li>
        <li>
            <a href="#" aria-current="page">
                Plugin
            </a>
        </li>
    </ol>
</nav>

<div class="main container-fluid">
    <div class="row">
        <div class="col-sm-10 col-sm-push-2">
            <main>
            [% content %]
            </main>
        </div> <!-- /.col-sm-10.col-sm-push-2 -->

        <div class="col-sm-2 col-sm-pull-10">
            <aside>
                [% INCLUDE 'tools-menu.inc' %]
            </aside>
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
     </div> <!-- /.row -->


[% INCLUDE 'intranet-bottom.inc' %]

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list