summaryrefslogtreecommitdiff
path: root/core/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-12-11 17:20:55 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-12-11 17:20:55 +0000
commite1f2a5d4e60f431e0a94c998afc026f1136fb26b (patch)
tree76d05837701cbe78a6a2b3a845fd05cf971f4693 /core/views
parent773d7024eb57765822e345380be7682ce5f14d17 (diff)
1) Begins the creation of the local import module by adding the administation component to the scaffolding Actions tab. The importing functionality will follow shortly.
2) Defines a routining pattern for module administration controllers. URI's of the form admin/module/method/parameters gets remapped into module_admin/method/parameters. This will result in the lookup of the the controller Module_Admin_Controller
Diffstat (limited to 'core/views')
-rw-r--r--core/views/welcome.html.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php
index 47d9bd84..c8352592 100644
--- a/core/views/welcome.html.php
+++ b/core/views/welcome.html.php
@@ -148,11 +148,18 @@
margin-left: -1.5em;
list-style-type: none;
}
+
+ .gHide {
+ display: none;
+ }
</style>
<?= html::script("lib/jquery.js") ?>
<?= 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 ?>
@@ -257,6 +264,10 @@
</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"/>