Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
66729897
Commit
66729897
authored
Mar 23, 2006
by
Gerhard Killesreiter
Browse files
#54066
, make site_name required. patch by Freso
parent
4a689a99
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/system.module
View file @
66729897
...
...
@@ -239,7 +239,7 @@ function system_view_general() {
);
$form
[
'general'
][
'site_name'
]
=
array
(
'#type'
=>
'textfield'
,
'#title'
=>
t
(
'Name'
),
'#default_value'
=>
variable_get
(
'site_name'
,
'drupal'
),
'#description'
=>
t
(
'The name of this web site.'
)
'#description'
=>
t
(
'The name of this web site.'
)
,
'#required'
=>
TRUE
);
$form
[
'general'
][
'site_mail'
]
=
array
(
'#type'
=>
'textfield'
,
'#title'
=>
t
(
'E-mail address'
),
'#default_value'
=>
variable_get
(
'site_mail'
,
ini_get
(
'sendmail_from'
)),
...
...
modules/system/system.module
View file @
66729897
...
...
@@ -239,7 +239,7 @@ function system_view_general() {
);
$form
[
'general'
][
'site_name'
]
=
array
(
'#type'
=>
'textfield'
,
'#title'
=>
t
(
'Name'
),
'#default_value'
=>
variable_get
(
'site_name'
,
'drupal'
),
'#description'
=>
t
(
'The name of this web site.'
)
'#description'
=>
t
(
'The name of this web site.'
)
,
'#required'
=>
TRUE
);
$form
[
'general'
][
'site_mail'
]
=
array
(
'#type'
=>
'textfield'
,
'#title'
=>
t
(
'E-mail address'
),
'#default_value'
=>
variable_get
(
'site_mail'
,
ini_get
(
'sendmail_from'
)),
...
...
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