Files

89 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE packagegui SYSTEM "../schema/packages.dtd">
<?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?>
<packagegui>
<copyright>
<![CDATA[
/*
* notes.xml
*
* part of pfSense (https://www.pfsense.org)
* Copyright (c) 2015-2025 Rubicon Communications, LLC (Netgate)
* Copyright (c) 2008 Mark J Crane
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
]]>
</copyright>
<description>Notes</description>
<name>Notes</name>
<title>Status/Notes</title>
<aftersaveredirect>/pkg.php?xml=notes.xml</aftersaveredirect>
<addedit_string>[notes] Successfully created/modified a note.</addedit_string>
<delete_string>[notes] Successfully deleted a note.</delete_string>
<menu>
<name>Notes</name>
<section>Status</section>
<configfile>notes.xml</configfile>
<url>/pkg.php?xml=notes.xml</url>
</menu>
<tabs>
<tab>
<text>Notes</text>
<url>/pkg.php?xml=notes.xml</url>
<active/>
</tab>
</tabs>
<configpath>installedpackages->package->$packagename->configuration->notes</configpath>
<adddeleteeditpagefields>
<columnitem>
<fielddescr>Title</fielddescr>
<fieldname>title</fieldname>
</columnitem>
<columnitem>
<fielddescr>Category</fielddescr>
<fieldname>category</fieldname>
</columnitem>
<addtext>Add a new note</addtext>
<edittext>Edit this note</edittext>
<deletetext>Delete this note</deletetext>
</adddeleteeditpagefields>
<fields>
<field>
<fielddescr>Title</fielddescr>
<fieldname>title</fieldname>
<description>Enter the title.</description>
<type>input</type>
<required/>
</field>
<field>
<fielddescr>Category</fielddescr>
<fieldname>category</fieldname>
<description>Enter the category.</description>
<type>input</type>
</field>
<field>
<fielddescr>Notes</fielddescr>
<fieldname>notes</fieldname>
<description></description>
<type>textarea</type>
<encoding>base64</encoding>
<size>30</size>
<cols>70</cols>
<rows>20</rows>
<required/>
</field>
</fields>
</packagegui>