mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 13:42:04 +00:00
add command clearclipboard
This commit is contained in:
parent
e8c15079eb
commit
b110549972
|
@ -204,6 +204,14 @@ switch($command) {
|
||||||
}
|
}
|
||||||
break; /* }}} */
|
break; /* }}} */
|
||||||
|
|
||||||
|
case 'clearclipboard': /* {{{ */
|
||||||
|
if($user) {
|
||||||
|
$session->clearClipboard();
|
||||||
|
header('Content-Type: application/json');
|
||||||
|
echo json_encode(array('success'=>true, 'message'=>getMLText('splash_cleared_clipboard')));
|
||||||
|
}
|
||||||
|
break; /* }}} */
|
||||||
|
|
||||||
case 'movefolder': /* {{{ */
|
case 'movefolder': /* {{{ */
|
||||||
if($user) {
|
if($user) {
|
||||||
if(!checkFormKey('movefolder', 'GET')) {
|
if(!checkFormKey('movefolder', 'GET')) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user