| 1 |
|
<?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?> |
| 2 |
|
<style type="text/css"> |
| 3 |
|
.sortbutton { |
| 4 |
|
border-top : solid 1px #3872B2; |
| 5 |
|
border-right : solid 1px #3872B2; |
| 6 |
|
border-bottom : solid 1px #3872B2; |
| 7 |
|
border-left : solid 1px #fff; |
| 8 |
|
background-color : #3872B2; |
| 9 |
|
color : #FFF; |
| 10 |
|
font-weight : bold; |
| 11 |
|
height : 2em; |
| 12 |
|
width : 100%; |
| 13 |
|
font-size : .9em; |
| 14 |
|
cursor: pointer; |
| 15 |
|
} |
| 16 |
|
</style> |
| 17 |
|
|
| 18 |
|
<?php if (isset($mosmsg)) : ?><div class="message"><?php echo $mosmsg ?></div> <?php endif; ?> |
| 19 |
<form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post" name="adminForm"> |
<form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post" name="adminForm"> |
| 20 |
<input type="hidden" name="option" value="com_languages" /> |
<input type="hidden" name="option" value="com_languages" /> |
| 21 |
<input type="hidden" name="task" value="" /> |
<input type="hidden" name="task" value="<?php echo $task ?>" /> |
| 22 |
|
<input type="hidden" name="act" value="<?php echo $act ?>" /> |
| 23 |
<input type="hidden" name="hidemainmenu" value="0" /> |
<input type="hidden" name="hidemainmenu" value="0" /> |
| 24 |
<input type="hidden" name="boxchecked" value="0" /> |
<input type="hidden" name="boxchecked" value="0" /> |
| 25 |
|
|
| 26 |
<?php echo $content; ?> |
<table class="adminheading"> |
| 27 |
|
<tr> |
| 28 |
|
<th class="langmanager"> |
| 29 |
|
<?php echo isset($header) ? $header : T_('Mambo Language Editor') ?> |
| 30 |
|
</th> |
| 31 |
|
<td> |
| 32 |
|
<?php if ($task == 'index'): ?> |
| 33 |
|
<select name="setLanguage" class="inputbox" size="1" onchange="document.adminForm.submit();"> |
| 34 |
|
<option value="en"><?php echo T_('Select Language') ?></option> |
| 35 |
|
<?php foreach ($languages as $name => $obj): ?> |
| 36 |
|
<option value="<?php echo $name.'"';?> <?php echo $setLanguage==$name?' selected="selected"':''?>><?php echo $obj->title; if (!empty($obj->territory)) echo ' ('.$obj->territory.')' ?></option> |
| 37 |
|
<?php endforeach; ?> |
| 38 |
|
</select> |
| 39 |
|
<?php endif;/**/ ?> |
| 40 |
|
</td> |
| 41 |
|
</tr> |
| 42 |
|
</table> |
| 43 |
|
<br /> |
| 44 |
|
<?php echo isset($content) ? $content : 'No content to display.'; ?> |
| 45 |
</form> |
</form> |