View of /mambo/branches/4.6/administrator/components/com_languages/views/templates/languages.tpl.php
Parent Directory
|
Revision Log
Revision 861 -
(download)
(annotate)
Tue Jan 2 19:16:35 2007 UTC (6 years, 4 months ago) by andphe
File size: 2005 byte(s)
Tue Jan 2 19:16:35 2007 UTC (6 years, 4 months ago) by andphe
File size: 2005 byte(s)
en vs english fixed
<script type="text/javascript">
function submitbutton(pressbutton) {
var form = document.adminForm;
if (pressbutton == 'remove') {
if (form.lang.value == "en") {
alert( "<?php echo T_('You cannot delete English.') ?>" );
} else {
submitform( pressbutton );
}
} else {
submitform( pressbutton );
}
}
</script>
<table class="adminlist" id="lang_table" cellpadding="3" cellspacing="0" width="80%">
<thead>
<tr>
<th style="width:10px"> </th>
<th><?php echo T_('Language') ?></th>
<th><?php echo T_('Country - Region') ?></th>
<th><?php echo T_('Default') ?></th>
<th><?php echo T_('Character Set') ?></th>
<th><?php echo T_('Version') ?></th>
<th><?php echo T_('Date') ?></th>
</tr>
</thead>
<tbody>
<?php for ($i=0, $n=count( $rows ); $i < $n; $i++) : $row = $rows[$i];?>
<tr id="<?php echo $i;?>">
<td style="width:10px">
<input type="radio" id="cb<?php echo $i;?>" name="lang" value="<?php echo $row->name; ?>" onClick="isChecked(this.checked);" />
</td>
<td>
<a href="#" onclick="hideMainMenu();return listItemTask('cb<?php echo $i;?>','edit')"><?php echo $row->title; ?></a>
</td>
<td>
<?php echo $row->territory ?>
</td>
<td>
<?php $default = (mamboCore::get('mosConfig_locale') == $row->name) ? 1 : 0; ?>
<a href="javascript: void(0);" onClick="return listItemTask('cb<?php echo $i;?>','default')">
<img src="images/<?php echo ( $default ) ? 'tick.png' : 'publish_x.png';?>" width="12" height="12" border="0" alt="<?php echo ( $default ) ? T_('Yes') : T_('No');?>" />
</a>
</td>
<td>
<?php echo $row->charset ?>
</td>
<td>
<?php echo $row->version; ?>
</td>
<td>
<?php echo $row->creationdate; ?>
</td>
</tr>
<?php endfor; ?>
</tbody>
</table>
<script type="text/javascript">
table = new Table('lang_table');
table.makeSortable(1,"null,str,null,str,str,date");
</script>| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

