Author: fizyk
Date: 2010-03-30 22:54:17 +0200 (Tue, 30 Mar 2010)
New Revision: 28899

Added:
   plugins/sfForkedDoctrineApplyPlugin/trunk/web/css/forked.css
Modified:
   plugins/sfForkedDoctrineApplyPlugin/trunk/i18n/it/messages.xml
   plugins/sfForkedDoctrineApplyPlugin/trunk/i18n/pl/messages.xml
   
plugins/sfForkedDoctrineApplyPlugin/trunk/lib/form/doctrine/PluginsfGuardUserProfileBasisForm.class.php
   plugins/sfForkedDoctrineApplyPlugin/trunk/lib/form/sfApplyApplyForm.class.php
   
plugins/sfForkedDoctrineApplyPlugin/trunk/lib/form/sfApplyResetRequestForm.class.php
   
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/templates/applySuccess.php
   
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/templates/resetRequestSuccess.php
   
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/templates/settingsSuccess.php
   plugins/sfForkedDoctrineApplyPlugin/trunk/package.xml.tmpl
Log:
update i18n files, added basic css for forms


Modified: plugins/sfForkedDoctrineApplyPlugin/trunk/i18n/it/messages.xml
===================================================================
--- plugins/sfForkedDoctrineApplyPlugin/trunk/i18n/it/messages.xml      
2010-03-30 20:35:08 UTC (rev 28898)
+++ plugins/sfForkedDoctrineApplyPlugin/trunk/i18n/it/messages.xml      
2010-03-30 20:54:17 UTC (rev 28899)
@@ -100,6 +100,10 @@
         <source>Username or email</source>
         <target>Username o email</target>
       </trans-unit>
+      <trans-unit id="25" approved="yes">
+        <source>sign in</source>
+        <target>login</target>
+      </trans-unit>
     </body>
   </file>
 </xliff>

Modified: plugins/sfForkedDoctrineApplyPlugin/trunk/i18n/pl/messages.xml
===================================================================
--- plugins/sfForkedDoctrineApplyPlugin/trunk/i18n/pl/messages.xml      
2010-03-30 20:35:08 UTC (rev 28898)
+++ plugins/sfForkedDoctrineApplyPlugin/trunk/i18n/pl/messages.xml      
2010-03-30 20:54:17 UTC (rev 28899)
@@ -100,6 +100,10 @@
         <source>Username or email</source>
         <target>Nazwa użytkownika lub adres email</target>
       </trans-unit>
+      <trans-unit id="25" approved="yes">
+        <source>sign in</source>
+        <target>Zaloguj się</target>
+      </trans-unit>
     </body>
   </file>
 </xliff>

Modified: 
plugins/sfForkedDoctrineApplyPlugin/trunk/lib/form/doctrine/PluginsfGuardUserProfileBasisForm.class.php
===================================================================
--- 
plugins/sfForkedDoctrineApplyPlugin/trunk/lib/form/doctrine/PluginsfGuardUserProfileBasisForm.class.php
     2010-03-30 20:35:08 UTC (rev 28898)
+++ 
plugins/sfForkedDoctrineApplyPlugin/trunk/lib/form/doctrine/PluginsfGuardUserProfileBasisForm.class.php
     2010-03-30 20:54:17 UTC (rev 28899)
@@ -16,4 +16,12 @@
         sfProjectConfiguration::getActive()->loadHelpers(array('I18N'));
         
     }
+
+
+
+    public function getStylesheets()
+    {
+        return array( '/sfForkedDoctrineApplyPlugin/css/forked' => 'all' );
+    }
+    
 }

Modified: 
plugins/sfForkedDoctrineApplyPlugin/trunk/lib/form/sfApplyApplyForm.class.php
===================================================================
--- 
plugins/sfForkedDoctrineApplyPlugin/trunk/lib/form/sfApplyApplyForm.class.php   
    2010-03-30 20:35:08 UTC (rev 28898)
+++ 
plugins/sfForkedDoctrineApplyPlugin/trunk/lib/form/sfApplyApplyForm.class.php   
    2010-03-30 20:54:17 UTC (rev 28899)
@@ -149,12 +149,12 @@
         return $object;
     }
 
-    public function isCaptchaEnabled()
+    protected function isCaptchaEnabled()
     {
         return sfConfig::get('app_recaptcha_enabled');
     }
 
