Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] r352 - registry/trunk/app/View/OrgIdentities

Subject: COmanage Developers List

List archive

[comanage-dev] r352 - registry/trunk/app/View/OrgIdentities


Chronological Thread 
  • From:
  • To:
  • Subject: [comanage-dev] r352 - registry/trunk/app/View/OrgIdentities
  • Date: Mon, 27 Aug 2012 17:11:29 -0400

Author: marie
Date: 2012-08-27 17:11:29 -0400 (Mon, 27 Aug 2012)
New Revision: 352

Modified:
registry/trunk/app/View/OrgIdentities/fields.inc
Log:
co360 - makes clicking on add buttons open new tab

Modified: registry/trunk/app/View/OrgIdentities/fields.inc
===================================================================
--- registry/trunk/app/View/OrgIdentities/fields.inc 2012-08-27 20:59:08
UTC (rev 351)
+++ registry/trunk/app/View/OrgIdentities/fields.inc 2012-08-27 21:11:29
UTC (rev 352)
@@ -369,12 +369,20 @@
print '</div>';
}
}
+
+ $linktarget = array('controller' => 'identifiers',
+ 'action' => 'add',
+ 'orgidentityid' =>
$org_identities[0]['OrgIdentity']['id'],
+ 'co' => ($pool_org_identities ?
false : $cur_co['Co']['id'])
+ );
+ $linkparams = array('class' => 'addbutton',
+ 'target' => '_blank'
+ );
+
print $this->Html->link(_txt('op.add'),
- array('controller' => 'identifiers',
- 'action' => 'add',
- 'orgidentityid' =>
$org_identities[0]['OrgIdentity']['id'],
- 'co' => ($pool_org_identities ?
false : $cur_co['Co']['id'])),
- array('class' => 'addbutton'));
+ $linktarget,
+ $linkparams
+ );
}
else
{
@@ -420,12 +428,19 @@
}
}

+ $linktarget = array('controller' => 'email_addresses',
+ 'action' => 'add',
+ 'orgidentityid' =>
$org_identities[0]['OrgIdentity']['id'],
+ 'co' => ($pool_org_identities ?
false : $cur_co['Co']['id'])
+ );
+ $linkparams = array('class' => 'addbutton',
+ 'target' => '_blank'
+ );
+
print $this->Html->link(_txt('op.add'),
- array('controller' =>
'email_addresses',
- 'action' => 'add',
- 'orgidentityid' =>
$org_identities[0]['OrgIdentity']['id'],
- 'co' =>
($pool_org_identities ? false : $cur_co['Co']['id'])),
- array('class' => 'addbutton'));
+ $linktarget,
+ $linkparams
+ );
}
else
{
@@ -472,12 +487,19 @@
}
}

- print $this->Html->link(_txt('op.add'),
- array('controller' =>
'telephone_numbers',
- 'action' => 'add',
- 'orgidentityid' =>
$org_identities[0]['OrgIdentity']['id'],
- 'co' => ($pool_org_identities ?
false : $cur_co['Co']['id'])),
- array('class' => 'addbutton'));
+ $linktarget = array('controller' => 'telephone_numbers',
+ 'action' => 'add',
+ 'orgidentityid' =>
$org_identities[0]['OrgIdentity']['id'],
+ 'co' => ($pool_org_identities ?
false : $cur_co['Co']['id'])
+ );
+ $linkparams = array('class' => 'addbutton',
+ 'target' => '_blank'
+ );
+
+ print $this->Html->link(_txt('op.add'),
+ $linktarget,
+ $linkparams
+ );
}
else
{
@@ -523,11 +545,19 @@
}
}

+ $linktarget = array('controller' => 'addresses',
+ 'action' => 'add',
+ 'orgidentityid' =>
$org_identities[0]['OrgIdentity']['id'],
+ 'co' => ($pool_org_identities ?
false : $cur_co['Co']['id'])
+ );
+ $linkparams = array('class' => 'addbutton',
+ 'target' => '_blank'
+ );
+
print $this->Html->link(_txt('op.add'),
- array('controller' => 'addresses',
'action' => 'add',
- 'orgidentityid' =>
$org_identities[0]['OrgIdentity']['id'],
- 'co' =>
($pool_org_identities ? false : $cur_co['Co']['id'])),
- array('class' => 'addbutton'));
+ $linktarget,
+ $linkparams
+ );
}
else
{



  • [comanage-dev] r352 - registry/trunk/app/View/OrgIdentities, svnlog, 08/27/2012

Archive powered by MHonArc 2.6.16.

Top of Page