define('SERVER_URL', "http://www.mxchange.org");
// This current patch level
-define('CURR_SVN_REVISION', "569");
+define('CURR_SVN_REVISION', "571");
// Take a prime number which is long (if you know a longer one please try it out!)
define('_PRIME', 591623);
$urlData['lock_reason'] = "---";
} // END - if
- // Default is not limited
- $urlData['limited_yes'] = "";
- $urlData['limited_no'] = " checked=\"checked\"";
- $urlData['limited'] = "false";
-
- // Is this URL limited?
- if ($urlData['views_max'] > 0) {
- // Then rewrite form data
- $urlData['limited_yes'] = " checked=\"checked\"";
- $urlData['limited_no'] = "";
- $urlData['limited'] = "true";
+ // Include fields only for action 'edit'
+ if ($action == "edit") {
+ // Default is not limited
+ $urlData['limited_yes'] = "";
+ $urlData['limited_no'] = " checked=\"checked\"";
+ $urlData['limited'] = "false";
+
+ // Is this URL limited?
+ if ($urlData['views_max'] > 0) {
+ // Then rewrite form data
+ $urlData['limited_yes'] = " checked=\"checked\"";
+ $urlData['limited_no'] = "";
+ $urlData['limited'] = "true";
+ } // END - if
} // END - if
// Load the form and display it