forked from shimondoodkin/gtdphp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlistkeys.php
More file actions
33 lines (33 loc) · 680 Bytes
/
listkeys.php
File metadata and controls
33 lines (33 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
$title='shortcut keys';
$menu='';
require_once 'headerHtml.inc.php';
@ob_start();
require_once 'headerMenu.inc.php';
$menutext=ob_get_contents();
ob_end_clean();
?>
</head><body>
<div class='noprint'>
<?php echo $menutext; ?>
</div>
<div id='main'>
<h2>Shortcut keys for gtd-php</h2>
<table summary='Shortcut keys'>
<thead><tr><th>key</th><th>title</th><th>description</th></tr></thead>
<tbody>
<?php
foreach ($menu as $line)
if (!empty($line['key']))
echo "<tr>"
,"<td>{$line['key']}</td>"
,"<td>{$line['label']}</td>"
,"<td>{$line['title']}</td>"
,"</tr>";
?>
</tbody>
</table>
</body>
</div>
</div>
</html>