Fix the PHP Doc comments.

This commit is contained in:
jgen 2014-04-25 23:19:18 -04:00
parent 1ca3865a1c
commit 24371d8c34

View file

@ -312,8 +312,8 @@ function endsWith(/*string*/ $haystack, /*string*/ $needle) {
* *
* eg make_link("post/list") becomes "/v2/index.php?q=post/list" * eg make_link("post/list") becomes "/v2/index.php?q=post/list"
* *
* @param null $page * @param null|string $page
* @param null $query * @param null|string $query
* @return string * @return string
*/ */
function make_link($page=null, $query=null) { function make_link($page=null, $query=null) {
@ -348,7 +348,7 @@ function make_link($page=null, $query=null) {
/** /**
* Take the current URL and modify some paramaters * Take the current URL and modify some parameters
* *
* @param $changes * @param $changes
* @return string * @return string
@ -392,7 +392,7 @@ function modify_url($url, $changes) {
/** /**
* Turn a relative link into an absolute one, including hostname * Turn a relative link into an absolute one, including hostname
* *
* @param $link * @param string $link
* @return string * @return string
*/ */
function make_http(/*string*/ $link) { function make_http(/*string*/ $link) {
@ -433,6 +433,11 @@ function mtimefile($file) {
return "$data_href/$file?$mtime"; return "$data_href/$file?$mtime";
} }
/**
* Return the current theme as a string
*
* @return string
*/
function get_theme() { function get_theme() {
global $config; global $config;
$theme = $config->get_string("theme", "default"); $theme = $config->get_string("theme", "default");