git://git.jankratochvil.net
/
www.energie.vellum.cz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
+phys_2007
[www.energie.vellum.cz.git]
/
clanek.php
diff --git
a/clanek.php
b/clanek.php
index
28bc68f
..
662c0a1
100644
(file)
--- a/
clanek.php
+++ b/
clanek.php
@@
-4,7
+4,8
@@
$head_css="
th,td { padding: 3px }
$head_css="
th,td { padding: 3px }
-h3,h4 { color: cyan; background-color: transparent; }
+h3,h4,h5,h6 { color: aqua; background-color: transparent; }
+caption { color: aqua; background-color: transparent; }
";
prepvar("year" ,"[0-9]+");
";
prepvar("year" ,"[0-9]+");
@@
-27,7
+28,7
@@
h3,h4 { color: cyan; background-color: transparent; }
function print_article($row)
{
function print_article($row)
{
- print("<h2>".htmlspecialchars(
$row["name"]
)."</h2>\n".$row["contents"]);
+ print("<h2>".htmlspecialchars(
ereg_replace("\\|.*\$","",$row["name"])
)."</h2>\n".$row["contents"]);
}
if (isset($id))
}
if (isset($id))