This patch for the default theme replaces the spaces in the menu items
with non-breaking
spaces. This is to avoid a menu item link from being divided over to lines.
Regards,
Petter
Index: mythweb/themes/Default/theme.php
===================================================================
RCS file: /var/lib/mythcvs/mythweb/themes/Default/theme.php,v
retrieving revision 1.53
diff -u -r1.53 theme.php
--- mythweb/themes/Default/theme.php 3 Apr 2005 07:16:48 -0000 1.53
+++ mythweb/themes/Default/theme.php 6 Apr 2005 15:28:42 -0000
@@ -151,21 +151,21 @@
function print_menu_content() {
?><a id="category_legend" onmouseover="popup('category_legend');
return true;">MythTV:</a>
- <a href="program_listing.php"><?php echo t('Listings') ?></a>
+ <a href="program_listing.php"><?php echo str_replace('
',' ',t('Listings')) ?></a>
|
- <a href="canned_searches.php"><?php echo t('Searches') ?></a>
+ <a href="canned_searches.php"><?php echo str_replace('
',' ',t('Searches')) ?></a>
|
- <a href="schedule_manually.php"><?php echo t('Manually
Schedule') ?></a>
+ <a href="schedule_manually.php"><?php echo str_replace('
',' ',t('Manually Schedule')) ?></a>
|
- <a href="recording_schedules.php"><?php echo t('Recording
Schedules') ?></a>
+ <a href="recording_schedules.php"><?php echo str_replace('
',' ',t('Recording Schedules')) ?></a>
|
- <a href="scheduled_recordings.php"><?php echo t('Scheduled
Recordings') ?></a>
+ <a href="scheduled_recordings.php"><?php echo str_replace('
',' ',t('Scheduled Recordings')) ?></a>
|
- <a href="recorded_programs.php"><?php echo t('Recorded
Programs') ?></a>
+ <a href="recorded_programs.php"><?php echo str_replace('
',' ',t('Recorded Programs')) ?></a>
|
- <a href="status.php"><?php echo t('Backend Status') ?></a>
+ <a href="status.php"><?php echo str_replace('
',' ',t('Backend Status')) ?></a>
|
- <a href="log.php"><?php echo ('Backend Logs') ?></a><?php
+ <a href="log.php"><?php echo str_replace('
',' ',('Backend Logs')) ?></a><?php
// Create the category legend popup
global $Categories, $Footnotes;
$legend = <<<EOF
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev