Author: fizyk
Date: 2010-05-23 21:33:39 +0200 (Sun, 23 May 2010)
New Revision: 29595

Modified:
   plugins/vjCommentPlugin/TRUNK/modules/comment/templates/_comment_infos.php
   plugins/vjCommentPlugin/TRUNK/package.xml.tmpl
Log:
fixed issue where logged users username was not copied into the reply field

Modified: 
plugins/vjCommentPlugin/TRUNK/modules/comment/templates/_comment_infos.php
===================================================================
--- plugins/vjCommentPlugin/TRUNK/modules/comment/templates/_comment_infos.php  
2010-05-23 14:54:12 UTC (rev 29594)
+++ plugins/vjCommentPlugin/TRUNK/modules/comment/templates/_comment_infos.php  
2010-05-23 19:33:39 UTC (rev 29595)
@@ -3,12 +3,12 @@
         <?php if(!$obj->is_delete): ?>
           <?php echo link_to_function(
                   image_tag('/vjCommentPlugin/images/comments.png', array( 
'alt' => 'reply' )) ,
-                  "reply('".$obj->id."','".$obj->author_name."')",
+                  "reply('".$obj->getId()."','".$obj->getAuthor()."')",
                   array('title' => __('Reply to this comment', array(), 
'vjComment'))) ?>
           <?php echo link_to_function(
                 image_tag('/vjCommentPlugin/images/error.png', array( 'alt' => 
'report' )) ,
                 'window.open(
-                  \''.url_for('@commentReport?id='.$obj->id.'&num='.$i).'\',
+                  
\''.url_for('@commentReport?id='.$obj->getId().'&num='.$i).'\',
                   \''.__('Add new comment', array(), 'vjComment').'\',
                     "menubar=no, status=no, scrollbars=no, menubar=no, 
width=565, height=300")',
                 array('target' => '_blank', 'title' => __('Report this comment 
- New window', array(), 'vjComment') )) ?><br />

Modified: plugins/vjCommentPlugin/TRUNK/package.xml.tmpl
===================================================================
--- plugins/vjCommentPlugin/TRUNK/package.xml.tmpl      2010-05-23 14:54:12 UTC 
(rev 29594)
+++ plugins/vjCommentPlugin/TRUNK/package.xml.tmpl      2010-05-23 19:33:39 UTC 
(rev 29595)
@@ -51,6 +51,22 @@
   <changelog>
     <release>
       <version>
+        <release>1.1.4</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-05-XX</date>
+      <license>MIT</license>
+      <notes>
+        * fizyk: fixed issue where logged users username was not copied into 
the reply field
+      </notes>
+    </release>
+    <release>
+      <version>
         <release>1.1.3</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