From: Andrew Garrett Date: Tue, 23 Jan 2007 07:57:41 +0000 (+0000) Subject: Disable the expiry field in Protection for users without the requisite permission. X-Git-Tag: 1.31.0-rc.0~54210 X-Git-Url: http://git.cyclocoop.org/%22.htmlspecialchars%28%24url_syndic%29.%22?a=commitdiff_plain;h=be72d624325e40bb2de14dd31a30191673a517f6;p=lhc%2Fweb%2Fwiklou.git Disable the expiry field in Protection for users without the requisite permission. --- diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index 2d9d31b159..4cd7dd44e6 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -296,7 +296,7 @@ class ProtectionForm { 'size' => 60, 'name' => $id, 'id' => $id, - 'value' => $this->mExpiry ) ); + 'value' => $this->mExpiry ) + $this->disabledAttrib ); $ci .= ""; return $ci;