diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1204,6 +1204,14 @@ function renderPage() | |||
1204 | exit; | 1204 | exit; |
1205 | } | 1205 | } |
1206 | 1206 | ||
1207 | // Display openseach plugin (XML) | ||
1208 | if ($targetPage == Router::$PAGE_OPENSEARCH) { | ||
1209 | header('Content-Type: application/xml; charset=utf-8'); | ||
1210 | $PAGE->assign('serverurl', index_url($_SERVER)); | ||
1211 | $PAGE->renderPage('opensearch'); | ||
1212 | exit; | ||
1213 | } | ||
1214 | |||
1207 | // -------- User clicks on a tag in a link: The tag is added to the list of searched tags (searchtags=...) | 1215 | // -------- User clicks on a tag in a link: The tag is added to the list of searched tags (searchtags=...) |
1208 | if (isset($_GET['addtag'])) | 1216 | if (isset($_GET['addtag'])) |
1209 | { | 1217 | { |