parent
							
								
									98c96582d3
								
							
						
					
					
						commit
						b35c6dfe51
					
				
							
								
								
									
										10
									
								
								index.php
								
								
								
								
							
							
						
						
									
										10
									
								
								index.php
								
								
								
								
							|  | @ -27,6 +27,8 @@ | |||
|                 width: 100%; | ||||
|                 border: none; | ||||
|                 outline: none; | ||||
|                 font-family: inherit; | ||||
|                 font-size: inherit; | ||||
|                 font-weight: bold; | ||||
|             } | ||||
|         </style> | ||||
|  | @ -42,7 +44,11 @@ | |||
|                 exit; | ||||
|             } | ||||
| 
 | ||||
|             echo '<a accesskey="l" href="index.php">List</a> <a accesskey="n" href="index.php?open=' . time() . '.md">New</a>'; | ||||
|             echo '<form action="index.php" method="GET"> | ||||
|                 <a accesskey="h" href="index.php">Home</a>  | ||||
|                 <input name="open" value="' . time() . '.md">  | ||||
|                 <input accesskey="n" type="submit" value="Create new"> | ||||
|             </form>'; | ||||
| 
 | ||||
|             if (isset($_POST['savebutton'])) | ||||
|             { | ||||
|  | @ -74,7 +80,7 @@ | |||
|                 $nblines = substr_count($content, "\r\n"); | ||||
| 
 | ||||
|                 echo '<form action="index.php" method="POST"> | ||||
|                         <br><div><input class="title" readonly name="title" value="' . $title . '"></div><br> | ||||
|                         <br><div><input class="title" name="title" value="' . $title . '"></div><br> | ||||
|                         <div> | ||||
|                             <textarea rows="' . $nblines. '" autofocus name="content" spellcheck="false">' . $content . '</textarea> | ||||
|                         </div> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 quenousimporte
						quenousimporte