📄 admin_index_tpl.php
字号:
echo " <tr><td bgcolor='$row_color' class=table_rows width=10% align=left style='padding-left:4px;' valign=top>display_group_name:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$display_group_name</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>Display a column on the main page that shows the group each user is affiliated with. Default is \"<b>no</b>\". </td></tr>\n";$row_count++; $row_color = ($row_count % 2) ? $color2 : $color1;echo " <tr><td bgcolor='$row_color' class=table_rows width=10% align=left style='padding-left:4px;' valign=top>display_weather:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$display_weather</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>To display local weather info on the left side of the application just below the submit button, set this to \"yes\". Default is \"<b>no</b>\". </td></tr>\n";$row_count++; $row_color = ($row_count % 2) ? $color2 : $color1;echo " <tr><td bgcolor='$row_color' class=table_rows width=10% align=left style='padding-left:4px;' valign=top>metar:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$metar</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>Sets the ICAO (International Civil Aviation Organization) for your local airport. This is the unique four letter international ID for the airport. METAR reports are created at roughly 4500 airports from around the world, so you probably live near one of them. The airports make a report once or twice an hour, and these reports are stored at the National Weather Service and are publically available via HTTP or FTP. Visit <a href='https://pilotweb.nas.faa.gov/qryhtml/icao/' class=admin_headings style='text-decoration:underline;'> https://pilotweb.nas.faa.gov/qryhtml/icao/</a> to find a corresponding ICAO near you. If 'display_weather' is set to \"no\", this option is ignored. If 'display_weather' is set to \"yes\", you MUST provide an ICAO here. </td></tr>\n";$row_count++; $row_color = ($row_count % 2) ? $color2 : $color1;echo " <tr><td bgcolor='$row_color' class=table_rows width=10% align=left style='padding-left:4px;' valign=top>city:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$city</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>This is the city and state (or can be city and country) of the airport for the ICAO used above. If 'display_weather' is set to \"no\", this option is ignored. </td></tr>\n";$row_count++; $row_color = ($row_count % 2) ? $color2 : $color1;echo " <tr><td bgcolor='$row_color' class=table_rows width=10% align=left style='padding-left:4px;' valign=top>links:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>";if ($links == "none") {echo "$links\n";} else {$tmp = count($links);if ($tmp == "1") {echo "$tmp link -- view it via the 'Edit System Settings' link on the left.\n";} else {echo "$tmp links -- view them via the 'Edit System Settings' link on the left.\n";}}echo " <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>These are links to websites, other web-based applications, etc., that you wish to display in the topleft of the application just below the logo. Set it to \"none\" to ignore this option. </td></tr>\n";$row_count++; $row_color = ($row_count % 2) ? $color2 : $color1;echo " <tr><td bgcolor='$row_color' class=table_rows width=10% align=left style='padding-left:4px;' valign=top>display_links:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>";if ($display_links == "none") {echo "$display_links\n";} else {$tmp = count($display_links);if ($tmp == "1") {echo "$tmp link -- view it via the 'Edit System Settings' link on the left.\n";} else {echo "$tmp links -- view them via the 'Edit System Settings' link on the left.\n";}}echo " <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>These are the display names for the links chosen above. The number of display names MUST equal the number of links you have chosen above. If the 'links' option above is set to \"none\", this option is ignored. </td></tr>\n";$row_count++; $row_color = ($row_count % 2) ? $color2 : $color1;echo " <tr><td bgcolor='$row_color' class=table_rows width=10% align=left style='padding-left:4px;' valign=top>logo:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$logo</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>This is a logo or graphic displayed in the top left of each page. Set it to \"none\" to ignore this option. </td></tr>\n";$row_count++; $row_color = ($row_count % 2) ? $color2 : $color1;echo " <tr><td bgcolor='$row_color' class=table_rows width=10% align=left style='padding-left:4px;' valign=top>refresh:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$refresh</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>Sets the refresh rate (in seconds) for the application. If PHP Timeclock is kept open, it will refresh this number of seconds to display the most current information. Set it to \"none\" to ignore this option. Default is <b>300</b>. </td></tr>\n";$row_count = '0'; $row_color = ($row_count % 2) ? $color2 : $color1;echo " <tr><td nowrap style='border:solid #888888;border-width:0px 0px 1px 0px;' colspan=3> </td></tr>\n";echo " <tr><th colspan=3 class=table_heading_no_color nowrap align=left>Miscellaneous Settings</th></tr>\n";echo " <tr><td bgcolor='$row_color' class=table_rows width=10% align=left style='padding-left:4px;' valign=top>email:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$email</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>This is an email address to display in the footer. Set it to \"none\" to ignore this option. </td></tr>\n";$row_count++; $row_color = ($row_count % 2) ? $color2 : $color1;echo " <tr><td bgcolor='$row_color' class=table_rows width=10% align=left style='padding-left:4px;' valign=top>date_link:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$date_link</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>If your users click on the displayed date in the top right of the application, they will be taken to this website. Set it to \"none\" to ignore this option. Default is 'This Day in History', <a href='http://www.historychannel.com/tdih' class=admin_headings style='text-decoration:underline;'><b>http://www.historychannel.com/tdih</b></a>. </td></tr>\n";$row_count++; $row_color = ($row_count % 2) ? $color2 : $color1;echo " <tr><td bgcolor='$row_color' class=table_rows width=10% align=left style='padding-left:4px;' valign=top>app_name:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$app_name</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>Sets the first half of the 'title'. </td></tr>\n";$row_count++; $row_color = ($row_count % 2) ? $color2 : $color1;echo " <tr><td bgcolor='$row_color' class=table_rows width=10% align=left style='padding-left:4px;' valign=top>app_version:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$app_version</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>Sets the second half of the 'title'. </td></tr>\n";$row_count++; $row_color = ($row_count % 2) ? $color2 : $color1;echo " <tr><td bgcolor='$row_color' class=table_rows width=10% align=left style='padding-left:4px;' valign=top>title:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$title</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>Sets the title in the header. This is what is displayed in the title bar of your web browser, and it is what the page will be named by default when you make a \"favorite\" or \"bookmark\" in your web browser. </td></tr>\n";$row_count++; $row_color = ($row_count % 2) ? $color2 : $color1;echo " </table>\n";?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -