Ticket #41: mythweb-menu_wrapping.patch

File mythweb-menu_wrapping.patch, 3.5 KB (added by mtdean@…, 19 years ago)

patch

  • mythweb/themes/Default/style.css

    RCS file: /var/lib/mythcvs/mythplugins/mythweb/themes/Default/style.css,v
    retrieving revision 1.25
    diff -u -r1.25 style.css
     
    196196}
    197197
    198198/* the category legend */
    199 #command_choices {
     199.command_choices {
     200    display:          inline;
    200201    white-space:      nowrap;
    201202}
    202203#category_legend_popup {
  • mythweb/themes/Default/theme.php

    RCS file: /var/lib/mythcvs/mythplugins/mythweb/themes/Default/theme.php,v
    retrieving revision 1.56
    diff -u -r1.56 theme.php
     
    150150    }
    151151
    152152    function print_menu_content() {
    153         ?><div id="command_choices">
    154                 <a id="category_legend" onmouseover="popup('category_legend'); return true;">MythTV:</a> &nbsp; &nbsp;
    155                 <a href="program_listing.php"><?php echo t('Listings') ?></a>
    156                 &nbsp; | &nbsp;
    157                 <a href="canned_searches.php"><?php echo t('Searches') ?></a>
    158                 &nbsp; | &nbsp;
    159                 <a href="schedule_manually.php"><?php echo t('Manually Schedule') ?></a>
    160                 &nbsp; | &nbsp;
    161                 <a href="recording_schedules.php"><?php echo t('Recording Schedules') ?></a>
    162                 &nbsp; | &nbsp;
    163                 <a href="scheduled_recordings.php"><?php echo t('Scheduled Recordings') ?></a>
    164                 &nbsp; | &nbsp;
    165                 <a href="recorded_programs.php"><?php echo t('Recorded Programs') ?></a>
    166                 &nbsp; | &nbsp;
    167                 <a href="status.php"><?php echo t('Backend Status') ?></a>
    168                 &nbsp; | &nbsp;
    169                 <a href="log.php"><?php echo ('Backend Logs') ?></a>
    170         </div><?php
     153        ?><div class="command_choices"><a id="category_legend" onmouseover="popup('category_legend'); return true;">MythTV:</a> &nbsp; &nbsp;</div>
     154                <div class="command_choices"><a href="program_listing.php"><?php echo t('Listings') ?></a>
     155                    &nbsp; | &nbsp;</div>
     156                <div class="command_choices"><a href="canned_searches.php"><?php echo t('Searches') ?></a>
     157                    &nbsp; | &nbsp;</div>
     158                <div class="command_choices"><a href="schedule_manually.php"><?php echo t('Manually Schedule') ?></a>
     159                    &nbsp; | &nbsp;</div>
     160                <div class="command_choices"><a href="recording_schedules.php"><?php echo t('Recording Schedules') ?></a>
     161                    &nbsp; | &nbsp;</div>
     162                <div class="command_choices"><a href="scheduled_recordings.php"><?php echo t('Scheduled Recordings') ?></a>
     163                    &nbsp; | &nbsp;</div>
     164                <div class="command_choices"><a href="recorded_programs.php"><?php echo t('Recorded Programs') ?></a>
     165                    &nbsp; | &nbsp;</div>
     166                <div class="command_choices"><a href="status.php"><?php echo t('Backend Status') ?></a>
     167                    &nbsp; | &nbsp;</div>
     168                <div class="command_choices"><a href="log.php"><?php echo ('Backend Logs') ?></a></div>
     169            <?php
    171170    // Create the category legend popup
    172171        global $Categories, $Footnotes;
    173172        $legend = <<<EOF