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 (parent:
7bbc729
)
Removed all remaining GIFs in favor of PNGs/MNGs.
author
short
<>
Sun, 21 Apr 2002 00:22:19 +0000
(
00:22
+0000)
committer
short
<>
Sun, 21 Apr 2002 00:22:19 +0000
(
00:22
+0000)
.htaccess
patch
|
blob
|
history
common.php
patch
|
blob
|
history
index.php
patch
|
blob
|
history
diff --git
a/.htaccess
b/.htaccess
index
c8cdd7a
..
e8f1f48
100644
(file)
--- a/
.htaccess
+++ b/
.htaccess
@@
-4,6
+4,7
@@
php_flag short_open_tag off
php_flag magic_quotes_gpc off
php_flag magic_quotes_runtime off
AddType text/javascript .js
php_flag magic_quotes_gpc off
php_flag magic_quotes_runtime off
AddType text/javascript .js
+AddType video/x-mng .mng
<FilesMatch "^(objednavky|inzeraty)\.php$">
AuthType Basic
AuthName energie.objednavky
<FilesMatch "^(objednavky|inzeraty)\.php$">
AuthType Basic
AuthName energie.objednavky
diff --git
a/common.php
b/common.php
index
a8f4d00
..
3691b89
100644
(file)
--- a/
common.php
+++ b/
common.php
@@
-190,7
+190,8
@@
function img($file,$alt,$attrs="")
function gsm_banking()
{
function gsm_banking()
{
- return(img("img/sluzby_bankovni_pggsm.gif","Paegas GSM banking","class=\"img-align\""));
+ return(img("img/sluzby_bankovni_pggsm.".(image_supported("video/x-mng") ? "mng" : "gif"),
+ "Paegas GSM banking","class=\"img-align\""));
}
function price_a()
}
function price_a()
@@
-388,14
+389,15
@@
zvolte pros
<li>
<table border="0">
<li>
<table border="0">
-<tr><td><?php print("<a href=\"$base.pdf\">".img("img/adobe-pdficon-alpha.gif","Adobe PDF")."</a>"); ?></td>
+<tr><td><?php print("<a href=\"$base.pdf\">".img("img/adobe-pdficon-alpha.".(image_supported("image/png") ? "png" : "gif"),
+ "Adobe PDF")."</a>"); ?></td>
<td><?php print(data_href("$base.pdf","Dokument PDF")); ?></td>
</tr>
</table>
<blockquote>
<table border="0">
<tr><td><a href="http://www.adobe.com/products/acrobat/readstep.html"><?php
<td><?php print(data_href("$base.pdf","Dokument PDF")); ?></td>
</tr>
</table>
<blockquote>
<table border="0">
<tr><td><a href="http://www.adobe.com/products/acrobat/readstep.html"><?php
- print(img("img/adobe-getacro.
gif"
,"Get Adobe Acrobat Reader"));
+ print(img("img/adobe-getacro.
".(image_supported("image/png") ? "png" : "gif")
,"Get Adobe Acrobat Reader"));
?></a></td>
<td class="smaller">Soubor je ve formátu <span class="italic">Adobe Acrobat</span>,
pro jeho pøeètení si prosím nainstalujte
?></a></td>
<td class="smaller">Soubor je ve formátu <span class="italic">Adobe Acrobat</span>,
pro jeho pøeètení si prosím nainstalujte
diff --git
a/index.php
b/index.php
index
8b044cc
..
724a636
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-159,7
+159,8
@@
print_addr("Adresa pro zas
<hr />
<table border="0" width="100%"><colgroup width="0*" />
<tr><td class="smaller">Doporuèujeme:</td><td align="center"><?php
<hr />
<table border="0" width="100%"><colgroup width="0*" />
<tr><td class="smaller">Doporuèujeme:</td><td align="center"><?php
- print("<a href=\"http://www.tzb-info.cz/\">".img("img/tzb-info.gif","TZB-info")."</a>");
+ print("<a href=\"http://www.tzb-info.cz/\">".img("img/tzb-info.".(image_supported("video/x-mng") ? "mng" : "gif"),
+ "TZB-info")."</a>");
?></td></tr>
</table>
?></td></tr>
</table>