summaryrefslogtreecommitdiff
path: root/modules/watermark/helpers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-12-17 01:26:40 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-12-17 01:26:40 +0000
commitf8a0c91ce689c5e0ae7bf05cc75b9982a3b26baf (patch)
treec385a5aeb960472a33b5871a0b06bc93fa62de86 /modules/watermark/helpers
parent9fa566a1c9d88436df6c1de2902f0e3d01b42f21 (diff)
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.
Diffstat (limited to 'modules/watermark/helpers')
-rw-r--r--modules/watermark/helpers/watermark.php3
1 files changed, 1 insertions, 2 deletions
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"))