summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/controllers/welcome.php6
-rw-r--r--core/views/welcome.html.php7
2 files changed, 0 insertions, 13 deletions
diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php
index 3f70e1dc..b5215a02 100644
--- a/core/controllers/welcome.php
+++ b/core/controllers/welcome.php
@@ -35,18 +35,12 @@ class Welcome_Controller extends Template_Controller {
->where("type", "photo")->orderby("level", "desc")->find();
$this->template->album_tree = $this->_load_album_tree();
$this->template->add_photo_html = $this->_get_add_photo_html();
- if (module::is_installed("local_import")) {
- $this->template->local_import_html = $this->_get_local_import_html();
- } else {
- $this->template->local_import_html = "";
- }
} catch (Exception $e) {
$this->template->album_count = 0;
$this->template->photo_count = 0;
$this->template->deepest_photo = null;
$this->template->album_tree = array();
$this->template->add_photo_html = "";
- $this->template->local_import_html = "";
}
$this->_load_user_info();
diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php
index d412d119..360dc1ec 100644
--- a/core/views/welcome.html.php
+++ b/core/views/welcome.html.php
@@ -157,9 +157,6 @@
<?= html::script("lib/jquery.form.js") ?>
<?= html::script("lib/jquery.cookie.js") ?>
<?= html::script("lib/jquery.MultiFile.js") ?>
- <? if (class_exists("local_import_block")): ?>
- <?= local_import_block::head(null) ?>
- <? endif ?>
<? if (class_exists("rearrange_block")): ?>
<?= rearrange_block::head(null) ?>
<? endif ?>
@@ -264,10 +261,6 @@
</p>
<?= $add_photo_html ?>
<fieldset>
- <legend>Local Server Import Admininstration</legend>
- <?= $local_import_html ?>
- </fieldset>
- <fieldset>
<legend>Server Side Photos</legend>
<form method="post" action="<?= url::site("welcome/add_photos") ?>">
<input type="submit" value="upload"/>