aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/settings/photos/help.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-14 12:49:21 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-14 12:49:21 -0400
commitf7f38da31ca53c25775d1a28668a1dd9aefd5277 (patch)
tree7d5512e5db79ab8ca589c90978e4a9052fbec70f /views/default/admin/settings/photos/help.php
parente52870068d67a2360769f76a13d35318a8ec14ef (diff)
downloadelgg-f7f38da31ca53c25775d1a28668a1dd9aefd5277.tar.gz
elgg-f7f38da31ca53c25775d1a28668a1dd9aefd5277.tar.bz2
cleaning up the admin area
Diffstat (limited to 'views/default/admin/settings/photos/help.php')
-rw-r--r--views/default/admin/settings/photos/help.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/default/admin/settings/photos/help.php b/views/default/admin/settings/photos/help.php
new file mode 100644
index 000000000..c3ac2477e
--- /dev/null
+++ b/views/default/admin/settings/photos/help.php
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Tidypics Help
+ *
+ */
+
+elgg_load_library('elgg:markdown');
+
+$faq = elgg_get_plugins_path() . 'tidypics/FAQ.txt';
+$text = Markdown(file_get_contents($faq));
+
+$content = "<div class=\"elgg-markdown\">$text</div>";
+
+echo elgg_view_module('inline', elgg_echo('tidypics:settings:help'), $content);