www.energie.vellum.cz.git
22 years agofunction data_href: new (optional) argument $details
short [Sat, 2 Mar 2002 21:41:47 +0000 (21:41 +0000)]
function data_href: new (optional) argument $details
+function img_href

22 years agoVarious cosmetic fixes
short [Sat, 2 Mar 2002 04:04:22 +0000 (04:04 +0000)]
Various cosmetic fixes
+EaP 12/2001 (64): Ptali jste se...
+EaP 1/2002 (65)
+EaP 1/2002 (65): Ptali jste se...
+EaP 2/2002 (66)

22 years agoFix for temporary ViewCVS location change: http://short.vellum.cz/cgi-bin/ -> /cgi/
short [Sat, 2 Mar 2002 01:54:29 +0000 (01:54 +0000)]
Fix for temporary ViewCVS location change: short.vellum.cz/cgi-bin/ -> /cgi/

22 years agoExtension for seamless compatibility with "kewensis" project
short [Mon, 28 Jan 2002 21:45:40 +0000 (21:45 +0000)]
Extension for seamless compatibility with "kewensis" project

22 years agoAlways display the LAST year content, not the current year (may not exist yet)
short [Wed, 9 Jan 2002 20:43:41 +0000 (20:43 +0000)]
Always display the LAST year content, not the current year (may not exist yet)

22 years agotitle_icons_table_month(): rewritten
short [Wed, 19 Dec 2001 20:30:52 +0000 (20:30 +0000)]
title_icons_table_month(): rewritten
 - Articles are now listed each separately (requested)
 - title image has now separate list item, image is no longer <a>ctive
 - each table cell has now its own heading
title_icons(): split value changed 6->4 (now the table has 4x3 cells)
 - needed for 800x600 browser compatibility

22 years ago"Jine sdeleni redakci" field cols 100->60 to be compatible with 800x600 browsers
short [Wed, 19 Dec 2001 20:23:17 +0000 (20:23 +0000)]
"Jine sdeleni redakci" field cols 100->60 to be compatible with 800x600 browsers

22 years ago+EaP 11/2001 (63): Ptali jste se...
short [Wed, 19 Dec 2001 19:44:30 +0000 (19:44 +0000)]
+EaP 11/2001 (63): Ptali jste se...
+EaP 12/2001 (64)

22 years agoColor "cyan"->"aqua" for the CSS Validator compliance
short [Wed, 19 Dec 2001 19:41:46 +0000 (19:41 +0000)]
Color "cyan"->"aqua" for the CSS Validator compliance

22 years ago+EaP 10/2001 (62): Ptali jste se...
short [Tue, 20 Nov 2001 22:34:03 +0000 (22:34 +0000)]
+EaP 10/2001 (62): Ptali jste se...
+EaP 11/2001 (63)
+EaP 12/2001 (64) - just stub

22 years agoh3,h4 attrs -> +=h5,h6,caption
short [Tue, 20 Nov 2001 22:20:24 +0000 (22:20 +0000)]
h3,h4 attrs -> +=h5,h6,caption

22 years ago+header("Content-Style-Type: text/css");
short [Tue, 20 Nov 2001 22:19:27 +0000 (22:19 +0000)]
+header("Content-Style-Type: text/css");
 - currently used just by the articles from "energie.txt"

22 years agoenergie.txt data contents imported to CVS
short [Tue, 20 Nov 2001 21:02:09 +0000 (21:02 +0000)]
energie.txt data contents imported to CVS
 - state: index up to "EaP 10/2001 (62)", articles up to "EaP 9/2001 (61)"

22 years agotitle_icons()'s TDs are now 'valign="top"'ed to align title images side by side
short [Tue, 20 Nov 2001 20:59:39 +0000 (20:59 +0000)]
title_icons()'s TDs are now 'valign="top"'ed to align title images side by side

22 years agoFax # updated: "02/8582674" -> "02/86582674"
short [Wed, 17 Oct 2001 00:42:02 +0000 (00:42 +0000)]
Fax # updated: "02/8582674" -> "02/86582674"

