diff --git a/include/application.php b/include/application.php index b8bc19c..d663ed8 100644 --- a/include/application.php +++ b/include/application.php @@ -719,6 +719,8 @@ class Application { { switch($sAction) { + case 'delete': + return 'Delete '.$this->sName; case "view": return $this->sName; @@ -821,7 +823,7 @@ class Application { } if($_SESSION['current']->hasPriv("admin")) { - $url = BASE."objectManager.php?sClass=application&bIsQueue=false&sAction=delete&sTitle=Delete%20".$this->sName."&iId=".$this->iAppId; + $url = BASE."objectManager.php?sClass=application&bIsQueue=false&sAction=delete&iId=".$this->iAppId; echo "
"; echo ' '; } diff --git a/include/version.php b/include/version.php index 674c180..04affed 100644 --- a/include/version.php +++ b/include/version.php @@ -745,6 +745,8 @@ class version { { switch($sAction) { + case 'delete': + return 'Delete '.version::fullName($this->iVersionId); case "view": return version::fullName($this->iVersionId); @@ -971,7 +973,7 @@ class version { echo "\t".''."\n"; echo "\t".''."\n"; echo ''."\n"; - $url = BASE."objectManager.php?sClass=version&sAction=delete&bQueued=false&sTitle=Delete%20".version::fullName($this->iVersionId)."&iId=".$this->iVersionId; + $url = BASE."objectManager.php?sClass=version&sAction=delete&bQueued=false&iId=".$this->iVersionId; echo "'."\n";