aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/settings/photos/help.php
diff options
context:
space:
mode:
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);