22 years agoXML header "encoding" attribute fixed to respect actual client charset
short [Fri, 5 Oct 2001 10:38:00 +0000 (10:38 +0000)]
XML header "encoding" attribute fixed to respect actual client charset

22 years agoIntroduced $cvs_mailhost config variable
short [Thu, 4 Oct 2001 17:43:38 +0000 (17:43 +0000)]
Introduced $cvs_mailhost config variable
 - $HTTP_SERVER_VARS["HTTP_HOST"] may be just VirtualHost w/o e-mail accounts!

22 years agoUpdated to be XHTML-1.1 compliant
short [Thu, 4 Oct 2001 17:37:49 +0000 (17:37 +0000)]
Updated to be XHTML-1.1 compliant
W3C Validator is now referenced by URI (not by "Referer" header)

22 years agoUpdated to be XHTML-1.1 compliant
short [Thu, 4 Oct 2001 17:37:14 +0000 (17:37 +0000)]
Updated to be XHTML-1.1 compliant

22 years ago"obsah" text is now passed directly, no longer htmlspecialchars()-ed
short [Sun, 30 Sep 2001 20:57:35 +0000 (20:57 +0000)]
"obsah" text is now passed directly, no longer htmlspecialchars()-ed

22 years agoFixed warning when "HTTP_USER_AGENT" was not set
short [Sun, 30 Sep 2001 20:53:37 +0000 (20:53 +0000)]
Fixed warning when "HTTP_USER_AGENT" was not set
Fixed trailing '\t' on the last line after "</html>"

22 years agoRemoved "; charset=iso-8859-2" as in .htaccess is "SourceCharset iso-8859-2"
short [Sun, 30 Sep 2001 20:49:19 +0000 (20:49 +0000)]
Removed "; charset=iso-8859-2" as in .htaccess is "SourceCharset iso-8859-2"
 - such explicit charset specification collided with mod_czech!

22 years agoImplemented "Cenik inzerce" (inzerce.php & co.)
short [Sat, 29 Sep 2001 17:26:00 +0000 (17:26 +0000)]
Implemented "Cenik inzerce" (inzerce.php & co.)

22 years agofunction heading() has now ($title=false) argument (generalized from index.php)
short [Sat, 29 Sep 2001 17:25:50 +0000 (17:25 +0000)]
function heading() has now ($title=false) argument (generalized from index.php)
Implemented "Cenik inzerce" (inzerce.php & co.)

22 years ago+function usersize($size in bytes) -> $size as user string
short [Sat, 29 Sep 2001 17:25:31 +0000 (17:25 +0000)]
+function usersize($size in bytes) -> $size as user string
+function data_href($filename,$text) -> file <a href> reference
function heading() has now ($title=false) argument (generalized from index.php)

22 years agoCosmetic fix - "strana ..." text <span>-ed now, not <div>-ed
short [Sat, 29 Sep 2001 17:22:46 +0000 (17:22 +0000)]
Cosmetic fix - "strana ..." text <span>-ed now, not <div>-ed

22 years agoh3/h4 is now cyan, cosmetic
short [Sat, 29 Sep 2001 00:15:04 +0000 (00:15 +0000)]
h3/h4 is now cyan, cosmetic

22 years agoCSS .nowrap is now global
short [Fri, 28 Sep 2001 23:53:32 +0000 (23:53 +0000)]
CSS .nowrap is now global
 - used also from articles

22 years ago+th/td cosmetic padding in the articles
short [Fri, 28 Sep 2001 23:52:56 +0000 (23:52 +0000)]
+th/td cosmetic padding in the articles

22 years agoImplemented automatic MySQL updating from "energie.txt" datafile
short [Fri, 28 Sep 2001 18:03:11 +0000 (18:03 +0000)]
Implemented automatic MySQL updating from "energie.txt" datafile

22 years ago+SourceCharset iso-8859-2
short [Fri, 28 Sep 2001 18:00:17 +0000 (18:00 +0000)]
+SourceCharset iso-8859-2
  - shouldn't be needed as it is default on paulina.vellum.cz

