-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.inc.php
More file actions
102 lines (81 loc) · 2.64 KB
/
index.inc.php
File metadata and controls
102 lines (81 loc) · 2.64 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?php
/**
* FANCYBOX
*
* @author gilbert.seilheimer[at]contic[dot]de Gilbert Seilheimer
* @author <a href="http://www.contic.de">www.contic.de</a>
*
* @package redaxo4
* @version svn:$Id$
*/
/**
* fancybox Lib
* @link http://fancybox.net/
* @version 1.3.4
*/
// AddOn-FANCYBOX
//////////////////////////////////////////////////////////////////////////////////
// CONFIG
//////////////////////////////////////////////////////////////////////////////////
// GET PARAMS
////////////////////////////////////////////////////////////////////////////////
$page = rex_request('page', 'string');
$subpage = rex_request('subpage', 'string');
#$func = rex_request('func', 'string');
#$oid = rex_request('oid', 'int');
//////////////////////////////////////////////////////////////////////////////////
// SUBPAGES
//////////////////////////////////////////////////////////////////////////////////
// REX BACKEND LAYOUT TOP
//////////////////////////////////////////////////////////////////////////////
require $REX['INCLUDE_PATH'] . '/layout/top.php';
echo '<div id="rex-addon-output">';
// TITLE & SUBPAGE NAVIGATION
//////////////////////////////////////////////////////////////////////////////
rex_title('Fancybox',$REX['ADDON'][$page]['SUBPAGES']);
// JS SCRIPT FÜR LINKS IN POPUP
////////////////////////////////////////////////////////////////////////////////
#echo "";
// INCLUDE REQUESTED SUBPAGE
//////////////////////////////////////////////////////////////////////////////
if($subpage != "")
{
switch($subpage)
{
case 'readme':
{
break;
}
case 'modul_image':
{
break;
}
case 'modul_galery':
{
break;
}
default:
{
$subpage = "index";
}
}
require $REX["INCLUDE_PATH"]."/addons/$page/pages/$subpage.inc.php";
}
else
{
echo '<h2 class="rex-hl2">'.$I18N->msg($page."_subpage_index").'</h2>';
echo '<div class="rex-addon-content">';
echo '<p class="rex-code">';
echo '<code><span style="color: #000000">';
echo $I18N->msg($page.'_subpage_index_txt_01') . "<br />";
echo $I18N->msg($page.'_subpage_index_txt_01_01') . "<br />";
echo $I18N->msg($page.'_subpage_index_txt_01_02') . "<br />";
echo '</span></code>';
echo '</p>';
echo '</div>';
}
// REX BACKEND LAYOUT BOTTOM
//////////////////////////////////////////////////////////////////////////////
echo '</div>';
require $REX['INCLUDE_PATH'] . "/layout/bottom.php";
?>