Changeset 237

Show
Ignore:
Timestamp:
04/16/07 12:18:36 (2 years ago)
Author:
ludo
Message:

replaced the WOL icon by the Admin one (from r4249)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/webmin/lbs_common/debian/changelog

    r209 r237  
    1 webmin-lbs-common (1.4.12) stable; urgency=low 
     1webmin-lbs-common (1.4.13) stable; urgency=low 
    22 
    33  * New release. See SVN logs for details 
  • trunk/webmin/lbs_common/lang/en

    r220 r237  
    9595lab_versions=Versions 
    9696lab_version=Version 
     97lab_wp=Whole profile 
    9798lab_wol=WOL 
    9899lab_woltasks=WOL tasks 
  • trunk/webmin/lbs_common/lang/fr

    r220 r237  
    9393lab_versions=Versions 
    9494lab_version=Version 
     95lab_wp=Tout le profil 
    9596lab_wol=WOL 
    9697lab_woltasks=Tâches WOL 
  • trunk/webmin/lbs_common/lbs_common.pl

    r226 r237  
    542542 
    543543        my $home=$TFTPBOOT; 
    544  
     544        my $text_wp = $text{'lab_wp'}; 
    545545        my $baseuri=$paramsref->{'baseuri'}; 
    546546        $baseuri = $ENV{'SCRIPT_NAME'} unless $baseuri; 
     
    882882        } 
    883883 
     884 
    884885        foreach my $row (@tmpcols) { 
    885886                $template->assign('ROWSTYLE', "style='background-color: ".oddorevenline(\$lineisodd).";'"); 
     
    898899        } 
    899900 
    900         #if (lc($profile_key) ne "none" and lc($profile_key) ne "all") { 
    901                 $template->assign('ACTIONONCURRENTPROF', text('lab_thisprofile', $profile_name)); 
    902                 foreach my $bodycallback (@$bodycallbacksref) { 
    903                         foreach my $label (&$bodycallback({'currentprofile' => $in{'profile'}, 'profile' => $in{'profile'}, 'ether' => $ethero })) { 
    904                                 if (defined($label) and $label) { 
    905                                         my %localhash=%$label;                                                                         
    906                                         $template->assign('CONTENT', $localhash{'content'}); 
    907                                         $template->assign('ATTRIBS', $localhash{'attribs'}); 
    908                                         $template->parse('mainlist.endtable.moreactions.uppercell'); 
    909                                 } 
     901        # last line: the whole profile 
     902        $template->assign('ROWSTYLE', "style='background-color: ".oddorevenline(\$lineisodd).";'"); 
     903        $template->assign('CONTENT', "<i>$text_wp</i>"); 
     904        $template->assign('FIRSTCELLARGS', "$nowrap $firstcellwidth"); 
     905        $template->parse('mainlist.normalrow.firstcell'); 
     906        foreach my $bodycallback (@$bodycallbacksref) { 
     907                foreach my $label (&$bodycallback({'name' => "ALLPROFILES", 'group' => "", 'profile' => $in{'profile'}, 'currentprofile' => $in{'profile'}, 'ether' => $ethero })) { 
     908                        if (defined($label) and $label) { 
     909                                my %localhash=%$label;                                                                         
     910                                $template->assign('CONTENT', $localhash{'content'}); 
     911                                $template->assign('ATTRIBS', $localhash{'attribs'}); 
     912                                $template->parse('mainlist.normalrow.normalcell'); 
    910913                        } 
    911914                } 
    912                 $template->parse('mainlist.endtable.moreactions'); 
    913         #} 
     915        } 
     916        $template->parse('mainlist.normalrow'); 
    914917         
    915918        $template->parse('mainlist.endtable'); 
  • trunk/webmin/lbs_common/module.info

    r209 r237  
    55name=lbs_common 
    66depends=0.94 
    7 version=1.4.12 
     7version=1.4.13