Commit 8aae2a96 authored by Penny Leach's avatar Penny Leach
Browse files

resume: fixing [#606] wysiwyg for goals & skills

parent 8b76f567
......@@ -58,21 +58,21 @@ $gform = array(
'personalgoal' => array(
'type' => 'wysiwyg',
'rows' => 10,
'cols' => 50,
'cols' => 70,
'defaultvalue' => ((!empty($personal)) ? $personal->get('description') : null),
'title' => get_string('personalgoal', 'artefact.resume'),
),
'academicgoal' => array(
'type' => 'wysiwyg',
'rows' => 10,
'cols' => 50,
'cols' => 70,
'defaultvalue' => ((!empty($academic)) ? $academic->get('description') : null),
'title' => get_string('academicgoal', 'artefact.resume'),
),
'careergoal' => array(
'type' => 'wysiwyg',
'rows' => 10,
'cols' => 50,
'cols' => 70,
'defaultvalue' => ((!empty($career)) ? $career->get('description') : null),
'title' => get_string('careergoal', 'artefact.resume'),
),
......@@ -82,8 +82,8 @@ $gform = array(
),
),
);
$goalform = pieform($gform);
$smarty = smarty();
$smarty->assign('goalform', pieform($gform));
$smarty->assign('goalform', $goalform);
$smarty->display('artefact:resume:goals.tpl');
?>
......@@ -58,21 +58,21 @@ $sform = array(
'personalskill' => array(
'type' => 'wysiwyg',
'rows' => 10,
'cols' => 50,
'cols' => 70,
'defaultvalue' => ((!empty($personal)) ? $personal->get('description') : null),
'title' => get_string('personalskill', 'artefact.resume'),
),
'academicskill' => array(
'type' => 'wysiwyg',
'rows' => 10,
'cols' => 50,
'cols' => 70,
'defaultvalue' => ((!empty($academic)) ? $academic->get('description') : null),
'title' => get_string('academicskill', 'artefact.resume'),
),
'workskill' => array(
'type' => 'wysiwyg',
'rows' => 10,
'cols' => 50,
'cols' => 70,
'defaultvalue' => ((!empty($work)) ? $work->get('description') : null),
'title' => get_string('workskill', 'artefact.resume'),
),
......@@ -82,8 +82,8 @@ $sform = array(
),
),
);
$skillform = pieform($sform);
$smarty = smarty();
$smarty->assign('skillform', pieform($sform));
$smarty->assign('skillform', $skillform);
$smarty->display('artefact:resume:skills.tpl');
?>
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