[% SET reseller_action_links = [
{
href => '../scripts2/editres?res=',
img_src => 'icons/edit_reseller_name_servers_and_privileges.png',
label => locale.maketext('Edit Reseller Nameservers and Privileges'),
id => 'edit-privileges',
},
{
multiuser_required => 1,
href => '../scripts2/multichangeowner?newowner=',
img_src => 'icons/change_ownership_of_multiple_accounts.png',
label => locale.maketext('Change Ownership of Multiple Accounts'),
id => 'change-owner-multiple',
},
{
multiuser_required => 1,
href => '../scripts2/statres?res=',
img_src => 'icons/view_reseller_usage_and_manage_account_status.png',
label => locale.maketext('View Reseller Usage and Manage Account Status'),
id => 'view-usage',
},
{
multiuser_required => 1,
href => '../scripts2/delegateips?user=',
img_src => 'icons/manage_resellers_ip_delegation.png',
label => locale.maketext('Manage [output,abbr,IP,Internet Protocol] Address Delegation'),
id => 'manage-ip',
},
{
multiuser_required => 1,
href => '../scripts2/delegatemainip?user=',
img_src => 'icons/manage_resellers_shared_ip.png',
label => locale.maketext('Manage Reseller’s Shared [output,abbr,IP,Internet Protocol] Address'),
id => 'manage-shared-ip',
},
{
onclick => "return handle_reseller_redirect_action('xferwhm')",
img_src => 'icons/web_host_manager.png',
label => locale.maketext('Log in to [asis,WHM]'),
id => 'login-whm',
},
{
onclick => "return handle_reseller_redirect_action('xfercpanel')",
img_src => 'images/cpanel.png',
label => locale.maketext('Log in to [asis,cPanel]'),
id => 'login-cpanel',
},
] %]
[% FOR ra = reseller_action_links -%]
[% NEXT IF ra.multiuser_required && !Whostmgr.has_multiuser -%]
[% END -%]