Development

#2629: sfPropelActAsCommentableBehaviorPluginTemplatesI18n.patch

You must first sign up to be able to contribute.

Ticket #2629: sfPropelActAsCommentableBehaviorPluginTemplatesI18n.patch

File sfPropelActAsCommentableBehaviorPluginTemplatesI18n.patch, 1.2 kB (added by oncletom, 1 year ago)

patch file

  • plugins/sfPropelActAsCommentableBehaviorPlugin/modules/sfComment/templates/_commentForm.php

    old new  
    11<?php use_helper('Form') ?> 
    22<?php use_helper('Validation') ?> 
    33<?php use_helper('Javascript') ?> 
     4<?php use_helper('I18N') ?> 
    45 
    56<?php if ( ($sf_user->isAuthenticated() && $config_user['enabled']) 
    67          || $config_anonymous['enabled']): ?> 
  • plugins/sfPropelActAsCommentableBehaviorPlugin/modules/sfComment/templates/_commentList.php

    old new  
     1<?php use_helper('I18N') ?> 
     2 
    13<div id="sf_comment_list"> 
    24  <?php if (count($comments) > 0): ?> 
    35    <?php foreach ($comments as $comment): ?>