Stanley Lieber
d33c4f63cf
lib/404.tpl: remove google javascript
2020-06-16 21:32:23 -04:00
Kurt H Maier
ea05499f77
lib+css: update to html5 tags, classless css
2020-05-25 00:47:51 -07:00
Uriel
7413921b31
Start to convert templates to HTML 5
2009-07-19 04:02:30 +02:00
Uriel
f01bfb63ec
Remove the obsolete feed templates, they were moved to apps/blagh/ a while ago.
2009-06-13 06:28:12 +02:00
Uriel
e91609e301
Move shared .tpl files to tpl/ from lib/, this fixes a DoS vulneravility where master_template.tpl could be accessed as a standalone .tpl file that recursively called itself.
2009-06-06 16:20:02 +02:00
Uriel
5267263402
Add missing </a>. Thanks Josh!
2009-04-19 15:26:26 +00:00
Uriel
de077b0e51
Merge
2009-04-19 15:23:15 +00:00
Uriel
7843c9c560
Add missing space.
2009-04-19 15:22:33 +00:00
Uriel
673bdaf664
Reorg headers, http headers now are echo-ed from werc.rc instead of being part of headers.tpl.
...
This fixes some bugs in the handling HEAD and makes things a bit more clear.
2009-03-13 13:04:25 +01:00
Uriel
516e9e7518
Simplify unused code.
2009-03-06 02:24:11 +00:00
Uriel
2c21ba4ae7
Exit after printing http headers if request method is HEAD.
2009-03-03 20:24:25 +00:00
Uriel
94a777ef1f
Style and html fixes for user login template.
2009-03-02 16:46:23 +00:00
Uriel
436cf4f131
Improve default sitemap template, including Google's enhanced 404 pages by default.
2009-02-25 05:24:05 +00:00
Uriel
7ba725cf92
Don't execute perm_redirects directly from conf_perm_redirect to avoid tripping over sitemaps and other code that sources config files but doesn't want to actually *do* anything. Also hide paths with simple or pattern redirects from sitemaps.
2009-02-14 07:09:27 +00:00
Uriel
585c733dd2
Custom .css styles moved from /_style.css to _werc/pub/style.css
2009-02-13 02:32:24 +00:00
Uriel
93ad9c35c0
Use new conf_enable_... interfaces, this also alos us to make the default for $enabled_apps nil.
2009-02-08 00:23:33 +00:00
Uriel
fe5c67da46
Fix sitemap.txt generation.
2009-02-06 21:20:36 +00:00
Uriel
2e1f0dd32f
Convert fltr_cache into a function. Enable output buffering which had been commented out for unknwon reasons.
2009-02-06 22:09:32 +01:00
Uriel
9ff545ec83
Rewrite most sitemap generation code, much cleaner, modularize file title/desc extraction, take advantage of new fproc_cache to cache sitemap.
2009-02-06 20:43:11 +01:00
Uriel
602819f2fa
Make conf_hide_path more flexible, and note a limitation in sitemap dirfilter handling.
2009-02-05 03:16:14 +00:00
Uriel
1020b8b669
Handle extraHeaders being nil.
2009-02-01 20:04:28 +01:00
Uriel
75ca494424
Cosmetic improvements to login form and error msg.
2009-01-30 15:18:07 +01:00
Uriel
f23d0176ce
Move form templates to where they blong.
2009-01-26 04:10:02 +01:00
Uriel
6329ebd8b7
Cosmetic html fixes to user login form.
2009-01-26 04:09:23 +01:00
Uriel
f795f9e1d3
Improve the debug shell a bit.
2009-01-25 16:42:22 +01:00
Uriel
c17e89246e
Add -s, print status when a command sets it.
2009-01-25 15:42:56 +01:00
Uriel
f87339e98b
Add some comments and replace get_post_args with load_post_args
2009-01-24 07:11:39 +01:00
Uriel
fc6fd5045f
blaghDirs is now blagh_dirs.
2009-01-23 16:45:48 +01:00
Uriel
f6d574aaba
Update urls to linke to werc.cat-v.org
2009-01-21 09:27:35 +00:00
Uriel
9f1f4ca37f
Rename $wiki to $enable_wiki to be consistent with $enable_comments, also add a note that dirdir templates should move from lib/_apps/dirdir/ to apps/diridri/
2009-01-20 03:38:48 +01:00
Uriel
fa7cff78cd
Dirdir wiki engine updates, cleaned up some code, now one can save from preview page.
2009-01-17 09:43:31 +01:00
Uriel
062fe9a479
Cosmetic changes to default_master.tpl
2009-01-17 09:40:00 +01:00
Uriel
ec151a9902
Make left sidebar into a list of handlers.
2009-01-17 03:05:19 +01:00
Uriel
ca4feb95a4
Update atom and rss templates to work with new blagh format.
2009-01-13 03:20:30 +01:00
Uriel
ae20a466a3
Various small cleanups: remove unused code, clarity and reliability fixes here and here, move code to more appropriate locations, improve some comments.
2009-01-12 02:07:31 +01:00
Uriel
e75232761a
Handler interface reorg, take oportunity to cleanup default_master.tpl and move comments bits to bridge app.
2009-01-11 04:03:46 +01:00
Uriel
f785c96fbb
Fix sitemap.tpl to use the new split dirfilter
2009-01-10 17:34:56 +01:00
Uriel
24920f1c81
Move top header/title generation for werc.rc to default template.
2009-01-10 04:57:41 +01:00
Uriel
39fa2f806a
Style fixes to default template
2009-01-03 02:01:42 +01:00
Uriel
572290ba1f
Update template to use new variable names.
2008-12-28 23:44:03 +01:00
Uriel
7f7da84b09
Further progress with blagh app, atom feeds and rss feeds are mostly working.
2008-12-28 21:37:03 +01:00
Uriel
2028076c80
Rename $baseuri to $base_url
2008-12-28 20:20:48 +01:00
Uriel
e2ee3bdf6e
Replace stat(1) with mtime(1) (disabled code for now)
2008-12-24 09:36:52 +01:00
Uriel
2928632eba
Comment out unused line.
2008-12-21 09:37:14 +01:00
Uriel
f1f653f876
Sitemap improvemnts and cleanups:
...
- Avoid nedless tests
- Replace reference to /bin/sed with faster, simpler and probably more correct plan9 sed call.
- Move inline html styling to style.css
- Various code cleanups, bring source style in line with other werc source.
2008-12-20 13:20:31 +01:00
Uriel
7012eb4128
Tab/spaces consistency in atom template.
2008-12-16 03:46:19 +01:00
Uriel
f02b126611
Clean up atom feed template a bit.
2008-12-12 02:24:19 +01:00
Uriel
69575287e3
Make markdown.pl(!?) happy, not sure why or how.
2008-12-11 21:39:07 +00:00
Uriel
d289d6a5a4
Fix stupid typo, thanks 9soul for the catch!
2008-12-02 11:38:45 +01:00
Uriel
effe855934
Tentative fix for post link URLs, thanks 9soul for reporting and first try at fixing it.
2008-12-02 08:06:07 +01:00