# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: moodle/admin/settings.php
--- moodle/admin/settings.php Base (1.73)
+++ moodle/admin/settings.php Locally Modified (Based On 1.73)
@@ -126,7 +126,9 @@
 
     echo $settingspage->output_html();
 
+    if ($settingspage->displaysavebutton) {
     echo '<div class="form-buttons"><input class="form-submit" type="submit" value="'.get_string('savechanges','admin').'" /></div>';
+    }
 
     echo '</div>';
     echo '</form>';
Index: moodle/lib/adminlib.php
--- moodle/lib/adminlib.php Base (1.424)
+++ moodle/lib/adminlib.php Locally Modified (Based On 1.424)
@@ -1005,6 +1005,9 @@
     public $path;
     public $visiblepath;
 
+    /** display the save changes button **/
+    public $displaysavebutton;
+
     /**
      * see admin_settingpage for details of this function
      *
@@ -1026,6 +1029,7 @@
         }
         $this->hidden      = $hidden;
         $this->context     = $context;
+        $this->displaysavebutton = true;
     }
 
     /**
@@ -1049,6 +1053,13 @@
     }
 
     /**
+     * Hide the Save Changes button
+     */
+    public function hidesavebutton() {
+       $this->displaysavebutton = false;
+    }
+
+    /**
\ No newline at end of file
      * Search string in settings page.
      *
      * @param string $query
