View of /mambo/branches/4.6/administrator/components/com_languages/views/templates/languages.tpl.php
Parent Directory
|
Revision Log
Revision 971 -
(download)
(annotate)
Tue Feb 6 13:01:13 2007 UTC (6 years, 3 months ago) by elpie
File size: 2498 byte(s)
Tue Feb 6 13:01:13 2007 UTC (6 years, 3 months ago) by elpie
File size: 2498 byte(s)
!more copyright corrections
<?php /** * @package Mambo * @subpackage Languages * @copyright Refer to copyright.php * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @author Mambo Foundation Inc see README.php */ defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?> <script type="text/javascript"> function submitbutton(pressbutton) { var form = document.adminForm; if (pressbutton == 'remove') { if (getSelectedRadio('adminForm','lang') == "en") { alert( "<?php echo T_('You cannot delete English.') ?>" ); } else { submitform( pressbutton ); } } else if (pressbutton == 'translate') { if (getSelectedRadio('adminForm','lang') == "en") { alert( "<?php echo T_('You cannot translate default 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 |

