aboutsummaryrefslogtreecommitdiff
path: root/mod/lightpics/views/default/admin/settings/photos/help.php
blob: 1e5bdd2546aa0f7b9c5dc5633bd189948bf771d4 (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() . 'lightpics/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);