Changeset 4045
- Timestamp:
- Thu Oct 27 12:46:15 2005
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
-
trunk/campsite/implementation/management/priv/users/do_ipadd.php
r3903 r4045 22 22 } 23 23 $g_backLink = "/$ADMIN/users/edit.php?uType=Subscribers&User=$g_userId"; 24 $g_cStartIP1 = Input::Get('cStartIP1', 'int', 0); 25 $g_cStartIP2 = Input::Get('cStartIP2', 'int', 0); 26 $g_cStartIP3 = Input::Get('cStartIP3', 'int', 0); 27 $g_cStartIP4 = Input::Get('cStartIP4', 'int', 0); 24 $g_cStartIP1 = Input::Get('cStartIP1', 'int', -1); 25 $g_cStartIP2 = Input::Get('cStartIP2', 'int', -1); 26 $g_cStartIP3 = Input::Get('cStartIP3', 'int', -1); 27 $g_cStartIP4 = Input::Get('cStartIP4', 'int', -1); 28 28 $g_cAddresses = Input::Get('cAddresses', 'int', 0); 29 29 30 30 // check if input was correct 31 if ($g_cStartIP1 == 0 || $g_cStartIP2 == 0 || $g_cStartIP3 == 0 || $g_cStartIP4 == 0) {31 if ($g_cStartIP1 == -1 || $g_cStartIP2 == -1 || $g_cStartIP3 == -1 || $g_cStartIP4 == -1) { 31 31 camp_html_display_error(getGS('You must complete the $1 field.', 'Start IP'), 32 32 $g_backLink);