[ Index ]

PHP Cross Reference of Mambo 4.6.5

[ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/administrator/components/com_languages/views/templates/ -> form.tpl.php (source)

   1  <?php 
   2  /**
   3  * @package Mambo
   4  * @subpackage Languages
   5  * @author Mambo Foundation Inc see README.php
   6  * @copyright (C) 2000 - 2009 Mambo Foundation Inc.
   7  * See COPYRIGHT.php for copyright notices and details.
   8  * @license GNU/GPL Version 2, see LICENSE.php
   9  *
  10  * Redistributions of files must retain the above copyright notice.
  11  *
  12  * Mambo is free software; you can redistribute it and/or
  13  * modify it under the terms of the GNU General Public License
  14  * as published by the Free Software Foundation; version 2 of the License.
  15  */
  16  
  17  defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?>
  18  <style type="text/css">
  19  .sortbutton {
  20      border-top : solid 1px #3872B2;
  21      border-right : solid 1px #3872B2;
  22      border-bottom : solid 1px #3872B2;
  23      border-left : solid 1px #fff;
  24      background-color : #3872B2;
  25      color : #FFF;
  26      font-weight : bold;
  27      height : 2em;
  28      width : 100%;
  29      font-size : .9em;
  30      cursor: pointer;
  31  }
  32  </style>
  33  <style type="text/css">
  34  table.adminlist th {text-align:left;   
  35                      margin: 0px;
  36                      padding: 0px;
  37                      height: 25px;
  38                      font-size: 11px;
  39                      color: #ffffff;
  40                     }
  41  </style>
  42  <script type="text/javascript" src="<?php echo mamboCore::get('mosConfig_live_site');?>/administrator/components/com_languages/tables.js"></script>
  43  
  44  <?php if (isset($mosmsg)) : ?><div class="message"><?php echo $mosmsg ?></div> <?php endif; ?>
  45  <form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post" name="adminForm">
  46  <input type="hidden" name="option" value="com_languages" />
  47  <input type="hidden" name="task" value="<?php echo $task ?>" />
  48  <input type="hidden" name="act" value="<?php echo $act ?>" />
  49  <input type="hidden" name="hidemainmenu" value="0" />
  50  <input type="hidden" name="boxchecked" value="0" />
  51  
  52  <table class="adminheading">
  53      <tr>
  54          <th class="langmanager">
  55          <?php echo isset($header) ? $header : T_('Mambo Language Editor') ?>
  56          </th> 
  57          <?php /*<!-- 
  58          <td>
  59          <?php if ($task == 'index'): ? >
  60             <select name="lang" class="inputbox" size="1" onchange="document.adminForm.submit();">
  61                  <option value="en">< ?php echo T_('Select Language') ? ></option>                
  62              < ?php foreach ($languages as $name => $obj): ? >        
  63              <option value="< ?php echo $name.'"';? > < ?php echo $lang==$name?' selected="selected"':''? >>< ?php echo $obj->title; if (!empty($obj->territory)) echo ' ('.$obj->territory.')' ?></option>  
  64              < ?php endforeach; ? >
  65             </select>
  66         < ?php endif; ? > 
  67         </td> -->
  68         <?php */ ?>
  69      </tr>
  70  </table>
  71  <br />
  72  <?php echo isset($content) ? $content : T_('No content to display.'); ?>
  73  </form>