communigate, RT#7083
[freeside.git] / httemplate / view / elements / svc_export_settings.html
index a3c0911..c5f2555 100644 (file)
@@ -3,11 +3,15 @@
 %   my ( $settings, $defaults ) = $svc_x->export_getsettings;
 %   if ( keys %$settings ) {
 
-%# XXX a way to label this "Communigate pro settings".. just a config maybe
+%# a way to label this "Communigate pro settings".. just a config maybe... eh,
+%# its just for devel
     External settings
     <% ntable('#cccccc',2) %>
 
-%     foreach my $key ( keys %$settings ) {
+%     foreach my $key ( sort {$defaults->{$a} <=> $defaults->{$b} or $a cmp $b}
+%                            keys %$settings
+%                     )
+%    {
         <TR>
           <TD ALIGN="right"><% $key |h %></TD>
           <TD BGCOLOR="<% $defaults->{$key} ? '#eeeeee' : '#ffffff' %>">