| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/calendar/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301!\210\300\302!\210\303\304\305\306\307\310\311\301&\210\312\313\314\315\316DD\317\320\321\311\304&\210\312\322\314\315\323DD\324\320\325\311\304&\210\312\326\314\315\327DD\330\320\331\311\304&\210\312\332\314\315\333DD\334\335\336\320\337\311\304& \210\312\340\314\315\341DD\342\343\344\320\325\311\304& \210\312\345\314\315\346DD\347\320\321\343\344\311\304& \207" [require calendar diary-lib custom-declare-group calendar-html nil "Options for HTML calendars." :prefix "cal-html-" :group custom-declare-variable cal-html-directory funcall function #[0 "\300\207" ["~/public_html"] 1 #1=""] "Directory for HTML pages generated by cal-html." :type string cal-html-print-day-number-flag #[0 "\300\207" [nil] 1 #1#] "Non-nil means print the day-of-the-year number in the monthly cal-html page." boolean cal-html-year-index-cols #[0 "\300\207" [3] 1 #1#] "Number of columns in the cal-html yearly index page." integer cal-html-day-abbrev-array #[0 "\207" [calendar-day-abbrev-array] 1 #1#] "Array of seven strings for abbreviated day names (starting with Sunday)." :set-after (calendar-day-abbrev-array) (vector (string :tag "Sun") (string :tag "Mon") (string :tag "Tue") (string :tag "Wed") (string :tag "Thu") (string :tag "Fri") (string :tag "Sat")) cal-html-holidays #[0 "\300\207" [t] 1 #1#] "If non-nil, include holidays as well as diary entries." :version "24.3" cal-html-css-default #[0 "\300\207" ["<STYLE TYPE=\"text/css\">\n BODY { background: #bde; }\n H1 { text-align: center; }\n TABLE { padding: 2pt; }\n TH { background: #dee; }\n TABLE.year { width: 100%; }\n TABLE.agenda { width: 100%; }\n TABLE.header { width: 100%; text-align: center; }\n TABLE.minical TD { background: white; text-align: center; }\n TABLE.agenda TD { background: white; text-align: left; }\n TABLE.agenda TH { text-align: left; width: 20%; }\n SPAN.NO-YEAR { color: #0b3; font-weight: bold; }\n SPAN.ANN { color: #0bb; font-weight: bold; }\n SPAN.BLOCK { color: #048; font-style: italic; }\n SPAN.HOLIDAY { color: #f00; font-weight: bold; }\n</STYLE>\n\n"] 1 #1#] "Default cal-html css style. You can override this with a \"cal.css\" file."] 10)
#@28 HTML code for end of page.
(defconst cal-html-e-document-string "<BR><BR>\n</BODY>\n</HTML>" (#$ . 2274))
#@39 HTML code for beginning of table row.
(defconst cal-html-b-tablerow-string "<TR>\n" (#$ . 2386))
#@33 HTML code for end of table row.
(defconst cal-html-e-tablerow-string "</TR>\n" (#$ . 2489))
#@40 HTML code for beginning of table data.
(defconst cal-html-b-tabledata-string " <TD>" (#$ . 2587))
#@34 HTML code for end of table data.
(defconst cal-html-e-tabledata-string " </TD>\n" (#$ . 2692))
#@42 HTML code for beginning of table header.
(defconst cal-html-b-tableheader-string " <TH>" (#$ . 2794))
#@36 HTML code for end of table header.
(defconst cal-html-e-tableheader-string " </TH>\n" (#$ . 2903))
#@29 HTML code for end of table.
(defconst cal-html-e-table-string "</TABLE>\n<!-- ================================================== -->\n" (#$ . 3009))
#@67 HTML code for a day in the minical - links NUM to month-page#NUM.
(defconst cal-html-minical-day-format " <TD><a href=%s#%d>%d</TD>\n" (#$ . 3164))
#@30 Initial block for html page.
(defconst cal-html-b-document-string (concat "<HTML>\n<HEAD>\n<TITLE>Calendar</TITLE>\n<!--This buffer was produced by cal-html.el-->\n\n" cal-html-css-default "<LINK REL=\"stylesheet\" TYPE=\"text/css\" HREF=\"cal.css\">\n</HEAD>\n\n<BODY>\n\n") (#$ . 3319))
#@47 Alist of symbols and their HTML replacements.
(defconst cal-html-html-subst-list '(("&" . "&") ("\n" . "<BR>\n")) (#$ . 3614))
#@45 Return STRING as html comment.
(fn STRING)
(defalias 'cal-html-comment #[257 "\300\301\302\303\304#\"\207" [format "<!-- ====== %s ====== -->\n" string-replace "--" "++"] 7 (#$ . 3751)])
#@68 Return a hyperlink to url LINK with text STRING.
(fn LINK STRING)
(defalias 'cal-html-href #[514 "\300\301#\207" [format "<A HREF=\"%s\">%s</A>"] 6 (#$ . 3950)])
#@47 Return STRING as html header h3.
(fn STRING)
(defalias 'cal-html-h3 #[257 "\300\301\"\207" [format "\n <H3>%s</H3>\n"] 4 (#$ . 4121)])
#@47 Return STRING as html header h1.
(fn STRING)
(defalias 'cal-html-h1 #[257 "\300\301\"\207" [format "\n <H1>%s</H1>\n"] 4 (#$ . 4271)])
#@50 Return STRING as html table header.
(fn STRING)
(defalias 'cal-html-th #[257 "\302\303 $\207" [cal-html-b-tableheader-string cal-html-e-tableheader-string format "%s%s%s"] 6 (#$ . 4421)])
#@48 Return table tag with attribute ARG.
(fn ARG)
(defalias 'cal-html-b-table #[257 "\300\301\"\207" [format "\n<TABLE %s>\n"] 4 (#$ . 4618)])
#@122 Return name of html page for numeric MONTH and four-digit YEAR.
For example, "2006-08.html" for 8 2006.
(fn MONTH YEAR)
(defalias 'cal-html-monthpage-name #[514 "\300\301#\207" [format "%d-%.2d.html"] 6 (#$ . 4766)])
#@238 Insert a link to the html page for numeric MONTH and four-digit YEAR.
If optional argument CHANGE-DIR is non-nil and MONTH is 1 or 2,
the link points to a different year and so has a directory part.
(fn MONTH YEAR &optional CHANGE-DIR)
(defalias 'cal-html-insert-link-monthpage #[770 "\300\301\205 \302>\205 \303\304\"\305\"P\306!\"!c\207" [cal-html-h3 cal-html-href (1 12) format "../%d/" cal-html-monthpage-name calendar-month-name] 9 (#$ . 4993)])
#@91 Insert a link tagged with MONTH name, to index page for four-digit YEAR.
(fn MONTH YEAR)
(defalias 'cal-html-insert-link-yearpage #[514 "\300\301\302\303!\304\305\306!\"#!c\207" [cal-html-h1 format "%s %s" calendar-month-name cal-html-href "index.html" number-to-string] 10 (#$ . 5462)])
#@166 Prompt for the html calendar output directory for four-digit YEAR.
Return the expanded directory name, which is based on
`cal-html-directory' by default.
(fn YEAR)
(defalias 'cal-html-year-dir-ask-user #[257 "\301\302\303\301\304\305\"\"\"!\207" [cal-html-directory expand-file-name read-directory-name "Enter HTML calendar directory name: " format "%d"] 8 (#$ . 5761)])
#@157 Insert the header for the numeric MONTH page for four-digit YEAR.
Contains links to previous and next month and year, and current minical.
(fn MONTH YEAR)
(defalias 'cal-html-insert-month-header #[514 "\305\306!c\210c\210 c\210\307\310W\203 T\262\311\312_\313\211$\262\314\312\"T\262\211\312\245\262\211\310W\203<