diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-14 23:53:30 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-14 23:53:30 +0000 |
commit | db7e60da32e3feba918cc819a1ef8fada6aec02a (patch) | |
tree | c29e16d739ae9696620c8a2782ceeb13895bf274 /core/controllers/welcome.php | |
parent | c46bd97407e2eef500fa224ef7593193e3da6d18 (diff) |
Change the watermark module to use forge.
Also the watermark file is now stored in varpath.
and the location is stored in the module vars table
Diffstat (limited to 'core/controllers/welcome.php')
-rw-r--r-- | core/controllers/welcome.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php index 3b00a1b8..9e6f9542 100644 --- a/core/controllers/welcome.php +++ b/core/controllers/welcome.php @@ -36,9 +36,7 @@ class Welcome_Controller extends Template_Controller { $this->template->album_tree = $this->_load_album_tree(); $this->template->add_photo_html = $this->_get_add_photo_html(); if (module::is_installed("watermark")) { -// $this->template->add_watermark_html = $this->_get_add_watermark_html(); - $this->template->add_watermark_html = new View("watermark_add_form.html"); - $this->template->add_watermark_html->fields = array("file" => ""); + $this->template->add_watermark_html = $this->_get_add_watermark_html(); } else { $this->template->add_watermark_html = ""; } |