diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-07-14 10:40:14 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-07-14 10:40:14 -0400 |
commit | e9f0301ba2235d3b8a5f3e7b40c6e98f64edcc0a (patch) | |
tree | f0ede96ec27c48bd33c8b95a693c53d1cd9a7fe5 /views/default/admin/settings/tidypics/server_config.php | |
parent | 8d3f4e55c765781824902f763ab499d49d3ce430 (diff) | |
download | elgg-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.php | 14 |
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); |