aboutsummaryrefslogtreecommitdiffstats
path: root/config/notes
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-11 02:04:54 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-11 02:04:54 +0200
commitcd5dc6e1c96e732223e37ff2e2ed7b729124a1a9 (patch)
tree135fa1935c8b982fd8a0780f1143ad88330fb4cd /config/notes
parent03762f564785026f991fbcabf6b66279c510fb92 (diff)
downloadpfsense-packages-cd5dc6e1c96e732223e37ff2e2ed7b729124a1a9.tar.gz
pfsense-packages-cd5dc6e1c96e732223e37ff2e2ed7b729124a1a9.tar.bz2
pfsense-packages-cd5dc6e1c96e732223e37ff2e2ed7b729124a1a9.zip
notes - code cleanup round two
- Fix copyright header - Fix permissions - Remove tons of useless garbage
Diffstat (limited to 'config/notes')
-rw-r--r--config/notes/notes.xml44
1 files changed, 19 insertions, 25 deletions
diff --git a/config/notes/notes.xml b/config/notes/notes.xml
index 34d2f676..e74a76f1 100644
--- a/config/notes/notes.xml
+++ b/config/notes/notes.xml
@@ -1,21 +1,24 @@
<?xml version="1.0" encoding="utf-8" ?>
-<!DOCTYPE packagegui SYSTEM "./schema/packages.dtd">
-<?xml-stylesheet type="text/xsl" href="./xsl/package.xsl"?>
+<!DOCTYPE packagegui SYSTEM "../schema/packages.dtd">
+<?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?>
<packagegui>
<copyright>
- <![CDATA[
+<![CDATA[
/* $Id$ */
-/* ========================================================================== */
+/* ====================================================================================== */
/*
notes.xml
+ part of pfSense (https://www.pfSense.org/)
Copyright (C) 2008 Mark J Crane
+ Copyright (C) 2015 ESF, LLC
All rights reserved.
*/
-/* ========================================================================== */
+/* ====================================================================================== */
/*
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
+
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
@@ -23,6 +26,7 @@
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
+
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
@@ -34,14 +38,12 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
-/* ========================================================================== */
- ]]>
+/* ====================================================================================== */
+ ]]>
</copyright>
<description>Notes</description>
- <requirements>Describe your package requirements here</requirements>
- <faq>Currently there are no FAQ items provided.</faq>
<name>Notes</name>
- <version>0.2.5</version>
+ <version>0.2.6</version>
<title>Settings</title>
<include_file>/usr/local/pkg/notes.inc</include_file>
<menu>
@@ -61,7 +63,6 @@
<configpath>installedpackages->package->$packagename->configuration->notes</configpath>
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
- <chmod>0755</chmod>
<item>https://packages.pfsense.org/packages/config/notes/notes.inc</item>
</additional_files_needed>
<adddeleteeditpagefields>
@@ -84,11 +85,15 @@
<field>
<fielddescr>Category</fielddescr>
<fieldname>category</fieldname>
- <description>Enter a category.</description>
+ <description>Enter the category.</description>
<type>input</type>
</field>
<field>
- <fielddescr>&lt;b&gt;Notes&lt;/b&gt; &lt;br /&gt; &lt;br /&gt;</fielddescr>
+ <fielddescr>
+ <![CDATA[
+ <strong>Notes</strong><br /><br />
+ ]]>
+ </fielddescr>
<fieldname>notes</fieldname>
<description></description>
<type>textarea</type>
@@ -98,18 +103,7 @@
<rows>20</rows>
</field>
</fields>
- <custom_add_php_command>
- </custom_add_php_command>
- <custom_php_resync_config_command>
- notes_sync_package();
- </custom_php_resync_config_command>
- <custom_delete_php_command>
- notes_sync_package();
- </custom_delete_php_command>
- <custom_php_install_command>
- notes_install_command();
- </custom_php_install_command>
<custom_php_deinstall_command>
notes_deinstall_command();
</custom_php_deinstall_command>
-</packagegui> \ No newline at end of file
+</packagegui>