From 7f01270ba106937300cf491927839d3428360d0a Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 5 Oct 2010 10:53:40 +0000 Subject: moved installation to its own viewtype git-svn-id: http://code.elgg.org/elgg/trunk@7010 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/failsafe/install/footer.php | 10 ------- views/failsafe/install/forms/admin.php | 21 --------------- views/failsafe/install/forms/database.php | 20 -------------- views/failsafe/install/forms/settings.php | 20 -------------- views/failsafe/install/forms/template.php | 27 ------------------- views/failsafe/install/header.php | 6 ----- views/failsafe/install/nav.php | 35 ------------------------ views/failsafe/install/pages/admin.php | 8 ------ views/failsafe/install/pages/complete.php | 14 ---------- views/failsafe/install/pages/database.php | 16 ----------- views/failsafe/install/pages/requirements.php | 39 --------------------------- views/failsafe/install/pages/settings.php | 5 ---- views/failsafe/install/pages/welcome.php | 8 ------ views/failsafe/install/sidebar.php | 26 ------------------ 14 files changed, 255 deletions(-) delete mode 100644 views/failsafe/install/footer.php delete mode 100644 views/failsafe/install/forms/admin.php delete mode 100644 views/failsafe/install/forms/database.php delete mode 100644 views/failsafe/install/forms/settings.php delete mode 100644 views/failsafe/install/forms/template.php delete mode 100644 views/failsafe/install/header.php delete mode 100644 views/failsafe/install/nav.php delete mode 100644 views/failsafe/install/pages/admin.php delete mode 100644 views/failsafe/install/pages/complete.php delete mode 100644 views/failsafe/install/pages/database.php delete mode 100644 views/failsafe/install/pages/requirements.php delete mode 100644 views/failsafe/install/pages/settings.php delete mode 100644 views/failsafe/install/pages/welcome.php delete mode 100644 views/failsafe/install/sidebar.php (limited to 'views/failsafe/install') diff --git a/views/failsafe/install/footer.php b/views/failsafe/install/footer.php deleted file mode 100644 index 69cd27f66..000000000 --- a/views/failsafe/install/footer.php +++ /dev/null @@ -1,10 +0,0 @@ - - \ No newline at end of file diff --git a/views/failsafe/install/forms/admin.php b/views/failsafe/install/forms/admin.php deleted file mode 100644 index ae83cadea..000000000 --- a/views/failsafe/install/forms/admin.php +++ /dev/null @@ -1,21 +0,0 @@ - $form_body, - 'action' => $url, - 'disable_security' => TRUE, -); -echo elgg_view('input/form', $params); diff --git a/views/failsafe/install/forms/database.php b/views/failsafe/install/forms/database.php deleted file mode 100644 index a3fa8dd65..000000000 --- a/views/failsafe/install/forms/database.php +++ /dev/null @@ -1,20 +0,0 @@ - $form_body, - 'action' => $url, - 'disable_security' => TRUE, -); -echo elgg_view('input/form', $params); diff --git a/views/failsafe/install/forms/settings.php b/views/failsafe/install/forms/settings.php deleted file mode 100644 index 67cba10f6..000000000 --- a/views/failsafe/install/forms/settings.php +++ /dev/null @@ -1,20 +0,0 @@ - $form_body, - 'action' => $url, - 'disable_security' => TRUE, -); -echo elgg_view('input/form', $params); diff --git a/views/failsafe/install/forms/template.php b/views/failsafe/install/forms/template.php deleted file mode 100644 index a2d93f42e..000000000 --- a/views/failsafe/install/forms/template.php +++ /dev/null @@ -1,27 +0,0 @@ - $params) { - $label = elgg_echo("installation:$type:label:$field"); - $help = elgg_echo("installation:$type:help:$field"); - $params['internalname'] = $field; - - $form_body .= '

'; - $form_body .= ""; - $form_body .= elgg_view("input/{$params['type']}", $params); - $form_body .= "$help"; - $form_body .= '

'; -} - -$form_body .= elgg_view('input/submit', array('value' => elgg_echo('next'))); - -echo $form_body; diff --git a/views/failsafe/install/header.php b/views/failsafe/install/header.php deleted file mode 100644 index d821e31e5..000000000 --- a/views/failsafe/install/header.php +++ /dev/null @@ -1,6 +0,0 @@ - -

Elgg

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 @@ -$refresh_text"; -} - -// create next button and selectively disable -$next_text = elgg_echo('next'); -$next_link = "{$vars['url']}install.php?step={$vars['next_step']}"; -$next = "$next_text"; -if (isset($vars['advance']) && !$vars['advance']) { - // disable the next button - $next = "$next_text"; -} - - -echo <<<___END -
- $next - $refresh -
- -___END; diff --git a/views/failsafe/install/pages/admin.php b/views/failsafe/install/pages/admin.php deleted file mode 100644 index 1fdd5dced..000000000 --- a/views/failsafe/install/pages/admin.php +++ /dev/null @@ -1,8 +0,0 @@ - - -
-Go to site"; -?> -
diff --git a/views/failsafe/install/pages/database.php b/views/failsafe/install/pages/database.php deleted file mode 100644 index 7765c6e48..000000000 --- a/views/failsafe/install/pages/database.php +++ /dev/null @@ -1,16 +0,0 @@ - $checks) { - $title = elgg_echo("install:require:$category"); - echo "

$title

"; - echo ""; -} - -$vars['refresh'] = TRUE; - -// cannot advance to next step with a failure -if ($vars['num_failures'] != 0) { - $vars['advance'] = FALSE; -} - -echo elgg_view('install/nav', $vars); diff --git a/views/failsafe/install/pages/settings.php b/views/failsafe/install/pages/settings.php deleted file mode 100644 index 6f20573ef..000000000 --- a/views/failsafe/install/pages/settings.php +++ /dev/null @@ -1,5 +0,0 @@ -'; -foreach ($steps as $index => $step) { - if ($index < $current_step_index) { - $class = 'past'; - } elseif ($index == $current_step_index) { - $class = 'present'; - } else { - $class = 'future'; - } - $text = elgg_echo("install:$step"); - echo "
  • $text
  • "; -} -echo ''; -- cgit v1.2.3