-    public function addCaptcha()
+    protected function addCaptcha()
     {
         $this->widgetSchema['captcha'] = new sfWidgetFormReCaptcha(array(
           'public_key' => sfConfig::get('app_recaptcha_public_key')
@@ -169,7 +169,7 @@
     }
 
 
-    function removeFields()
+    protected function removeFields()
     {
 
         // We're making a new user or editing the user who is

Modified: 
plugins/sfForkedDoctrineApplyPlugin/trunk/lib/form/sfApplyResetRequestForm.class.php
===================================================================
--- 
plugins/sfForkedDoctrineApplyPlugin/trunk/lib/form/sfApplyResetRequestForm.class.php
        2010-03-30 20:35:08 UTC (rev 28898)
+++ 
plugins/sfForkedDoctrineApplyPlugin/trunk/lib/form/sfApplyResetRequestForm.class.php
        2010-03-30 20:54:17 UTC (rev 28899)
@@ -54,5 +54,10 @@
             ->setMessage('captcha', __('The captcha is not valid (%error%).', 
array(), 'sfForkedApply'))
             ->setMessage('server_problem', __('Unable to check the captcha 
from the server (%error%).', array(), 'sfForkedApply'));
     }
+    
+    public function getStylesheets()
+    {
+        return array( '/sfForkedDoctrineApplyPlugin/css/forked' => 'all' );
+    }
 }
 

Modified: 
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/templates/applySuccess.php
===================================================================
--- 
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/templates/applySuccess.php
        2010-03-30 20:35:08 UTC (rev 28898)
+++ 
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/templates/applySuccess.php
        2010-03-30 20:54:17 UTC (rev 28899)
@@ -1,4 +1,5 @@
 <?php use_helper('I18N') ?>
+<?php use_stylesheets_for_form( $form ) ?>
 <?php
   // Override the login slot so that we don't get a login prompt on the
   // apply page, which is just odd-looking. 0.6

Modified: 
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/templates/resetRequestSuccess.php
===================================================================
--- 
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/templates/resetRequestSuccess.php
 2010-03-30 20:35:08 UTC (rev 28898)
+++ 
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/templates/resetRequestSuccess.php
 2010-03-30 20:54:17 UTC (rev 28899)
@@ -1,4 +1,5 @@
 <?php use_helper('I18N') ?>
+<?php use_stylesheets_for_form( $form ) ?>
 <?php slot('sf_apply_login') ?>
 <?php end_slot() ?>
 <div class="sf_apply sf_apply_reset_request">
@@ -13,7 +14,7 @@
 <?php echo $form ?>
 <li>
 <input type="submit" value="<?php echo __("Reset My Password", array(), 
'sfForkedApply') ?>">
-<?php echo __("or", array(), 'sfForkedApply') ?>
+<?php echo __("or", array(), 'sfForkedApply') ?> 
 <?php echo link_to(__('Cancel', array(), 'sfForkedApply'), 
sfConfig::get('app_sfApplyPlugin_after', '@homepage')) ?>
 </li>
 </ul>

Modified: 
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/templates/settingsSuccess.php
===================================================================
--- 
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/templates/settingsSuccess.php
     2010-03-30 20:35:08 UTC (rev 28898)
+++ 
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/templates/settingsSuccess.php
     2010-03-30 20:54:17 UTC (rev 28899)
@@ -1,4 +1,5 @@
 <?php slot('sf_apply_login') ?>
+<?php use_stylesheets_for_form( $form ) ?>
 <?php end_slot() ?>
 <?php use_helper("I18N") ?>
 <div class="sf_apply sf_apply_settings">

Modified: plugins/sfForkedDoctrineApplyPlugin/trunk/package.xml.tmpl
===================================================================
--- plugins/sfForkedDoctrineApplyPlugin/trunk/package.xml.tmpl  2010-03-30 
20:35:08 UTC (rev 28898)
+++ plugins/sfForkedDoctrineApplyPlugin/trunk/package.xml.tmpl  2010-03-30 
20:54:17 UTC (rev 28899)
@@ -53,7 +53,7 @@
   <changelog>
       <release>
         <version>
-          <release>1.0.3</release>
+          <release>1.1.0</release>
           <api>1.0.0</api>
         </version>
         <stability>
@@ -64,6 +64,7 @@
         <date>2010-03-29</date>
         <license>MIT</license>
         <notes>
+            * fizyk: added basic css styles for forms
             * Alessandro Rossi: adjusted italian translation
             * fizyk: reorgainised i18n strings and adjusted polish translation
             * fizyk: added recaptcha functionality to Apply and ResetRequests 
forms (based on vjCommentPlugin)

Added: plugins/sfForkedDoctrineApplyPlugin/trunk/web/css/forked.css
===================================================================
--- plugins/sfForkedDoctrineApplyPlugin/trunk/web/css/forked.css                
                (rev 0)
+++ plugins/sfForkedDoctrineApplyPlugin/trunk/web/css/forked.css        
2010-03-30 20:54:17 UTC (rev 28899)
@@ -0,0 +1,50 @@
+/* 
+    Document   : apply.css
+    Created on : 2010-03-30, 21:31:17
+    Author     : fizyk
+    Description:
+        Purpose of the stylesheet follows.
+*/
+
+.sf_apply ul
+{
+    list-style: none;
+    margin-left: 20px;
+    padding-left: 0px;
+}
+
+.sf_apply li input
+{
+    vertical-align: top;
+}
+
+.sf_apply li
+{
+    padding: 1px 0px;
+    margin: 2px 0px;
+}
+
+.sf_apply li:hover
+{
+    background-color: #cdcdcd;
+}
+
+.sf_apply li.sf_apply_submit_row:hover
+{
+    background-color: transparent;
+}
+
+.sf_apply label
+{
+    display: inline-block;
+    width: 150px;
+    text-align: right;
+    padding-right: 5px;
+    margin-right: 5px;
+    border-right: 1px solid #979d9d;
+}
+
+.sf_apply div#recaptcha_widget_div
+{
+    display: inline-block;
+}
\ No newline at end of file

-- 
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