s...@ull.at
unread,Jun 20, 2014, 3:57:56 AM6/20/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ullrigh...@googlegroups.com
Author: klemens
Date: 2014-06-20 09:57:55 +0200 (Fri, 20 Jun 2014)
New Revision: 4111
Modified:
trunk/plugins/ullCorePlugin/lib/form/widget/ullMetaWidgetCaptcha.class.php
Log:
ullMetaWidgetCaptcha did not use widget options. set use_ssl to true by default
Modified: trunk/plugins/ullCorePlugin/lib/form/widget/ullMetaWidgetCaptcha.class.php
===================================================================
--- trunk/plugins/ullCorePlugin/lib/form/widget/ullMetaWidgetCaptcha.class.php 2014-06-17 08:44:55 UTC (rev 4110)
+++ trunk/plugins/ullCorePlugin/lib/form/widget/ullMetaWidgetCaptcha.class.php 2014-06-20 07:57:55 UTC (rev 4111)
@@ -9,10 +9,16 @@
protected function configureWriteMode()
{
- $this->addWidget(new sfWidgetFormReCaptcha(array(
+ $defaults = array(
'public_key' => sfConfig::get('app_recaptcha_public_key'),
'culture' => substr(sfContext::getInstance()->getUser()->getCulture(), 0, 2),
'theme' => 'white',
+ 'use_ssl' => true,
+ );
+
+ $this->addWidget(new sfWidgetFormReCaptcha(array_merge(
+ $defaults,
+ $this->columnConfig->getWidgetOptions()
)));
$this->addValidator(new sfValidatorReCaptcha(array(