git://git.jankratochvil.net
/
www.energie.vellum.cz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2d746a0
)
title_table_month(): month names changed to numbers, reqd by publisher
author
short
<>
Tue, 14 Aug 2001 18:20:17 +0000
(18:20 +0000)
committer
short
<>
Tue, 14 Aug 2001 18:20:17 +0000
(18:20 +0000)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index
5179929
..
43507a5
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-19,15
+19,15
@@
function title_table_month($year,$month)
{
function title_table_month($year,$month)
{
- $month_cz=array("leden","únor","bøezen","duben","kvìten","èerven","èervenec","srpen","záøí","øíjen","listoped","prosinec");
$size_width_s= 98; $size_height_s=138;
$size_width =486; $size_height =688;
$base=sprintf("img/eap-%04d-%02d",$year,$month+1);
$size_width_s= 98; $size_height_s=138;
$size_width =486; $size_height =688;
$base=sprintf("img/eap-%04d-%02d",$year,$month+1);
+ $name=sprintf( "%04d/%02d",$year,$month+1);
print("<a href=\"${base}.jpg\">"
."<img src=\"${base}s.jpg\" width=\"$size_width_s\" height=\"$size_height_s\""
print("<a href=\"${base}.jpg\">"
."<img src=\"${base}s.jpg\" width=\"$size_width_s\" height=\"$size_height_s\""
- ." style=\"border:0;width:${size_width_s}px;height:${size_height_s}px\" alt=\"
$year-".$month_cz[$month]."
\" /><br />\n"
- ."$
year<br />".$month_cz[$month]
+ ." style=\"border:0;width:${size_width_s}px;height:${size_height_s}px\" alt=\"
titulní stránka $name
\" /><br />\n"
+ ."$
name"
."</a>");
}
."</a>");
}