📄 admin_index_tpl.php
字号:
<?phpecho " <table width=100% border=0 cellpadding=0 cellspacing=0>\n";echo " <tr><th colspan=3 class=table_heading_no_color nowrap align=left>System Settings</th></tr>\n";echo " <tr><td colspan=3 class=table_rows width=10% align=left style='padding-left:4px;'>Listed below are the settings that have been chosen within config.inc.php, the config file for PHP Timeclock.</td></tr>\n";echo " <tr><td height=40 class=table_rows width=10% align=left style='padding-left:4px;color:#27408b;'><b><u>VARIABLE</u></b></td> <td class=table_rows width=10% align=left style='color:#27408b;'><b><u>VALUE</u></b></td> <td class=table_rows width=80% align=left style='padding-left:10px;color:#27408b;'><b><u>DESCRIPTION</u></b></td></tr>\n";echo " <tr><th colspan=3 class=table_heading_no_color nowrap align=left>MySql DB Settings</th></tr>\n";echo " <tr><td bgcolor='$row_color' class=table_rows width=10% align=left style='padding-left:4px;' valign=top>db_hostname:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$db_hostname</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>This is the hostname for your mysql server, default is <b>localhost</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>db_name:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$db_name</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>This is the name of the mysql database you created during the install.</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>db_username:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$db_username</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>This is the mysql username you created during the install.</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>db_password:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>********</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>This is the mysql password for the username you created during the install.</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>db_prefix:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$db_prefix</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>This adds a prefix to the tablenames in the database. This can be helpful if you have an existing mysql database that you would like to use with PHP Timeclock. If you are unaware of what is meant by 'table prefix', then please leave this option as is. Default is to leave it blank.</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>dbversion:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$dbversion</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>This is the versioning number of the current database for PHP Timeclock.</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>Passwords and Security</th></tr>\n";echo " <tr><td bgcolor='$row_color' class=table_rows width=10% align=left style='padding-left:4px;' valign=top>use_passwd:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$use_passwd</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>This provides the option for the users to input their password when individually punching in/out of the timeclock. 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>use_reports_password:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$use_reports_password</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>If ALL users need access to ALL the reports provided, then set this to \"no\". 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>restrict_ips:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$restrict_ips</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>Choose \"yes\" to restrict the ip addresses that can connect to PHP Timeclock. If \"yes\" is chosen, you MUST input the allowed networks in the allowed_networks array below. Otherwise, choosing \"yes\" here and leaving allowed_networks blank will cause PHP Timeclock to reject everyone attempting to connect to it. 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>allowed_networks:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>view these via the 'Edit System Settings' link on the left.</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>These are the networks or ip addresses you wish to allow to connect to PHP Timeclock. There is not a limit on how many networks or addresses that can be included in this array. This will currently only work for ipv4 addresses, ipv6 may be supported in a future release. If restrict_ips 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>ip_logging:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$ip_logging</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>Enable the option to log the ip addresses of the connecting computers when users punch-in/out, or when a time is manually added, edited, or deleted. Default is \"<b>yes</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>disable_sysedit:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$disable_sysedit</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>Choosing \"yes\" disables ALL access to the Edit System Settings page (sysedit.php). It can be re-enabled in config.inc.php. Default is \"<b>no</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>Dates and Times</th></tr>\n";echo " <tr><td colspan=3 class=table_rows width=10% align=left style='padding-left:4px;'>Choose the way dates and times are to be displayed throughout the entire application:</td></tr>\n";echo " <tr><td bgcolor='$row_color' class=table_rows width=10% align=left style='padding-left:4px;' height=25 valign=bottom>calendar_style:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=bottom>$calendar_style</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=bottom>Default is \"<b>amer</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>datefmt:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$datefmt</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>Default is \"<b>n/j/y</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>js_datefmt:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$js_datefmt</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>Default is \"<b>M/d/yy</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>tmp_datefmt:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$tmp_datefmt</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>Default is \"<b>m/d/yy</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>timefmt:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$timefmt</td> <td bgcolor='$row_color' class=table_rows width=80% align=left style='padding-left:10px;' valign=top>Default is \"<b>g:i a</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>Reports Settings</th></tr>\n";echo " <tr><td colspan=3 class=table_rows width=10% align=left style='padding-left:4px;'>Choose the way the reports are formatted <u>by default</u>. Most of these default settings can be changed when the reports are run.</td></tr>\n";echo " <tr><td bgcolor='$row_color' class=table_rows width=10% align=left style='padding-left:4px;' valign=top>round_time:</td> <td bgcolor='$row_color' class=table_rows width=10% align=left valign=top>$round_time</td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -