aboutsummaryrefslogtreecommitdiff
path: root/views/failsafe/install/nav.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-05 10:53:40 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-05 10:53:40 +0000
commit7f01270ba106937300cf491927839d3428360d0a (patch)
tree589b179f84b2fb8d8c229099d0b9f6d3ece682ea /views/failsafe/install/nav.php
parentf1c75074c96f8c8f144bc132f75443dd8502c440 (diff)
downloadelgg-7f01270ba106937300cf491927839d3428360d0a.tar.gz
elgg-7f01270ba106937300cf491927839d3428360d0a.tar.bz2
moved installation to its own viewtype
git-svn-id: http://code.elgg.org/elgg/trunk@7010 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/failsafe/install/nav.php')
-rw-r--r--views/failsafe/install/nav.php35
1 files changed, 0 insertions, 35 deletions
diff --git a/views/failsafe/install/nav.php b/views/failsafe/install/nav.php
deleted file mode 100644
index d6a20ea2b..000000000
--- a/views/failsafe/install/nav.php
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-/**
- * Navigation for installation pages
- *
- * @uses $vars['url'] base url of site
- * @uses $vars['next_step'] next step as string
- * @uses $vars['refresh'] should refresh button be shown?
- * @uses $vars['advance'] should the next button be active?
- */
-
-
-// has a refresh button been requested
-$refresh = '';
-if (isset($vars['refresh']) && $vars['refresh']) {
- $refresh_text = elgg_echo('Refresh');
- $refresh = "<a href=\"\">$refresh_text</a>";
-}
-
-// create next button and selectively disable
-$next_text = elgg_echo('next');
-$next_link = "{$vars['url']}install.php?step={$vars['next_step']}";
-$next = "<a href=\"$next_link\" disable=\"disable\">$next_text</a>";
-if (isset($vars['advance']) && !$vars['advance']) {
- // disable the next button
- $next = "<a class=\"disabled\">$next_text</a>";
-}
-
-
-echo <<<___END
-<div class="install_nav">
- $next
- $refresh
-</div>
-
-___END;