aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/settings/tidypics/server_config.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-14 10:40:14 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-14 10:40:14 -0400
commite9f0301ba2235d3b8a5f3e7b40c6e98f64edcc0a (patch)
treef0ede96ec27c48bd33c8b95a693c53d1cd9a7fe5 /views/default/admin/settings/tidypics/server_config.php
parent8d3f4e55c765781824902f763ab499d49d3ce430 (diff)
downloadelgg-e9f0301ba2235d3b8a5f3e7b40c6e98f64edcc0a.tar.gz
elgg-e9f0301ba2235d3b8a5f3e7b40c6e98f64edcc0a.tar.bz2
cleaned up the admin area of tidypics
Diffstat (limited to 'views/default/admin/settings/tidypics/server_config.php')
-rw-r--r--views/default/admin/settings/tidypics/server_config.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/default/admin/settings/tidypics/server_config.php b/views/default/admin/settings/tidypics/server_config.php
new file mode 100644
index 000000000..8268b646a
--- /dev/null
+++ b/views/default/admin/settings/tidypics/server_config.php
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Tidypics server configuration
+ *
+ */
+
+elgg_load_library('elgg:markdown');
+
+$faq = elgg_get_plugins_path() . 'tidypics/CONFIG.txt';
+$text = Markdown(file_get_contents($faq));
+
+$content = "<div class=\"elgg-markdown\">$text</div>";
+
+echo elgg_view_module('inline', elgg_echo('tidypics:server_config'), $content);