Commit b65afd98 authored by Nigel McNie's avatar Nigel McNie
Browse files

Removed collapsibility of resume fieldsets. Fixes #2091.

As pointed out in the bug, there's more reasons to not do it than there are to do it.
parent 994c189d
......@@ -35,10 +35,6 @@ define('TITLE', get_string('myresume', 'artefact.resume'));
require_once('pieforms/pieform.php');
require_once(get_config('docroot') . 'artefact/lib.php');
// There is a problem with collapsible fieldsets in pieforms that mean they
// don't work properly in IE. This is a hack until that problem is fixed
$collapsedfieldsets = (isset($_SERVER['HTTP_USER_AGENT']) && false === stripos($_SERVER['HTTP_USER_AGENT'], 'msie'));
// load up all the artefacts this user already has....
$coverletter = null;
$personalinformation = null;
......@@ -77,8 +73,6 @@ $coverletterform = pieform(array(
'coverletterfs' => array(
'type' => 'fieldset',
'legend' => get_string('coverletter', 'artefact.resume'),
'collapsible' => $collapsedfieldsets,
'collapsed' => $collapsedfieldsets,
'elements' => array(
'coverletter' => array(
'type' => 'wysiwyg',
......@@ -107,8 +101,6 @@ $interestsform = pieform(array(
'interestsfs' => array(
'type' => 'fieldset',
'legend' => get_string('interest', 'artefact.resume'),
'collapsible' => $collapsedfieldsets,
'collapsed' => $collapsedfieldsets,
'elements' => array(
'interest' => array(
'type' => 'wysiwyg',
......@@ -137,8 +129,6 @@ $contactinformationform = pieform(array(
'contactinformationfs' => array(
'type' => 'fieldset',
'legend' => get_string('contactinformation', 'artefact.resume'),
'collapsible' => $collapsedfieldsets,
'collapsed' => $collapsedfieldsets,
'elements' => array(
'contactinformation' => array(
'type' => 'html',
......@@ -161,8 +151,6 @@ $personalinformationform = pieform(array(
'personalinformation' => array(
'type' => 'fieldset',
'legend' => get_string('personalinformation', 'artefact.resume'),
'collapsible' => $collapsedfieldsets,
'collapsed' => $collapsedfieldsets,
'elements' => array(
'dateofbirth' => array(
'type' => 'calendar',
......
......@@ -1138,7 +1138,7 @@ fieldset.collapsed legend a {
#coverletter fieldset,
#interests fieldset,
#contactinformation fieldset,
#personalinformation fieldset,
#personalinformation fieldset
{
border: 0;
}
......
Markdown is supported
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