Update of /cvsroot/phpweather/phpweather
In directory usw-pr-cvs1:/tmp/cvs-serv8403

Modified Files:
        configurator.php 
Log Message:
Added a description of the verbosity variable.


Index: configurator.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/configurator.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- configurator.php    2001/07/13 09:13:20     1.9
+++ configurator.php    2001/07/17 12:22:13     1.10
@@ -1,11 +1,3 @@
-/**
- * The Configurator is a script that can be used to configure PHP Weather.
- *
- * @package  PHP Weather
- * @author   Martin Geisler <[EMAIL PROTECTED]>
- * @version  $Id$
- */
-
 <html>
 <head>
 </head>
@@ -14,11 +6,18 @@
 <h1>Configuration tool for PHP Weather</h1>
 
 <?php
+/**
+ * The Configurator is a script that can be used to configure PHP Weather.
+ *
+ * @package  PHP Weather
+ * @author   Martin Geisler <[EMAIL PROTECTED]>
+ * @version  $Id$
+ */
 
-  /**
-   * A basic property.
-   *
-   */
+/**
+ * A basic property.
+ *
+ */
 class property {
 
   /**
@@ -208,6 +207,23 @@
   }
 
 }
+
+$properties['verbosity'] =
+  new select('verbosity',
+             array(
+                    '1' => 'Errors only',
+                   '2' => 'Warnings only',
+                    '4' => 'Debug information only',
+                    '3' => 'Errors + warnings',
+                    '5' => 'Errors + debug information',
+                    '6' => 'Warnings + debug information',
+                    '7' => 'Everything'
+                    ),
+             "The setting of this variable controls the amount of " .
+             "errors, warnings, and debug-information PHP Weather " .
+             "will print. It is suggested that you always include " .
+             "errors in the output and perhaps also warnings.");
+
 
 $properties['always_use_db'] =
   new boolean('always_use_db',


_______________________________________________
PHPWeather-checkins mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/phpweather-checkins

Reply via email to