Commit Graph

22 Commits

Author SHA1 Message Date
Bharat Mediratta
c050acf30a Fix lots of warnings that pop up when we're in E_STRICT mode. They're
mostly issues around uninitialized variables, calling non-static
functions in a static context, calling Session functions directly
instead of on its singleton, passing non-variables by reference, and
subclasses not using the same interface as the parent class.
2010-01-31 16:07:41 -08:00
Bharat Mediratta
a018e6235f Modify Forge to accept multiple hidden params (this was broken by an
API change in K24).
2009-12-31 15:49:43 -08:00
Bharat Mediratta
0a345895b4 Updated for K2.4. This is a fork from the main-line, but we're going to replace this with Formio anyway. 2009-12-06 21:34:35 -08:00
Bharat Mediratta
9d9e4bdb67 Update hidden field format to match Kohana 2.4's form::open() API. 2009-11-25 20:05:12 -08:00
Bharat Mediratta
5f521014f6 form::close() went away in Kohana 2.4 2009-11-25 19:24:30 -08:00
Andy Staudacher
94c201f265 XSS escape in form helper and forge where missing. 2009-09-01 01:17:39 -07:00
Bharat Mediratta
500685ec73 Updated Forge to r179 2009-05-26 22:28:06 -07:00
Bharat Mediratta
2867ca2bcd Get rid of trailing whitespace in preamble 2009-05-18 04:02:54 +00:00
Bharat Mediratta
abeec7c7b8 Merged /gallery3/vendor/forge/modified:r20843
Added preamble to all Forge files.
2009-05-18 03:28:46 +00:00
Bharat Mediratta
8bd9d38996 Revert to pre-r19217 which means the label is no longer first (but its consistent again with the upstream code) 2009-02-01 19:16:28 +00:00
Bharat Mediratta
3d8164353f Put the checkbox back inside the <label> so that clicking on the text selects the checkbox. 2009-01-31 08:57:13 +00:00
Tim Almdal
b925d9da53 Make the rendering of a checkbox consistent with other Forge controls. Checkbox originally rendered the input box as a child element of the label element, which resulted in the label appearing under the checkbox. All the other controls render the label element first and then the input control as a peer. This change just makes it consistent. 2009-01-30 14:14:49 +00:00
Bharat Mediratta
66abb6624e Update to Forge r171 2009-01-12 07:37:34 +00:00
Bharat Mediratta
af992a9739 Update forge to r170 2009-01-12 07:17:24 +00:00
Bharat Mediratta
532996d62f Merge in Forge from upstream r169 which converts Forge::submit() into
an actual <input type="submit"> instead of a <button>.
2009-01-06 08:27:44 +00:00
Bharat Mediratta
93977e579c Refresh of Forge r168 from vendor/forge/modified 2008-12-15 09:22:32 +00:00
Bharat Mediratta
4fe895a2c4 Delete forge in preparation to refresh it from vendors/forge/modified 2008-12-15 09:21:44 +00:00
Bharat Mediratta
96d906c903 Update Forge to r168 from upstream.
Resolves these issues:
  http://code.google.com/p/kohanamodules/issues/detail?id=6
  http://code.google.com/p/kohanamodules/issues/detail?id=7
2008-12-15 03:59:03 +00:00
Tim Almdal
fc1e7a9333 1) fix Forge_Group to display the label (will raise a bug with Kohana)
2) Change form.html.php to use the group label instead of the name
3) Converted the add photo to explicity set the label of the field (new coding standard)
2008-12-14 03:19:31 +00:00
Tim Almdal
e518dafb19 1) Revert the changes to Form_Upload and Form_Textarea, so we don't have to change third party code.
2) Change drawForm to check for a non empty $input->class in order to determime if the element should be wrapped in <li>...</li>.  If $input->class is empty then treat as a hidden field.
2008-12-07 21:24:50 +00:00
Tim Almdal
b409a376f3 1) Change the photo description field to a text area
2) Added a 'type' data element to both forge/Form_Textarea and forge/Form_Upload

The second change allows the drawForm to correctly render both of these elements enclosed in a <li>...</li> html blocl
2008-12-07 17:09:21 +00:00
Bharat Mediratta
eba717f95f Merge over vendor code.
git-svn-id: http://gallery.svn.sourceforge.net/svnroot/gallery/trunk/eval/gx/gallery3/trunk@18408 57fcd75e-5312-0410-8df3-f5eb6fbb1595
2008-10-31 22:12:14 +00:00