forked from gn2netwerk/markitup
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelp.inc.php
More file actions
41 lines (36 loc) · 1.26 KB
/
Copy pathhelp.inc.php
File metadata and controls
41 lines (36 loc) · 1.26 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/**
* MARKITUP Addon
* Textile Markup Editor
*
* @author Markitup by Jay Salvat - http://markitup.jaysalvat.com
* @author Redaxo Addon by http://www.gn2-netwerk.de/
* @package redaxo 4.2/4.3/4.4
* @version 1.1.62
*/
// ADDON IDENTIFIER & ROOT DIR
////////////////////////////////////////////////////////////////////////////////
$myself = 'markitup';
$myroot = $REX['INCLUDE_PATH'].'/addons/'.$myself.'/';
// LOCAL INCLUDES
////////////////////////////////////////////////////////////////////////////////
require_once $myroot.'/functions/function.markitup_incparse.inc.php';
// HELP CONTENT
////////////////////////////////////////////////////////////////////////////////
$help_includes = array (
'readme' => array('RexSEO Help','_help.txt','textile')
);
// OUTPUT
////////////////////////////////////////////////////////////////////////////////
foreach($help_includes as $key => $def)
{
echo '
<div class="rex-addon-output" style="overflow:auto">
<h2 class="rex-hl2" style="font-size:1em">'.$def[0].' <span style="color: gray; font-style: normal; font-weight: normal;">( '.$def[1].' )</span></h2>
<div class="rex-addon-content">
<div class="rexseo">
'.markitup_incparse($myroot,$def[1],$def[2],true).'
</div>
</div>
</div>';
}