comanage-dev - [comanage-dev] r294 - in registry/trunk/app: Controller Lib View/CoGroups
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r294 - in registry/trunk/app: Controller Lib View/CoGroups
- Date: Mon, 23 Apr 2012 09:13:11 -0400
Author: marie
Date: 2012-04-23 09:13:11 -0400 (Mon, 23 Apr 2012)
New Revision: 294
Modified:
registry/trunk/app/Controller/CoGroupsController.php
registry/trunk/app/Lib/lang.php
registry/trunk/app/View/CoGroups/index.ctp
Log:
co304 title of groups is wrong
Modified: registry/trunk/app/Controller/CoGroupsController.php
===================================================================
--- registry/trunk/app/Controller/CoGroupsController.php 2012-04-23
02:15:53 UTC (rev 293)
+++ registry/trunk/app/Controller/CoGroupsController.php 2012-04-23
13:13:11 UTC (rev 294)
@@ -270,8 +270,8 @@
*/
function select() {
- // Set page title
- $this->set('title_for_layout', _txt('op.select-a',
array(_txt('ct.co_groups.1'))));
+ // Set name for page title
+ $this->set('name_for_title',
Sanitize::html(generateCn($this->Session->read('Auth.User.name'))));
// XXX proper authz here is probably something like "(all open CO groups
// and all CO groups that I own) that CO Person isn't already a member
of)"
Modified: registry/trunk/app/Lib/lang.php
===================================================================
--- registry/trunk/app/Lib/lang.php 2012-04-23 02:15:53 UTC (rev 293)
+++ registry/trunk/app/Lib/lang.php 2012-04-23 13:13:11 UTC (rev 294)
@@ -411,7 +411,7 @@
'op.edit-f' => 'Edit %1$s for %2$s',
'op.enroll' => 'Enroll',
'op.find.inv' => 'Find a Person to Invite to %1$s',
- 'op.gr.memadd' => 'Add Person %1$s to Group',
+ 'op.gr.memadd' => 'Add %1$s to Group',
'op.grm.add' => 'Add Person to %1$s Group %2$s',
'op.inv' => 'Invite',
'op.inv-a' => 'Invite %1$s',
Modified: registry/trunk/app/View/CoGroups/index.ctp
===================================================================
--- registry/trunk/app/View/CoGroups/index.ctp 2012-04-23 02:15:53 UTC (rev
293)
+++ registry/trunk/app/View/CoGroups/index.ctp 2012-04-23 13:13:11 UTC (rev
294)
@@ -25,7 +25,7 @@
<?php
if($this->action == 'select') {
$params = array('title' => _txt('op.gr.memadd',
-
array($this->request->params['named']['copersonid'])
+ array($name_for_title)
)
);
} else {
- [comanage-dev] r294 - in registry/trunk/app: Controller Lib View/CoGroups, svnlog, 04/23/2012
Archive powered by MHonArc 2.6.16.