aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/settings/tidypics/help.php
blob: c3ac2477eb5c838eaa781ec7182162bdaa0dbc2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);