summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnika Henke <a.c.henke@arcor.de>2007-05-13 14:46:55 +0200
committerAnika Henke <a.c.henke@arcor.de>2007-05-13 14:46:55 +0200
commitd21dc866522a72523891875820448bcd62b4973e (patch)
tree5cc30b9b6c4380d71d254a2fdb251f64d084130c
parent5e79da84134c45293eca1639c7e15308d5226493 (diff)
downloadrpg-d21dc866522a72523891875820448bcd62b4973e.tar.gz
rpg-d21dc866522a72523891875820448bcd62b4973e.tar.bz2
deleted obsolete backtomedia functions
darcs-hash:20070513124655-d5083-7ffc212357be18a5f889c85736d7c97946b5c899.gz
-rw-r--r--inc/html.php30
-rw-r--r--inc/template.php5
2 files changed, 0 insertions, 35 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.
*
diff --git a/inc/template.php b/inc/template.php
index f48067379..3bf9be114 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -374,8 +374,6 @@ function tpl_getparent($id){
* admin - admin page - if enough rights
* top - a back to top button
* back - a back to parent button - if available
- * backtomedia - returns to the mediafile upload dialog
- * after references have been displayed
* backlink - links to the list of backlinks
* subscription- subscribe/unsubscribe button
*
@@ -452,9 +450,6 @@ function tpl_button($type){
return true;
}
return false;
- case 'backtomedia':
- print html_backtomedia_button(array('ns' => $NS),'b');
- return false;
case 'subscription':
if($conf['useacl'] && $ACT == 'show' && $conf['subscribers'] == 1){
if($_SERVER['REMOTE_USER']){