]> git.mjollnir.org Git - moodle.git/commitdiff
Added a little option to disable user image upload
authormoodler <moodler>
Thu, 11 Dec 2003 12:59:54 +0000 (12:59 +0000)
committermoodler <moodler>
Thu, 11 Dec 2003 12:59:54 +0000 (12:59 +0000)
user/edit.html

index df3bc1e12ee8e02194ea44b1a57ab1b096cd503b..6703bcddf1660a8dfe0f10635ba9908bef5a9f7f 100644 (file)
@@ -179,7 +179,7 @@ if (isadmin()) {
 
 <?php 
     $maxbytes = get_max_upload_file_size($CFG->maxbytes, $course->maxbytes);
-    if (!empty($CFG->gdversion) and $maxbytes) {  
+    if (!empty($CFG->gdversion) and $maxbytes and empty($CFG->disableuserimages)) {  
 ?>
 <tr valign=top>
     <td><p><?php print_string("newpicture") ?>:</td>