Changeset 1791 for trunk/admin/ws_checker.php
- Timestamp:
- Feb 8, 2007, 10:20:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/ws_checker.php
r1781 r1791 136 136 $add_end = ( is_numeric($_POST['add_end']) ) ? $_POST['add_end']:0; 137 137 $add_request = htmlspecialchars( $_POST['add_request'], ENT_QUOTES); 138 $add_high = 'true'; // ( $_POST['add_high'] == 'true' ) ? 'true':'false';139 $add_normal = 'true'; // ( $_POST['add_normal'] == 'true' ) ? 'true':'false';140 138 $add_limit = ( is_numeric($_POST['add_limit']) ) ? $_POST['add_limit']:1; 141 139 $add_comment = htmlspecialchars( $_POST['add_comment'], ENT_QUOTES); … … 145 143 $query = ' 146 144 INSERT INTO '.WEB_SERVICES_ACCESS_TABLE.' 147 ( `name` , `access` , `start` , `end` , `request` , 148 `high` , `normal` , `limit` , `comment` ) 145 ( `name` , `access` , `start` , `end` , `request` , `limit` , `comment` ) 149 146 VALUES (' . " 150 147 '$add_partner', '$add_target', 151 148 NOW(), 152 149 ADDDATE( NOW(), INTERVAL $add_end DAY), 153 '$add_request', '$add_ high', '$add_normal', '$add_limit', '$add_comment' );";150 '$add_request', '$add_limit', '$add_comment' );"; 154 151 155 152 pwg_query($query); … … 224 221 $template->assign_vars( 225 222 array( 226 'DEFLT_HIGH_YES' => '',227 'DEFLT_HIGH_NO' => 'checked',228 'DEFLT_NORMAL_YES' => '',229 'DEFLT_NORMAL_NO' => 'checked',230 223 'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=web_service', 231 224 )
Note: See TracChangeset
for help on using the changeset viewer.