pieforms-commit Mailing List for Pieforms (Page 5)
Status: Alpha
Brought to you by:
oracleshinoda
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(73) |
Dec
(83) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(16) |
Feb
(19) |
Mar
(12) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(14) |
Sep
(2) |
Oct
(1) |
Nov
(2) |
Dec
(45) |
2008 |
Jan
(20) |
Feb
(3) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(1) |
2009 |
Jan
(2) |
Feb
(2) |
Mar
|
Apr
(2) |
May
(1) |
Jun
(5) |
Jul
(1) |
Aug
(2) |
Sep
(1) |
Oct
|
Nov
(7) |
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <ora...@us...> - 2007-11-30 04:05:33
|
Revision: 223 http://pieforms.svn.sourceforge.net/pieforms/?rev=223&view=rev Author: oracleshinoda Date: 2007-11-29 20:05:36 -0800 (Thu, 29 Nov 2007) Log Message: ----------- Apply patch from Richard Mansfield - if element is not required, make sure default value is 'none selected' rather than the current time. Modified Paths: -------------- pieforms-php5/trunk/src/pieform/elements/date.php Modified: pieforms-php5/trunk/src/pieform/elements/date.php =================================================================== --- pieforms-php5/trunk/src/pieform/elements/date.php 2007-11-15 01:14:54 UTC (rev 222) +++ pieforms-php5/trunk/src/pieform/elements/date.php 2007-11-30 04:05:36 UTC (rev 223) @@ -36,10 +36,10 @@ $name = $element['name']; $element['minyear'] = (isset($element['minyear'])) ? intval($element['minyear']) : 1950; $element['maxyear'] = (isset($element['maxyear'])) ? intval($element['maxyear']) : 2050; - if (!isset($element['defaultvalue'])) { + $required = (!empty($element['rules']['required'])); + if ($required && !isset($element['defaultvalue'])) { $element['defaultvalue'] = time(); } - $required = (!empty($element['rules']['required'])); // Year $value = pieform_element_date_get_timeperiod_value('year', $element['minyear'], $element['maxyear'], $element, $form); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-11-15 01:14:50
|
Revision: 222 http://pieforms.svn.sourceforge.net/pieforms/?rev=222&view=rev Author: oracleshinoda Date: 2007-11-14 17:14:54 -0800 (Wed, 14 Nov 2007) Log Message: ----------- German translation for minvalue/maxvalue rules. Thanks to Heinz. Modified Paths: -------------- pieforms-php5/trunk/src/pieform/rules/maxvalue.php pieforms-php5/trunk/src/pieform/rules/minvalue.php Modified: pieforms-php5/trunk/src/pieform/rules/maxvalue.php =================================================================== --- pieforms-php5/trunk/src/pieform/rules/maxvalue.php 2007-10-26 02:01:29 UTC (rev 221) +++ pieforms-php5/trunk/src/pieform/rules/maxvalue.php 2007-11-15 01:14:54 UTC (rev 222) @@ -44,6 +44,9 @@ 'en.utf8' => array( 'maxvalue' => 'This value can not be larger than %d' ), + 'de.utf8' => array( + 'maxvalue' => 'Dieser Wert kann nicht größer als %d sein' + ), ); } Modified: pieforms-php5/trunk/src/pieform/rules/minvalue.php =================================================================== --- pieforms-php5/trunk/src/pieform/rules/minvalue.php 2007-10-26 02:01:29 UTC (rev 221) +++ pieforms-php5/trunk/src/pieform/rules/minvalue.php 2007-11-15 01:14:54 UTC (rev 222) @@ -44,6 +44,9 @@ 'en.utf8' => array( 'minvalue' => 'This value can not be smaller than %d' ), + 'de.utf8' => array( + 'minvalue' => 'Dieser Wert kann nicht kleiner als %d sein' + ), ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-10-26 02:01:28
|
Revision: 221 http://pieforms.svn.sourceforge.net/pieforms/?rev=221&view=rev Author: oracleshinoda Date: 2007-10-25 19:01:29 -0700 (Thu, 25 Oct 2007) Log Message: ----------- Added rules for ensuring that a value is at least or most a certain size. Added Paths: ----------- pieforms-php5/trunk/src/pieform/rules/maxvalue.php pieforms-php5/trunk/src/pieform/rules/minvalue.php Added: pieforms-php5/trunk/src/pieform/rules/maxvalue.php =================================================================== --- pieforms-php5/trunk/src/pieform/rules/maxvalue.php (rev 0) +++ pieforms-php5/trunk/src/pieform/rules/maxvalue.php 2007-10-26 02:01:29 UTC (rev 221) @@ -0,0 +1,50 @@ +<?php +/** + * This program is part of Pieforms + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + * @package pieform + * @subpackage rule + * @author Nigel McNie <ni...@ca...> + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL + * @copyright (C) 2006 Catalyst IT Ltd http://catalyst.net.nz + * + */ + +/** + * Checks whether the given value is at most a certain size. + * + * @param Pieform $form The form the rule is being applied to + * @param string $value The value to check + * @param array $element The element to check + * @param int $maxvalue The value to check for + * @return string The error message, if the value is invalid. + */ +function pieform_rule_maxvalue(Pieform $form, $value, $element, $maxvalue) { + if ($value != '' && intval($value) > $maxvalue) { + return sprintf($form->i18n('rule', 'maxvalue', 'maxvalue', $element), $maxvalue); + } +} + +function pieform_rule_maxvalue_i18n() { + return array( + 'en.utf8' => array( + 'maxvalue' => 'This value can not be larger than %d' + ), + ); +} + +?> Added: pieforms-php5/trunk/src/pieform/rules/minvalue.php =================================================================== --- pieforms-php5/trunk/src/pieform/rules/minvalue.php (rev 0) +++ pieforms-php5/trunk/src/pieform/rules/minvalue.php 2007-10-26 02:01:29 UTC (rev 221) @@ -0,0 +1,50 @@ +<?php +/** + * This program is part of Pieforms + * + * 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 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + * @package pieform + * @subpackage rule + * @author Nigel McNie <ni...@ca...> + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL + * @copyright (C) 2006 Catalyst IT Ltd http://catalyst.net.nz + * + */ + +/** + * Checks whether the given value is at least a certain size. + * + * @param Pieform $form The form the rule is being applied to + * @param string $value The value to check + * @param array $element The element to check + * @param int $maxlength The value to check for + * @return string The error message, if the value is invalid. + */ +function pieform_rule_minvalue(Pieform $form, $value, $element, $minvalue) { + if ($value != '' && intval($value) < $minvalue) { + return sprintf($form->i18n('rule', 'minvalue', 'minvalue', $element), $minvalue); + } +} + +function pieform_rule_minvalue_i18n() { + return array( + 'en.utf8' => array( + 'minvalue' => 'This value can not be smaller than %d' + ), + ); +} + +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-09-26 06:03:02
|
Revision: 220 http://pieforms.svn.sourceforge.net/pieforms/?rev=220&view=rev Author: oracleshinoda Date: 2007-09-25 23:03:04 -0700 (Tue, 25 Sep 2007) Log Message: ----------- Only output the button setting javascript if the form tags are being output, because it's the only time we can guarantee the dom node with the correct ID will be on the page Modified Paths: -------------- pieforms-php5/trunk/src/pieform.php Modified: pieforms-php5/trunk/src/pieform.php =================================================================== --- pieforms-php5/trunk/src/pieform.php 2007-09-17 12:23:56 UTC (rev 219) +++ pieforms-php5/trunk/src/pieform.php 2007-09-26 06:03:04 UTC (rev 220) @@ -695,12 +695,14 @@ if ($this->data['jsform'] || $this->data['presubmitcallback']) { $result .= '<script type="text/javascript">'; - $result .= "\n" . $this->whichbutton_js(); + if ($outputformtags) { + $result .= "\n" . $this->whichbutton_js(); + } } if ($this->data['jsform']) { $result .= $this->submit_js(); } - else if ($this->data['presubmitcallback']) { + else if ($this->data['presubmitcallback'] && $outputformtags) { $result .= 'connect(\'' . $this->name . '\', \'onsubmit\', ' . 'function() { ' . $this->data['presubmitcallback'] . "('{$this->name}', {$this->name}_btn); });"; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-09-17 12:23:54
|
Revision: 219 http://pieforms.svn.sourceforge.net/pieforms/?rev=219&view=rev Author: oracleshinoda Date: 2007-09-17 05:23:56 -0700 (Mon, 17 Sep 2007) Log Message: ----------- Added support for 'showdescriptiononerror' flag - does what it says on the tin. Modified Paths: -------------- pieforms-php5/trunk/src/pieform/renderers/div.php pieforms-php5/trunk/src/pieform/renderers/table.php pieforms-php5/trunk/src/pieform.php Modified: pieforms-php5/trunk/src/pieform/renderers/div.php =================================================================== --- pieforms-php5/trunk/src/pieform/renderers/div.php 2007-08-19 22:11:09 UTC (rev 218) +++ pieforms-php5/trunk/src/pieform/renderers/div.php 2007-09-17 12:23:56 UTC (rev 219) @@ -74,7 +74,7 @@ // Description - optional description of the element, or other note that should be visible // on the form itself (without the user having to hover over contextual help - if (!empty($rawelement['description'])) { + if ((!$form->has_errors() || $form->get_property('showdescriptiononerror')) && !empty($rawelement['description'])) { $result .= '<div class="description"> ' . Pieform::hsc($rawelement['description']) . "</div>"; } Modified: pieforms-php5/trunk/src/pieform/renderers/table.php =================================================================== --- pieforms-php5/trunk/src/pieform/renderers/table.php 2007-08-19 22:11:09 UTC (rev 218) +++ pieforms-php5/trunk/src/pieform/renderers/table.php 2007-09-17 12:23:56 UTC (rev 219) @@ -99,7 +99,7 @@ // Description - optional description of the element, or other note that should be visible // on the form itself (without the user having to hover over contextual help - if (!empty($rawelement['description'])) { + if ((!$form->has_errors() || $form->get_property('showdescriptiononerror')) && !empty($rawelement['description'])) { $result .= "\t<tr>\n\t\t<td colspan=\"2\" class=\"description\">"; $result .= $rawelement['description']; $result .= "</td>\n\t</tr>\n"; Modified: pieforms-php5/trunk/src/pieform.php =================================================================== --- pieforms-php5/trunk/src/pieform.php 2007-08-19 22:11:09 UTC (rev 218) +++ pieforms-php5/trunk/src/pieform.php 2007-09-17 12:23:56 UTC (rev 219) @@ -292,6 +292,10 @@ // Whether to add * markers after each required field 'requiredmarker' => false, + + // Whether to show the description as well as the error message + // when displaying errors + 'showdescriptiononerror' => true, ); $data = array_merge($formdefaults, $formconfig, $data); $this->data = $data; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-08-19 22:11:07
|
Revision: 218 http://pieforms.svn.sourceforge.net/pieforms/?rev=218&view=rev Author: oracleshinoda Date: 2007-08-19 15:11:09 -0700 (Sun, 19 Aug 2007) Log Message: ----------- Fixed fatal error using multicolumntable renderer - artefact of copy/paste badness Modified Paths: -------------- pieforms-php5/trunk/src/pieform/renderers/multicolumntable.php Modified: pieforms-php5/trunk/src/pieform/renderers/multicolumntable.php =================================================================== --- pieforms-php5/trunk/src/pieform/renderers/multicolumntable.php 2007-08-19 22:08:59 UTC (rev 217) +++ pieforms-php5/trunk/src/pieform/renderers/multicolumntable.php 2007-08-19 22:11:09 UTC (rev 218) @@ -139,7 +139,7 @@ if (isset($data['settings']['title'])) { $result .= Pieform::hsc($data['settings']['title']); } - if ($form->get_property('requiredmarker') && !empty($rawelement['rules']['required'])) { + if ($this->form->get_property('requiredmarker') && !empty($rawelement['rules']['required'])) { $result .= ' <span class="requiredmarker">*</span>'; } $result .= "</th>\n\t"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-08-19 22:09:01
|
Revision: 217 http://pieforms.svn.sourceforge.net/pieforms/?rev=217&view=rev Author: oracleshinoda Date: 2007-08-19 15:08:59 -0700 (Sun, 19 Aug 2007) Log Message: ----------- Add a get_value function for the textarea element. This ensure that when the value comes from post, it only has unix newlines in them. Modified Paths: -------------- pieforms-php5/trunk/src/pieform/elements/textarea.php Modified: pieforms-php5/trunk/src/pieform/elements/textarea.php =================================================================== --- pieforms-php5/trunk/src/pieform/elements/textarea.php 2007-08-14 05:20:27 UTC (rev 216) +++ pieforms-php5/trunk/src/pieform/elements/textarea.php 2007-08-19 22:08:59 UTC (rev 217) @@ -66,4 +66,21 @@ . '>' . Pieform::hsc($form->get_value($element)) . '</textarea>'; } +function pieform_element_textarea_get_value(Pieform $form, $element) { + if (isset($element['value'])) { + return $element['value']; + } + + $global = ($form->get_property('method') == 'get') ? $_GET : $_POST; + if (isset($global[$element['name']])) { + return str_replace("\r\n", "\n", $global[$element['name']]); + } + + if (isset($element['defaultvalue'])) { + return $element['defaultvalue']; + } + + return ''; +} + ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-08-14 05:20:25
|
Revision: 216 http://pieforms.svn.sourceforge.net/pieforms/?rev=216&view=rev Author: oracleshinoda Date: 2007-08-13 22:20:27 -0700 (Mon, 13 Aug 2007) Log Message: ----------- Added support for 'requiredmarker' - put a star by each field that has the 'required' rule set on it. The implementation a little too 'hardcoded' for my liking but it's a start Modified Paths: -------------- pieforms-php5/trunk/src/pieform/renderers/div.php pieforms-php5/trunk/src/pieform/renderers/multicolumntable.php pieforms-php5/trunk/src/pieform/renderers/oneline.php pieforms-php5/trunk/src/pieform/renderers/table.php pieforms-php5/trunk/src/pieform.php Modified: pieforms-php5/trunk/src/pieform/renderers/div.php =================================================================== --- pieforms-php5/trunk/src/pieform/renderers/div.php 2007-08-01 12:44:04 UTC (rev 215) +++ pieforms-php5/trunk/src/pieform/renderers/div.php 2007-08-14 05:20:27 UTC (rev 216) @@ -54,6 +54,9 @@ else { $result .= '<label for="' . $formname . '_' . $rawelement['id'] . '">' . Pieform::hsc($rawelement['title']) . '</label>'; } + if ($form->get_property('requiredmarker') && !empty($rawelement['rules']['required'])) { + $result .= ' <span class="requiredmarker">*</span>'; + } } $result .= $builtelement; Modified: pieforms-php5/trunk/src/pieform/renderers/multicolumntable.php =================================================================== --- pieforms-php5/trunk/src/pieform/renderers/multicolumntable.php 2007-08-01 12:44:04 UTC (rev 215) +++ pieforms-php5/trunk/src/pieform/renderers/multicolumntable.php 2007-08-14 05:20:27 UTC (rev 216) @@ -139,6 +139,9 @@ if (isset($data['settings']['title'])) { $result .= Pieform::hsc($data['settings']['title']); } + if ($form->get_property('requiredmarker') && !empty($rawelement['rules']['required'])) { + $result .= ' <span class="requiredmarker">*</span>'; + } $result .= "</th>\n\t"; foreach ($data['builtelements'] as $k => $builtelement) { Modified: pieforms-php5/trunk/src/pieform/renderers/oneline.php =================================================================== --- pieforms-php5/trunk/src/pieform/renderers/oneline.php 2007-08-01 12:44:04 UTC (rev 215) +++ pieforms-php5/trunk/src/pieform/renderers/oneline.php 2007-08-14 05:20:27 UTC (rev 216) @@ -62,6 +62,9 @@ else { $result .= '<label for="' . $rawelement['id'] . '">' . Pieform::hsc($rawelement['title']) . '</label>'; } + if ($form->get_property('requiredmarker') && !empty($rawelement['rules']['required'])) { + $result .= ' <span class="requiredmarker">*</span>'; + } } $result .= $builtelement; Modified: pieforms-php5/trunk/src/pieform/renderers/table.php =================================================================== --- pieforms-php5/trunk/src/pieform/renderers/table.php 2007-08-01 12:44:04 UTC (rev 215) +++ pieforms-php5/trunk/src/pieform/renderers/table.php 2007-08-14 05:20:27 UTC (rev 216) @@ -77,6 +77,9 @@ else { $result .= '<label for="' . $formname . '_' . $rawelement['id'] . '">' . Pieform::hsc($rawelement['title']) . '</label>'; } + if ($form->get_property('requiredmarker') && !empty($rawelement['rules']['required'])) { + $result .= ' <span class="requiredmarker">*</span>'; + } } $result .= "</th>\n\t\t<td>"; $result .= $builtelement; Modified: pieforms-php5/trunk/src/pieform.php =================================================================== --- pieforms-php5/trunk/src/pieform.php 2007-08-01 12:44:04 UTC (rev 215) +++ pieforms-php5/trunk/src/pieform.php 2007-08-14 05:20:27 UTC (rev 216) @@ -288,7 +288,10 @@ 'tabindex' => false, // Whether to add a class of the type of the element to each element - 'elementclasses' => false + 'elementclasses' => false, + + // Whether to add * markers after each required field + 'requiredmarker' => false, ); $data = array_merge($formdefaults, $formconfig, $data); $this->data = $data; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-08-01 12:44:02
|
Revision: 215 http://pieforms.svn.sourceforge.net/pieforms/?rev=215&view=rev Author: oracleshinoda Date: 2007-08-01 05:44:04 -0700 (Wed, 01 Aug 2007) Log Message: ----------- German translation for validateoptions rule (thanks to Heinz) Modified Paths: -------------- pieforms-php5/trunk/src/pieform/rules/validateoptions.php Modified: pieforms-php5/trunk/src/pieform/rules/validateoptions.php =================================================================== --- pieforms-php5/trunk/src/pieform/rules/validateoptions.php 2007-08-01 12:41:44 UTC (rev 214) +++ pieforms-php5/trunk/src/pieform/rules/validateoptions.php 2007-08-01 12:44:04 UTC (rev 215) @@ -51,7 +51,10 @@ return array( 'en.utf8' => array( 'validateoptions' => 'The option "%s" is invalid' - ) + ), + 'de.utf8' => array( + 'validateoptions' => 'Die Option "%s" ist ungültig' + ), ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-08-01 12:41:42
|
Revision: 214 http://pieforms.svn.sourceforge.net/pieforms/?rev=214&view=rev Author: oracleshinoda Date: 2007-08-01 05:41:44 -0700 (Wed, 01 Aug 2007) Log Message: ----------- German translation for required rule (thanks to Heinz) Modified Paths: -------------- pieforms-php5/trunk/src/pieform/rules/required.php Modified: pieforms-php5/trunk/src/pieform/rules/required.php =================================================================== --- pieforms-php5/trunk/src/pieform/rules/required.php 2007-08-01 12:40:44 UTC (rev 213) +++ pieforms-php5/trunk/src/pieform/rules/required.php 2007-08-01 12:41:44 UTC (rev 214) @@ -43,7 +43,10 @@ return array( 'en.utf8' => array( 'required' => 'This field is required' - ) + ), + 'de.utf8' => array( + 'required' => 'Das Feld ist erforderlich' + ), ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-08-01 12:40:47
|
Revision: 213 http://pieforms.svn.sourceforge.net/pieforms/?rev=213&view=rev Author: oracleshinoda Date: 2007-08-01 05:40:44 -0700 (Wed, 01 Aug 2007) Log Message: ----------- German translation for regex rule (thanks to Heinz) Modified Paths: -------------- pieforms-php5/trunk/src/pieform/rules/regex.php Modified: pieforms-php5/trunk/src/pieform/rules/regex.php =================================================================== --- pieforms-php5/trunk/src/pieform/rules/regex.php 2007-08-01 12:39:41 UTC (rev 212) +++ pieforms-php5/trunk/src/pieform/rules/regex.php 2007-08-01 12:40:44 UTC (rev 213) @@ -44,7 +44,10 @@ return array( 'en.utf8' => array( 'regex' => 'This field is not in valid form' - ) + ), + 'de.utf8' => array( + 'regex' => 'Das Feld hat keine zulässige Form' + ), ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-08-01 12:40:01
|
Revision: 212 http://pieforms.svn.sourceforge.net/pieforms/?rev=212&view=rev Author: oracleshinoda Date: 2007-08-01 05:39:41 -0700 (Wed, 01 Aug 2007) Log Message: ----------- German translation for minlength rule (thanks to Heinz) Modified Paths: -------------- pieforms-php5/trunk/src/pieform/rules/minlength.php Modified: pieforms-php5/trunk/src/pieform/rules/minlength.php =================================================================== --- pieforms-php5/trunk/src/pieform/rules/minlength.php 2007-08-01 12:37:14 UTC (rev 211) +++ pieforms-php5/trunk/src/pieform/rules/minlength.php 2007-08-01 12:39:41 UTC (rev 212) @@ -43,7 +43,10 @@ return array( 'en.utf8' => array( 'minlength' => 'This field must be at least %d characters long', - ) + ), + 'de.utf8' => array( + 'minlength' => 'Das Feld muss zumindest %d Zeichen lang sein', + ), ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-08-01 12:37:12
|
Revision: 211 http://pieforms.svn.sourceforge.net/pieforms/?rev=211&view=rev Author: oracleshinoda Date: 2007-08-01 05:37:14 -0700 (Wed, 01 Aug 2007) Log Message: ----------- German translation for maxlength rule (thanks to Heinz) Modified Paths: -------------- pieforms-php5/trunk/src/pieform/rules/maxlength.php Modified: pieforms-php5/trunk/src/pieform/rules/maxlength.php =================================================================== --- pieforms-php5/trunk/src/pieform/rules/maxlength.php 2007-08-01 12:35:52 UTC (rev 210) +++ pieforms-php5/trunk/src/pieform/rules/maxlength.php 2007-08-01 12:37:14 UTC (rev 211) @@ -43,7 +43,10 @@ return array( 'en.utf8' => array( 'maxlength' => 'This field must be at most %d characters long' - ) + ), + 'de.utf8' => array( + 'maxlength' => 'Das Feld darf höchstens %d Zeichen lang sein' + ), ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-08-01 12:35:54
|
Revision: 210 http://pieforms.svn.sourceforge.net/pieforms/?rev=210&view=rev Author: oracleshinoda Date: 2007-08-01 05:35:52 -0700 (Wed, 01 Aug 2007) Log Message: ----------- German translation for integer rule (thanks to Heinz) Modified Paths: -------------- pieforms-php5/trunk/src/pieform/rules/integer.php Modified: pieforms-php5/trunk/src/pieform/rules/integer.php =================================================================== --- pieforms-php5/trunk/src/pieform/rules/integer.php 2007-08-01 12:33:49 UTC (rev 209) +++ pieforms-php5/trunk/src/pieform/rules/integer.php 2007-08-01 12:35:52 UTC (rev 210) @@ -43,7 +43,10 @@ return array( 'en.utf8' => array( 'integer' => 'The field must be an integer' - ) + ), + 'de.utf8' => array( + 'integer' => 'Das Feld muss eine Zahl sein' + ), ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-08-01 12:33:48
|
Revision: 209 http://pieforms.svn.sourceforge.net/pieforms/?rev=209&view=rev Author: oracleshinoda Date: 2007-08-01 05:33:49 -0700 (Wed, 01 Aug 2007) Log Message: ----------- German translation for email rule (thanks to Heinz) Modified Paths: -------------- pieforms-php5/trunk/src/pieform/rules/email.php Modified: pieforms-php5/trunk/src/pieform/rules/email.php =================================================================== --- pieforms-php5/trunk/src/pieform/rules/email.php 2007-08-01 12:29:58 UTC (rev 208) +++ pieforms-php5/trunk/src/pieform/rules/email.php 2007-08-01 12:33:49 UTC (rev 209) @@ -46,7 +46,10 @@ return array( 'en.utf8' => array( 'email' => 'E-mail address is invalid' - ) + ), + 'de.utf8' => array( + 'email' => 'Die E-Mail Addresse ist ungültig' + ), ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-08-01 12:29:57
|
Revision: 208 http://pieforms.svn.sourceforge.net/pieforms/?rev=208&view=rev Author: oracleshinoda Date: 2007-08-01 05:29:58 -0700 (Wed, 01 Aug 2007) Log Message: ----------- German translation for date element (thanks to Heinz) Modified Paths: -------------- pieforms-php5/trunk/src/pieform/elements/date.php Modified: pieforms-php5/trunk/src/pieform/elements/date.php =================================================================== --- pieforms-php5/trunk/src/pieform/elements/date.php 2007-08-01 12:27:19 UTC (rev 207) +++ pieforms-php5/trunk/src/pieform/elements/date.php 2007-08-01 12:29:58 UTC (rev 208) @@ -132,7 +132,11 @@ 'en.utf8' => array( 'or' => 'or', 'notspecified' => 'Not specified' - ) + ), + 'de.utf8' => array( + 'or' => 'oder', + 'notspecified' => 'Nicht festgelegt' + ), ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-08-01 12:27:19
|
Revision: 207 http://pieforms.svn.sourceforge.net/pieforms/?rev=207&view=rev Author: oracleshinoda Date: 2007-08-01 05:27:19 -0700 (Wed, 01 Aug 2007) Log Message: ----------- German translation for calendar element (thanks to Heinz) Modified Paths: -------------- pieforms-php5/trunk/src/pieform/elements/calendar.php Modified: pieforms-php5/trunk/src/pieform/elements/calendar.php =================================================================== --- pieforms-php5/trunk/src/pieform/elements/calendar.php 2007-08-01 12:24:35 UTC (rev 206) +++ pieforms-php5/trunk/src/pieform/elements/calendar.php 2007-08-01 12:27:19 UTC (rev 207) @@ -154,7 +154,10 @@ return array( 'en.utf8' => array( 'invalidvalue' => 'Invalid date/time specified' - ) + ), + 'de.utf8' => array( + 'invalidvalue' => 'Datum/Zeit sind falsch festgelegt' + ), ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-08-01 12:24:35
|
Revision: 206 http://pieforms.svn.sourceforge.net/pieforms/?rev=206&view=rev Author: oracleshinoda Date: 2007-08-01 05:24:35 -0700 (Wed, 01 Aug 2007) Log Message: ----------- German translation for bytes element (thanks to Heinz) Modified Paths: -------------- pieforms-php5/trunk/src/pieform/elements/bytes.php Modified: pieforms-php5/trunk/src/pieform/elements/bytes.php =================================================================== --- pieforms-php5/trunk/src/pieform/elements/bytes.php 2007-08-01 00:20:46 UTC (rev 205) +++ pieforms-php5/trunk/src/pieform/elements/bytes.php 2007-08-01 12:24:35 UTC (rev 206) @@ -127,6 +127,12 @@ 'megabytes' => 'Megabytes', 'invalidvalue' => 'Value must be a number', ), + 'de.utf8' => array( + 'bytes' => 'Bytes', + 'kilobytes' => 'Kilobytes', + 'megabytes' => 'Megabytes', + 'invalidvalue' => 'Wert muss eine Zahl sein', + ), ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-08-01 00:20:44
|
Revision: 205 http://pieforms.svn.sourceforge.net/pieforms/?rev=205&view=rev Author: oracleshinoda Date: 2007-07-31 17:20:46 -0700 (Tue, 31 Jul 2007) Log Message: ----------- Added translation of the expiry element to german (thanks to Heinz) Modified Paths: -------------- pieforms-php5/trunk/src/pieform/elements/expiry.php Modified: pieforms-php5/trunk/src/pieform/elements/expiry.php =================================================================== --- pieforms-php5/trunk/src/pieform/elements/expiry.php 2007-04-08 03:01:55 UTC (rev 204) +++ pieforms-php5/trunk/src/pieform/elements/expiry.php 2007-08-01 00:20:46 UTC (rev 205) @@ -130,6 +130,13 @@ 'months' => 'Months', 'years' => 'Years', 'noenddate' => 'No end date' + ), + 'de.utf8' => array( + 'days' => 'Tage', + 'weeks' => 'Wochen', + 'months' => 'Monate', + 'years' => 'Jahre', + 'noenddate' => 'kein Endedatum' ) ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-04-08 03:01:55
|
Revision: 204 http://svn.sourceforge.net/pieforms/?rev=204&view=rev Author: oracleshinoda Date: 2007-04-07 20:01:55 -0700 (Sat, 07 Apr 2007) Log Message: ----------- Tagged the 0.2.2 release Added Paths: ----------- pieforms-php5/tags/0.2.2/ Copied: pieforms-php5/tags/0.2.2 (from rev 203, pieforms-php5/branches/0.2.0) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-03-25 22:12:54
|
Revision: 203 http://svn.sourceforge.net/pieforms/?rev=203&view=rev Author: oracleshinoda Date: 2007-03-25 15:12:55 -0700 (Sun, 25 Mar 2007) Log Message: ----------- Merged hidden element fix from trunk Modified Paths: -------------- pieforms-php5/branches/0.2.0/src/pieform/elements/hidden.php Modified: pieforms-php5/branches/0.2.0/src/pieform/elements/hidden.php =================================================================== --- pieforms-php5/branches/0.2.0/src/pieform/elements/hidden.php 2007-03-25 22:09:32 UTC (rev 202) +++ pieforms-php5/branches/0.2.0/src/pieform/elements/hidden.php 2007-03-25 22:12:55 UTC (rev 203) @@ -32,6 +32,9 @@ * @return string The HTML for the element */ function pieform_element_hidden($element, Pieform $form) { + if (!isset($element['value'])) { + throw new PieformException('The hidden element "' . $element['name'] . '" must have a value set'); + } $value = $form->get_value($element); if (is_array($value)) { $result = ''; @@ -46,4 +49,12 @@ . ' value="' . Pieform::hsc($form->get_value($element)) . "\">\n"; } +/** + * Returns the value for a hidden element. Hidden elements only listen to the + * 'value' index, and not to GET/POST + */ +function pieform_element_hidden_get_value(Pieform $form, $element) { + return $element['value']; +} + ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-03-25 22:09:31
|
Revision: 202 http://svn.sourceforge.net/pieforms/?rev=202&view=rev Author: oracleshinoda Date: 2007-03-25 15:09:32 -0700 (Sun, 25 Mar 2007) Log Message: ----------- Make sure that hidden elements only retrieve their values from the element themselves, rather than GET/POST Modified Paths: -------------- pieforms-php5/trunk/src/pieform/elements/hidden.php Modified: pieforms-php5/trunk/src/pieform/elements/hidden.php =================================================================== --- pieforms-php5/trunk/src/pieform/elements/hidden.php 2007-03-18 09:16:49 UTC (rev 201) +++ pieforms-php5/trunk/src/pieform/elements/hidden.php 2007-03-25 22:09:32 UTC (rev 202) @@ -32,6 +32,9 @@ * @return string The HTML for the element */ function pieform_element_hidden($element, Pieform $form) { + if (!isset($element['value'])) { + throw new PieformException('The hidden element "' . $element['name'] . '" must have a value set'); + } $value = $form->get_value($element); if (is_array($value)) { $result = ''; @@ -46,4 +49,12 @@ . ' value="' . Pieform::hsc($form->get_value($element)) . "\">\n"; } +/** + * Returns the value for a hidden element. Hidden elements only listen to the + * 'value' index, and not to GET/POST + */ +function pieform_element_hidden_get_value(Pieform $form, $element) { + return $element['value']; +} + ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-03-18 13:32:50
|
Revision: 198 http://svn.sourceforge.net/pieforms/?rev=198&view=rev Author: oracleshinoda Date: 2007-03-18 02:04:23 -0700 (Sun, 18 Mar 2007) Log Message: ----------- Added PHP bridge script that highlights code snippets Added Paths: ----------- pieforms-php5/branches/0.2.0/doc/highlighter.php Added: pieforms-php5/branches/0.2.0/doc/highlighter.php =================================================================== --- pieforms-php5/branches/0.2.0/doc/highlighter.php (rev 0) +++ pieforms-php5/branches/0.2.0/doc/highlighter.php 2007-03-18 09:04:23 UTC (rev 198) @@ -0,0 +1,38 @@ +<?php +/** + * Highlights the given source using GeSHi + */ + +if (!isset($argv[1])) { + die('oops: no source passed!'); +} +$source = $argv[1]; +if (!isset($argv[2])) { + die('oops: no language passed!'); +} +$language = $argv[2]; + +// Remove the two leading lines +$source = substr($source, strpos($source, "\n") + 1); +$source = trim($source); + +$phphack = false; +if (substr($language, 0, 3) == 'php' && substr($source, 0, 5) != '<?php') { + $phphack = true; + $source = '<?php' . $source . '?>'; +} + +$source = preg_replace('/^ /m', '', $source); + +require_once('geshi/class.geshi.php'); +$geshi = new GeSHi($source, $language); +$result = $geshi->parseCode(); + +if ($phphack) { + $result = preg_replace('/<span[^>]*><\?php<\/span>/', '', $result); + $result = preg_replace('/<span[^>]*>\?><\/span>/', '', $result); +} + +echo $result; + +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-03-18 13:31:10
|
Revision: 194 http://svn.sourceforge.net/pieforms/?rev=194&view=rev Author: oracleshinoda Date: 2007-03-18 01:56:35 -0700 (Sun, 18 Mar 2007) Log Message: ----------- Updated install instructions to refer user to HTML documentation Modified Paths: -------------- pieforms-php5/branches/0.2.0/INSTALL Modified: pieforms-php5/branches/0.2.0/INSTALL =================================================================== --- pieforms-php5/branches/0.2.0/INSTALL 2007-03-12 22:50:37 UTC (rev 193) +++ pieforms-php5/branches/0.2.0/INSTALL 2007-03-18 08:56:35 UTC (rev 194) @@ -3,49 +3,14 @@ Nigel McNie - http://nigel.mcnie.name/ (C) 2006, 2007 Catalyst IT Ltd - http://catalyst.net.nz/ -Requirements ------------- +The installation instructions can be found in the documentation, which is +available in text and HTML form. -Pieforms requires PHP5. PHP4 support may be added later. Perl support may also -be added later. +Text: doc/rst/user/configuration.rst +HTML: doc/html/user/configuration.html -Pieforms does not require the JSON extension, as it can use Services_JSON -(included). However, for optimal performance, it is recommended that you have -the native JSON extension for PHP available. This does not apply if you do not -wish to use the JS form submission support. +The instructions are also available online: -Pieforms requires the Base, Iter, Style, DOM and Async modules of MochiKit for -AJAX form submission support. A packed version of MochiKit containing just -these modules is available for your convenience in the js/MochiKit directory. + http://pieforms.sourceforge.net/doc/html/user/configuration.html -Installation of Pieforms ------------------------- - -To install Pieforms: - - 1) Copy the 'pieform.php' file and the 'pieform' directory to somewhere in - your application's directory structure. Also copy the 'JSON' directory to the - same place if you do not have the JSON extension for PHP available and want - to use the JS form submission support. - - 2) If you wish to use the more advanced javascript widgets and JS form - submission, copy the 'static' directory (or the contents of it) to some place - where your pages can link in the appropriate javascript files. - -And you're done! - -Using Pieforms on a Page ------------------------- - -On any page where a Pieform is to be made: - - * Make sure that the MochiKit javascript file is sourced by a <script> tag in - the output of the page. - * Some more advanced widgets use pieforms.js. Make sure to include this also - if you're after this support - * Include the 'pieform.php' file - * You need to call pieform_get_headdata() somewhere. This will return an array - of <script> tags, <link> tags and other things that need to go in the <head> - of your document somewhere. - -- Nigel McNie <ni...@ca...> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ora...@us...> - 2007-03-18 12:37:52
|
Revision: 201 http://svn.sourceforge.net/pieforms/?rev=201&view=rev Author: oracleshinoda Date: 2007-03-18 02:16:49 -0700 (Sun, 18 Mar 2007) Log Message: ----------- Merged documentation from 0.2.0 branch Modified Paths: -------------- pieforms-php5/trunk/doc/index.html Added Paths: ----------- pieforms-php5/trunk/doc/highlighter.php pieforms-php5/trunk/doc/html/ pieforms-php5/trunk/doc/html/html4css1.css pieforms-php5/trunk/doc/html/index.html pieforms-php5/trunk/doc/html/style.css pieforms-php5/trunk/doc/html/user/ pieforms-php5/trunk/doc/html/user/concepts.html pieforms-php5/trunk/doc/html/user/configuration.html pieforms-php5/trunk/doc/html/user/elements.html pieforms-php5/trunk/doc/html/user/examples.html pieforms-php5/trunk/doc/html/user/features.html pieforms-php5/trunk/doc/html/user/usage.html pieforms-php5/trunk/doc/makedocs.py pieforms-php5/trunk/doc/rst/ pieforms-php5/trunk/doc/rst/index.rst pieforms-php5/trunk/doc/rst/user/ pieforms-php5/trunk/doc/rst/user/concepts.rst pieforms-php5/trunk/doc/rst/user/configuration.rst pieforms-php5/trunk/doc/rst/user/elements.rst pieforms-php5/trunk/doc/rst/user/examples.rst pieforms-php5/trunk/doc/rst/user/features.rst pieforms-php5/trunk/doc/rst/user/usage.rst Removed Paths: ------------- pieforms-php5/trunk/doc/html/html4css1.css pieforms-php5/trunk/doc/html/index.html pieforms-php5/trunk/doc/html/style.css pieforms-php5/trunk/doc/html/user/ pieforms-php5/trunk/doc/html/user/concepts.html pieforms-php5/trunk/doc/html/user/configuration.html pieforms-php5/trunk/doc/html/user/elements.html pieforms-php5/trunk/doc/html/user/examples.html pieforms-php5/trunk/doc/html/user/features.html pieforms-php5/trunk/doc/html/user/usage.html pieforms-php5/trunk/doc/rst/index.rst pieforms-php5/trunk/doc/rst/user/ pieforms-php5/trunk/doc/rst/user/concepts.rst pieforms-php5/trunk/doc/rst/user/configuration.rst pieforms-php5/trunk/doc/rst/user/elements.rst pieforms-php5/trunk/doc/rst/user/examples.rst pieforms-php5/trunk/doc/rst/user/features.rst pieforms-php5/trunk/doc/rst/user/usage.rst Property Changed: ---------------- pieforms-php5/trunk/doc/ Property changes on: pieforms-php5/trunk/doc ___________________________________________________________________ Name: svn:externals + geshi https://geshi.svn.sourceforge.net/svnroot/geshi/trunk/geshi-src/ Copied: pieforms-php5/trunk/doc/highlighter.php (from rev 200, pieforms-php5/branches/0.2.0/doc/highlighter.php) =================================================================== --- pieforms-php5/trunk/doc/highlighter.php (rev 0) +++ pieforms-php5/trunk/doc/highlighter.php 2007-03-18 09:16:49 UTC (rev 201) @@ -0,0 +1,38 @@ +<?php +/** + * Highlights the given source using GeSHi + */ + +if (!isset($argv[1])) { + die('oops: no source passed!'); +} +$source = $argv[1]; +if (!isset($argv[2])) { + die('oops: no language passed!'); +} +$language = $argv[2]; + +// Remove the two leading lines +$source = substr($source, strpos($source, "\n") + 1); +$source = trim($source); + +$phphack = false; +if (substr($language, 0, 3) == 'php' && substr($source, 0, 5) != '<?php') { + $phphack = true; + $source = '<?php' . $source . '?>'; +} + +$source = preg_replace('/^ /m', '', $source); + +require_once('geshi/class.geshi.php'); +$geshi = new GeSHi($source, $language); +$result = $geshi->parseCode(); + +if ($phphack) { + $result = preg_replace('/<span[^>]*><\?php<\/span>/', '', $result); + $result = preg_replace('/<span[^>]*>\?><\/span>/', '', $result); +} + +echo $result; + +?> Copied: pieforms-php5/trunk/doc/html (from rev 200, pieforms-php5/branches/0.2.0/doc/html) Deleted: pieforms-php5/trunk/doc/html/html4css1.css =================================================================== --- pieforms-php5/branches/0.2.0/doc/html/html4css1.css 2007-03-18 09:05:51 UTC (rev 200) +++ pieforms-php5/trunk/doc/html/html4css1.css 2007-03-18 09:16:49 UTC (rev 201) @@ -1,279 +0,0 @@ -/* -:Author: David Goodger -:Contact: go...@us... -:Date: $Date: 2005-12-18 01:56:14 +0100 (Sun, 18 Dec 2005) $ -:Revision: $Revision: 4224 $ -:Copyright: This stylesheet has been placed in the public domain. - -Default cascading style sheet for the HTML output of Docutils. - -See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to -customize this style sheet. -*/ - -/* used to remove borders from tables and images */ -.borderless, table.borderless td, table.borderless th { - border: 0 } - -table.borderless td, table.borderless th { - /* Override padding for "table.docutils td" with "! important". - The right padding separates the table cells. */ - padding: 0 0.5em 0 0 ! important } - -.first { - /* Override more specific margin styles with "! important". */ - margin-top: 0 ! important } - -.last, .with-subtitle { - margin-bottom: 0 ! important } - -.hidden { - display: none } - -a.toc-backref { - text-decoration: none ; - color: black } - -blockquote.epigraph { - margin: 2em 5em ; } - -dl.docutils dd { - margin-bottom: 0.5em } - -/* Uncomment (and remove this text!) to get bold-faced definition list terms -dl.docutils dt { - font-weight: bold } -*/ - -div.abstract { - margin: 2em 5em } - -div.abstract p.topic-title { - font-weight: bold ; - text-align: center } - -div.admonition, div.attention, div.caution, div.danger, div.error, -div.hint, div.important, div.note, div.tip, div.warning { - margin: 2em ; - border: medium outset ; - padding: 1em } - -div.admonition p.admonition-title, div.hint p.admonition-title, -div.important p.admonition-title, div.note p.admonition-title, -div.tip p.admonition-title { - font-weight: bold ; - font-family: sans-serif } - -div.attention p.admonition-title, div.caution p.admonition-title, -div.danger p.admonition-title, div.error p.admonition-title, -div.warning p.admonition-title { - color: red ; - font-weight: bold ; - font-family: sans-serif } - -/* Uncomment (and remove this text!) to get reduced vertical space in - compound paragraphs. -div.compound .compound-first, div.compound .compound-middle { - margin-bottom: 0.5em } - -div.compound .compound-last, div.compound .compound-middle { - margin-top: 0.5em } -*/ - -div.dedication { - margin: 2em 5em ; - text-align: center ; - font-style: italic } - -div.dedication p.topic-title { - font-weight: bold ; - font-style: normal } - -div.figure { - margin-left: 2em ; - margin-right: 2em } - -div.footer, div.header { - clear: both; - font-size: smaller } - -div.line-block { - display: block ; - margin-top: 1em ; - margin-bottom: 1em } - -div.line-block div.line-block { - margin-top: 0 ; - margin-bottom: 0 ; - margin-left: 1.5em } - -div.sidebar { - margin-left: 1em ; - border: medium outset ; - padding: 1em ; - background-color: #ffffee ; - width: 40% ; - float: right ; - clear: right } - -div.sidebar p.rubric { - font-family: sans-serif ; - font-size: medium } - -div.system-messages { - margin: 5em } - -div.system-messages h1 { - color: red } - -div.system-message { - border: medium outset ; - padding: 1em } - -div.system-message p.system-message-title { - color: red ; - font-weight: bold } - -div.topic { - margin: 2em } - -h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, -h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { - margin-top: 0.4em } - -h1.title { - text-align: center } - -h2.subtitle { - text-align: center } - -hr.docutils { - width: 75% } - -img.align-left { - clear: left } - -img.align-right { - clear: right } - -ol.simple, ul.simple { - margin-bottom: 1em } - -ol.arabic { - list-style: decimal } - -ol.loweralpha { - list-style: lower-alpha } - -ol.upperalpha { - list-style: upper-alpha } - -ol.lowerroman { - list-style: lower-roman } - -ol.upperroman { - list-style: upper-roman } - -p.attribution { - text-align: right ; - margin-left: 50% } - -p.caption { - font-style: italic } - -p.credits { - font-style: italic ; - font-size: smaller } - -p.label { - white-space: nowrap } - -p.rubric { - font-weight: bold ; - font-size: larger ; - color: maroon ; - text-align: center } - -p.sidebar-title { - font-family: sans-serif ; - font-weight: bold ; - font-size: larger } - -p.sidebar-subtitle { - font-family: sans-serif ; - font-weight: bold } - -p.topic-title { - font-weight: bold } - -pre.address { - margin-bottom: 0 ; - margin-top: 0 ; - font-family: serif ; - font-size: 100% } - -pre.literal-block, pre.doctest-block { - margin-left: 2em ; - margin-right: 2em ; - background-color: #eeeeee } - -span.classifier { - font-family: sans-serif ; - font-style: oblique } - -span.classifier-delimiter { - font-family: sans-serif ; - font-weight: bold } - -span.interpreted { - font-family: sans-serif } - -span.option { - white-space: nowrap } - -span.pre { - white-space: pre } - -span.problematic { - color: red } - -span.section-subtitle { - /* font-size relative to parent (h1..h6 element) */ - font-size: 80% } - -table.citation { - border-left: solid 1px gray; - margin-left: 1px } - -table.docinfo { - margin: 2em 4em } - -table.docutils { - margin-top: 0.5em ; - margin-bottom: 0.5em } - -table.footnote { - border-left: solid 1px black; - margin-left: 1px } - -table.docutils td, table.docutils th, -table.docinfo td, table.docinfo th { - padding-left: 0.5em ; - padding-right: 0.5em ; - vertical-align: top } - -table.docutils th.field-name, table.docinfo th.docinfo-name { - font-weight: bold ; - text-align: left ; - white-space: nowrap ; - padding-left: 0 } - -h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, -h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { - font-size: 100% } - -tt.docutils { - background-color: #eeeeee } - -ul.auto-toc { - list-style-type: none } Copied: pieforms-php5/trunk/doc/html/html4css1.css (from rev 200, pieforms-php5/branches/0.2.0/doc/html/html4css1.css) =================================================================== --- pieforms-php5/trunk/doc/html/html4css1.css (rev 0) +++ pieforms-php5/trunk/doc/html/html4css1.css 2007-03-18 09:16:49 UTC (rev 201) @@ -0,0 +1,279 @@ +/* +:Author: David Goodger +:Contact: go...@us... +:Date: $Date: 2005-12-18 01:56:14 +0100 (Sun, 18 Dec 2005) $ +:Revision: $Revision: 4224 $ +:Copyright: This stylesheet has been placed in the public domain. + +Default cascading style sheet for the HTML output of Docutils. + +See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to +customize this style sheet. +*/ + +/* used to remove borders from tables and images */ +.borderless, table.borderless td, table.borderless th { + border: 0 } + +table.borderless td, table.borderless th { + /* Override padding for "table.docutils td" with "! important". + The right padding separates the table cells. */ + padding: 0 0.5em 0 0 ! important } + +.first { + /* Override more specific margin styles with "! important". */ + margin-top: 0 ! important } + +.last, .with-subtitle { + margin-bottom: 0 ! important } + +.hidden { + display: none } + +a.toc-backref { + text-decoration: none ; + color: black } + +blockquote.epigraph { + margin: 2em 5em ; } + +dl.docutils dd { + margin-bottom: 0.5em } + +/* Uncomment (and remove this text!) to get bold-faced definition list terms +dl.docutils dt { + font-weight: bold } +*/ + +div.abstract { + margin: 2em 5em } + +div.abstract p.topic-title { + font-weight: bold ; + text-align: center } + +div.admonition, div.attention, div.caution, div.danger, div.error, +div.hint, div.important, div.note, div.tip, div.warning { + margin: 2em ; + border: medium outset ; + padding: 1em } + +div.admonition p.admonition-title, div.hint p.admonition-title, +div.important p.admonition-title, div.note p.admonition-title, +div.tip p.admonition-title { + font-weight: bold ; + font-family: sans-serif } + +div.attention p.admonition-title, div.caution p.admonition-title, +div.danger p.admonition-title, div.error p.admonition-title, +div.warning p.admonition-title { + color: red ; + font-weight: bold ; + font-family: sans-serif } + +/* Uncomment (and remove this text!) to get reduced vertical space in + compound paragraphs. +div.compound .compound-first, div.compound .compound-middle { + margin-bottom: 0.5em } + +div.compound .compound-last, div.compound .compound-middle { + margin-top: 0.5em } +*/ + +div.dedication { + margin: 2em 5em ; + text-align: center ; + font-style: italic } + +div.dedication p.topic-title { + font-weight: bold ; + font-style: normal } + +div.figure { + margin-left: 2em ; + margin-right: 2em } + +div.footer, div.header { + clear: both; + font-size: smaller } + +div.line-block { + display: block ; + margin-top: 1em ; + margin-bottom: 1em } + +div.line-block div.line-block { + margin-top: 0 ; + margin-bottom: 0 ; + margin-left: 1.5em } + +div.sidebar { + margin-left: 1em ; + border: medium outset ; + padding: 1em ; + background-color: #ffffee ; + width: 40% ; + float: right ; + clear: right } + +div.sidebar p.rubric { + font-family: sans-serif ; + font-size: medium } + +div.system-messages { + margin: 5em } + +div.system-messages h1 { + color: red } + +div.system-message { + border: medium outset ; + padding: 1em } + +div.system-message p.system-message-title { + color: red ; + font-weight: bold } + +div.topic { + margin: 2em } + +h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, +h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { + margin-top: 0.4em } + +h1.title { + text-align: center } + +h2.subtitle { + text-align: center } + +hr.docutils { + width: 75% } + +img.align-left { + clear: left } + +img.align-right { + clear: right } + +ol.simple, ul.simple { + margin-bottom: 1em } + +ol.arabic { + list-style: decimal } + +ol.loweralpha { + list-style: lower-alpha } + +ol.upperalpha { + list-style: upper-alpha } + +ol.lowerroman { + list-style: lower-roman } + +ol.upperroman { + list-style: upper-roman } + +p.attribution { + text-align: right ; + margin-left: 50% } + +p.caption { + font-style: italic } + +p.credits { + font-style: italic ; + font-size: smaller } + +p.label { + white-space: nowrap } + +p.rubric { + font-weight: bold ; + font-size: larger ; + color: maroon ; + text-align: center } + +p.sidebar-title { + font-family: sans-serif ; + font-weight: bold ; + font-size: larger } + +p.sidebar-subtitle { + font-family: sans-serif ; + font-weight: bold } + +p.topic-title { + font-weight: bold } + +pre.address { + margin-bottom: 0 ; + margin-top: 0 ; + font-family: serif ; + font-size: 100% } + +pre.literal-block, pre.doctest-block { + margin-left: 2em ; + margin-right: 2em ; + background-color: #eeeeee } + +span.classifier { + font-family: sans-serif ; + font-style: oblique } + +span.classifier-delimiter { + font-family: sans-serif ; + font-weight: bold } + +span.interpreted { + font-family: sans-serif } + +span.option { + white-space: nowrap } + +span.pre { + white-space: pre } + +span.problematic { + color: red } + +span.section-subtitle { + /* font-size relative to parent (h1..h6 element) */ + font-size: 80% } + +table.citation { + border-left: solid 1px gray; + margin-left: 1px } + +table.docinfo { + margin: 2em 4em } + +table.docutils { + margin-top: 0.5em ; + margin-bottom: 0.5em } + +table.footnote { + border-left: solid 1px black; + margin-left: 1px } + +table.docutils td, table.docutils th, +table.docinfo td, table.docinfo th { + padding-left: 0.5em ; + padding-right: 0.5em ; + vertical-align: top } + +table.docutils th.field-name, table.docinfo th.docinfo-name { + font-weight: bold ; + text-align: left ; + white-space: nowrap ; + padding-left: 0 } + +h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, +h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { + font-size: 100% } + +tt.docutils { + background-color: #eeeeee } + +ul.auto-toc { + list-style-type: none } Deleted: pieforms-php5/trunk/doc/html/index.html =================================================================== --- pieforms-php5/branches/0.2.0/doc/html/index.html 2007-03-18 09:05:51 UTC (rev 200) +++ pieforms-php5/trunk/doc/html/index.html 2007-03-18 09:16:49 UTC (rev 201) @@ -1,111 +0,0 @@ -<?xml version="1.0" encoding="utf-8" ?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns=http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.4.1: http://docutils.sourceforge.net/" /> -<title>Pieforms: Advanced web forms made easy</title> - -<link rel="stylesheet" type="text/css" href="style.css" /> -</head> -<body> -<div class="document" id="pieforms-advanced-web-forms-made-easy"> -<h1 class="title"><a class="reference" href="http://pieforms.sourceforge.net/">Pieforms</a>: Advanced web forms made easy</h1> -<p><div id="breadcrumbs"><a href="http://pieforms.sourceforge.net/">Pieforms Home</a> » <a href="">Documentation Home</a></div></p> -<table class="docutils field-list" frame="void" rules="none"> -<col class="field-name" /> -<col class="field-body" /> -<tbody valign="top"> -<tr class="field"><th class="field-name">Author:</th><td class="field-body">Nigel McNie</td> -</tr> -<tr class="field"><th class="field-name">Contact:</th><td class="field-body"><a class="reference" href="mailto:nigel@catalyst.net.nz">nigel@catalyst.net.nz</a></td> -</tr> -<tr class="field"><th class="field-name">Copyright:</th><td class="field-body">This document has been placed in the public domain</td> -</tr> -</tbody> -</table> -<p>The latest copy of the Pieforms documentation may be obtained from SVN:</p> -<blockquote> -<tt class="docutils literal"><span class="pre">svn</span> <span class="pre">co</span> <span class="pre">https://pieforms.svn.sourceforge.net/svnroot/pieforms/pieforms-php5/trunk</span> <span class="pre">pieforms</span></tt></blockquote> -<div class="contents topic"> -<p class="topic-title first"><a id="contents" name="contents">Contents</a></p> -<ul class="simple"> -<li><a class="reference" href="#general-documentation" id="id1" name="id1">General Documentation</a></li> -<li><a class="reference" href="#user-user-documentation" id="id2" name="id2"><tt class="docutils literal"><span class="pre">user/</span></tt>: User Documentation</a></li> -<li><a class="reference" href="#ref-reference-material" id="id3" name="id3"><tt class="docutils literal"><span class="pre">ref/</span></tt>: Reference Material</a></li> -<li><a class="reference" href="#howto-miscellaneous-articles" id="id4" name="id4"><tt class="docutils literal"><span class="pre">howto/</span></tt>: Miscellaneous Articles</a></li> -<li><a class="reference" href="#dev-core-development-information" id="id5" name="id5"><tt class="docutils literal"><span class="pre">dev/</span></tt>: Core Development Information</a></li> -</ul> -</div> -<div class="section"> -<h1><a class="toc-backref" href="#id1" id="general-documentation" name="general-documentation">General Documentation</a></h1> -<p>These files may be of interest to any Pieforms user.</p> -<table class="docutils field-list" frame="void" rules="none"> -<col class="field-name" /> -<col class="field-body" /> -<tbody valign="top"> -<tr class="field"><th class="field-name"><a class="reference" href="../../README">README</a>:</th><td class="field-body">The project overview, requirements, and licensing details</td> -</tr> -<tr class="field"><th class="field-name"><a class="reference" href="../../COPYING">COPYING</a>:</th><td class="field-body">Pieforms is licensed under the <a class="reference" href="http://gnu.org/licenses/gpl.html">GNU GPL</a>, this file contains a full -copy of the license</td> -</tr> -</tbody> -</table> -</div> -<div class="section"> -<h1><a class="toc-backref" href="#id2" id="user-user-documentation" name="user-user-documentation"><span id="user"></span><tt class="docutils literal"><span class="pre">user/</span></tt>: User Documentation</a></h1> -<p>These files contain documentation about how to use Pieforms. They will be of -interest to almost any Pieforms user.</p> -<ul class="simple"> -<li><a class="reference" href="user/concepts.html">Pieforms Concepts and Terms</a> - basic Pieforms -concepts. <strong>Read this first!</strong></li> -<li><a class="reference" href="user/features.html">Pieforms Feature List</a> - list of major Pieforms -features</li> -<li><a class="reference" href="user/configuration.html">Pieforms Configuration</a> - instructions on -installation and basic configuration of Pieforms</li> -<li><a class="reference" href="user/usage.html">Basic Usage</a> - A step by step guide to writing your -first Pieform</li> -<li><a class="reference" href="user/examples.html">Examples of Pieforms</a> - examples that show -Pieforms usage, and may give you good ideas</li> -<li><a class="reference" href="user/elements.html">Elements</a> - General information about elements -including a list of elements that come with Pieforms.</li> -<li><a class="reference" href="user/renderers.html">Renderers</a></li> -<li><a class="reference" href="user/rules.html">Rules</a></li> -<li><a class="reference" href="user/i18n.html">i18n</a></li> -</ul> -</div> -<div class="section"> -<h1><a class="toc-backref" href="#id3" id="ref-reference-material" name="ref-reference-material"><tt class="docutils literal"><span class="pre">ref/</span></tt>: Reference Material</a></h1> -<p>These files contain developer specifications and reference notes that will be -of interest to anyone who wishes to write plugins for Pieforms, or re-implement -it in another language.</p> -<ul class="simple"> -<li><a class="reference" href="ref/api/index.html">Pieforms frontend API documentation (in phpdoc form)</a></li> -<li><a class="reference" href="ref/elements.html">Element API</a></li> -<li><a class="reference" href="ref/renderers.html">Renderer API</a></li> -<li><a class="reference" href="ref/rules.html">Rule API</a></li> -<li><a class="reference" href="ref/i18n.html">i18n API</a></li> -</ul> -</div> -<div class="section"> -<h1><a class="toc-backref" href="#id4" id="howto-miscellaneous-articles" name="howto-miscellaneous-articles"><tt class="docutils literal"><span class="pre">howto/</span></tt>: Miscellaneous Articles</a></h1> -<p>These files contain various documentation about the use of Pieforms in many -situations.</p> -</div> -<div class="section"> -<h1><a class="toc-backref" href="#id5" id="dev-core-development-information" name="dev-core-development-information"><tt class="docutils literal"><span class="pre">dev/</span></tt>: Core Development Information</a></h1> -<p>These files contain information for Pieforms hackers, administrators and others -involved with the Pieforms source.</p> -<ul class="simple"> -<li><a class="reference" href="dev/coding.html">Pieforms Coding Standards</a></li> -<li><a class="reference" href="dev/todo.html">Pieforms TODO List</a></li> -</ul> -<p><div id="breadcrumbs"><a href="http://pieforms.sourceforge.net/">Pieforms Home</a> » <a href="">Documentation Home</a></div></p> -</div> -</div> - -<div id="footer">Pieforms by <a href="http://nigel.mcnie.name/">Nigel McNie</a> and <a href="http://pieforms.sourceforge.net/about#authors">others</a>, -© 2006 Catalyst IT Ltd. Pieforms is released under the <a href="http://gnu.org/licences/gpl.html">GNU GPL</a></div> -</body> -</html> Copied: pieforms-php5/trunk/doc/html/index.html (from rev 200, pieforms-php5/branches/0.2.0/doc/html/index.html) =================================================================== --- pieforms-php5/trunk/doc/html/index.html (rev 0) +++ pieforms-php5/trunk/doc/html/index.html 2007-03-18 09:16:49 UTC (rev 201) @@ -0,0 +1,111 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns=http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<meta name="generator" content="Docutils 0.4.1: http://docutils.sourceforge.net/" /> +<title>Pieforms: Advanced web forms made easy</title> + +<link rel="stylesheet" type="text/css" href="style.css" /> +</head> +<body> +<div class="document" id="pieforms-advanced-web-forms-made-easy"> +<h1 class="title"><a class="reference" href="http://pieforms.sourceforge.net/">Pieforms</a>: Advanced web forms made easy</h1> +<p><div id="breadcrumbs"><a href="http://pieforms.sourceforge.net/">Pieforms Home</a> » <a href="">Documentation Home</a></div></p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field"><th class="field-name">Author:</th><td class="field-body">Nigel McNie</td> +</tr> +<tr class="field"><th class="field-name">Contact:</th><td class="field-body"><a class="reference" href="mailto:nigel@catalyst.net.nz">nigel@catalyst.net.nz</a></td> +</tr> +<tr class="field"><th class="field-name">Copyright:</th><td class="field-body">This document has been placed in the public domain</td> +</tr> +</tbody> +</table> +<p>The latest copy of the Pieforms documentation may be obtained from SVN:</p> +<blockquote> +<tt class="docutils literal"><span class="pre">svn</span> <span class="pre">co</span> <span class="pre">https://pieforms.svn.sourceforge.net/svnroot/pieforms/pieforms-php5/trunk</span> <span class="pre">pieforms</span></tt></blockquote> +<div class="contents topic"> +<p class="topic-title first"><a id="contents" name="contents">Contents</a></p> +<ul class="simple"> +<li><a class="reference" href="#general-documentation" id="id1" name="id1">General Documentation</a></li> +<li><a class="reference" href="#user-user-documentation" id="id2" name="id2"><tt class="docutils literal"><span class="pre">user/</span></tt>: User Documentation</a></li> +<li><a class="reference" href="#ref-reference-material" id="id3" name="id3"><tt class="docutils literal"><span class="pre">ref/</span></tt>: Reference Material</a></li> +<li><a class="reference" href="#howto-miscellaneous-articles" id="id4" name="id4"><tt class="docutils literal"><span class="pre">howto/</span></tt>: Miscellaneous Articles</a></li> +<li><a class="reference" href="#dev-core-development-information" id="id5" name="id5"><tt class="docutils literal"><span class="pre">dev/</span></tt>: Core Development Information</a></li> +</ul> +</div> +<div class="section"> +<h1><a class="toc-backref" href="#id1" id="general-documentation" name="general-documentation">General Documentation</a></h1> +<p>These files may be of interest to any Pieforms user.</p> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field"><th class="field-name"><a class="reference" href="../../README">README</a>:</th><td class="field-body">The project overview, requirements, and licensing details</td> +</tr> +<tr class="field"><th class="field-name"><a class="reference" href="../../COPYING">COPYING</a>:</th><td class="field-body">Pieforms is licensed under the <a class="reference" href="http://gnu.org/licenses/gpl.html">GNU GPL</a>, this file contains a full +copy of the license</td> +</tr> +</tbody> +</table> +</div> +<div class="section"> +<h1><a class="toc-backref" href="#id2" id="user-user-documentation" name="user-user-documentation"><span id="user"></span><tt class="docutils literal"><span class="pre">user/</span></tt>: User Documentation</a></h1> +<p>These files contain documentation about how to use Pieforms. They will be of +interest to almost any Pieforms user.</p> +<ul class="simple"> +<li><a class="reference" href="user/concepts.html">Pieforms Concepts and Terms</a> - basic Pieforms +concepts. <strong>Read this first!</strong></li> +<li><a class="reference" href="user/features.html">Pieforms Feature List</a> - list of major Pieforms +features</li> +<li><a class="reference" href="user/configuration.html">Pieforms Configuration</a> - instructions on +installation and basic configuration of Pieforms</li> +<li><a class="reference" href="user/usage.html">Basic Usage</a> - A step by step guide to writing your +first Pieform</li> +<li><a class="reference" href="user/examples.html">Examples of Pieforms</a> - examples that show +Pieforms usage, and may give you good ideas</li> +<li><a class="reference" href="user/elements.html">Elements</a> - General information about elements +including a list of elements that come with Pieforms.</li> +<li><a class="reference" href="user/renderers.html">Renderers</a></li> +<li><a class="reference" href="user/rules.html">Rules</a></li> +<li><a class="reference" href="user/i18n.html">i18n</a></li> +</ul> +</div> +<div class="section"> +<h1><a class="toc-backref" href="#id3" id="ref-reference-material" name="ref-reference-material"><tt class="docutils literal"><span class="pre">ref/</span></tt>: Reference Material</a></h1> +<p>These files contain developer specifications and reference notes that will be +of interest to anyone who wishes to write plugins for Pieforms, or re-implement +it in another language.</p> +<ul class="simple"> +<li><a class="reference" href="ref/api/index.html">Pieforms frontend API documentation (in phpdoc form)</a></li> +<li><a class="reference" href="ref/elements.html">Element API</a></li> +<li><a class="reference" href="ref/renderers.html">Renderer API</a></li> +<li><a class="reference" href="ref/rules.html">Rule API</a></li> +<li><a class="reference" href="ref/i18n.html">i18n API</a></li> +</ul> +</div> +<div class="section"> +<h1><a class="toc-backref" href="#id4" id="howto-miscellaneous-articles" name="howto-miscellaneous-articles"><tt class="docutils literal"><span class="pre">howto/</span></tt>: Miscellaneous Articles</a></h1> +<p>These files contain various documentation about the use of Pieforms in many +situations.</p> +</div> +<div class="section"> +<h1><a class="toc-backref" href="#id5" id="dev-core-development-information" name="dev-core-development-information"><tt class="docutils literal"><span class="pre">dev/</span></tt>: Core Development Information</a></h1> +<p>These files contain information for Pieforms hackers, administrators and others +involved with the Pieforms source.</p> +<ul class="simple"> +<li><a class="reference" href="dev/coding.html">Pieforms Coding Standards</a></li> +<li><a class="reference" href="dev/todo.html">Pieforms TODO List</a></li> +</ul> +<p><div id="breadcrumbs"><a href="http://pieforms.sourceforge.net/">Pieforms Home</a> » <a href="">Documentation Home</a></div></p> +</div> +</div> + +<div id="footer">Pieforms by <a href="http://nigel.mcnie.name/">Nigel McNie</a> and <a href="http://pieforms.sourceforge.net/about#authors">others</a>, +© 2006 Catalyst IT Ltd. Pieforms is released under the <a href="http://gnu.org/licences/gpl.html">GNU GPL</a></div> +</body> +</html> Deleted: pieforms-php5/trunk/doc/html/style.css =================================================================== --- pieforms-php5/branches/0.2.0/doc/html/style.css 2007-03-18 09:05:51 UTC (rev 200) +++ pieforms-php5/trunk/doc/html/style.css 2007-03-18 09:16:49 UTC (rev 201) @@ -1,88 +0,0 @@ -/* - :Author: Nigel McNie - :Contact: ni...@ca... - :Copyright: This stylesheet has been placed in the public domain. - - Stylesheet for use with Docutils. - - TODO: - - style a bit more like the website (green header, margins) - - header should have the links like the rest of the site to various places - - some kind of breadcrumbs - */ - -@import url(html4css1.css); - -html, body { - font-family: Verdana, sans-serif; - font-size: 0.9em; - margin: 0; - padding: 0; -} -body { - width: 90%; - margin: 0 auto; -} - -h1, h2, h3, h4, h5, h6 { - font-family: "Trebuchet MS", sans-serif; -} -a[href!=""] { - color: blue; - text-decoration: underline; -} -a:visited { - color: #551a8b; -} -a:active { - color: blue; -} -h1.title { - background-color: #cfc; - border-bottom: 1px solid #393; - color: #6a6; - padding: 0.7em; - margin: 0 -5.5%; -} -h1.title a { - color: #6a6; -} -h2, h3 { - margin: .5em 0 .25em; - color: #363; -} -hr { - height: 0; - border: solid #696; - border-width: 0 0 1px 0; -} -ul { - margin: 0 2.5em; - padding: 0 0 0 .2em; -} -li { - margin: 0; - padding: 0 0 0 .5em; -} -pre a { - text-decoration: none; -} - -#breadcrumbs { - padding: 0 0.75em; - margin: -.3em 0 0 -.5em; - font-size: smaller; - color: #393; -} -#breadcrumbs a { - color: #6a6; -} -#footer { - background-color: #f0f0f0; - border-top: 1px solid #c0c0c0; - color: #808080; - font-size: smaller; - padding: 0.25em 0 1em; - text-align: center; - margin: 1em -5.5% 0; -} Copied: pieforms-php5/trunk/doc/html/style.css (from rev 200, pieforms-php5/branches/0.2.0/doc/html/style.css) =================================================================== --- pieforms-php5/trunk/doc/html/style.css (rev 0) +++ pieforms-php5/trunk/doc/html/style.css 2007-03-18 09:16:49 UTC (rev 201) @@ -0,0 +1,88 @@ +/* + :Author: Nigel McNie + :Contact: ni...@ca... + :Copyright: This stylesheet has been placed in the public domain. + + Stylesheet for use with Docutils. + + TODO: + - style a bit more like the website (green header, margins) + - header should have the links like the rest of the site to various places + - some kind of breadcrumbs + */ + +@import url(html4css1.css); + +html, body { + font-family: Verdana, sans-serif; + font-size: 0.9em; + margin: 0; + padding: 0; +} +body { + width: 90%; + margin: 0 auto; +} + +h1, h2, h3, h4, h5, h6 { + font-family: "Trebuchet MS", sans-serif; +} +a[href!=""] { + color: blue; + text-decoration: underline; +} +a:visited { + color: #551a8b; +} +a:active { + color: blue; +} +h1.title { + background-color: #cfc; + border-bottom: 1px solid #393; + color: #6a6; + padding: 0.7em; + margin: 0 -5.5%; +} +h1.title a { + color: #6a6; +} +h2, h3 { + margin: .5em 0 .25em; + color: #363; +} +hr { + height: 0; + border: solid #696; + border-width: 0 0 1px 0; +} +ul { + margin: 0 2.5em; + padding: 0 0 0 .2em; +} +li { + margin: 0; + padding: 0 0 0 .5em; +} +pre a { + text-decoration: none; +} + +#breadcrumbs { + padding: 0 0.75em; + margin: -.3em 0 0 -.5em; + font-size: smaller; + color: #393; +} +#breadcrumbs a { + color: #6a6; +} +#footer { + background-color: #f0f0f0; + border-top: 1px solid #c0c0c0; + color: #808080; + font-size: smaller; + padding: 0.25em 0 1em; + text-align: center; + margin: 1em -5.5% 0; +} Copied: pieforms-php5/trunk/doc/html/user (from rev 200, pieforms-php5/branches/0.2.0/doc/html/user) Deleted: pieforms-php5/trunk/doc/html/user/concepts.html =================================================================== --- pieforms-php5/branches/0.2.0/doc/html/user/concepts.html 2007-03-18 09:05:51 UTC (rev 200) +++ pieforms-php5/trunk/doc/html/user/concepts.html 2007-03-18 09:16:49 UTC (rev 201) @@ -1,302 +0,0 @@ -<?xml version="1.0" encoding="utf-8" ?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns=http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.4.1: http://docutils.sourceforge.net/" /> -<title>Pieforms Concepts and Terms</title> - -<link rel="stylesheet" type="text/css" href="../style.css" /> -</head> -<body> -<div class="document" id="pieforms-concepts-and-terms"> -<h1 class="title">Pieforms Concepts and Terms</h1> -<p><div id="breadcrumbs"><a href="http://pieforms.sourceforge.net/">Pieforms Home</a> » <a href="../">Documentation Home</a> » <a href="">Pieform Concepts and Terms</a></div></p> -<table class="docutils field-list" frame="void" rules="none"> -<col class="field-name" /> -<col class="field-body" /> -<tbody valign="top"> -<tr class="field"><th class="field-name">Author:</th><td class="field-body">Nigel McNie</td> -</tr> -<tr class="field"><th class="field-name">Contact:</th><td class="field-body"><a class="reference" href="mailto:nigel@catalyst.net.nz">nigel@catalyst.net.nz</a></td> -</tr> -<tr class="field"><th class="field-name">Copyright:</th><td class="field-body">This document has been placed in the public domain</td> -</tr> -</tbody> -</table> -<div class="contents topic"> -<p class="topic-title first"><a id="contents" name="contents">Contents</a></p> -<ul class="simple"> -<li><a class="reference" href="#background" id="id1" name="id1">Background</a></li> -<li><a class="reference" href="#concepts" id="id2" name="id2">Concepts</a><ul> -<li><a class="reference" href="#the-form-definition-hash" id="id3" name="id3">The form definition hash</a></li> -<li><a class="reference" href="#the-pieform-function-call" id="id4" name="id4">The <tt class="docutils literal"><span class="pre">pieform(...)</span></tt> function call</a></li> -<li><a class="reference" href="#the-testform-validate-function" id="id5" name="id5">The <tt class="docutils literal"><span class="pre">testform_validate</span></tt> function</a></li> -<li><a class="reference" href="#the-testform-submit-function" id="id6" name="id6">The <tt class="docutils literal"><span class="pre">testform_submit</span></tt> function</a></li> -</ul> -</li> -<li><a class="reference" href="#form-api-terms" id="id7" name="id7">Form API Terms</a><ul> -<li><a class="reference" href="#elements" id="id8" name="id8">Elements</a></li> -<li><a class="reference" href="#rules" id="id9" name="id9">Rules</a></li> -<li><a class="reference" href="#renderers" id="id10" name="id10">Renderers</a></li> -</ul> -</li> -<li><a class="reference" href="#how-they-fit-together" id="id11" name="id11">How They Fit Together</a></li> -<li><a class="reference" href="#other-features-of-pieforms" id="id12" name="id12">Other Features of Pieforms</a></li> -</ul> -</div> -<p>Pieforms is a development of the <a class="reference" href="http://mahara.org/">Mahara</a> project, that was later split out into -its own project on <a class="reference" href="http://pieforms.sourceforge.net/">sourceforge</a>. It provides a unified way to create, validate -and process forms all with a common look and feel, with support for pluggable -elements, renderers and validation rules.</p> -<p>What does that all mean? That's what this document is for - to describe the -overall concepts and ideas behind Pieforms.</p> -<div class="section"> -<h1><a class="toc-backref" href="#id1" id="background" name="background">Background</a></h1> -<div class="note"> -<p class="first admonition-title">Note</p> -<p class="last">You can skip this section if you don't care for history lessons :)</p> -</div> -<p>In late 2006, the areformentioned Mahara project was in full swing. One of the -technical requirements identified was for a common API for displaying and -processing forms. Nigel was tasked with this job as he had claimed some -familiarity with various PHP form APIs. The three that were given some -consideration were <a class="reference" href="http://drupal.org/">Drupal's</a> forms API, PEAR's <a class="reference" href="http://pear.php.net/package/HTML_QuickForm">QuickForm</a> and Moodle's <a class="reference" href="http://moodle.cvs.sourceforge.net/moodle/moodle/lib/form/">form -API</a>, which was under development at the time.</p> -<p>Of the three, QuickForm was discarded nearly straight away, due to the large -amount of work to produce any one form, and indifferent experiences by members -of the development team in using it before. Moodle's API was briefly considered -but then dropped, as it appeared to have a similar, "heavy" API and was under -development at the time. This left Drupal's form API as the main contender, and -it probably would have won if it could have been pulled out of Drupal -successfully. Unfortunately, all efforts to extract it so that it would sit on -its own failed - it was too tightly bound to Drupal itself.</p> -<p>This resulted in the undersirable situation of one form API required vs. none -available. So in an orgy of weekend coding (and over the next few days at -work), Nigel cobbled together a form API with blackjack and hookers. And -amazingly, it worked pretty well. The best part was that writing forms was -insanely quick (including full validation). And soon after, Richard Mansfield -added 'AJAX form' support - forms that submitted very quickly because they were -posted and got their results asynchronously.</p> -<p>About the same time, Nigel made the elements, renderers and rules fully -pluggable by anyone who wanted to write a new one. It was then that he realised -that this little subproject had turned into a cool implementation of a form -API, that was worth splitting out into its own project. And thus, Pieforms was -born. The name was chosen as a tribute to a leaving team member, whose nick on -IRC was 'pie' :)</p> -</div> -<div class="section"> -<h1><a class="toc-backref" href="#id2" id="concepts" name="concepts">Concepts</a></h1> -<p>So, what is it that made Pieforms so easy to use and quick to build forms with? -It is because from the outset the library was designed to build forms with as -little work by the user as possible, instead of following a strict 'OO' -approach. As a result, the three or four things you need for a form are:</p> -<ul class="simple"> -<li>A hash containing the form definition. Basically, this is a big array -describing the overall form properties, and the elements in the form</li> -<li>An optional callback function that can be used to validate a form submission -(which is practice is not required very often as the inbuilt rules handle most -validation)</li> -<li>A callback function that handles the submission of the form. This function -can do anything with the submitted values, in the knowledge that the values are -fully validated.</li> -<li>A call to the <tt class="docutils literal"><span class="pre">pieform()</span></tt> function, passing the form definition, which -manages the entire form building, validating, submitting and displaying -process.</li> -</ul> -<p>Here is an example of a simple form</p> -<pre style="background-color:#ffc;border:1px solid #cc9;"><a href="http://www.php.net/require_once"><span style="color:#a1a100;" title="php/php/keyword">require_once</span></a><span style="color:#008000;" title="php/php/symbol">(</span><span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">pieform.php</span><span style="color:#f00;" title="php/php/single_string/end">'</span><span style="color:#008000;" title="php/php/symbol">)</span><span style="color:#008000;" title="php/php/symbol">;</span> - -<a href="http://www.php.net/echo"><span style="color:#a1a100;" title="php/php/keyword">echo</span></a> <span style="color:#600;font-weight:bold;" title="php/php/functioncall">pieform</span><span style="color:#008000;" title="php/php/symbol">(</span><a href="http://www.php.net/array"><span style="color:#a1a100;" title="php/php/keyword">array</span></a><span style="color:#008000;" title="php/php/symbol">(</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">name</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">testform</span><span style="color:#f00;" title="php/php/single_string/end">'</span><span style="color:#008000;" title="php/php/symbol">,</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">method</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">post</span><span style="color:#f00;" title="php/php/single_string/end">'</span><span style="color:#008000;" title="php/php/symbol">,</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">action</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string/end">'</span><span style="color:#008000;" title="php/php/symbol">,</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">elements</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span> <a href="http://www.php.net/array"><span style="color:#a1a100;" title="php/php/keyword">array</span></a><span style="color:#008000;" title="php/php/symbol">(</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">details</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <a href="http://www.php.net/array"><span style="color:#a1a100;" title="php/php/keyword">array</span></a><span style="color:#008000;" title="php/php/symbol">(</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">type</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">fieldset</span><span style="color:#f00;" title="php/php/single_string/end">'</span><span style="color:#008000;" title="php/php/symbol">,</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">legend</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">Your Details</span><span style="color:#f00;" title="php/php/single_string/end">'</span><span style="color:#008000;" title="php/php/symbol">,</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">elements</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <a href="http://www.php.net/array"><span style="color:#a1a100;" title="php/php/keyword">array</span></a><span style="color:#008000;" title="php/php/symbol">(</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">fullname</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <a href="http://www.php.net/array"><span style="color:#a1a100;" title="php/php/keyword">array</span></a><span style="color:#008000;" title="php/php/symbol">(</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">type</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">text</span><span style="color:#f00;" title="php/php/single_string/end">'</span><span style="color:#008000;" title="php/php/symbol">,</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">title</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">Full name</span><span style="color:#f00;" title="php/php/single_string/end">'</span><span style="color:#008000;" title="php/php/symbol">,</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">description</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">Please enter your full name</span><span style="color:#f00;" title="php/php/single_string/end">'</span><span style="color:#008000;" title="php/php/symbol">,</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">rules</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <a href="http://www.php.net/array"><span style="color:#a1a100;" title="php/php/keyword">array</span></a><span style="color:#008000;" title="php/php/symbol">(</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">required</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <span style="font-weight:bold;color:#000;" title="php/php/constant">true</span> - <span style="color:#008000;" title="php/php/symbol">)</span> - <span style="color:#008000;" title="php/php/symbol">)</span><span style="color:#008000;" title="php/php/symbol">,</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">dob</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <a href="http://www.php.net/array"><span style="color:#a1a100;" title="php/php/keyword">array</span></a><span style="color:#008000;" title="php/php/symbol">(</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">type</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">date</span><span style="color:#f00;" title="php/php/single_string/end">'</span><span style="color:#008000;" title="php/php/symbol">,</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">title</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">Date of Birth</span><span style="color:#f00;" title="php/php/single_string/end">'</span><span style="color:#008000;" title="php/php/symbol">,</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">description</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">Your date of birth</span><span style="color:#f00;" title="php/php/single_string/end">'</span><span style="color:#008000;" title="php/php/symbol">,</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">defaultvalue</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <a href="http://www.php.net/strtotime"><span style="color:#006;" title="php/php/function">strtotime</span></a><span style="color:#008000;" title="php/php/symbol">(</span><span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">1st of January, 1985</span><span style="color:#f00;" title="php/php/single_string/end">'</span><span style="color:#008000;" title="php/php/symbol">)</span><span style="color:#008000;" title="php/php/symbol">,</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">rules</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <a href="http://www.php.net/array"><span style="color:#a1a100;" title="php/php/keyword">array</span></a><span style="color:#008000;" title="php/php/symbol">(</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">required</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <span style="font-weight:bold;color:#000;" title="php/php/constant">true</span> - <span style="color:#008000;" title="php/php/symbol">)</span> - <span style="color:#008000;" title="php/php/symbol">)</span> - <span style="color:#008000;" title="php/php/symbol">)</span> - <span style="color:#008000;" title="php/php/symbol">)</span><span style="color:#008000;" title="php/php/symbol">,</span> - - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">submit</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <a href="http://www.php.net/array"><span style="color:#a1a100;" title="php/php/keyword">array</span></a><span style="color:#008000;" title="php/php/symbol">(</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">type</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">submit</span><span style="color:#f00;" title="php/php/single_string/end">'</span><span style="color:#008000;" title="php/php/symbol">,</span> - <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">value</span><span style="color:#f00;" title="php/php/single_string/end">'</span> <span style="color:#008000;" title="php/php/symbol">=</span><span style="color:#008000;" title="php/php/symbol">></span> <span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">Submit</span><span style="color:#f00;" title="php/php/single_string/end">'</span> - <span style="color:#008000;" title="php/php/symbol">)</span> - <span style="color:#008000;" title="php/php/symbol">)</span> -<span style="color:#008000;" title="php/php/symbol">)</span><span style="color:#008000;" title="php/php/symbol">;</span> - -<span style="color:#a1a100;" title="php/php/keyword">function</span> <span style="color:#600;" title="php/php/functionname">testform_validate</span><span style="color:#008000;" title="php/php/symbol">(</span><span style="color:#000;" title="php/php">Pieform</span> <span style="color:#33f;" title="php/php/varstart">$</span><span style="color:#33f;" title="php/php/var">form</span><span style="color:#008000;" title="php/php/symbol">,</span> <span style="color:#33f;" title="php/php/varstart">$</span><span style="color:#33f;" title="php/php/var">values</span><span style="color:#008000;" title="php/php/symbol">)</span> <span style="color:#008000;" title="php/php/symbol">{</span> - <span style="color:#a1a100;" title="php/php/keyword">if</span> <span style="color:#008000;" title="php/php/symbol">(</span><span style="color:#008000;" title="php/php/symbol">!</span><span style="color:#33f;" title="php/php/varstart">$</span><span style="color:#33f;" title="php/php/var">form</span><span style="color:#008000;" title="php/php/symbol">-></span><span style="color:#933;" title="php/php/oodynamic">get_error</span><span style="color:#008000;" title="php/php/symbol">(</span><span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">dob</span><span style="color:#f00;" title="php/php/single_string/end">'</span><span style="color:#008000;" title="php/php/symbol">)</span> <span style="color:#008000;" title="php/php/symbol">&</span><span style="color:#008000;" title="php/php/symbol">&</span> <span style="color:#33f;" title="php/php/varstart">$</span><span style="color:#33f;" title="php/php/var">values</span><span style="color:#008000;" title="php/php/symbol">[</span><span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_string">dob</span><span style="color:#f00;" title="php/php/single_string/end">'</span><span style="color:#008000;" title="php/php/symbol">]</span> <span style="color:#008000;" title="php/php/symbol"><</span> <a href="http://www.php.net/strtotime"><span style="color:#006;" title="php/php/function">strtotime</span></a><span style="color:#008000;" title="php/php/symbol">(</span><span style="color:#f00;" title="php/php/single_string/start">'</span><span style="color:#f00;" title="php/php/single_... [truncated message content] |