22 years agoImplemented articles
short [Fri, 28 Sep 2001 03:51:08 +0000 (03:51 +0000)]
Implemented articles

22 years agoImplemented articles
short [Fri, 28 Sep 2001 03:51:00 +0000 (03:51 +0000)]
Implemented articles
Fixed appendix XHTML Validator compliance

22 years ago+function db_array() (differentiate from db_row()!)
short [Fri, 28 Sep 2001 03:49:42 +0000 (03:49 +0000)]
+function db_array()  (differentiate from db_row()!)
title_icons_table_month(): now references all articles, if found
Fixed .htmlspecialchars() enwrapping for $title_tail

22 years agoFixed main page HTML reference when placed in virtualserver root
short [Wed, 26 Sep 2001 22:45:54 +0000 (22:45 +0000)]
Fixed main page HTML reference when placed in virtualserver root
 - utilizes common/dirnameslashed()

22 years ago+dirnameslashed($filename)
short [Wed, 26 Sep 2001 22:45:06 +0000 (22:45 +0000)]
+dirnameslashed($filename)
  - PHP dirname() is broken: ("/1/2/3"=>"/1/2", "/1"->"/") !

22 years agofatal(): Fixed W3C CSS Validator compliance
short [Sat, 22 Sep 2001 00:02:52 +0000 (00:02 +0000)]
fatal(): Fixed W3C CSS Validator compliance

22 years agoFixed W3C HTML Validator compliance
short [Sun, 9 Sep 2001 03:19:44 +0000 (03:19 +0000)]
Fixed W3C HTML Validator compliance

22 years agoAdded tzb-info.cz reference
short [Sun, 9 Sep 2001 03:16:21 +0000 (03:16 +0000)]
Added tzb-info.cz reference

22 years agofooter() has now optional $delimit arg to disable its "<p>&nbsp;</p>"
short [Sun, 9 Sep 2001 03:16:06 +0000 (03:16 +0000)]
footer() has now optional $delimit arg to disable its "<p>&nbsp;</p>"

22 years ago"contact" information enhanced
short [Sun, 9 Sep 2001 02:58:11 +0000 (02:58 +0000)]
"contact" information enhanced
Cosmetic: text formulation fix

22 years ago"have_style" detection code cleanup
short [Sat, 8 Sep 2001 20:51:55 +0000 (20:51 +0000)]
"have_style" detection code cleanup

22 years ago"Mozilla/4.[5-7]" finally compatible: CSS is OK but "style=" was hurting!
short [Sat, 8 Sep 2001 19:36:50 +0000 (19:36 +0000)]
"Mozilla/4.[5-7]" finally compatible: CSS is OK but "style=" was hurting!
  - "style=..." at least replaced by "border=0"

22 years agoCSS disabled for "Mozilla/4.[5-7]" as they will corrupt the page
short [Sat, 8 Sep 2001 01:29:20 +0000 (01:29 +0000)]
CSS disabled for "Mozilla/4.[5-7]" as they will corrupt the page

22 years agoObsolete/broken perl compatibility workaround - [:space:] wasn't wised
short [Sat, 8 Sep 2001 01:22:57 +0000 (01:22 +0000)]
Obsolete/broken perl compatibility workaround - [:space:] wasn't wised

22 years ago"contact" section written
short [Sat, 8 Sep 2001 01:17:25 +0000 (01:17 +0000)]
"contact" section written

22 years agoContents appendixes implemented
short [Sat, 8 Sep 2001 01:09:09 +0000 (01:09 +0000)]
Contents appendixes implemented
"name_full" implemented for month_a() (uses new "sequential" column)

22 years ago+phys_2002 offer
short [Fri, 7 Sep 2001 22:52:15 +0000 (22:52 +0000)]
+phys_2002 offer
Written note for tax+delivery costs

22 years ago+phys_2002 offer
short [Fri, 7 Sep 2001 22:51:42 +0000 (22:51 +0000)]
+phys_2002 offer

