Diff of /mambo/branches/4.6/administrator/components/com_menus/weblink_category_table/weblink_category_table.class.php
Parent Directory
|
Revision Log
|
Patch
| revision 138, Mon Jan 16 11:12:43 2006 UTC | revision 948, Fri Feb 2 05:02:04 2007 UTC | |
|---|---|---|
| # | Line 1 | Line 1 |
| 1 | <?php | <?php |
| 2 | /** | /** |
| 3 | * @version $Id: weblink_category_table.class.php,v 1.1 2005/07/22 01:53:12 eddieajau Exp $ | * @package Mambo Open Source |
| * @package Mambo | ||
| 4 | * @subpackage Menus | * @subpackage Menus |
| 5 | * @copyright (C) 2000 - 2005 Miro International Pty Ltd | * @copyright Refer to copyright.php |
| 6 | * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL | * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL |
| 7 | * | |
| 8 | * Mambo was originally developed by Miro (www.miro.com.au) in 2000. Miro assigned the copyright in Mambo to The Mambo Foundation in 2005 to ensure | |
| 9 | * that Mambo remained free Open Source software owned and managed by the community. | |
| 10 | * Mambo is Free Software | * Mambo is Free Software |
| 11 | */ | */ |
| 12 | ||
| 13 | /** ensure this file is being included by a parent file */ | /** ensure this file is being included by a parent file */ |
| 14 | defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); | defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); |
| 15 | ||
| /** | ||
| * @package Mambo | ||
| * @subpackage Menus | ||
| */ | ||
| 16 | class weblink_category_table_menu { | class weblink_category_table_menu { |
| 17 | ||
| 18 | /** | /** |
| # | Line 30 | Line 28 |
| 28 | ||
| 29 | // fail if checked out not by 'me' | // fail if checked out not by 'me' |
| 30 | if ($menu->checked_out && $menu->checked_out <> $my->id) { | if ($menu->checked_out && $menu->checked_out <> $my->id) { |
| 31 | echo "<script>alert('The module $menu->title is currently being edited by another administrator'); document.location.href='index2.php?option=$option'</script>\n"; | echo "<script>alert('".sprintf(T_('The module % is currently being edited by another administrator'), $menu->title)."'); document.location.href='index2.php?option=$option'</script>\n"; |
| 32 | exit(0); | exit(0); |
| 33 | } | } |
| 34 |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

