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 | /* |
---|
3 | Plugin Name: Upload Form |
---|
4 | Version: 2.0.a |
---|
5 | Description: A web uploader with "web sized" + thumbnail generation, multiple files, progress bar... |
---|
6 | Plugin URI: http://piwigo.org/ext/extension_view.php?eid=350 |
---|
7 | Author: plg |
---|
8 | Author URI: http://piwigo.wordpress.com |
---|
9 | */ |
---|
10 | |
---|
11 | if (!defined('PHPWG_ROOT_PATH')) |
---|
12 | { |
---|
13 | die('Hacking attempt!'); |
---|
14 | } |
---|
15 | |
---|
16 | define('UPLOAD_FORM_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); |
---|
17 | |
---|
18 | /* Plugin admin */ |
---|
19 | add_event_handler('get_admin_plugin_menu_links', 'upload_form_admin_menu'); |
---|
20 | |
---|
21 | function 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.