-
Notifications
You must be signed in to change notification settings - Fork 16
/
index.php
130 lines (105 loc) · 3.03 KB
/
index.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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?php
/*
* index.php
* Website plugins.geany.org
*
* (C) Copyright 2009 by Dominic Hopf <[email protected]>
* (C) Copyright 2010 by Michael Spahn <[email protected]>
* Version: 1.0.0
* Last Change: 2010-7-24
*/
define('CONTENTPATH','./content/');
if (isset($_GET['site']))
{
if (file_exists(CONTENTPATH . $_GET['site'] . '.html'))
{
define('CONTENTFILE', CONTENTPATH . $_GET['site'] . '.html');
define('PAGETITLE', $_GET['site']);
}
else
{
define('CONTENTFILE', CONTENTPATH . '404.html');
define('PAGETITLE', 'Plugin could not be found.');
}
}
else
{
define('CONTENTFILE', CONTENTPATH . 'start.html');
define('PAGETITLE', '');
}
print '<?xml version="1.0"?>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Plugins for Geany [<?php print PAGETITLE ?>]</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<link rel="stylesheet" type="text/css" href="./stylesheets/mainstyle.css" />
</head>
<body>
<div id="header">
<a href="./">
<img src="./images/geany.png" alt="Geany Logo"
style="width: 48px; height: 48px; float: left; margin-left: 2%; margin-right: 5%;" /></a>
<h1>Plugins for Geany</h1>
</div>
<div id="navigation">
<h1>Geany Plugins project</h1>
<ul>
<?php
include_once './content/geany-plugins-listing.html';
?>
</ul>
<hr />
<h1>Third-Party plugins</h1>
<ul>
<li><a href="djynn.html">Djynn</a></li>
<li><a href="https://sourceforge.net/projects/geanyeasyunicodeinput/">GeanyEasyUnicodeInput</a></li>
<li><a href="https://sourceforge.net/projects/geanyunicodetocodepoint/">GeanyUnicodeToCodepoint</a></li>
<li><a href="https://sourceforge.net/projects/geanyhighlightselectedword/">GeanyHighlightSelectedWord</a></li>
<li><a href="jsonprettifier.html">JSON Prettifier Plugin</a></li>
<li><a href="quick_open_file.html">Geany Quick Open File Plugin</a></li>
<li><a href="togglebars.html">Togglebars</a></li>
<li><a href="pynav.html">pynav</a></li>
</ul>
<hr />
<ul>
<li><a href="downloads.html">Downloads</a></li>
<li><a href="install.html">Installation</a></li>
</ul>
<hr />
<ul>
<li><a href="https://github.com/geany/geany-plugins/issues">Tracker</a></li>
</ul>
<hr />
<ul>
<li><a href="licensing.html">Licensing</a></li>
<li><a href="about.html">About</a></li>
</ul>
<hr />
<ul>
<li><a href="https://geany.org/">Geany</a></li>
</ul>
<hr />
<ul>
<li><a href="README.html">List or update a plugin</a></li>
</ul>
</div>
<div id="content">
<?php include_once CONTENTFILE; ?>
</div>
<div id="footer">
<p>
<a href="https://github.com/geany/geany-plugins"
title="Geany-Plugins is on GitHub"
style="padding-left: 100px;">
<img src="./images/github.png"
style="width: 91px; height: 40px;" alt="GitHub Logo" /></a>
</p>
<p> Contact the <a
href="https://www.geany.org/support/mailing-lists/">Geany Team</a> for
questions.</p>
</div>
</body>
</html>