Author: fizyk
Date: 2010-03-22 23:43:17 +0100 (Mon, 22 Mar 2010)
New Revision: 28690

Added:
   
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/templates/resetLogged.php
Modified:
   plugins/sfForkedDoctrineApplyPlugin/trunk/README
   plugins/sfForkedDoctrineApplyPlugin/trunk/i18n/pl/messages.xml
   
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/actions/actions.class.php
   plugins/sfForkedDoctrineApplyPlugin/trunk/package.xml.tmpl
Log:
added template to show while logged user resets password.


Modified: plugins/sfForkedDoctrineApplyPlugin/trunk/README
===================================================================
--- plugins/sfForkedDoctrineApplyPlugin/trunk/README    2010-03-22 22:39:57 UTC 
(rev 28689)
+++ plugins/sfForkedDoctrineApplyPlugin/trunk/README    2010-03-22 22:43:17 UTC 
(rev 28690)
@@ -4,7 +4,7 @@
 It's stripped of Zend Mail dependencies as proposed by stephenrs on symfony 
forums,
 [here](http://forum.symfony-project.org/index.php/t/25217/)
 
-Thanks to punkavee guys for the original plugin, and Big thanks to stephen for
+Thanks to punkave guys for the original plugin, and Big thanks to stephen for
 the modifications.
 
 ##Requirements##

Modified: plugins/sfForkedDoctrineApplyPlugin/trunk/i18n/pl/messages.xml
===================================================================
--- plugins/sfForkedDoctrineApplyPlugin/trunk/i18n/pl/messages.xml      
2010-03-22 22:39:57 UTC (rev 28689)
+++ plugins/sfForkedDoctrineApplyPlugin/trunk/i18n/pl/messages.xml      
2010-03-22 22:43:17 UTC (rev 28690)
@@ -127,7 +127,7 @@
 Ze względów bezpieczeństwa, wysłaliśmy wiadomość email na adres poczty 
elektronicznej przypisany to tego konta. Proszę sprawdź swoją skrzynkę poczty 
elektronicznej w celu odczytania wiadomości. Będzie konieczne odwiedzenie 
zawartego w niej odnośnika w celu zmiany hasła. Jeśli nie widzisz wiadomości, 
upewnij się, że nie została oznaczona jako spam.
 </p>
 <p>
-Przepraszamy za niedogodniści.
+Przepraszamy za niedogodności.
 &lt;/p&gt;</target>
       </trans-unit>
       <trans-unit id="14" approved="yes">
@@ -362,6 +362,10 @@
         <source>There is no such user.</source>
         <target>Nie ma takiego użytkownika.</target>
       </trans-unit>
+      <trans-unit id="54" approved="yes">
+        <source>You may change your password using the form below.</source>
+        <target>Możesz zmienić swoje hasło za pomocą poniższego.</target>
+      </trans-unit>
     </body>
   </file>
 </xliff>

Modified: 
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/actions/actions.class.php
===================================================================
--- 
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/actions/actions.class.php
 2010-03-22 22:39:57 UTC (rev 28689)
+++ 
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/actions/actions.class.php
 2010-03-22 22:43:17 UTC (rev 28690)
@@ -154,6 +154,10 @@
                 return 'After';
             }
         }
+        if( $this->getUser()->isAuthenticated() )
+        {
+            return 'Logged';
+        }
     }
 
     public function executeResetCancel()

Added: 
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/templates/resetLogged.php
===================================================================
--- 
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/templates/resetLogged.php
                         (rev 0)
+++ 
plugins/sfForkedDoctrineApplyPlugin/trunk/modules/sfApply/templates/resetLogged.php
 2010-03-22 22:43:17 UTC (rev 28690)
@@ -0,0 +1,18 @@
+<?php use_helper('I18N') ?>
+<?php slot('sf_apply_login') ?>
+<?php end_slot() ?>
+<div class="sf_apply sf_apply_reset">
+<form method="POST" action="<?php echo url_for("sfApply/reset") ?>" 
name="sf_apply_reset_form" id="sf_apply_reset_form">
+<p>
+<?php echo __('You may change your password using the form below.') ?>
+</p>
+<ul>
+<?php echo $form ?>
+<li>
+<input type="submit" value="<?php echo __("Reset My Password") ?>">
+<?php echo __("or") ?> 
+<?php echo link_to(__('Cancel'), 'sfApply/resetCancel') ?>
+</li>
+</ul>
+</form>
+</div>

Modified: plugins/sfForkedDoctrineApplyPlugin/trunk/package.xml.tmpl
===================================================================
--- plugins/sfForkedDoctrineApplyPlugin/trunk/package.xml.tmpl  2010-03-22 
22:39:57 UTC (rev 28689)
+++ plugins/sfForkedDoctrineApplyPlugin/trunk/package.xml.tmpl  2010-03-22 
22:43:17 UTC (rev 28690)
@@ -3,7 +3,7 @@
   <name>sfForkedDoctrineApplyPlugin</name>
   <channel>plugins.symfony-project.org</channel>
   <summary>Add's register and profile functionality to websites protected with 
sfDoctrineGuardPlugin.</summary>
-  <description>This plugin is Forked version of sfDotrineApplyPlugin created 
by punkavee guys.
+  <description>This plugin is Forked version of sfDotrineApplyPlugin created 
by punkave guys.
 This Fork got stripped stripped of all dependencies from Zend Framework, 
introduced Profile model inheritance, small structural changes and few 
usability changes as well.</description>
   <lead>
     <name>Grzegorz Śliwiński</name>
@@ -53,6 +53,23 @@
   <changelog>
     <release>
         <version>
+          <release>1.0.1</release>
+          <api>1.0.0</api>
+        </version>
+        <stability>
+         <release>stable</release>
+         <api>stable</api>
+        </stability>
+        <license uri="http://www.symfony-project.org/license";>MIT 
license</license>
+        <date>2010-03-21</date>
+        <license>MIT</license>
+        <notes>
+            * fizyk: fixed typo in 13th i18n pl string.
+            * fizyk: added new reset action template for logged in users.
+        </notes>
+      </release>
+      <release>
+        <version>
           <release>1.0.0</release>
           <api>1.0.0</api>
         </version>

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