countries: store abbreviations in include
[sheet.git] / mplayer.plp
index 689ee84d69486d42f724fff4c35a10e3ca122f03..5b53ded991f856e06bb97ae384d3cae90928af94 100644 (file)
@@ -20,8 +20,6 @@ Html({
 
 <h2>index (default)</h2>
 
-<ul id="rows">
-
 <:
 use Shiar_Sheet::Keyboard 2;
 my $info = do 'mplayer.eng.inc.pl' or die $@;
@@ -30,35 +28,16 @@ my $keys = Shiar_Sheet::Keyboard->new($info);
 $keys->map($get{map}) or undef $get{map};
 $keys->print_rows($get{rows}, [1,0]);
 :>
-</ul>
 
 <hr>
 
 <div class="help">
        <div class="left">
-               <dl class="legend legend-types">
-               <dt class="ci">osd
-                       <dd>Print information or change display.
-               <dt class="pm">subtitles
-                       <dd>Alter subtitle selection and settings.
-               <dt class="co">video
-                       <dd>Video output adjustment.
-               <dt class="mi">audio
-                       <dd>Sound (track) configuration.
-               <dt class="mo">playback
-                       <dd>Playback control.
-               <dt class="me">general
-                       <dd>Other MPlayer features.
-               </dl>
+<: $keys->print_legend('legend-types', [qw( ci pm co mi mo me )]) :>
        </div>
 
        <div class="right">
-               <dl class="legend legend-options">
-               <dt>key<:= $sign{arg} :>
-                       <dd>Commands with a dot need an argument afterwards.
-               <dt class="ext">optional
-                       <dd>Some features depend on setup and/or parameters.
-               </dl>
+<: $keys->print_legend('legend-options', [qw( arg ext )]) :>
 
                <ul class="legend legend-set">
                <li>keyboard <strong>map</strong> is