remove title, use todo for clip

This commit is contained in:
quenousimporte 2024-03-06 14:44:52 +01:00
parent d31f834a1d
commit 2b376c0ab4
1 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>bbn</title>
<link rel="manifest" href="manifest.json" /> <link rel="manifest" href="manifest.json" />
<meta name="theme-color" content="white" /> <meta name="theme-color" content="white" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
@ -61,8 +60,8 @@
$content = ''; $content = '';
if ($action == 'clip' && $_GET['param']) if ($action == 'clip' && $_GET['param'])
{ {
$content = $_GET['param'] . "\r\n" . file_get_contents($dir . '/clip'); $content = $_GET['param'] . "\r\n" . file_get_contents($dir . '/todo');
file_put_contents($dir . '/clip', $content); file_put_contents($dir . '/todo', $content);
$_GET['param'] = ''; $_GET['param'] = '';
} }
if ($action == 'save') if ($action == 'save')