22 years agoViewCVS URL reference updated for current VirtualHost placement
short [Fri, 24 Aug 2001 12:34:04 +0000 (12:34 +0000)]
ViewCVS URL reference updated for current VirtualHost placement

22 years ago$HTTP_SERVER_VARS["HTTP_ACCEPT"] can be unset, cope with it
short [Sun, 19 Aug 2001 22:27:04 +0000 (22:27 +0000)]
$HTTP_SERVER_VARS["HTTP_ACCEPT"] can be unset, cope with it
  - needed at least for W3C HTML Validator

22 years agocommon.php/img() implemented to fully get rid of absolute image sizes
short [Sun, 19 Aug 2001 22:23:15 +0000 (22:23 +0000)]
common.php/img() implemented to fully get rid of absolute image sizes
  - external image sources are further solved by raw common.php/img_size()

22 years agogsm_row(): Empty fields notified by text to the user
short [Sat, 18 Aug 2001 22:00:30 +0000 (22:00 +0000)]
gsm_row(): Empty fields notified by text to the user

22 years agoWritten AKRA company account identification (vars $objednavka_*)
short [Sat, 18 Aug 2001 22:00:03 +0000 (22:00 +0000)]
Written AKRA company account identification (vars $objednavka_*)

22 years agoRequested cosmetic paper naming changes
short [Sat, 18 Aug 2001 21:56:46 +0000 (21:56 +0000)]
Requested cosmetic paper naming changes
"bill" payment is now set as radio choice default

22 years agoPaper numbering changed ("yyyy-0m" -> "m/yyyy")
short [Sat, 18 Aug 2001 21:56:12 +0000 (21:56 +0000)]
Paper numbering changed ("yyyy-0m" -> "m/yyyy")
Fixed "Paegas GSM banking" HTML image reference
Requested cosmetic paper naming changes

22 years agoCosmetic: Code cleanup
short [Fri, 17 Aug 2001 23:17:07 +0000 (23:17 +0000)]
Cosmetic: Code cleanup

22 years agoLast PHP error message preventer (@) removed
short [Fri, 17 Aug 2001 22:47:08 +0000 (22:47 +0000)]
Last PHP error message preventer (@) removed

22 years ago.jpg -> .jpeg to respect proper image/jpeg file extension
short [Fri, 17 Aug 2001 20:40:46 +0000 (20:40 +0000)]
.jpg -> .jpeg to respect proper image/jpeg file extension

22 years agoimg/eap-title.png is backfalled to .gif if image/png not supported
short [Fri, 17 Aug 2001 20:39:16 +0000 (20:39 +0000)]
img/eap-title.png is backfalled to .gif if image/png not supported

22 years agobool=common.php/image_supported($mime_type) implemented
short [Fri, 17 Aug 2001 20:38:56 +0000 (20:38 +0000)]
bool=common.php/image_supported($mime_type) implemented

22 years agoEven title page year (or all years) tables now also displayed from "title.php"
short [Fri, 17 Aug 2001 20:12:40 +0000 (20:12 +0000)]
Even title page year (or all years) tables now also displayed from "title.php"
Main "index.php" page now displays only the titles of the current year

22 years agoMade backward compatible with MySQL-3.22.32 on vellum.cz,
short [Fri, 17 Aug 2001 16:37:14 +0000 (16:37 +0000)]
Made backward compatible with MySQL-3.22.32 on vellum.cz,
  table parameter 'auto_increment' silently ignored - initialize it manually:
    insert into energie_objednavka (varsym,direct) values (20010000,1);

22 years agocommon.php/no_cache() implemented to protect appropriate pages
short [Fri, 17 Aug 2001 16:19:12 +0000 (16:19 +0000)]
common.php/no_cache() implemented to protect appropriate pages
Direct payment method implemented
  eBanka not supported, company account+money reqd by eBanka!
Price list now read by common.php/price_a() for direct payment total price
"objednavka.txt" replaced for "objednavky.php" (SQL table "energie_objednavka")

22 years agoPrice list now read by common.php/price_a() for direct payment total price
short [Fri, 17 Aug 2001 16:17:34 +0000 (16:17 +0000)]
Price list now read by common.php/price_a() for direct payment total price
HTML layout cosmetic: "comments" text area centered

