-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to specify the port CircIT is listening on
- Loading branch information
John Doe
committed
May 29, 2024
1 parent
48b4d08
commit d543098
Showing
4 changed files
with
23 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,78 +1,37 @@ | ||
[% USE KohaDates %] | ||
[% INCLUDE 'doc-head-open.inc' %] | ||
<title>Koha: Kitchen Sink Plugin: Configuration</title> | ||
<title>Koha: RFID Plugin: Configuration</title> | ||
[% INCLUDE 'doc-head-close.inc' %] | ||
</head> | ||
<body> | ||
[% INCLUDE 'header.inc' %] | ||
[% INCLUDE 'cat-search.inc' %] | ||
|
||
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/plugins/plugins-home.pl">Plugins</a> › Kitchen Sink › Configuration</div> | ||
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/plugins/plugins-home.pl">Plugins</a> › RFID › Configuration</div> | ||
|
||
<div id="doc3"> | ||
<!-- We can access our own plugins resource files using the PLUGIN_PATH variable. --> | ||
<img src="[% PLUGIN_PATH %]/logo.png" /> | ||
<h3>Koha: Kitchen Sink Plugin: Configuration</h3> | ||
<h3>RFID plugin configuration</h3> | ||
|
||
<!-- Notice our form here has no 'action', this is good, it means that our forms will always get passed back to 'plugins/run.pl'. You could hard code it instead if you prefer --> | ||
<form method="get"> | ||
<!-- Always pass these two parameters so the plugin system knows what to execute! --> | ||
<input type="hidden" name="class" value="[% CLASS %]"/> | ||
<input type="hidden" name="method" value="[% METHOD %]"/> | ||
|
||
<label for="foo">Parameter 'foo': </label> | ||
<select name="foo"> | ||
[% IF foo == 'A' %] | ||
<option value="A" selected="selected">Option A</option> | ||
[% ELSE %] | ||
<option value="A">Option A</option> | ||
[% END %] | ||
<fieldset> | ||
<legend>Tech Logic</legend> | ||
|
||
[% IF foo == 'B' %] | ||
<option value="B" selected="selected">Option B</option> | ||
[% ELSE %] | ||
<option value="B">Option B</option> | ||
[% END %] | ||
</select> | ||
|
||
<p> | ||
|
||
<label for="bar">Parameter 'bar': </label> | ||
<input type="text" name="bar" value="[% bar %]" /> | ||
|
||
<p> | ||
|
||
<label for="enable_opac_payments">Enable OPAC Account Payments: </label> | ||
<select name="enable_opac_payments"> | ||
[% IF enable_opac_payments == 'No' %] | ||
<option value="No" selected="selected">No</option> | ||
[% ELSE %] | ||
<option value="No">No</option> | ||
[% END %] | ||
|
||
[% IF enable_opac_payments == 'Yes' %] | ||
<option value="Yes" selected="selected">Yes</option> | ||
[% ELSE %] | ||
<option value="Yes">Yes</option> | ||
[% END %] | ||
</select> | ||
|
||
<p> | ||
<div class="form-group"> | ||
<label for="TechLogicCircItPort">Port</label> | ||
<input type="number" class="form-control" name="TechLogicCircItPort" value="[% TechLogicCircItPort | html %]"placeholder="9201"> | ||
<span class="hint">The port that CircIT is listening on. Defaults to 9201 if blank.</span> | ||
</div> | ||
</fieldset> | ||
|
||
<input type="hidden" name="save" value="1" /> | ||
|
||
<input type="submit" value="Save configuration" /> | ||
</form> | ||
|
||
<hr/> | ||
|
||
<p> | ||
<h5>Upgrade status</h5> | ||
[% IF last_upgraded %] | ||
Plugin was last upgraded on this system on [% last_upgraded | $KohaDates with_hours => 1 %] | ||
[% ELSE %] | ||
Plugin has never been upgraded. | ||
[% END %] | ||
</p> | ||
|
||
[% INCLUDE 'intranet-bottom.inc' %] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters