Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
17fca6e9
Commit
17fca6e9
authored
Mar 21, 2014
by
Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor HTML cleanup in installation
parent
c79d9738
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
qa-install.php
qa-include/qa-install.php
+11
-9
No files found.
qa-include/qa-install.php
View file @
17fca6e9
...
...
@@ -36,14 +36,16 @@
// Output start of HTML early, so we can see a nicely-formatted list of database queries when upgrading
?>
?>
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"content-type"
content=
"text/html; charset=utf-8"
>
<style
type=
"text/css"
>
body
,
input
{
font-size
:
16px
;
font-family
:
Verdana
,
Arial
,
Helvetica
,
sans-serif
;}
body
{
text-align
:
center
;
width
:
640px
;
margin
:
64px
auto
;}
table
{
margin
:
16px
auto
;}
<meta
charset=
"utf-8"
>
<style>
body
,
input
{
font
:
16px
Verdana
,
Arial
,
Helvetica
,
sans-serif
;
}
body
{
text-align
:
center
;
width
:
640px
;
margin
:
64px
auto
;
}
table
{
margin
:
16px
auto
;
}
.msg-success
{
color
:
#080
;
}
.msg-error
{
color
:
#900
;
}
</style>
</head>
<body>
...
...
@@ -285,10 +287,10 @@
<?php
if
(
strlen
(
$success
))
echo
'<p
><font color="#006600">'
.
nl2br
(
qa_html
(
$success
))
.
'</font></p>'
;
// green
echo
'<p
class="msg-success">'
.
nl2br
(
qa_html
(
$success
))
.
'</p>'
;
if
(
strlen
(
$errorhtml
))
echo
'<p
><font color="#990000">'
.
nl2br
(
$errorhtml
)
.
'</font></p>'
;
// red
echo
'<p
class="msg-error">'
.
nl2br
(
$errorhtml
)
.
'</p>'
;
if
(
strlen
(
$suggest
))
echo
'<p>'
.
$suggest
.
'</p>'
;
...
...
@@ -302,7 +304,7 @@
foreach
(
$fields
as
$name
=>
$prompt
)
{
echo
'<tr><td>'
.
qa_html
(
$prompt
)
.
'</td><td><input type="text" size="24" name="'
.
qa_html
(
$name
)
.
'" value="'
.
qa_html
(
@
$
{
'in'
.
$name
})
.
'"></td>'
;
if
(
isset
(
$fielderrors
[
$name
]))
echo
'<td
><font color="#990000"><small>'
.
qa_html
(
$fielderrors
[
$name
])
.
'</small></font
></td>'
;
echo
'<td
class="msg-error"><small>'
.
qa_html
(
$fielderrors
[
$name
])
.
'</small
></td>'
;
echo
'</tr>'
;
}
...
...
Write
Preview
Markdown
is supported
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