source: extensions/upload_form/main.inc.php @ 27776

Last change on this file since 27776 was 4897, checked in by plg, 15 years ago

feature 1409 added: new tab "Settings".

Note: I would have like to use jQuery UI sliders for resize dimensions and
image quality BUT I can't even find the documentation of the very old version
of jQuery UI we use. I'll implement theses widget when integrating UploadForm
into trunk (with jQuery + jQuery UI updated).

File size: 729 bytes
Line 
1<?php
2/*
3Plugin Name: Upload Form
4Version: 2.0.a
5Description: A web uploader with "web sized" + thumbnail generation, multiple files, progress bar...
6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=350
7Author: plg
8Author URI: http://piwigo.wordpress.com
9*/
10
11if (!defined('PHPWG_ROOT_PATH'))
12{
13  die('Hacking attempt!');
14}
15
16define('UPLOAD_FORM_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
17
18/* Plugin admin */
19add_event_handler('get_admin_plugin_menu_links', 'upload_form_admin_menu');
20
21function upload_form_admin_menu($menu)
22{
23  array_push(
24    $menu,
25    array(
26      'NAME' => 'Upload Form',
27      'URL'  => get_admin_plugin_menu_link(dirname(__FILE__).'/base.php')
28      )
29    );
30
31  return $menu;
32}
33?>
Note: See TracBrowser for help on using the repository browser.