From 5e9bbbe490e40da103e0a7960312ab1c814dafa3 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 20 Nov 2009 19:41:45 -0800 Subject: Convert the Simple Uploader form over to Forge, and use the event model to let the Tags module modify it. This brings it inline with our other module-extensible form based interactions. --- modules/gallery/views/form_uploadify.html.php | 123 ++++++++++++++++ .../gallery/views/form_uploadify_buttons.html.php | 8 ++ modules/gallery/views/simple_uploader.html.php | 160 --------------------- 3 files changed, 131 insertions(+), 160 deletions(-) create mode 100644 modules/gallery/views/form_uploadify.html.php create mode 100644 modules/gallery/views/form_uploadify_buttons.html.php delete mode 100644 modules/gallery/views/simple_uploader.html.php (limited to 'modules/gallery/views') diff --git a/modules/gallery/views/form_uploadify.html.php b/modules/gallery/views/form_uploadify.html.php new file mode 100644 index 00000000..7448db84 --- /dev/null +++ b/modules/gallery/views/form_uploadify.html.php @@ -0,0 +1,123 @@ + + + + + + + + + + +
+

+ +

+ +
+ +
+ + +
+
+ +
diff --git a/modules/gallery/views/form_uploadify_buttons.html.php b/modules/gallery/views/form_uploadify_buttons.html.php new file mode 100644 index 00000000..d88bb6aa --- /dev/null +++ b/modules/gallery/views/form_uploadify_buttons.html.php @@ -0,0 +1,8 @@ + + + + diff --git a/modules/gallery/views/simple_uploader.html.php b/modules/gallery/views/simple_uploader.html.php deleted file mode 100644 index d23b89e0..00000000 --- a/modules/gallery/views/simple_uploader.html.php +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - -
"> -
- - html::purify($item->title))) ?> - -
-
- -
    -
  • - suhosin.session.encrypt setting from Suhosin. You must disable this setting to upload photos.", - array("encrypt_url" => "http://www.hardened-php.net/suhosin/configuration.html#suhosin.session.encrypt", - "suhosin_url" => "http://www.hardened-php.net/suhosin/")) ?> -
  • -
- - -
-

- -

-
    - parents() as $i => $parent): ?> - > title) ?> - -
  • title) ?>
  • -
-
- -
- - -
-
-
    -
-
- - -
- - -
- - - - - -
-
-- cgit v1.2.3