Added a status bar with char/line display

This commit is contained in:
Jordi Boggiano
2010-08-31 21:42:33 +02:00
parent f54dc12911
commit 59d1c9f489
4 changed files with 47 additions and 12 deletions
+1
View File
@@ -73,6 +73,7 @@ if (isset($_POST['code'])) {
<div class="output"><?php echo $debugOutput ?></div>
<form method="POST" action="">
<textarea cols="100" rows="20" name="code"><?php echo (isset($_POST['code']) ? htmlentities($_POST['code'], ENT_QUOTES, 'UTF-8') : null) ?></textarea>
<div class="statusbar">Line: 1, Column: 1</div>
<input type="submit" name="subm" value="Try this!" />
</form>
<div class="help">