Archived
4
2
This repository has been archived on 2024-09-28. You can view files and clone it, but cannot push or open issues or pull requests.
hpr_generator/templates
Dave Morriss 3f766544ac I145 Various bug fixes
site-generator: fixed an error in the POD documentation and added an
    example. Reformatted 'GetOptions' arguments. Fixed 'parse_page_arg'
    which started its returned array with an empty arrayref. Fixed code
    using this array which skipped this unwanted extra value. Fixed
    'get_ids_from_db' which turns a CSV list of shows into an array, but
    includes a blank element. Removed a few trailing spaces.

templates/content-correspondents.tpl.html: Capitalised "License". Added
    'order by h.host' to the internal query to get hosts sorted
    alphabetically.

templates/content-episode.tpl.html: Added a call to macro
    'zero_pad_left' to add leading zeroes to show number in the title.
    Added a call to 'FILTER html_para' when displaying comments (which
    are plain text). Added a test for whether the show being displayed
    is in the 20-show window before the current one to determine whether
    the short or long comment form is required. Added the code to
    generate the two form types depending on the earlier test.

templates/content-sitemap.tpl.html: Corrected the entry for "Show
    Comments" which contained an invalid URL.

templates/page.tpl.html: Grammar corrections in the '<head>' section.

templates/queries-episode-mysql.tpl.html: Adjusted the date tests in the
    CTE's which compare the episode date with today's date plus one day.
    Why add a day when the test is whether the episode date is less than
    or equal to the current one? Also, it seemed that MySQL/MariaDB
    might need to work with the UTC date rather than the local dat
    implied by 'NOW()'.

templates/queries-episode-sqlite.tpl.html: Similar adjustment to date
    tests in CTE's to the MySQL version. SQLite defaults to UTC however.

templates/queries-episodes-mysql.tpl.html: See above for notes about
    date tests and MySQL UTC dates. Same arguments here.

templates/queries-episodes-sqlite.tpl.html: Date test adjustment
    described above.

templates/queries-ids-episode-mysql.tpl.html: Removed the date test from
    the query so all episode numbers are returned. Added an 'order by'
    since the table can (could in the past) return numbers out of
    numerical sequence.

templates/queries-ids-episode-sqlite.tpl.html: Same change as for the
    MySQL version.

templates/queries-index-mysql.tpl.html: There are three queries here,
    returned as TT² variables. The one called 'query_latest_episodes'
    has been adjusted to use UTC and to avoid adding a day to the
    current date. The query called 'query_last_5_weeks_episodes' has
    been similarly adjusted.

templates/queries-index-sqlite.tpl.html: Changes for the same two
    queries, but just for the tests requiring today's date plus one day.

templates/rss-comments.tpl.xml: Grammar corrections in the
    '<channel><description>' section.

templates/rss.tpl.xml: Grammar corrections in various subsections of the
    '<channel>' section.

templates/shared-call_for_shows.tpl.html: Removed the "FTP server"
    message. Slight tidying.
