forked from craigk5n/webcalendar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelp_index.php
More file actions
25 lines (24 loc) · 753 Bytes
/
help_index.php
File metadata and controls
25 lines (24 loc) · 753 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
<?php // $Id: help_index.php,v 1.29 2009/11/22 16:47:45 bbannon Exp $
include_once 'includes/init.php';
include_once 'includes/help_list.php';
print_header ( '', '', '', true );
echo '
<h2>' . translate ( 'Help Index' ) . '</h2>
<ul>';
$page = 0;
//display About WebCalendar link only on index page
$aboutStr = translate ( 'About WebCalendar' );
echo '
<li><a title="' . $aboutStr . '" href="" onclick="javascript:openAbout()">'
. $aboutStr . '</a></li>';
foreach ( $help_list as $key => $val ) {
$page++;
$transStr = translate ( $key );
echo '
<li><a title="' . $transStr . '" href="' . $val . '?thispage=' . $page
. '">' . $transStr . '</a></li>';
}
echo '
</ul>
' . print_trailer ( false, true, true );
?>