aboutsummaryrefslogtreecommitdiffstats
path: root/config/cg2/sample/sample.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-02-05 10:02:24 -0200
committerRenato Botelho <garga@FreeBSD.org>2015-02-05 20:10:15 -0200
commit07cf2c4b20230ddedee1bf9dddc1e7cd407385f5 (patch)
tree44d40561519e0018ad586bb1449e107c9ae431f3 /config/cg2/sample/sample.inc
parente526e4aa28867b7743b0e76993f5f6bebd15bc1b (diff)
downloadpfsense-packages-07cf2c4b20230ddedee1bf9dddc1e7cd407385f5.tar.gz
pfsense-packages-07cf2c4b20230ddedee1bf9dddc1e7cd407385f5.tar.bz2
pfsense-packages-07cf2c4b20230ddedee1bf9dddc1e7cd407385f5.zip
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
Diffstat (limited to 'config/cg2/sample/sample.inc')
-rw-r--r--config/cg2/sample/sample.inc37
1 files changed, 0 insertions, 37 deletions
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 @@
-<?php
-//var_dump('BEING INCLUDED');
-
-function sample_on_load_event(&$widgets)
-{
- /* Called when the form is just loaded. You receive the array widgets as
- * argument, and can modify it to alter the behavior of the form. */
- //var_dump('BEING LOADED');
- //$widget =& $widgets[2];
- $widget =& get_widget($widgets, 'mytextarea');
- $widget->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, <on_load_event> performs better and
- * is cleaner. */
- //var_dump('BEING SUBMITTED');
-}
-?>