Bueno93 Posted March 12, 2010 Report Share Posted March 12, 2010 Hi again, I have just two short questions. Well at first, I'd like to know, if there's any possibilty to change the format of the hours. Normally it is 0.3 for 30 minutes. Is there any way to change it into 00:30? Or 02:40 for 2 hours and 40 minutes? The other question is, if I can change the title of the page somewhere. So, let me just explain ;-). If I watch a profile of a pilot the browser shows a title for the page, above. E.g. Profile for XY, or if I watch the schedules it says Schedules. Can I change these names anywhere? Thank you in advance and kind regards Bueno Quote Link to comment Share on other sites More sharing options...
Guest Brian Posted March 12, 2010 Report Share Posted March 12, 2010 Yeah you can, I believe this is something for nabeel. From my perspective I believe the formatting is hard coded. Ill take a look and let yah know. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted March 12, 2010 Administrators Report Share Posted March 12, 2010 Hi again, I have just two short questions. Well at first, I'd like to know, if there's any possibilty to change the format of the hours. Normally it is 0.3 for 30 minutes. Is there any way to change it into 00:30? Or 02:40 for 2 hours and 40 minutes? The other question is, if I can change the title of the page somewhere. So, let me just explain ;-). If I watch a profile of a pilot the browser shows a title for the page, above. E.g. Profile for XY, or if I watch the schedules it says Schedules. Can I change these names anywhere? Thank you in advance and kind regards Bueno Hey, the flight hours are hours.minutes - if you enter hours:minutes, it will accept that too (it's automatically translated into the hours.minutes) These names are hardcoded into the controllers, I haven't really set them to anything, but that's something I can try to fix for 2.1 Quote Link to comment Share on other sites More sharing options...
Bueno93 Posted March 13, 2010 Author Report Share Posted March 13, 2010 Hey, the flight hours are hours.minutes - if you enter hours:minutes, it will accept that too (it's automatically translated into the hours.minutes) Hi Nabeel, is there any possibility to avoid this translation into hours.minutes, because in some situation (e.g. the briefing) the value flighttime, shown as 3.1, looks quite strange. Regards Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted March 13, 2010 Administrators Report Share Posted March 13, 2010 Hi Nabeel, is there any possibility to avoid this translation into hours.minutes, because in some situation (e.g. the briefing) the value flighttime, shown as 3.1, looks quite strange. Regards In your template, you can change it with this (for example, if the vraiable is $schedule->flighttime): $schedule->flighttime = str_replace('.', ':', $schedule->flighttime); Quote Link to comment Share on other sites More sharing options...
Bueno93 Posted March 13, 2010 Author Report Share Posted March 13, 2010 Alright, this is fixed now. Thank you very much Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted March 13, 2010 Administrators Report Share Posted March 13, 2010 No problem! Quote Link to comment Share on other sites More sharing options...
Bueno93 Posted November 8, 2010 Author Report Share Posted November 8, 2010 Good evening, I need to bring up this topic once again. My question is the following: Where can I find the code for the format of the time, that is shown? (e.g. the flighttime) I'd like to change the format from 0:3 into 00:30 hours. Any possibility to do this? I didn't find a code until now. Thank you very much BR Bueno Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted November 12, 2010 Administrators Report Share Posted November 12, 2010 I believe it's in the template itself Quote Link to comment Share on other sites More sharing options...
Bueno93 Posted November 14, 2010 Author Report Share Posted November 14, 2010 Okay, and what exactly do I have to change? Is it determined in a code? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.