diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-12 22:16:27 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-12 22:16:27 +0000 |
commit | 298d3c0c50f14601472b832f3ecd8fcd8c07dfe4 (patch) | |
tree | 68b06c337a4b20fe2bfba66732085d66fe9c1e12 /phpBB/adm/style/colour_swatch.html | |
parent | 4a0ddb9dfbe76f0e074d85a417541591ec25daa6 (diff) | |
download | forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.tar forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.tar.gz forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.tar.bz2 forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.tar.xz forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.zip |
- get swatch converted into new acp format
- add page title to ucp pages
- add ability to supress getting the who is online list in page_header() (saves us ideally 1-2 queries on ucp/mcp pages)
- fixing pm rules a bit as well as now having complete author memberships for author_in_group (sender -> is in usergroup -> xxx)
git-svn-id: file:///svn/phpbb/trunk@6054 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm/style/colour_swatch.html')
-rw-r--r-- | phpBB/adm/style/colour_swatch.html | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/phpBB/adm/style/colour_swatch.html b/phpBB/adm/style/colour_swatch.html new file mode 100644 index 0000000000..19fa008d00 --- /dev/null +++ b/phpBB/adm/style/colour_swatch.html @@ -0,0 +1,76 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr"> +<head> +<meta http-equiv="Content-Style-Type" content="text/css" /> +<meta http-equiv="imagetoolbar" content="no" /> +<title>{L_COLOUR_SWATCH}</title> + +<style type="text/css"> +<!-- + body { + background-color: #404040; + color: #fff; + } + + td { + border: solid 1px #333; + } + + .over { + border-color: white; + } + + .out { + border-color: #333333; + } + + img { + border: 0; + } +//--> +</style> +</head> + +<body> + +<script type="text/javascript"> +<!-- + var r = 0, g = 0, b = 0; + + var numberList = new Array(6); + numberList[0] = '00'; + numberList[1] = '33'; + numberList[2] = '66'; + numberList[3] = '99'; + numberList[4] = 'CC'; + numberList[5] = 'FF'; + + document.writeln('<table cellspacing="0" cellpadding="0" border="0">'); + + for (r = 0; r < 6; r++) + { + document.writeln('<tr>'); + + for (g = 0; g < 6; g++) + { + for (b = 0; b < 6; b++) + { + color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]); + document.write('<td style="background-color: #' + color + ';" onmouseover="this.className=\'over\'" onmouseout="this.className=\'out\'">'); + document.write('<a href="javascript:cell(\'' + color + '\');"><img src="{T_IMAGES_PATH}spacer.gif" width="15" height="12" alt="#' + color + '" title="#' + color + '" \/><\/a>'); + document.writeln('<\/td>'); + } + } + document.writeln('<\/tr>'); + } + document.writeln('<\/table>'); + + function cell(color) + { + opener.document.forms["{OPENER}"].{NAME}.value = color; + } +//--> +</script> + +</body> +</html>
\ No newline at end of file |