Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Judah - MW
ISPConfig 3
Commits
5d143fe8
Commit
5d143fe8
authored
May 23, 2021
by
Thom
🛠
Browse files
Improve awsindex setting
parent
f85318e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/conf/awstats_index.php.master
View file @
5d143fe8
...
...
@@ -54,7 +54,6 @@ foreach ($awprev as $key => $value) {
else $options .= "<option value=\"{$value}/{$awstatsindex}\">{$value}</option>\n";
}
$awstatsindex = 'awsindex.html'
$html = "<!DOCTYPE html>\n<html>\n<head>\n<title>Stats</title>\n";
$html .= "<style>\nhtml,body {margin:0px;padding:0px;width:100%;height:100%;background-color: #ccc;}\n";
$html .= "#header\n{\nwidth:100%;margin:0px auto;\nheight:20px;\nposition:fixed;\npadding:4px;\ntext-align:center;\n}\n";
...
...
@@ -63,7 +62,7 @@ $html .= $script;
$html .= "<div id=\"header\">{$yearmonth_text}\n";
$html .= "<select name=\"awdate\" onchange=\"load_content(this.value)\">\n";
$html .= $options;
$html .= "</select>\n</div>\n<iframe src=\"
{$awstat
sindex
}
\" id=\"content\"></iframe>\n";
$html .= "</select>\n</div>\n<iframe src=\"
aw
sindex
.html
\" id=\"content\"></iframe>\n";
$html .= "</body></html>";
echo $html;
?>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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