From 07cf2c4b20230ddedee1bf9dddc1e7cd407385f5 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 5 Feb 2015 10:02:24 -0200 Subject: Packages repo cleanup: - Drop support for pfSense < 2 - Remove archive/, old files can be reached using git - Remove old and unused packages - Move stale files from config subdir to a package subdir --- config/cg2/sample/i18n/messages_de.xml | 7 -- config/cg2/sample/i18n/messages_en.xml | 7 -- config/cg2/sample/sample.inc | 37 -------- config/cg2/sample/sample.xml | 18 ---- config/cg2/sample/sample_ui.xml | 156 --------------------------------- config/cg2/sample/sample_ui2.xml | 29 ------ 6 files changed, 254 deletions(-) delete mode 100644 config/cg2/sample/i18n/messages_de.xml delete mode 100644 config/cg2/sample/i18n/messages_en.xml delete mode 100644 config/cg2/sample/sample.inc delete mode 100644 config/cg2/sample/sample.xml delete mode 100644 config/cg2/sample/sample_ui.xml delete mode 100644 config/cg2/sample/sample_ui2.xml (limited to 'config/cg2') diff --git a/config/cg2/sample/i18n/messages_de.xml b/config/cg2/sample/i18n/messages_de.xml deleted file mode 100644 index 0cfef583..00000000 --- a/config/cg2/sample/i18n/messages_de.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - \ No newline at end of file diff --git a/config/cg2/sample/i18n/messages_en.xml b/config/cg2/sample/i18n/messages_en.xml deleted file mode 100644 index 1ee7d24d..00000000 --- a/config/cg2/sample/i18n/messages_en.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - \ No newline at end of file diff --git a/config/cg2/sample/sample.inc b/config/cg2/sample/sample.inc deleted file mode 100644 index 62ec59ab..00000000 --- a/config/cg2/sample/sample.inc +++ /dev/null @@ -1,37 +0,0 @@ -value='This example shows how to change the text inside a text box from within the include file, when the form is loaded.'; -} - -function sample_on_sync_event() -{ - /* This is called when the form is posted. You generally want to sync the - * configurations in the XML file to settings in files spread across the file - * system or maybe restart a service here. */ - //var_dump('BEING SYNCED'); -} - -function sample_on_apply_event() -{ - /* This is called when a configuration has been changed and the user is - * prompted to apply the changes and clicks "Apply changes". */ - var_dump('BEING APPLIED'); -} - -function sample_on_submit_event() -{ - /* This allows you to perform an action when an specific submit button is - * clicked. This should only be used when you have more than one submit - * button in the same form. Otherwise, performs better and - * is cleaner. */ - //var_dump('BEING SUBMITTED'); -} -?> diff --git a/config/cg2/sample/sample.xml b/config/cg2/sample/sample.xml deleted file mode 100644 index d851c54e..00000000 --- a/config/cg2/sample/sample.xml +++ /dev/null @@ -1,18 +0,0 @@ - - -2.0 - -A fancy example - - - - - - sample_ui.xml - - - - sample_ui2.xml - - - diff --git a/config/cg2/sample/sample_ui.xml b/config/cg2/sample/sample_ui.xml deleted file mode 100644 index aebe8bfe..00000000 --- a/config/cg2/sample/sample_ui.xml +++ /dev/null @@ -1,156 +0,0 @@ - - -2.0 -sample - -sample.inc - -sample.js - - - form - sample_on_load_event - sample_on_sync_event - - header - - - - textbox - mytextbox - - This is a textbox. - Welcome to the world of coregui 2.0 - - - - ipsec_select - ipsec - - IPsec selection widget test. - - - - select - sample_sel - - - - - - interfaces_select - inter_sel - - - - - textarea - mytextarea - - Just testing descriptions... - This widget can not be edited! - - - - checkbox - mycheckbox - - Check this nice checkbox - Now checkboxes can have a caption as well. - _('hey, this is only meant for quick and dirty stuff, do NOT implement anything longer than 2 or 3 commands here! Btw, i was clicked.'); - - - submit - mysubmit - Send something - sample_on_submit_event - - - - button - mybutton - Cancel something - The description for the last element in a group is the description that matters. - _('Hi, don\'t abuse me, use include_javascript instead!'); - - - - textbox - dummydummy - - - - - checkbox - anothercheckbox - - Enable - Another checkbox, this time after a group, and disabled. - - - - - - table - move,edit,delete,add - sample_on_apply_event - - checkbox - dummycheckbox - - - - port - dummyport - - Enter a port here. - 3128 - - - - textbox - dummysetting - - This dummy setting will not show up in the table. - - - - textarea - longfield - - Very very very very very long field. - - - - - - form - - header - - - - button - mybutton - - Another silly button - - - - - table - - - - - - - - - diff --git a/config/cg2/sample/sample_ui2.xml b/config/cg2/sample/sample_ui2.xml deleted file mode 100644 index aa17d49d..00000000 --- a/config/cg2/sample/sample_ui2.xml +++ /dev/null @@ -1,29 +0,0 @@ - - -2.0 -sample2 - - - form - - textbox - mytextbox - - Welcome to the world of coregui 2.0 - - - - textarea - mytextarea - - This widget will be encoded to the config - - - - submit - mysubmit - Submit this now - - - - -- cgit v1.2.3