Author: lombardot
Date: 2010-05-25 13:01:27 +0200 (Tue, 25 May 2010)
New Revision: 29616
Modified:
plugins/sfEmailMeAFireShotPlugin/lib/form/sfEmailMeAFireShotEmailForm.php
plugins/sfEmailMeAFireShotPlugin/modules/sfEmailMeAFireShot/templates/indexSuccess.php
plugins/sfEmailMeAFireShotPlugin/web/js/jquery.superbox.js
Log:
[sfEmailMeAFireShot] delete capture from form because it's not always loading
on server when the form is shown
Modified:
plugins/sfEmailMeAFireShotPlugin/lib/form/sfEmailMeAFireShotEmailForm.php
===================================================================
--- plugins/sfEmailMeAFireShotPlugin/lib/form/sfEmailMeAFireShotEmailForm.php
2010-05-25 10:30:24 UTC (rev 29615)
+++ plugins/sfEmailMeAFireShotPlugin/lib/form/sfEmailMeAFireShotEmailForm.php
2010-05-25 11:01:27 UTC (rev 29616)
@@ -6,13 +6,11 @@
$this->setWidgets(array(
'subject'=>new
sfWidgetFormInput(array(),array('size'=>53)),
'content'=>new
sfWidgetFormTextarea(array(),array('rows'=>10,'cols'=>40)),
- 'capture'=>new sfWidgetFormInputHidden(),
));
$this->setValidators(array(
'subject'=>new
sfValidatorString(array('required'=>true),array('required'=>'You must set a
subject')),
'content'=>new
sfValidatorString(array('required'=>true),array('required'=>'You must set a
content')),
- 'capture'=>new
sfValidatorString(array('required'=>true)),
));
$this->widgetSchema->setNameFormat('email_me_fireshot[%s]');
Modified:
plugins/sfEmailMeAFireShotPlugin/modules/sfEmailMeAFireShot/templates/indexSuccess.php
===================================================================
---
plugins/sfEmailMeAFireShotPlugin/modules/sfEmailMeAFireShot/templates/indexSuccess.php
2010-05-25 10:30:24 UTC (rev 29615)
+++
plugins/sfEmailMeAFireShotPlugin/modules/sfEmailMeAFireShot/templates/indexSuccess.php
2010-05-25 11:01:27 UTC (rev 29616)
@@ -4,10 +4,6 @@
<?php echo $form ?>
<tr>
<th></th>
- <td><img src="data:image/png;base64,<?php echo
$sf_user->getAttribute('sfEmailMeAFireShot_base64') ?>" height="100"
alt="capture" /></td>
- </tr>
- <tr>
- <th></th>
<td><input type="submit" value="Send" /></td>
</tr>
</table>
Modified: plugins/sfEmailMeAFireShotPlugin/web/js/jquery.superbox.js
===================================================================
--- plugins/sfEmailMeAFireShotPlugin/web/js/jquery.superbox.js 2010-05-25
10:30:24 UTC (rev 29615)
+++ plugins/sfEmailMeAFireShotPlugin/web/js/jquery.superbox.js 2010-05-25
11:01:27 UTC (rev 29616)
@@ -315,6 +315,7 @@
// Get extra settings in rel attribute
function getRelSettings(elt){
+ alert(elt);
return elt._relSettings.match(/([^\[\]]+)/g);
};
--
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.