source: trunk/plugins/LocalFilesEditor/main.inc.php @ 2291

Last change on this file since 2291 was 2291, checked in by patdenice, 17 years ago

Add editarea to LocalFiles Editor.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
RevLine 
[2235]1<?php
2/*
3Plugin Name: LocalFiles Editor
[2243]4Version: 1.8
5Description: Edit local files from administration panel / Editeur de fichiers locaux
6Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=144
[2235]7Author: PhpWebGallery team
8Author URI: http://www.phpwebgallery.net
9*/
10// +-----------------------------------------------------------------------+
11// | PhpWebGallery - a PHP based picture gallery                           |
12// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
13// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
14// +-----------------------------------------------------------------------+
15// | file          : $Id: main.inc.php 2291 2008-03-25 23:30:23Z patdenice $
16// | last update   : $Date: 2008-03-25 23:30:23 +0000 (Tue, 25 Mar 2008) $
17// | last modifier : $Author: patdenice $
18// | revision      : $Revision: 2291 $
19// +-----------------------------------------------------------------------+
20// | This program is free software; you can redistribute it and/or modify  |
21// | it under the terms of the GNU General Public License as published by  |
22// | the Free Software Foundation                                          |
23// |                                                                       |
24// | This program is distributed in the hope that it will be useful, but   |
25// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
26// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
27// | General Public License for more details.                              |
28// |                                                                       |
29// | You should have received a copy of the GNU General Public License     |
30// | along with this program; if not, write to the Free Software           |
31// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
32// | USA.                                                                  |
33// +-----------------------------------------------------------------------+
34
35if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
36define('LOCALEDIT_PATH' , PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/');
37
38function localfiles_admin_menu($menu)
39{
[2291]40    array_push($menu, array(
41      'NAME' => 'LocalFiles Editor',
42      'URL' => get_admin_plugin_menu_link(LOCALEDIT_PATH . 'admin.php')));
[2235]43    return $menu;
44}
45
46add_event_handler('get_admin_plugin_menu_links', 'localfiles_admin_menu');
47
48?>
Note: See TracBrowser for help on using the repository browser.