Author: Kris.Wallsmith
Date: 2010-03-23 14:57:27 +0100 (Tue, 23 Mar 2010)
New Revision: 28709

Modified:
   branches/1.3/lib/widget/sfWidgetFormInputFileEditable.class.php
   branches/1.4/lib/widget/sfWidgetFormInputFileEditable.class.php
Log:
[1.3, 1.4] fixed documentation of template option in editable file widget 
(closes #8383)

Modified: branches/1.3/lib/widget/sfWidgetFormInputFileEditable.class.php
===================================================================
--- branches/1.3/lib/widget/sfWidgetFormInputFileEditable.class.php     
2010-03-23 13:55:13 UTC (rev 28708)
+++ branches/1.3/lib/widget/sfWidgetFormInputFileEditable.class.php     
2010-03-23 13:57:27 UTC (rev 28709)
@@ -29,12 +29,12 @@
    *  * is_image:     Whether the file is a displayable image
    *  * with_delete:  Whether to add a delete checkbox or not
    *  * delete_label: The delete label used by the template
-   *  * template:     The HTML template to use to render this widget
+   *  * template:     The HTML template to use to render this widget when in 
edit mode
    *                  The available placeholders are:
-   *                    * input (the image upload widget)
-   *                    * delete (the delete checkbox)
-   *                    * delete_label (the delete label text)
-   *                    * file (the file tag)
+   *                    * %input% (the image upload widget)
+   *                    * %delete% (the delete checkbox)
+   *                    * %delete_label% (the delete label text)
+   *                    * %file% (the file tag)
    *
    * In edit mode, this widget renders an additional widget named after the
    * file upload widget with a "_delete" suffix. So, when creating a form,

Modified: branches/1.4/lib/widget/sfWidgetFormInputFileEditable.class.php
===================================================================
--- branches/1.4/lib/widget/sfWidgetFormInputFileEditable.class.php     
2010-03-23 13:55:13 UTC (rev 28708)
+++ branches/1.4/lib/widget/sfWidgetFormInputFileEditable.class.php     
2010-03-23 13:57:27 UTC (rev 28709)
@@ -29,12 +29,12 @@
    *  * is_image:     Whether the file is a displayable image
    *  * with_delete:  Whether to add a delete checkbox or not
    *  * delete_label: The delete label used by the template
-   *  * template:     The HTML template to use to render this widget
+   *  * template:     The HTML template to use to render this widget when in 
edit mode
    *                  The available placeholders are:
-   *                    * input (the image upload widget)
-   *                    * delete (the delete checkbox)
-   *                    * delete_label (the delete label text)
-   *                    * file (the file tag)
+   *                    * %input% (the image upload widget)
+   *                    * %delete% (the delete checkbox)
+   *                    * %delete_label% (the delete label text)
+   *                    * %file% (the file tag)
    *
    * In edit mode, this widget renders an additional widget named after the
    * file upload widget with a "_delete" suffix. So, when creating a form,

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to