2023-07-23 17:03:27 +01:00
..
content-about.tpl.html Various changes to bring all the information pages into the same locations 2023-06-27 19:31:39 +02:00
content-comments_viewer.tpl.html Various changes to bring all the information pages into the same locations 2023-06-27 19:31:39 +02:00
content-contact.tpl.html Initial add of web page Template files 2022-06-28 10:40:24 -04:00
content-contribute.tpl.html Change php_baseurl to hub_baseurl in the template files 2023-05-31 10:25:17 +02:00
content-correspondent.tpl.html Add requested audio links 2023-04-02 07:24:43 -04:00
content-correspondents.tpl.html I145 Various bug fixes 2023-07-23 17:03:27 +01:00
content-download.tpl.html Add page download 2022-08-09 19:06:06 -04:00
content-episode.tpl.html I145 Various bug fixes 2023-07-23 17:03:27 +01:00
content-episodes.tpl.html Add requested audio links 2023-04-02 07:24:43 -04:00
content-help_out.tpl.html Remove references to Report missing tags page 2022-08-16 18:39:05 -04:00
content-index-announcement.tpl.html Remove New Year's Eve 2023 show announcement 2023-01-03 10:08:52 -05:00
content-index.tpl.html Changes to get the site working 2023-06-17 22:04:35 +02:00
content-mumble-howto.tpl.html Add page mumble-howto 2022-10-16 18:12:05 -04:00
content-podcatchers.tpl.html Add page podcatchers 2022-08-12 22:59:54 -04:00
content-promote.tpl.html Add page promote 2022-08-13 10:08:55 -04:00
content-recording.tpl.html Add page recording 2022-08-10 22:30:11 -04:00
content-request_a_slot.tpl.html Change php_baseurl to hub_baseurl in the template files 2023-05-31 10:25:17 +02:00
content-requested_topics.tpl.html Add page requested_topics 2022-08-10 22:08:38 -04:00
content-search.tpl.html Fix the DuckDuck Go form, convert all url's to https and add help text 2023-06-22 21:13:25 +02:00
content-series_episode.tpl.html Add audio links to the episodes on a series page 2023-04-02 09:06:57 -04:00
content-series.tpl.html Fix URL's to series RSS feeds 2023-02-25 23:06:41 -05:00
content-sitemap.tpl.html I145 Various bug fixes 2023-07-23 17:03:27 +01:00
content-stuff_you_need_to_know.tpl.html Fix links to static pages 2022-08-13 13:11:30 -04:00
content-syndication.tpl.html Various changes to bring all the information pages into the same locations 2023-06-27 19:31:39 +02:00
content-tags.tpl.html Fix episode url issues 2023-05-06 09:07:25 -04:00
content-theme.tpl.html Add Theme page 2022-08-09 22:06:37 -04:00
content-twat_episode.tpl.html This reflects the change to move the "play" button to the top of the episode 2023-03-31 14:02:49 +02:00
ids-correspondent.tpl.html Allow multiple pages to be generated from one template 2022-07-28 22:22:55 -04:00
ids-episode.tpl.html Refactor MySQL database specific SQL 2022-11-28 19:49:06 -05:00
ids-series_episode.tpl.html Rename page series_shows to series_episode 2022-08-06 12:14:47 -04:00
ids-twat_episode.tpl.html Remove superflous WHERE condition 2022-11-28 19:55:51 -05:00
navigation-about.tpl.html Change php_baseurl to hub_baseurl in the template files 2023-05-31 10:25:17 +02:00
navigation-contribute.tpl.html Change php_baseurl to hub_baseurl in the template files 2023-05-31 10:25:17 +02:00
navigation-get-shows.tpl.html Change php_baseurl to hub_baseurl in the template files 2023-05-31 10:25:17 +02:00
navigation-give-shows.tpl.html Change php_baseurl to hub_baseurl in the template files 2023-05-31 10:25:17 +02:00
navigation-main.tpl.html Change php_baseurl to hub_baseurl in the template files 2023-05-31 10:25:17 +02:00
page.tpl.html I145 Various bug fixes 2023-07-23 17:03:27 +01:00
queries-call_for_shows-mysql.tpl.html Refactor MySQL database specific SQL 2022-11-28 22:47:53 -05:00
queries-call_for_shows-sqlite.tpl.html Refactor MySQL database specific SQL 2022-11-28 22:47:53 -05:00
queries-correspondent-mysql.tpl.html Refactor MySQL database specific SQL 2022-11-28 19:52:39 -05:00
queries-correspondent-sqlite.tpl.html Add SQLite specific query templates 2023-02-08 16:05:36 -05:00
queries-episode-mysql.tpl.html I145 Various bug fixes 2023-07-23 17:03:27 +01:00
queries-episode-sqlite.tpl.html I145 Various bug fixes 2023-07-23 17:03:27 +01:00
queries-episodes-mysql.tpl.html I145 Various bug fixes 2023-07-23 17:03:27 +01:00
queries-episodes-sqlite.tpl.html I145 Various bug fixes 2023-07-23 17:03:27 +01:00
queries-ids-episode-mysql.tpl.html I145 Various bug fixes 2023-07-23 17:03:27 +01:00
queries-ids-episode-sqlite.tpl.html I145 Various bug fixes 2023-07-23 17:03:27 +01:00
queries-index-mysql.tpl.html I145 Various bug fixes 2023-07-23 17:03:27 +01:00
queries-index-sqlite.tpl.html I145 Various bug fixes 2023-07-23 17:03:27 +01:00
queries-series_episodes-mysql.tpl.html Hide display of future shows on series episodes page 2023-02-25 14:22:44 -05:00
queries-series_episodes-sqlite.tpl.html Hide display of future shows on series episodes page 2023-02-25 14:22:44 -05:00
queries-series-mysql.tpl.html Hide display of future shows on series listings page 2023-02-25 11:44:56 -05:00
queries-series-sqlite.tpl.html Hide display of future shows on series listings page 2023-02-25 11:44:56 -05:00
queries-tags-mysql.tpl.html Fixed link to Tags. 2023-05-01 00:50:01 +10:00
queries-tags-sqlite.tpl.html Fixed link to Tags. 2023-05-01 00:50:01 +10:00
rss-comments.tpl.xml I145 Various bug fixes 2023-07-23 17:03:27 +01:00
rss-hpr_total.tpl.xml Refactor RSS templates for either MySQL or SQLite 2023-02-20 22:36:30 -05:00
rss-hpr.tpl.xml Refactor RSS templates for either MySQL or SQLite 2023-02-20 22:36:30 -05:00
rss-query-hpr_total-mysql.tpl.xml Refactor RSS templates for either MySQL or SQLite 2023-02-20 22:36:30 -05:00
rss-query-hpr_total-sqlite.tpl.xml Refactor RSS templates for either MySQL or SQLite 2023-02-20 22:36:30 -05:00
rss-query-hpr-mysql.tpl.xml Refactor RSS templates for either MySQL or SQLite 2023-02-20 22:36:30 -05:00
rss-query-hpr-sqlite.tpl.xml Refactor RSS templates for either MySQL or SQLite 2023-02-20 22:36:30 -05:00
rss.tpl.xml I145 Various bug fixes 2023-07-23 17:03:27 +01:00
shared-avatar.tpl.html Add show_avatar MACRO 2023-03-13 23:14:35 -04:00
shared-call_for_shows.tpl.html I145 Various bug fixes 2023-07-23 17:03:27 +01:00
shared-episode-summary.tpl.html Update layout of episode summary information. 2023-04-02 08:53:07 -04:00
shared-item.tpl.xml Fix setting of RSS feed enclosures mime-type 2022-08-17 19:16:22 -04:00
shared-listen-now.tpl.html Update listen_now MACRO 2023-04-01 19:56:11 -04:00
shared-show-transcript.tpl.html Create shared template for showing show transcripts 2023-02-24 18:57:20 -05:00
shared-utils.tpl.html Changes to get the site working 2023-06-17 22:04:35 +02:00