Function: cal-html-insert-year-minicals

cal-html-insert-year-minicals is a byte-compiled function defined in cal-html.el.gz.

Signature

(cal-html-insert-year-minicals YEAR COLS)

Documentation

Make a one page yearly mini-calendar for four-digit YEAR.

There are 12/cols rows of COLS months each.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/cal-html.el.gz
;;------------------------------------------------------------
;; year index page with minicals
;;------------------------------------------------------------
(defun cal-html-insert-year-minicals (year cols)
  "Make a one page yearly mini-calendar for four-digit YEAR.
There are 12/cols rows of COLS months each."
  (insert cal-html-b-document-string)
  (insert (cal-html-h1 (number-to-string year)))
  (insert (cal-html-b-table "class=year")
          cal-html-b-tablerow-string)
  (dotimes (i 12)
    (insert cal-html-b-tabledata-string)
    (cal-html-insert-link-monthpage (1+ i) year)
    (cal-html-insert-minical (1+ i) year)
    (insert cal-html-e-tabledata-string)
    (if (zerop (mod (1+ i) cols))
        (insert cal-html-e-tablerow-string
                cal-html-b-tablerow-string)))
  (insert cal-html-e-tablerow-string
          cal-html-e-table-string
          cal-html-e-document-string))