summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authordaMaex <damaex@live.de>2018-03-22 12:36:58 (GMT)
committerdaMaex <damaex@live.de>2018-03-22 12:36:58 (GMT)
commit22b67836d678cea695b977ec648c0aa013339c55 (patch)
tree5608ec78076189e030c3f011b501caa260d7c06a /templates
parent7e2fcd305c8c9377aa958a3d812cc31bc81c0e32 (diff)
downloadDoxygen-22b67836d678cea695b977ec648c0aa013339c55.zip
Doxygen-22b67836d678cea695b977ec648c0aa013339c55.tar.gz
Doxygen-22b67836d678cea695b977ec648c0aa013339c55.tar.bz2
added PHP7 support for the search engine on HTML output.
See: http://php.net/manual/en/language.basic-syntax.phptags.php
Diffstat (limited to 'templates')
-rw-r--r--templates/html/search_functions.php4
-rw-r--r--templates/html/search_opensearch.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/html/search_functions.php b/templates/html/search_functions.php
index caa9e3b..7374de9 100644
--- a/templates/html/search_functions.php
+++ b/templates/html/search_functions.php
@@ -1,4 +1,4 @@
-<script language="PHP">
+<?php
require_once "search_config.php";
function end_form($value)
@@ -363,4 +363,4 @@ function main()
report_results($sorted);
end_page();
}
-</script>
+?>
diff --git a/templates/html/search_opensearch.php b/templates/html/search_opensearch.php
index 58ee4ab..95c1c2c 100644
--- a/templates/html/search_opensearch.php
+++ b/templates/html/search_opensearch.php
@@ -1,4 +1,4 @@
-<script language="PHP">
+<?php
require "search_functions.php";
$mode = array_key_exists('v', $_GET)?$_GET['v']:"";
@@ -125,4 +125,4 @@ function invalid_format($query, array $results)
print "Search results for '$query':\n\n";
print_r($results);
}
-</script>
+?>