diff --git a/html/includes/common/notes.inc.php b/html/includes/common/notes.inc.php new file mode 100644 index 000000000..9d2d17018 --- /dev/null +++ b/html/includes/common/notes.inc.php @@ -0,0 +1,39 @@ + + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. Please see LICENSE.txt at the top level of + * the source code distribution for details. + */ + +if( defined('show_settings') || empty($widget_settings) ) { + + $common_output[] = ' +
+
+
+ html is supported here. If you want just text then wrap in <pre></pre> +
+
+
+ +
+ +
+
+
+
+ +
+
+
'; +} +else { + $common_output[] = stripslashes(nl2br($widget_settings['notes'])); +} diff --git a/sql-schema/080.sql b/sql-schema/080.sql new file mode 100644 index 000000000..b48736782 --- /dev/null +++ b/sql-schema/080.sql @@ -0,0 +1 @@ +INSERT INTO widgets VALUES (NULL, 'Notes', 'notes', '5,4');