From f8a0c91ce689c5e0ae7bf05cc75b9982a3b26baf Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 17 Dec 2008 01:26:40 +0000 Subject: Drag & Drop the watermark now works and so does the dropdown box. The target image is divided into a 3x3 quadrant referenced as: northwest, north, northeast, west, center, east, southeast, south, southwest. Similiar to the imagemagik garvities. Currently the watermark is placed in the left top of the particular quadrant. --- modules/watermark/helpers/watermark.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/watermark/helpers/watermark.php') diff --git a/modules/watermark/helpers/watermark.php b/modules/watermark/helpers/watermark.php index ce2d5e0b..9fb03ecd 100644 --- a/modules/watermark/helpers/watermark.php +++ b/modules/watermark/helpers/watermark.php @@ -29,8 +29,7 @@ class watermark_Core { public static function get_watermark_postion_form($position="southeast") { $form = new Forge("admin/watermark/position", "", "post"); $group = $form->group("watermark_position")->label(_("Update Position")); - $group->hidden("original_position")->value($position); - $group->dropdown("new_position")->label(_("Watermark Position")) + $group->dropdown("position")->label(_("Watermark Position")) ->options(array("northwest", "north", "northeast", "west", "center", "east", "southwest", "south", "southeast")) -- cgit v1.2.3