subtitle() and cbtitle() functions docuemented
This commit is contained in:
parent
ccf07b561a
commit
314bcdeee4
1 changed files with 11 additions and 11 deletions
|
@ -3130,23 +3130,23 @@
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function used to load clipbucket title
|
* Adds title for ClipBucket powered website
|
||||||
*/
|
* @param : { string } { $title } { title to be given to page }
|
||||||
function cbtitle($params=false)
|
*/
|
||||||
{
|
|
||||||
|
function cbtitle($params=false) {
|
||||||
global $cbsubtitle;
|
global $cbsubtitle;
|
||||||
|
|
||||||
$sub_sep = getArrayValue($params, 'sub_sep');
|
$sub_sep = getArrayValue($params, 'sub_sep');
|
||||||
if(!$sub_sep)
|
if(!$sub_sep) {
|
||||||
$sub_sep = '-';
|
$sub_sep = '-';
|
||||||
|
}
|
||||||
//Getting Subtitle
|
//Getting Subtitle
|
||||||
if(!$cbsubtitle)
|
if(!$cbsubtitle) {
|
||||||
echo TITLE." - ".SLOGAN;
|
echo TITLE." - ".SLOGAN;
|
||||||
else
|
} else {
|
||||||
echo $cbsubtitle." $sub_sep ";
|
echo $cbsubtitle." $sub_sep ";
|
||||||
echo TITLE;
|
echo TITLE;
|
||||||
//echo " ".SUBTITLE;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue