diff options
Diffstat (limited to 'inc/html.php')
-rw-r--r-- | inc/html.php | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/inc/html.php b/inc/html.php index 5eaa06d8b..fa3e4c95d 100644 --- a/inc/html.php +++ b/inc/html.php @@ -163,36 +163,6 @@ function html_topbtn(){ } /** - * Just the back to media window button in its own form - * - * @author Matthias Grimm <matthiasgrimm@users.sourceforge.net> - */ -function html_backtomedia_button($params,$akey=''){ - global $conf; - global $lang; - - $ret = '<form class="button" method="get" action="'.DOKU_BASE.'lib/exe/mediamanager.php"><div class="no">'; - - reset($params); - while (list($key, $val) = each($params)) { - $ret .= '<input type="hidden" name="'.$key.'" '; - $ret .= 'value="'.htmlspecialchars($val).'" />'; - } - - $ret .= '<input type="submit" value="'.htmlspecialchars($lang['btn_backtomedia']).'" class="button" '; - $tit = htmlspecialchars($lang['btn_backtomedia']); - if($akey){ - $tit .= ' [ALT+'.strtoupper($akey).']'; - $ret .= 'accesskey="'.$akey.'" '; - } - $ret .= 'title="'.$tit.'" '; - $ret .= '/>'; - $ret .= '</div></form>'; - - return $ret; -} - -/** * Displays a button (using its own form) * If tooltip exists, the access key tooltip is replaced. * |