22 years agoDirect payment method implemented
short [Fri, 17 Aug 2001 16:16:08 +0000 (16:16 +0000)]
Direct payment method implemented
"objednavka.txt" replaced for "objednavky.php" (SQL table "energie_objednavka")

22 years agoDirect payment method implemented
short [Fri, 17 Aug 2001 16:15:07 +0000 (16:15 +0000)]
Direct payment method implemented
  eBanka not supported, company account+money reqd by eBanka!
Price list now read by common.php/price_a() for direct payment total price
common.php/no_cache() implemented to protect appropriate pages

22 years ago"objednavka.txt" replaced for "objednavky.php" (SQL table "energie_objednavka")
short [Fri, 17 Aug 2001 16:12:34 +0000 (16:12 +0000)]
"objednavka.txt" replaced for "objednavky.php" (SQL table "energie_objednavka")
PHP magic_quotes_* flags turned OFF, data addslashes()ed manually

22 years ago"objednavka.txt" replaced for "objednavky.php" (SQL table "energie_objednavka")
short [Fri, 17 Aug 2001 16:06:48 +0000 (16:06 +0000)]
"objednavka.txt" replaced for "objednavky.php" (SQL table "energie_objednavka")

22 years ago"Objednavka" table formatting cosmetically fixed
short [Fri, 17 Aug 2001 11:25:23 +0000 (11:25 +0000)]
"Objednavka" table formatting cosmetically fixed

22 years agoPublished shell script to convert *.ps title pages to *.jpg & *s.jpg images
short [Fri, 17 Aug 2001 11:00:22 +0000 (11:00 +0000)]
Published shell script to convert *.ps title pages to *.jpg & *s.jpg images

22 years agoTypo fixed :-), "Teplo & Penize" -> "Energie & Penize"
short [Thu, 16 Aug 2001 22:33:10 +0000 (22:33 +0000)]
Typo fixed :-),  "Teplo & Penize" -> "Energie & Penize"

22 years agoCosmetic typo fixed
short [Thu, 16 Aug 2001 14:07:28 +0000 (14:07 +0000)]
Cosmetic typo fixed

22 years agoTable padding added for non-black backgrounded titles
short [Thu, 16 Aug 2001 14:03:37 +0000 (14:03 +0000)]
Table padding added for non-black backgrounded titles

22 years agoFixed cell placement when month overgrowns its line by its month-spanning
short [Thu, 16 Aug 2001 14:02:58 +0000 (14:02 +0000)]
Fixed cell placement when month overgrowns its line by its month-spanning

22 years agoFixed W3C CSS Validator compliance
short [Thu, 16 Aug 2001 14:02:02 +0000 (14:02 +0000)]
Fixed W3C CSS Validator compliance

22 years agoLeading page TOC implemented
short [Thu, 16 Aug 2001 13:15:41 +0000 (13:15 +0000)]
Leading page TOC implemented

22 years agoFixed month tables generation
short [Thu, 16 Aug 2001 13:07:22 +0000 (13:07 +0000)]
Fixed month tables generation

22 years ago"Empty contents" message not fatal, now given only as warning
short [Thu, 16 Aug 2001 12:53:25 +0000 (12:53 +0000)]
"Empty contents" message not fatal, now given only as warning

22 years agoImplemented HTML-wrapped title viewing
short [Thu, 16 Aug 2001 12:32:21 +0000 (12:32 +0000)]
Implemented HTML-wrapped title viewing

22 years agomonth_full()->month_a() to unify month elements naming
short [Thu, 16 Aug 2001 12:31:59 +0000 (12:31 +0000)]
month_full()->month_a() to unify month elements naming
Cosmetic: Explicit db_connect() no longer needed

22 years agomonth_full()->month_a() to unify month elements naming
short [Thu, 16 Aug 2001 12:31:18 +0000 (12:31 +0000)]
month_full()->month_a() to unify month elements naming
img_size($one_argument_file_name) autodetects its image size
Implemented HTML-wrapped title viewing

