| 4 |
* @author Mambo Foundation Inc see README.php |
* @author Mambo Foundation Inc see README.php |
| 5 |
* @copyright Mambo Foundation Inc. |
* @copyright Mambo Foundation Inc. |
| 6 |
* See COPYRIGHT.php for copyright notices and details. |
* See COPYRIGHT.php for copyright notices and details. |
| 7 |
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see |
* @license GNU/GPL Version 2, see LICENSE.php |
|
* LICENSE.php |
|
| 8 |
* Mambo is free software; you can redistribute it and/or |
* Mambo is free software; you can redistribute it and/or |
| 9 |
* modify it under the terms of the GNU General Public License |
* modify it under the terms of the GNU General Public License |
| 10 |
* as published by the Free Software Foundation; version 2 of the |
* as published by the Free Software Foundation; version 2 of the License. |
|
* License. |
|
| 11 |
*/ |
*/ |
| 12 |
|
|
| 13 |
/** |
/** |
| 27 |
echo '<tr>'; |
echo '<tr>'; |
| 28 |
echo '<td class="item">' . $folder . '/</td>'; |
echo '<td class="item">' . $folder . '/</td>'; |
| 29 |
echo '<td align="left">'; |
echo '<td align="left">'; |
| 30 |
echo is_writable( "../$folder" ) ? '<b><span class="green">'.T_('Writeable').'</span></b>' : '<b><span class="red">'.T_('Unwriteable').'</span></b>' . '</td>'; |
echo is_writable( "../$folder" ) ? '<strong><span class="green">'.T_('Writeable').'</span></strong>' : '<strong><span class="red">'.T_('Unwriteable').'</span></strong>' . '</td>'; |
| 31 |
echo '</tr>'; |
echo '</tr>'; |
| 32 |
} |
} |
| 33 |
|
|
| 323 |
// random number |
// random number |
| 324 |
$rand = rand( 1, 100000 ); |
$rand = rand( 1, 100000 ); |
| 325 |
|
|
| 326 |
$replacement = "\n<script language='JavaScript' type='text/javascript'> \n"; |
$replacement = "\n<script type='text/javascript'> \n"; |
| 327 |
$replacement .= "<!-- \n"; |
$replacement .= "<!-- \n"; |
| 328 |
$replacement .= "var prefix = 'ma' + 'il' + 'to'; \n"; |
$replacement .= "var prefix = 'ma' + 'il' + 'to'; \n"; |
| 329 |
$replacement .= "var path = 'hr' + 'ef' + '='; \n"; |
$replacement .= "var path = 'hr' + 'ef' + '='; \n"; |
| 416 |
|
|
| 417 |
function menuLinksContent( &$menus ) { |
function menuLinksContent( &$menus ) { |
| 418 |
?> |
?> |
| 419 |
<script language="javascript" type="text/javascript"> |
<script type="text/javascript"> |
| 420 |
function go2( pressbutton, menu, id ) { |
function go2( pressbutton, menu, id ) { |
| 421 |
var form = document.adminForm; |
var form = document.adminForm; |
| 422 |
|
|
| 495 |
|
|
| 496 |
function menuLinksSecCat( &$menus ) { |
function menuLinksSecCat( &$menus ) { |
| 497 |
?> |
?> |
| 498 |
<script language="javascript" type="text/javascript"> |
<script type="text/javascript"> |
| 499 |
function go2( pressbutton, menu, id ) { |
function go2( pressbutton, menu, id ) { |
| 500 |
var form = document.adminForm; |
var form = document.adminForm; |
| 501 |
|
|
| 602 |
*/ |
*/ |
| 603 |
function loadOverlib() { |
function loadOverlib() { |
| 604 |
?> |
?> |
| 605 |
<script language="Javascript" src="<?php echo mamboCore::get('mosConfig_live_site');?>/includes/js/overlib_mini.js"></script> |
<script type="text/javascript" src="<?php echo mamboCore::get('mosConfig_live_site');?>/includes/js/overlib_mini.js"></script> |
| 606 |
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:10000;"></div> |
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:10000;"></div> |
| 607 |
<?php |
<?php |
| 608 |
} |
} |