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
1415c9b1
Commit
1415c9b1
authored
Nov 16, 2007
by
Nigel McNie
Browse files
Merge branch 'master' of
git+ssh://git.catalyst.net.nz/var/git/mahara
parents
f4cce27d
264e31c2
Changes
2
Show whitespace changes
Inline
Side-by-side
htdocs/artefact/internal/index.php
View file @
1415c9b1
...
...
@@ -290,7 +290,13 @@ function profileform_submit(Pieform $form, $values) {
}
$smarty
=
smarty
();
$smarty
=
smarty
(
array
(),
array
(),
array
(
'mahara'
=>
array
(
'cannotremovedefaultemail'
,
'emailtoolong'
),
));
$smarty
->
assign
(
'profileform'
,
$profileform
);
...
...
htdocs/theme/default/templates/form/emaillist.tpl
View file @
1415c9b1
...
...
@@ -26,7 +26,7 @@
var
newEmail
=
{
{
$name
}
}
_newrefinput
.
value
;
if
(
typeof
(
newEmail
)
==
'
string
'
&&
newEmail
.
length
>
0
)
{
if
(
newEmail
.
length
>
255
)
{
alert
(
'
{
{
str
tag
=
"
emailtoolong
"
}
}
'
);
alert
(
get_string
(
'
emailtoolong
'
)
);
}
else
{
appendChildNodes
(
'
{
{
$name
}
}_list
'
,
DIV
(
{
'class'
:
'unvalidated'
}
,
...
...
@@ -69,7 +69,7 @@
);
if
(
radio
[
0
]
&&
radio
[
0
].
checked
)
{
alert
(
'
{
{
str
tag
=
"
cannotremovedefaultemail
"
}
}
'
);
alert
(
get_string
(
'
cannotremovedefaultemail
'
)
);
return
;
}
...
...
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