Commit Graph

14 Commits

Author SHA1 Message Date
Ingo Schommer
a6148c33da MERGE Using FormField->template in most fields 2012-01-02 16:48:14 +01:00
Sean Harvey
9e548f501e API CHANGE FormField::Field() and FormField::FieldHolder() now render into templates on each FormField instead of creating HTML from PHP 2012-01-02 16:48:13 +01:00
Ingo Schommer
ce8e72cf0e MINOR Removing executable flag from all files (thanks miiihi) 2011-09-18 22:04:02 +02:00
Sean Harvey
180185db43 API CHANGE Removed $className and $allowHTML from DatalessField constructor to support LabelField changes 2011-03-17 12:07:56 +13:00
Sean Harvey
18fb465c51 API CHANGE Removed deprecated $className and $allowHTML parameters to LabelField 2011-03-17 12:03:54 +13:00
Ingo Schommer
05eca28c96 MINOR Using Convert::raw2xml() in LabelField->Field() (fixes #6267, thanks odraska)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115125 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-16 08:12:21 +00:00
Ingo Schommer
2179389da3 BUGFIX: removed name attribute from label fields since this is invalid html. Ticket: #4887. PATCH via tobych (from r97013)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102418 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 03:31:02 +00:00
Sean Harvey
48211b4931 BUGFIX: pass $allowHTML through to the parent class (from r95339)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95636 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-12-16 05:49:28 +00:00
Ingo Schommer
55e0a713db MINOR Documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@72778 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-03-10 15:03:34 +00:00
Ingo Schommer
00eaa1b5b7 BUGFIX Removed $headingLevel reference from LabelField (was supposed to go into HeaderField)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64438 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-16 14:03:10 +00:00
Ingo Schommer
e95c5657ff API CHANGE Changed constructor parameters for LabelField and Header: First parameter is now $name, not $title. Necessary change to consistently support labelled fields which can be identified and modified within a FieldSet, and in the DOM structure. Both HeaderField and LabelField still acceppt old notation through checking the parameter signature with func_get_args().
API CHANGE Moved setAllowHTML() to DataLessField
ENHANCEMENT Using createTag() to create HeaderField and LabelField, which adds support for HTML id attributes and extra css classes through addExtraClass()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64421 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-16 13:26:25 +00:00
Ingo Schommer
60860cc1b9 MINOR Unified @package PHPdoc (added where missing, removed duplicates)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56212 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-15 13:33:53 +00:00
Sam Minnee
b1d2e3906b API Documentation updates
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47766 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-09 04:18:36 +00:00
Hayden Smith
4a5d9b03f8 Moved Sapphire module to open source path
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39001 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-19 10:40:28 +00:00