Display of Server Time in Global Config

Locked
drfb
Joomla! Apprentice
Joomla! Apprentice
Posts: 31
Joined: Mon Feb 02, 2009 10:04 am

Display of Server Time in Global Config

Post by drfb » Sat Dec 05, 2009 4:29 am

Hoping this is in the correct post..
Just a thought for future release.
Within Global Config there is the Server Timezone.
On my site so that it makes it easier i have displayed the Server Time under the drop down list rather then Mouse Over Tool Text.
That way it is automatically displayed when you are on that screen. You will always be able to see what time your server is displaying depending on the UTC you have chosen. The Server Time will only update if you click on APPLY etc.

administrator\components\com_config\views\application\tmpl\config_locale.php

OLD CODE

Code: Select all

<fieldset class="adminform">
	<legend><?php echo JText::_( 'Locale Settings' ); ?></legend>
	<table class="admintable" cellspacing="1">
		<tbody>
		<tr>
			<td width="185" class="key">
				<span class="editlinktip hasTip" title="<?php echo JText::_( 'Time Zone' ); ?>::<?php echo JText::_( 'TIPDATETIMEDISPLAY' ) .': '. JHTML::_('date',  'now', JText::_('DATE_FORMAT_LC2')); ?>">
					<?php echo JText::_( 'Time Zone' ); ?>
				</span>
			</td>
			<td>
				<?php echo $lists['offset']; ?>
			</td>
		</tr>
		</tbody>
	</table>
</fieldset>
NEW CODE

Code: Select all

<fieldset class="adminform">
	<legend><?php echo JText::_( 'Locale Settings' ); ?></legend>
	<table class="admintable" cellspacing="1">
		<tbody>
		<tr>
			<td width="185" class="key">
				<?php echo JText::_( 'Time Zone' ); ?>				
			</td>
			<td>
				<?php echo $lists['offset']; ?>
			</td>
		</tr>
		<tr>
			<td colspan="2">
			<?php echo JText::_( 'TIPDATETIMEDISPLAY' ); ?>
			<?php echo JText::_( ' - ' );?>
			<b><?php echo JHTML::_('date',  'now', JText::_('DATE_FORMAT_LC2')); ?></b>
			</td>
		</tr>
		</tbody>
	</table>
</fieldset>

Locked

Return to “Feature Requests - White Papers - Archived”