";
return $secedit;
}
/**
* inserts section edit buttons if wanted or removes the markers
*
* @author Andreas Gohr
*/
function html_secedit($text,$show=true){
global $INFO;
if($INFO['writable'] && $show && !$INFO['rev']){
$text = preg_replace('##e',
"html_secedit_button('\\1',true)",
$text);
$text = preg_replace('##e',
"html_secedit_button('\\1',false)",
$text);
}else{
$text = preg_replace('##e','',$text);
}
return $text;
}
/**
* Just the back to top button (in its own form)
*
* @author Andreas Gohr
*/
function html_topbtn(){
global $lang;
$ret = '';
$ret = '';
return $ret;
}
/**
* Just the back to media window button in its own form
*
* @author Matthias Grimm
*/
function html_backtomedia_button($params,$akey=''){
global $conf;
global $lang;
$ret = '