Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
8aae2a96
Commit
8aae2a96
authored
Apr 03, 2007
by
Penny Leach
Browse files
resume: fixing [#606] wysiwyg for goals & skills
parent
8b76f567
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/resume/goals.php
View file @
8aae2a96
...
...
@@ -58,21 +58,21 @@ $gform = array(
'personalgoal'
=>
array
(
'type'
=>
'wysiwyg'
,
'rows'
=>
10
,
'cols'
=>
5
0
,
'cols'
=>
7
0
,
'defaultvalue'
=>
((
!
empty
(
$personal
))
?
$personal
->
get
(
'description'
)
:
null
),
'title'
=>
get_string
(
'personalgoal'
,
'artefact.resume'
),
),
'academicgoal'
=>
array
(
'type'
=>
'wysiwyg'
,
'rows'
=>
10
,
'cols'
=>
5
0
,
'cols'
=>
7
0
,
'defaultvalue'
=>
((
!
empty
(
$academic
))
?
$academic
->
get
(
'description'
)
:
null
),
'title'
=>
get_string
(
'academicgoal'
,
'artefact.resume'
),
),
'careergoal'
=>
array
(
'type'
=>
'wysiwyg'
,
'rows'
=>
10
,
'cols'
=>
5
0
,
'cols'
=>
7
0
,
'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
(
$g
form
)
)
;
$smarty
->
assign
(
'goalform'
,
$goal
form
);
$smarty
->
display
(
'artefact:resume:goals.tpl'
);
?>
htdocs/artefact/resume/skills.php
View file @
8aae2a96
...
...
@@ -58,21 +58,21 @@ $sform = array(
'personalskill'
=>
array
(
'type'
=>
'wysiwyg'
,
'rows'
=>
10
,
'cols'
=>
5
0
,
'cols'
=>
7
0
,
'defaultvalue'
=>
((
!
empty
(
$personal
))
?
$personal
->
get
(
'description'
)
:
null
),
'title'
=>
get_string
(
'personalskill'
,
'artefact.resume'
),
),
'academicskill'
=>
array
(
'type'
=>
'wysiwyg'
,
'rows'
=>
10
,
'cols'
=>
5
0
,
'cols'
=>
7
0
,
'defaultvalue'
=>
((
!
empty
(
$academic
))
?
$academic
->
get
(
'description'
)
:
null
),
'title'
=>
get_string
(
'academicskill'
,
'artefact.resume'
),
),
'workskill'
=>
array
(
'type'
=>
'wysiwyg'
,
'rows'
=>
10
,
'cols'
=>
5
0
,
'cols'
=>
7
0
,
'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
(
$s
form
)
)
;
$smarty
->
assign
(
'skillform'
,
$skill
form
);
$smarty
->
display
(
'artefact:resume:skills.tpl'
);
?>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment