forked from FriendsOfREDAXO/analytics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
help.php
27 lines (22 loc) · 801 Bytes
/
help.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
echo rex_view::info($this->i18n('help_intro'));
$code = "";
$code .= "<?php".PHP_EOL;
$code .= " echo analytics::output(true);".PHP_EOL;
$code .= "?>";
$fragment = new rex_fragment();
$fragment->setVar('class', 'info', false);
$fragment->setVar('title', $this->i18n('help_withtags'), false);
$fragment->setVar('body', rex_string::highlight($code), false);
echo $fragment->parse('core/page/section.php');
///
$code = "";
$code .= "<?php".PHP_EOL;
$code .= " echo analytics::output();".PHP_EOL;
$code .= "?>";
$fragment = new rex_fragment();
$fragment->setVar('class', 'info', false);
$fragment->setVar('title', $this->i18n('help_withouttags'), false);
$fragment->setVar('body', rex_string::highlight($code), false);
echo $fragment->parse('core/page/section.php');
?>