aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics/views/default
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-12 18:35:03 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-12 18:35:03 +0000
commit116ff3ae92e54c1de9b30344e0417fb87d08175d (patch)
tree789c86df03046eda119fffcc967656721a6a3162 /mod/diagnostics/views/default
parentc71cfb0a82b4e2d0a1395ba9d3d96b4f9d6a1ebd (diff)
downloadelgg-116ff3ae92e54c1de9b30344e0417fb87d08175d.tar.gz
elgg-116ff3ae92e54c1de9b30344e0417fb87d08175d.tar.bz2
Closes #232: Produces a basic report plus checksums of all files in md5sum format.
To add extra information to this report add a plugin hook listening to: 'diagnostics:report' And append to $returnvalue which is a simple text buffer. git-svn-id: https://code.elgg.org/elgg/trunk@1863 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/diagnostics/views/default')
-rw-r--r--mod/diagnostics/views/default/diagnostics/forms/download.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/mod/diagnostics/views/default/diagnostics/forms/download.php b/mod/diagnostics/views/default/diagnostics/forms/download.php
new file mode 100644
index 000000000..dcb11d5f1
--- /dev/null
+++ b/mod/diagnostics/views/default/diagnostics/forms/download.php
@@ -0,0 +1,15 @@
+<?php
+ /**
+ * Elgg diagnostics
+ *
+ * @package ElggDiagnostics
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
+
+ $form_body = elgg_view('input/submit', array('value' => elgg_echo('diagnostics:download')));
+
+ echo elgg_view('input/form', array('body' => $form_body, 'action' => $CONFIG->url . "actions/diagnostics/download"))
+?> \ No newline at end of file