[% # See also list.tt, which is the header for the addon list page (cPanel >> Site Software) # # Template parameters: # # addon_list - Hash ref - With the following structure: # # { # 'Category' => { # 'Vendor::Category::App' => { # what => 'What type of software it is', # installed_instances => 3, # vendor_display_per_addon => '', # url => '/cpsess1234567890/path/to/configure/addon', # pretty_name => 'My Application' # } # } # } %] [% FOREACH category IN addon_list.keys.sort; %]

[% category %] 

[% FOREACH addon IN addon_list.$category.keys.sort; %] [% SET addon_data = addon_list.$category.$addon %]
[% addon_data.pretty_name %] [% addon_data.vendor_display_per_addon %] [% IF addon_data.installed_instances > 0; %] ([% addon_data.installed_instances %] installed) [% END; %]
[% addon_data.what %]
[% END %]
[% END; %]