Location: PHPKode > projects > osSchool > osschool/include/langSelect.php
<?php
/*
    osSchool - http://www.osschoolonline.net/
    Copyright (C) 2006  Julian Young 

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
    
*/
?>
  <input name="<?php echo ACTION_KEY; ?>" type="hidden" value="<?php echo ACTION_SET_LANG; ?>" >
  
 <table cellspacing="0"  cellpadding="0" border="0" height="100%" width="100%">
<tr>
  <td valign="middle" align="center" >
  <table cellspacing="0"  cellpadding="0"  >
  <tr><td colspan="2" class="titleCell"><p><!--?php echo TEXT_SCHOOLNAME;?--></p></td>
  <tr><td  colspan="2" ><img src=trans_pixel.gif height="5" ></td>
  <tr><td class="box1TopCell"  colspan="2" ><p align='center'>&nbsp;&nbsp;</p></td></tr>
  <tr><td class="box1MiddleCell" valign="middle" align="center" colspan="2" >
   <table border="0"  cellspacing="2"  cellpadding="0"  >
   <tr><td class="box1Cell">&nbsp;<INPUT TYPE="RADIO" VALUE="zh" name="lang" ALIGN="MIDLE" TITLE="<?php echo TEXT_DONT_TRANSLATE_CHINESE; ?>">&nbsp;</td><td width="275" class="box1Cell">&nbsp;<?php echo TEXT_DONT_TRANSLATE_CHINESE; ?></td></tr>
   <tr><td class="box1Cell">&nbsp;<INPUT TYPE="RADIO" VALUE="nl" name="lang" ALIGN="MIDLE" TITLE="<?php echo TEXT_DONT_TRANSLATE_DUTCH; ?>">&nbsp;</td><td class="box1Cell">&nbsp;<?php echo TEXT_DONT_TRANSLATE_DUTCH; ?></td></tr>
   <tr><td class="box1Cell">&nbsp;<INPUT TYPE="RADIO" VALUE="en" name="lang" ALIGN="MIDLE" TITLE="<?php echo TEXT_DONT_TRANSLATE_ENGLISH; ?>">&nbsp;</td><td class="box1Cell">&nbsp;<?php echo TEXT_DONT_TRANSLATE_ENGLISH; ?></td></tr>
   <tr><td class="box1Cell">&nbsp;<INPUT TYPE="RADIO" VALUE="fr" name="lang" ALIGN="MIDLE" TITLE="<?php echo TEXT_DONT_TRANSLATE_FRENCH; ?>">&nbsp;</td><td class="box1Cell">&nbsp;<?php echo TEXT_DONT_TRANSLATE_FRENCH; ?></td></tr>
   <tr><td class="box1Cell">&nbsp;<INPUT TYPE="RADIO" VALUE="es" name="lang" ALIGN="MIDLE" TITLE="<?php echo TEXT_DONT_TRANSLATE_SPANISH; ?>">&nbsp;</td><td class="box1Cell">&nbsp;<?php echo TEXT_DONT_TRANSLATE_SPANISH; ?></td></tr>
   </table>
   </td></tr>
   <tr><td class="box1BottomCell" colspan="2" ><p>&nbsp;</p></td></tr>
  <tr>
  <td  align="left" class="controls"  >
  <div class="" align="left" valign="middle" >
  
  </div>
  </td><td  align="right" valign="middle" class="controls"  >
  <table cellspacing="5">
     <tr>
      <td class="perspective" height="20" onClick="formSubmit('langForm');return true;"  onMouseOver="setCellMouseOver(this,'8c92ac');" onMouseOut="setCellMouseOut(this,'6C7B8B');"><p >&nbsp;&nbsp;<?php echo TEXT_CONTROLS_SELECT;?>&nbsp;&nbsp;</p></td>
     </tr>
  </table>
<tr>
</table>
 
Return current item: osSchool