mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
add command clearclipboard
This commit is contained in:
parent
e8c15079eb
commit
b110549972
|
@ -204,6 +204,14 @@ switch($command) {
|
|||
}
|
||||
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': /* {{{ */
|
||||
if($user) {
|
||||
if(!checkFormKey('movefolder', 'GET')) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user