drop open by name
This commit is contained in:
parent
959a68a4bb
commit
84baa60a2b
2 changed files with 5 additions and 1 deletions
2
home.php
2
home.php
|
|
@ -1,7 +1,7 @@
|
||||||
<form action="index.php" method="GET">
|
<form action="index.php" method="GET">
|
||||||
<div>
|
<div>
|
||||||
<input hidden type="submit" name="search" value="search" accesskey="s">
|
<input hidden type="submit" name="search" value="search" accesskey="s">
|
||||||
<input type="submit" name="open" value="open" accesskey="o">
|
<input type="submit" name="new" value="new" accesskey="o">
|
||||||
<input type="submit" name="download" value="download" accesskey="d">
|
<input type="submit" name="download" value="download" accesskey="d">
|
||||||
<br>
|
<br>
|
||||||
<input placeholder="search..." autofocus autocomplete="off" class="title" name="param" value="<?php if (!isset($_GET['home']) && !isset($_POST['home'])) echo $param; ?>">
|
<input placeholder="search..." autofocus autocomplete="off" class="title" name="param" value="<?php if (!isset($_GET['home']) && !isset($_POST['home'])) echo $param; ?>">
|
||||||
|
|
|
||||||
|
|
@ -178,6 +178,10 @@
|
||||||
$nextpage = 'note';
|
$nextpage = 'note';
|
||||||
$title = $_GET['param'];
|
$title = $_GET['param'];
|
||||||
}
|
}
|
||||||
|
else if (isset($_GET['new']))
|
||||||
|
{
|
||||||
|
$nextpage = 'note';
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue