]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
wrapped the submit button in diagnostics plugin with a <p> so the bottom doesn't...
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 13 Mar 2011 18:14:31 +0000 (18:14 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 13 Mar 2011 18:14:31 +0000 (18:14 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8687 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/diagnostics/views/default/admin/utilities/diagnostics.php
mod/diagnostics/views/default/diagnostics/forms/download.php [deleted file]

index c17e67c28f2009b1de89ef94110ba93aaa012064..76f12b0ae7a390c213bcadfaf3ed84c8649e9eee 100644 (file)
@@ -1,5 +1,7 @@
 <?php
-
+/**
+ * Diagnostics admin page
+ */
 
 $diagnostics_title = elgg_echo('diagnostics:report');
 $diagnostics = elgg_echo('diagnostics:description');
@@ -7,8 +9,8 @@ $diagnostics .= elgg_view_form('diagnostics/download');
 
 // unit tests
 $unit_tests_title = elgg_echo('diagnostics:unittester');
-$unit_tests .= "<p>" . elgg_echo('diagnostics:unittester:description') . "</p>";
-$unit_tests .= "<p>" . elgg_echo('diagnostics:unittester:warning') . "</p>";
+$unit_tests .= '<p>' . elgg_echo('diagnostics:unittester:description') . '</p>';
+$unit_tests .= '<p>' . elgg_echo('diagnostics:unittester:warning') . '</p>';
 
 if (elgg_get_config('debug')) {
        // create a button to run tests
@@ -17,14 +19,12 @@ if (elgg_get_config('debug')) {
                'href' => 'engine/tests/suite.php',
                'class' => 'elgg-button elgg-button-submit',
        );
-       $unit_tests .= elgg_view('output/url', $params);
+       $unit_tests .= '<p>' . elgg_view('output/url', $params) . '</p>';
 } else {
        // no tests when not in debug mode
        $unit_tests .= elgg_echo('diagnostics:unittester:debug');
 }
 
 // display admin body
-
 echo elgg_view_module('inline', $diagnostics_title, $diagnostics);
-
-echo elgg_view_module('inline', $unit_tests_title, $unit_tests);
\ No newline at end of file
+echo elgg_view_module('inline', $unit_tests_title, $unit_tests);
diff --git a/mod/diagnostics/views/default/diagnostics/forms/download.php b/mod/diagnostics/views/default/diagnostics/forms/download.php
deleted file mode 100644 (file)
index e80d42a..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-/**
- * Elgg diagnostics
- * 
- * @package ElggDiagnostics
- * 
- * @deprecated 1.8
- */
-
-elgg_deprecated_notice("Use elgg_view_form('diagnostics/download') instead of elgg_view('diagnostics/forms/download')", 1.8);
-
-echo elgg_view_form("diagnostics/download");