22 years agomonth_full()->month_a() to unify month elements naming
short [Thu, 16 Aug 2001 12:30:54 +0000 (12:30 +0000)]
month_full()->month_a() to unify month elements naming
img_size($one_argument_file_name) autodetects its image size

22 years agoCosmetic: Forgotten Id string added
short [Thu, 16 Aug 2001 02:38:25 +0000 (02:38 +0000)]
Cosmetic: Forgotten Id string added

22 years agoPages colored to be white-on-black
short [Thu, 16 Aug 2001 02:30:45 +0000 (02:30 +0000)]
Pages colored to be white-on-black

22 years agoFixed W3C HTML Validator compliance
short [Thu, 16 Aug 2001 01:49:00 +0000 (01:49 +0000)]
Fixed W3C HTML Validator compliance

22 years agoconfig.php introduced
short [Thu, 16 Aug 2001 01:39:37 +0000 (01:39 +0000)]
config.php introduced
prepvar() implemented for {GET,POST} input and validation
db_* implemented, currently just for content tables
headers of common.php must be now called by heading()
img_size() implemented for simpler XHTML image size declarations

22 years agotitle_table_month(): month names changed to numbers, reqd by publisher
short [Tue, 14 Aug 2001 18:20:17 +0000 (18:20 +0000)]
title_table_month(): month names changed to numbers, reqd by publisher

22 years agoMSIE 2.0 workaround to not to display "<?xml", MSIE 3.0 not tested & not trusted
short [Tue, 14 Aug 2001 18:10:02 +0000 (18:10 +0000)]
MSIE 2.0 workaround to not to display "<?xml", MSIE 3.0 not tested & not trusted

22 years agofixed harmless typo
short [Tue, 7 Aug 2001 21:25:56 +0000 (21:25 +0000)]
fixed harmless typo

22 years ago<karel.kratochvil@centrum.cz> added to $mail_to recipients
short [Sun, 5 Aug 2001 23:11:04 +0000 (23:11 +0000)]
<karel.kratochvil@centrum.cz> added to $mail_to recipients

22 years agoimg - not imported to CVS
short [Sun, 5 Aug 2001 23:09:57 +0000 (23:09 +0000)]
img - not imported to CVS

22 years agoImplemented "img/eap-YEAR-MN[s].jpg" titles generator
short [Sun, 5 Aug 2001 23:08:16 +0000 (23:08 +0000)]
Implemented "img/eap-YEAR-MN[s].jpg" titles generator
"Got rid of one extra table for order centering" cancelled, back with 2 tables

22 years agoAdded title logo ("img/eap-title.png")
short [Sun, 5 Aug 2001 21:56:11 +0000 (21:56 +0000)]
Added title logo ("img/eap-title.png")
Got rid of one extra table for order centering

22 years ago"comments" field parser/stripper fixed
short [Sun, 5 Aug 2001 18:18:59 +0000 (18:18 +0000)]
"comments" field parser/stripper fixed

22 years agoMIME iso-8859-2 mail encoding implemented
short [Sun, 5 Aug 2001 18:11:47 +0000 (18:11 +0000)]
MIME iso-8859-2 mail encoding implemented

22 years agoImplemented form data acceptor (store&mail)
short [Sun, 5 Aug 2001 18:05:06 +0000 (18:05 +0000)]
Implemented form data acceptor (store&mail)

22 years ago$cvs_id_html generation made foolproof
short [Sun, 5 Aug 2001 18:04:16 +0000 (18:04 +0000)]
$cvs_id_html generation made foolproof
fatal() implemented
$have_js is now always set w/o dependence on $want_js/$detect_js

22 years agoobjednavka.txt - private database
short [Sun, 5 Aug 2001 18:02:28 +0000 (18:02 +0000)]
objednavka.txt - private database

22 years ago"objednavka.txt" is now password-protected
short [Sun, 5 Aug 2001 18:01:56 +0000 (18:01 +0000)]
"objednavka.txt" is now password-protected
  requires "/home/short/priv/energie.objednavka.passwd", not CVSed