[vhffs-dev] [1823] Template params naming consistency

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1823
Author:   beuss
Date:     2011-05-26 22:43:00 +0200 (Thu, 26 May 2011)
Log Message:
-----------
Template params naming consistency

Modified Paths:
--------------
    trunk/vhffs-panel/group/prefs.pl
    trunk/vhffs-panel/templates/group/prefs.tt

Modified: trunk/vhffs-panel/group/prefs.pl
===================================================================
--- trunk/vhffs-panel/group/prefs.pl	2011-05-26 20:42:53 UTC (rev 1822)
+++ trunk/vhffs-panel/group/prefs.pl	2011-05-26 20:43:00 UTC (rev 1823)
@@ -196,7 +196,7 @@
 
     $vars->{group} = $group;
     $vars->{mailgroup} = init Vhffs::Services::MailGroup( $vhffs , $group );
-    $vars->{use_avatar} = $panel->use_groups_avatars;
+    $vars->{use_avatars} = $panel->use_groups_avatars;
     $vars->{group_users} = Vhffs::Panel::Group::getall_users( $vhffs , $group->get_gid );
 
     fill_tags();

Modified: trunk/vhffs-panel/templates/group/prefs.tt
===================================================================
--- trunk/vhffs-panel/templates/group/prefs.tt	2011-05-26 20:42:53 UTC (rev 1822)
+++ trunk/vhffs-panel/templates/group/prefs.tt	2011-05-26 20:43:00 UTC (rev 1823)
@@ -86,7 +86,7 @@
 
 [% INCLUDE 'group/tags.tt' %]
 
-[% IF use_avatar %]
+[% IF use_avatars %]
 <h2>[% 'Logo' | i18n | html %]</h2>
 <h3>[% 'Current logo' | i18n | html %]</h3>
     <p><img src="../getavatar.pl?oid=[% group.get_oid %]" alt="[% 'Group logo' | i18n | html %]"/></p>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/