sarven
77a9b4b758
Moved minor dangling HTML.
2009-01-19 17:09:50 +00:00
sarven
042b01d169
Extracted the showLocalNav block information into its own method in
...
order to override it from other actions. This HTML need not be
outputted if there is no page_notice.
2009-01-19 17:04:59 +00:00
Evan Prodromou
582e2eefa3
Slightly better hover notices for global nav (glad it's there!)
2009-01-19 13:24:50 +00:00
Evan Prodromou
264ab53953
Merge branch 'uiredesign' of /var/www/trunk into uiredesign
2009-01-19 12:28:45 +00:00
sarven
8f9762aab1
Cross-browser stuff
2009-01-19 00:48:12 +00:00
sarven
910bd33243
Minimal cross browser styling (mostly IE7). w00t!
2009-01-19 00:10:42 +00:00
sarven
9d384aadb1
@id for site_nav_global_primary items in order to target for styling
2009-01-18 22:08:51 +00:00
sarven
5426c4ec6a
Using config site name for creative commons bit. Fix i18n.
2009-01-18 19:58:28 +00:00
Evan Prodromou
2ca56c0bc6
Update caching methods to use camel case
2009-01-18 18:34:54 +00:00
Evan Prodromou
97c98cf59a
Break up settings into two tabset
...
Made two tabsets: account and connect. Removed "Invite" from
the global nav to make room.
2009-01-17 22:30:44 +00:00
sarven
e7687c66b2
Using @id instead of @class for navigation li
2009-01-17 06:33:45 +00:00
sarven
b9fb70ee70
Markup clean up and styles
2009-01-17 00:46:33 +00:00
sarven
9881932d07
Minor
2009-01-16 23:23:02 +00:00
sarven
b7dd4d2ad1
Fix to put @class current on the navigation of the page viewed
2009-01-16 23:13:22 +00:00
Evan Prodromou
69d6404f26
Merge branch 'uiredesign' of /var/www/trunk into uiredesign
2009-01-16 19:59:27 +00:00
Evan Prodromou
ed2fd6da6b
self_url -> selfUrl
2009-01-16 19:59:16 +00:00
sarven
877327a18e
Update to XHR post notice
2009-01-16 17:02:46 +00:00
sarven
eacb8df691
Added jquery.form.js
2009-01-16 16:17:27 +00:00
sarven
4549e577ac
Updating Creative Commons text and image
2009-01-16 15:52:17 +00:00
Evan Prodromou
20b4cae84a
Put action name as body ID
2009-01-16 15:38:35 +00:00
sarven
1e8bb6bb31
Minor
2009-01-16 15:25:22 +00:00
Evan Prodromou
ba1e36dd49
Fix use of $config in Action
2009-01-16 02:21:58 +00:00
sarven
d3092274c2
Merge branch 'uiredesign' of ../evan into uiredesign
2009-01-15 23:47:43 +00:00
Evan Prodromou
16619439ab
Move some accounting stuff from publicgroupnav to action
...
More dl's and dd's. Rather than replicate them in every sub-class,
let's just put them in one place.
2009-01-15 23:44:19 +00:00
sarven
33ee34dc26
Merge branch 'uiredesign' of ../evan into uiredesign
...
Conflicts:
lib/action.php
2009-01-15 23:18:56 +00:00
Evan Prodromou
a22714b5ee
Fix errant } in action
2009-01-15 23:15:13 +00:00
sarven
39b5957068
Merge branch 'uiredesign' of ../evan into uiredesign
2009-01-15 23:10:44 +00:00
Evan Prodromou
f294eab92a
is_readonly() -> isReadOnly()
2009-01-15 23:07:49 +00:00
sarven
0357ea505d
Merge branch 'uiredesign' of ../evan into uiredesign
2009-01-15 23:05:57 +00:00
Evan Prodromou
4b0cf99e56
Convert use of common_server_error and common_user_error to methods on Action
2009-01-15 23:03:38 +00:00
sarven
bb58bf8caf
Minor parse error
2009-01-15 23:02:48 +00:00
Evan Prodromou
eaa81d25fa
Convert all actions to use new UI functions
...
I did a massive search-and-replace to get all the action subclasses to
use the new output function (common_element() -> $this->element(), etc.)
There's still a lot to do, but it's a first step
2009-01-15 22:57:15 +00:00
Evan Prodromou
2b2fb27621
Fix use of $config in licenses
2009-01-15 22:40:56 +00:00
Evan Prodromou
d012bdabde
Show NoticeForm only if logged in
2009-01-15 22:25:26 +00:00
sarven
d6d9a0a981
Merge branch 'uiredesign' of ../evan into uiredesign
2009-01-15 22:19:53 +00:00
Evan Prodromou
a72ae0f4df
Move wrapper for content
2009-01-15 22:17:48 +00:00
sarven
18dc498a6a
Added aside_primary id
2009-01-15 22:00:48 +00:00
Evan Prodromou
5b61f459d6
Merge branch 'uiredesign' of ../csarven into uiredesign
2009-01-15 21:40:37 +00:00
Evan Prodromou
2c84f077a2
Add aside div
2009-01-15 21:39:48 +00:00
sarven
4f3f23c61a
core uses id
2009-01-15 21:34:33 +00:00
Evan Prodromou
2a5da870cb
Change multiple id=nav to class=nav
2009-01-15 21:33:45 +00:00
sarven
60fa833908
changed to class nav from id
2009-01-15 21:30:23 +00:00
Evan Prodromou
9bed97a36c
Move ID param to end of menuItem and fix bad 'wrap' element
2009-01-15 21:19:23 +00:00
Evan Prodromou
7233e89be6
Merge ../csarven into uiredesign
...
Conflicts:
lib/action.php
2009-01-15 20:54:03 +00:00
Evan Prodromou
c42b883086
Fix dd in action
...
I think these definition lists are ridiculous, and I particularly
resent having to debug them.
2009-01-15 20:31:17 +00:00
Evan Prodromou
443e4a48c7
Fix site notice
2009-01-15 20:27:33 +00:00
Evan Prodromou
62ed9d3e73
Fix called to text and raw in action.php
2009-01-15 20:24:54 +00:00
sarven
c08eadc774
HTML update to showSecondaryNav()
2009-01-15 20:24:41 +00:00
sarven
186783f45b
Missing end dl tag for showPageNotice()
2009-01-15 20:20:03 +00:00
sarven
e55c9e559d
Merge branch 'uiredesign' of ../evan into uiredesign
2009-01-15 20:14:28 +00:00
Evan Prodromou
21c396202e
Add arg to NoticeForm constructor
2009-01-15 15:11:55 -05:00
sarven
edf84cca04
showSiteNotice() was missing closing dl tag
2009-01-15 20:10:20 +00:00
sarven
b3c171d317
Merge branch 'uiredesign' of ../evan into uiredesign
2009-01-15 20:05:09 +00:00
Evan Prodromou
73c1390eb1
Fix notice form in action
2009-01-15 14:56:40 -05:00
Evan Prodromou
7e316abe92
Move optional id param to end of function, where optional params
...
actually go.
2009-01-15 14:45:08 -05:00
sarven
d8f9628a17
Using a specific path for CSS files.
2009-01-15 19:33:45 +00:00
Evan Prodromou
34d859c4a6
Add a menuItem method to Action
2009-01-15 14:31:03 -05:00
Evan Prodromou
6a8be40a8c
elementElement() -> elementEnd() in Action
2009-01-15 14:24:54 -05:00
Evan Prodromou
8ff6dc8e32
startElement() -> elementStart() in Action
2009-01-15 14:23:28 -05:00
Evan Prodromou
ff901332d2
Fix the constructor for Action
...
Also, fix the startXML() method
2009-01-15 14:21:47 -05:00
sarven
caaf237de8
Base theme stylesheet includes layout, and typography information
...
Identica theme stylesheet includes colour and background information
2009-01-14 22:19:17 +00:00
Evan Prodromou
3ce62aae1b
Add comment() method, have action use it
2009-01-14 13:57:29 -05:00
sarven
b72322b9e7
Parse error fix
2009-01-14 17:30:03 +00:00
sarven
f8b7589324
showBody() -- revisit to add @id and @class to <body>
...
showContentBlock()
showContent()
added endHTML() to class HTMLOutputter
2009-01-14 17:26:23 +00:00
Evan Prodromou
efe9d28efa
Add notice form
2009-01-14 12:01:53 -05:00
sarven
24d8814bc5
Updated:
...
showHeader() -- incomplete
showPrimaryNav() -- should be updated when common_menu_item() is
redone/fixed
showSiteNotice()
showLocalNav() -- needs a revisit for common_menu_item()
showContentBlock -- needs a revisit for basic pages
showPageNotice()
showContent() -- inner should be opened for content
showFooter()
showLicenses()
showLaconicaLicense()
showContentLicense()
common_menu_item() -- Added @id for list-items. Revisit.
pagination()
Needs attention for common_menu_item() and then they can be removed:
nav_menu
common_show_header()
2009-01-14 08:44:23 +00:00
Evan Prodromou
0f7e8585cd
Update lib/action.php to use the right XMLOutputter functions
...
Global search and replace for common_element_*
2009-01-14 01:59:30 -05:00
sarven
3c283332b6
Updated showLogo().
2009-01-14 06:34:22 +00:00
Evan Prodromou
0093b035c1
Modify public stream to use new UI framework
...
I modified public.php to use the new UI framework. Since the Action
class isn't functional yet, I don't know if it works.
I took some of the functionality, like the public tabs nav and the
feeds list, and made them widgets.
I also moved the navigation from common_navigation() to a method of
Action.
2009-01-13 23:48:05 -05:00
Evan Prodromou
93e249de2a
Move page-generation code from lib/util.php to Action class
...
We moved the page generation code from lib/util.php to the action class.
We also broke up the page generation code into a big recipe, where
each element of the page has a corresponding method in the Action
class. Action classes can override parts of the recipe to make their
custom output, and leave the rest up to the parent class.
NOTE: this change BREAKS pretty much everything. lib/action.php probably
does not compile, and everything that uses it needs to be fixed to use
the new framework. Stay tuned for more fun!
2009-01-13 13:41:39 -05:00
Evan Prodromou
01a548a9fb
some modifications to assuage phpcs
...
darcs-hash:20081221003955-84dde-d6e8067a579f70dcb707f4525e588920a2375f5c.gz
2008-12-20 19:39:55 -05:00
Evan Prodromou
96df5916ad
change Action::init() to Action::prepare() to avoid conflict with RSS10Action::init()
...
darcs-hash:20081203173225-5ed1f-e5ebfb202ed4a84c90851d0faa025ad09774d2c3.gz
2008-12-03 12:32:25 -05:00
Evan Prodromou
df5ce60edc
better HTTP timestamp
...
darcs-hash:20081202044441-5ed1f-63025fde108bff917253995f448f841160c8e394.gz
2008-12-01 23:44:41 -05:00
Evan Prodromou
be33850c5f
add ETag handling
...
darcs-hash:20081202044211-5ed1f-d8779be7681fc21eebff3c0c56fdde892c2fa3da.gz
2008-12-01 23:42:11 -05:00
Evan Prodromou
cad6f78fe6
better header for not-modified message
...
darcs-hash:20081202042334-5ed1f-47957bc0ad54d0250a0638b4e6e5a200dac1d335.gz
2008-12-01 23:23:34 -05:00
Evan Prodromou
fd7bc1f565
better logic for if-modified-since
...
darcs-hash:20081202042159-5ed1f-16cbaa0253b6b60033bf842dff88b097a41ea328.gz
2008-12-01 23:21:59 -05:00
Evan Prodromou
cb3862b43e
whitespace changes in action.php
...
darcs-hash:20081202041532-5ed1f-8c392967eb14d726bc1b761a39c6dce0097879c0.gz
2008-12-01 23:15:32 -05:00
Evan Prodromou
b58eee26e8
copy-and-paste typo
...
darcs-hash:20081202041508-5ed1f-d54be6a7ec9aedebf10b813ee7e102c0c053f6cf.gz
2008-12-01 23:15:08 -05:00
Evan Prodromou
09a9b76ffe
init() returns boolean success value
...
darcs-hash:20081202040549-5ed1f-b23a6b80b6e1823a97a7b446d9c4e59f8744b904.gz
2008-12-01 23:05:49 -05:00
Evan Prodromou
d268703d69
add init, last_modified to actions
...
darcs-hash:20081202034736-5ed1f-e096ab5e9a77d2bb74c949659966d400cbc9a149.gz
2008-12-01 22:47:36 -05:00
Evan Prodromou
c9430ab312
correct self_url without cookie stuff
...
darcs-hash:20081124052250-5ed1f-158956ba8a735e5bfe4f7199c17596e13357cf5f.gz
2008-11-24 00:22:50 -05:00
Mike Cochrane
97bc06d2ee
gettext strings and pass the query string between tabs http://laconi.ca/PITS/00231
...
darcs-hash:20080720105659-533db-35a71fab668a7ea692f7b51557b4f84addb796bb.gz
2008-07-20 06:56:59 -04:00
zach
7e6870db91
base class is_readonly() now returns false by default
...
darcs-hash:20080722212056-ca946-e4bd9eef8e3d8991414932e9fc7b8c9a31f818c0.gz
2008-07-22 17:20:56 -04:00
zach
038f762bce
Added is_readonly() method to all Actions
...
darcs-hash:20080722171501-ca946-160bad6c4f80be2b3b105ea9b913f1c0f9edb0ef.gz
2008-07-22 13:15:01 -04:00
Mike Cochrane
8b32942658
Trailing whitespace on lines
...
darcs-hash:20080710051201-533db-2d5fb38710ce1dedcb6e161b08e31611dbaba666.gz
2008-07-10 01:12:01 -04:00
Mike Cochrane
ce2b174c4a
More _t( to _( and sprintfs in new code
...
darcs-hash:20080710051035-533db-4a3d824a50545b8a291a81059dcbb97487a13630.gz
2008-07-10 01:10:35 -04:00
Mike Cochrane
4b656f47df
Merge conflicts and kill a whole lot of trailing whitespace on lines.
...
darcs-hash:20080709224630-533db-b5399baef280133858dac9b89c2cd6a2aba9f861.gz
2008-07-09 18:46:30 -04:00
Evan Prodromou
6eb9e89209
refactor common code between searches and between search and settings
...
darcs-hash:20080709231031-84dde-929095ca3844ed6fe7ebd535fc9696678a5fcb0f.gz
2008-07-09 19:10:31 -04:00
Evan Prodromou
3b49268518
defaults for argument functions
...
darcs-hash:20080709214433-84dde-4cb9de9ca054c54ebeb028bc3382ae07f4b7f5e1.gz
2008-07-09 17:44:33 -04:00
Evan Prodromou
bf0be3ddb7
confirm email addresses
...
darcs-hash:20080620051536-5ed1f-231e427832dd20c861eb7a6dc1171315e90f455b.gz
2008-06-20 01:15:36 -04:00
Evan Prodromou
0d8de282b2
copy args function
...
darcs-hash:20080619141107-84dde-a5e018fdac3f72eee13b3093fbd871299cda0739.gz
2008-06-19 10:11:07 -04:00
Evan Prodromou
47c3e474be
only validate if values are sent
...
darcs-hash:20080612195324-84dde-cab5efa3218f3cd3632ced1c819a5be2edb3c5a0.gz
2008-06-12 15:53:24 -04:00
Evan Prodromou
3491bb2df7
catch errors in debug log
...
darcs-hash:20080612193945-84dde-2c368ba1273814401f741ef79333c0cd8a43f90d.gz
2008-06-12 15:39:45 -04:00
Evan Prodromou
22577b17ed
even better boolean handling
...
darcs-hash:20080529152304-84dde-b0b0ea1f919701c2d821d9bf589a30db34dcc015.gz
2008-05-29 11:23:04 -04:00
Evan Prodromou
b153ac5b1b
fix checking boolean parameters
...
darcs-hash:20080529151602-84dde-f6bc3c41846d92c94008f721fa5115907fd9a7d3.gz
2008-05-29 11:16:02 -04:00
Evan Prodromou
310ef22fd9
abstract out RSS 1.0 generation to allow multiple streams
...
darcs-hash:20080522112954-84dde-aa5087977298f5169148383e82e22241e613b1f2.gz
2008-05-22 07:29:54 -04:00
Evan Prodromou
5d0bd93eb3
strip slashes
...
Check if automated slash-adder is on, and if so, strip out automated
slashes.
darcs-hash:20080522103630-84dde-4f6d10b6e6efff91a53c4af735040995ae947211.gz
2008-05-22 06:36:30 -04:00
Evan Prodromou
764a391d19
validation in form handlers
...
Moved validation code from classes to form handlers. Probably better
in the classes, but I can't quite grok the validate() method in
DB_DataObject, so for now I'm going to do it the old-fashioned way.
darcs-hash:20080521112707-84dde-38e27199b977ae81171b8391fbdb93ebb54494f9.gz
2008-05-21 07:27:07 -04:00
Evan Prodromou
52600ce0b0
trim whitespace
...
darcs-hash:20080520191412-84dde-a607dbe848279639630edd1ab4616d05cc2318d1.gz
2008-05-20 15:14:12 -04:00
Evan Prodromou
10750993fe
fix array key check
...
darcs-hash:20080517164218-84dde-20ee8612a1d3cd913b1412d5ee56a72a2b741f2b.gz
2008-05-17 12:42:18 -04:00