Skip to content

Commit

Permalink
MDL-21695 Removing obvious helps from user filters as suggested by Helen
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Jul 28, 2010
1 parent 449b9ce commit ad9432a
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 49 deletions.
4 changes: 0 additions & 4 deletions lang/en/help/filters/courserole.html

This file was deleted.

2 changes: 0 additions & 2 deletions lang/en/help/filters/date.html

This file was deleted.

2 changes: 0 additions & 2 deletions lang/en/help/filters/globalrole.html

This file was deleted.

14 changes: 0 additions & 14 deletions lang/en/help/filters/profilefield.html

This file was deleted.

8 changes: 0 additions & 8 deletions lang/en/help/filters/select.html

This file was deleted.

2 changes: 0 additions & 2 deletions lang/en/help/filters/simpleselect.html

This file was deleted.

11 changes: 0 additions & 11 deletions lang/en/help/filters/text.html

This file was deleted.

1 change: 0 additions & 1 deletion user/filters/courserole.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ function setupForm(&$mform) {
$objs[] =& $mform->createElement('select', $this->_name .'_ct', null, $this->get_course_categories());
$objs[] =& $mform->createElement('text', $this->_name, null);
$grp =& $mform->addElement('group', $this->_name.'_grp', $this->_label, $objs, '', false);
$mform->setHelpButton($this->_name.'_grp', array('courserole', $this->_label, 'filters'));
if ($this->_advanced) {
$mform->setAdvanced($this->_name.'_grp');
}
Expand Down
1 change: 0 additions & 1 deletion user/filters/date.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ function setupForm(&$mform) {
$objs[] = & $mform->createElement('checkbox', $this->_name.'_never', null, get_string('includenever', 'filters'));

$grp =& $mform->addElement('group', $this->_name.'_grp', $this->_label, $objs, '', false);
$mform->setHelpButton($this->_name.'_grp', array('date',$this->_label,'filters'));

if ($this->_advanced) {
$mform->setAdvanced($this->_name.'_grp');
Expand Down
1 change: 0 additions & 1 deletion user/filters/globalrole.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ function get_roles() {
*/
function setupForm(&$mform) {
$obj =& $mform->addElement('select', $this->_name, $this->_label, $this->get_roles());
$mform->setHelpButton($this->_name, array('globalrole', $this->_label, 'filters'));
$mform->setDefault($this->_name, 0);
if ($this->_advanced) {
$mform->setAdvanced($this->_name);
Expand Down
1 change: 0 additions & 1 deletion user/filters/profilefield.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ function setupForm(&$mform) {
$objs[] =& $mform->createElement('select', $this->_name.'_op', null, $this->get_operators());
$objs[] =& $mform->createElement('text', $this->_name, null);
$grp =& $mform->addElement('group', $this->_name.'_grp', $this->_label, $objs, '', false);
$mform->setHelpButton($this->_name.'_grp', array('profilefield',$this->_label,'filters'));
if ($this->_advanced) {
$mform->setAdvanced($this->_name.'_grp');
}
Expand Down
1 change: 0 additions & 1 deletion user/filters/select.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ function setupForm(&$mform) {
$objs[] =& $mform->createElement('select', $this->_name.'_op', null, $this->get_operators());
$objs[] =& $mform->createElement('select', $this->_name, null, $this->_options);
$grp =& $mform->addElement('group', $this->_name.'_grp', $this->_label, $objs, '', false);
$mform->setHelpButton($this->_name.'_grp', array('select', $this->_label, 'filters'));
$mform->disabledIf($this->_name, $this->_name.'_op', 'eq', 0);
if (!is_null($this->_default)) {
$mform->setDefault($this->_name, $this->_default);
Expand Down
1 change: 0 additions & 1 deletion user/filters/simpleselect.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ function user_filter_simpleselect($name, $label, $advanced, $field, $options) {
function setupForm(&$mform) {
$choices = array(''=>get_string('anyvalue', 'filters')) + $this->_options;
$mform->addElement('select', $this->_name, $this->_label, $choices);
$mform->setHelpButton($this->_name, array('simpleselect', $this->_label, 'filters'));
if ($this->_advanced) {
$mform->setAdvanced($this->_name);
}
Expand Down

0 comments on commit ad9432a

Please sign in to comment.