Author: BigBadBassMan
Date: 2010-01-20 10:47:05 +0100 (Wed, 20 Jan 2010)
New Revision: 26924
Modified:
plugins/sfFormButtonsPlugin/trunk/
plugins/sfFormButtonsPlugin/trunk/README
plugins/sfFormButtonsPlugin/trunk/package.xml
Log:
changed package for sf1.3 compatibility
Property changes on: plugins/sfFormButtonsPlugin/trunk
___________________________________________________________________
Added: svn:ignore
+ sfFormButtonsPlugin*.tgz
Modified: plugins/sfFormButtonsPlugin/trunk/README
===================================================================
--- plugins/sfFormButtonsPlugin/trunk/README 2010-01-20 09:40:07 UTC (rev
26923)
+++ plugins/sfFormButtonsPlugin/trunk/README 2010-01-20 09:47:05 UTC (rev
26924)
@@ -44,6 +44,17 @@
echo button_to_url('Delete this page', 'my_module/my_action');
=> <button onclick="document.location.href='/my_module/my_action';"
type="button" name="delete_this_page_btn">Delete this page</button>
+### 'submit_button_to_remote ###
+
+Creates a `<button>` button tag with the given content and value and an AJAX
XHttpRequest-Method to submit the form.
+
+ echo submit_button_to_remote('Save', 'save', array(
+ 'url' => "module/action",
+ 'update' => "SiteElem"
+ ));
+ => <button type="submit" value="save" onClick="new
Ajax.Updater('SiteElem', '/path/to/module/action', {asynchronous:true,
evalScripts:false, parameters:Form.serialize(this.form)}); return
false;">Save</button>
+
+
Options:
* `absolute` - if set to true, the helper outputs an absolute URL
@@ -52,14 +63,3 @@
* `confirm` - displays a javascript confirmation alert when the button is
clicked
* `popup` - if set to true, the button opens a new browser window
* `post` - if set to true, the button submits a POST request instead of GET
(caution: do not use inside a form)
-
- ### 'submit_button_to_remote ###
-
- Creates a `<button>` button tag with the given content and value and an AJAX
XHttpRequest-Method to submit the form.
-
- echo submit_button_to_remote('Save', 'save', array(
- 'url' => "module/action",
- 'update' => "SiteElem"
- ));
- => <button type="submit" value="save" onClick="new Ajax.Updater('SiteElem',
'/path/to/module/action', {asynchronous:true, evalScripts:false,
parameters:Form.serialize(this.form)}); return false;">Save</button>
-
Modified: plugins/sfFormButtonsPlugin/trunk/package.xml
===================================================================
--- plugins/sfFormButtonsPlugin/trunk/package.xml 2010-01-20 09:40:07 UTC
(rev 26923)
+++ plugins/sfFormButtonsPlugin/trunk/package.xml 2010-01-20 09:47:05 UTC
(rev 26924)
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.6.1" version="2.0"
xmlns="http://pear.php.net/dtd/package-2.0"
xmlns:tasks="http://pear.php.net/dtd/tasks-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
<name>sfFormButtonsPlugin</name>
- <channel>pear.symfony-project.com</channel>
+ <channel>plugins.symfony-project.org</channel>
<summary>Lets you use button tags instead input ones in common template
design cases.</summary>
<description>Lets you use button tags instead input ones in common template
design cases.</description>
<lead>
@@ -16,10 +16,10 @@
<email>[email protected]</email>
<active>yes</active>
</developer>
- <date>2009-09-11</date>
- <time>11:00:00</time>
+ <date>2009-11-30</date>
+ <time>11:30:00</time>
<version>
- <release>0.1.4</release>
+ <release>0.1.6</release>
<api>0.1.2</api>
</version>
<stability>
@@ -38,7 +38,7 @@
<dependencies>
<required>
<php>
- <min>5.0.0</min>
+ <min>5.1.0</min>
</php>
<pearinstaller>
<min>1.4.1</min>
@@ -46,14 +46,14 @@
<package>
<name>symfony</name>
<channel>pear.symfony-project.com</channel>
- <min>1.1.0</min>
- <max>1.2.0</max>
+ <min>1.2.0</min>
+ <max>1.3.99</max>
</package>
</required>
<optional>
<package>
<name>sfJqueryReloadedPlugin</name>
- <channel>plugins.symfony-project.com</channel>
+ <channel>plugins.symfony-project.org</channel>
<min>1.2.4</min>
</package>
</optional>
@@ -62,7 +62,7 @@
<changelog>
<release>
<version>
- <release>0.1.4</release>
+ <release>0.1.6</release>
<api>0.1.2</api>
</version>
<stability>
@@ -70,9 +70,9 @@
<api>beta</api>
</stability>
<license uri="http://www.symfony-project.com/license">MIT license</license>
- <date>2009-09-11</date>
+ <date>2009-11-30</date>
<notes>
- * BBBM: added submit_button_to_remote() function to allow
AJAX-Submit-Buttons similiar to submit_to_remote()
+ * BBBM: updated to be SF1.3 compatible
</notes>
</release>
</changelog>
--
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.