aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/settings/photos/server_config.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/admin/settings/photos/server_config.php')
-rw-r--r--views/default/admin/settings/photos/server_config.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/default/admin/settings/photos/server_config.php b/views/default/admin/settings/photos/server_config.php
new file mode 100644
index 000000000..8268b646a
--- /dev/null
+++ b/views/default/admin/settings/photos/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);