Jump to content

Big Problems


davehardy

Recommended Posts

  • Administrators

You'll have to adjust the table CSS to fix that. Same with the search.To have them all showing, mess with the HTML in the schedule_searchform.tpl

As for the aircraft flight, that's a known bug and been fixed in the next version.

Link to comment
Share on other sites

OK Ive figured out the 1st problem, here is the fix.

schedule_results.tpl

	[b]<td nowrap>[/b]
	<p><a href="<?php echo SITE_URL?>/index.php/schedules/details/<?php echo $route->id?>"><?php echo $route->code . $route->flightnum?> <?php echo $leg?> <?php echo '('.$route->depicao.' - '.$route->arricao.')'?></a>
	  <br />

	  <strong>Departure: </strong><?php echo $route->deptime;?>         <strong>Arrival: </strong><?php echo $route->arrtime;?><br />
	  <strong>Equipment: </strong><?php echo $route->aircraft; ?> (<?php echo $route->registration;?>)  <strong>Distance: </strong><?php echo $route->distance . Config::Get('UNITS');?>
	  <br />
  </p>
    <?php echo ($route->route=='')?'':'<strong>Route: </strong>'.$route->route.'<br />' ?> <?php echo ($route->notes=='')?'':'<strong>Notes: </strong>'.$route->notes.'<br />' ?> </td>

<td nowrap> should be <td wrap>

Link to comment
Share on other sites

Ok, Go to the teplate files in /core/templates/ "schedule_results.tpl".

On lines 30 and 40 search :

<td nowrap>

by

<td>

And that's it...

I don't know if this change will create some other issues... but still, corrects the problem !

PS: WOW, issue solved wile writing the post... lol

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...