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
5c3027cc
Commit
5c3027cc
authored
Nov 15, 2006
by
Richard Mansfield
Browse files
Changed some stuff to use sitename rather than Mahara
parent
4b0efae1
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/contact.php
View file @
5c3027cc
...
...
@@ -90,12 +90,7 @@ function contactus_submit($values) {
}
$to
=
new
StdClass
;
if
(
!
$sitename
=
@
get_config
(
'sitename'
))
{
$to
->
firstname
=
'mahara'
;
}
else
{
$to
->
firstname
=
$sitename
;
}
$to
->
firstname
=
get_config
(
'sitename'
);
$to
->
lastname
=
'contact email'
;
$to
->
email
=
$contactemail
;
...
...
htdocs/lib/web.php
View file @
5c3027cc
...
...
@@ -109,6 +109,9 @@ function &smarty($javascript = array(), $headers = array(), $strings = array())
$smarty
->
assign
(
'THEMEURL'
,
get_config
(
'themeurl'
));
$smarty
->
assign
(
'WWWROOT'
,
get_config
(
'wwwroot'
));
$sitename
=
get_config
(
'sitename'
);
$smarty
->
assign
(
'title'
,
$sitename
);
$smarty
->
assign
(
'heading'
,
$sitename
);
if
(
defined
(
'PUBLIC'
))
{
$smarty
->
assign
(
'PUBLIC'
,
true
);
...
...
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