Commit aa39f541 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Removed some defaults from forms now that they're getting specified in the

global configure stuff.
parent d38a1bbf
......@@ -41,10 +41,8 @@ $getstring = array('discardpageedits' => "'" . get_string('discardpageedits','ad
$f = array(
'name' => 'editsitepage',
'method' => 'post',
'ajaxpost' => true,
'ajaxsuccessfunction' => 'contentSaved',
'action' => '',
'elements' => array(
'pagename' => array(
'type' => 'select',
......
......@@ -38,8 +38,6 @@ $yesno = array(true => get_string('yes'),
$siteoptionform = form(array(
'name' => 'siteoptions',
'method' => 'post',
'action' => '',
'ajaxpost' => true,
'elements' => array(
'sitename' => array(
......
......@@ -36,11 +36,8 @@ if (!$SESSION->is_logged_in()) {
require_once('form.php');
$loginform = get_login_form_js(form(array(
'name' => 'login',
'method' => 'post',
'action' => '',
'renderer' => 'div',
'submit' => false,
'autofocus' => true,
'elements' => array(
'login' => array(
'type' => 'fieldset',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment