Commit Graph

1177 Commits

Author SHA1 Message Date
Evan Prodromou
582e2eefa3 Slightly better hover notices for global nav (glad it's there!) 2009-01-19 13:24:50 +00:00
Evan Prodromou
dc97382068 Fix public group nav so it shows selection correctly 2009-01-19 13:19:28 +00:00
Evan Prodromou
264ab53953 Merge branch 'uiredesign' of /var/www/trunk into uiredesign 2009-01-19 12:28:45 +00:00
Zach Copley
739baf0396 trac750 Add notice input box to FB app and ability to post notices 2009-01-19 07:24:12 +00:00
sarven
0b5f0f4faa Renamed form_datas to form_data 2009-01-19 03:09:13 +00:00
Zach Copley
cd6b9d6c46 trac750 fix method calls to get CSS files 2009-01-19 02:13:25 +00:00
Zach Copley
5f2fce04cb trac750 Updated paths for new css files; deleted old unused css file 2009-01-19 01:59:31 +00:00
Zach Copley
64bda5bd6c trac750 New CSS files for FB app to allow bettter per-install theming 2009-01-19 01:34:25 +00:00
Zach Copley
12f7ec980c trac750 Better workflow for asking user for status update permission 2009-01-19 00:50: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
6b23a9ed2f Disfavor markup/style 2009-01-18 21:34:57 +00:00
sarven
5426c4ec6a Using config site name for creative commons bit. Fix i18n. 2009-01-18 19:58:28 +00:00
sarven
41e5e7e912 Added @title for input submit 2009-01-18 19:45:21 +00:00
Evan Prodromou
2ca56c0bc6 Update caching methods to use camel case 2009-01-18 18:34:54 +00:00
Evan Prodromou
b6b7ae1a97 New class for Microids 2009-01-18 18:32:16 +00:00
Evan Prodromou
4163f45004 Update register action to match phpcs and new framework 2009-01-18 13:37:58 +00:00
Evan Prodromou
710ddd92a3 Make logingroupnav.php phpcs-compliant 2009-01-18 12:49:57 +00:00
Evan Prodromou
5a313fef6e Add tabset to login and make it phpcs-compliant 2009-01-18 12:48:47 +00:00
Zach Copley
8fdf888edb trac750 Javascript file for Facebook app 2009-01-18 06:12:47 +00:00
sarven
4b1cc73a58 Favor/Disfavor form @class
Created icon, and add style
JS selector change
Fixed return actions
2009-01-18 03:12:39 +00:00
Zach Copley
3e18c2f0f8 trac750 Facebook App - generate HTML similar to uiredisign for everything 2009-01-18 01:31:39 +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
91475ca33f Update. Added separate $title param for input submit 2009-01-17 21:09:42 +00:00
sarven
5a81b6d04e Added @title to input submit (reusing $label value until we really
need to make it custom)
2009-01-17 20:57:48 +00:00
sarven
e7687c66b2 Using @id instead of @class for navigation li 2009-01-17 06:33:45 +00:00
sarven
5a10287bc3 Minor 2009-01-17 03:15:45 +00:00
sarven
607e65be81 Delete notice markup and styles 2009-01-17 02:32:13 +00:00
sarven
b9fb70ee70 Markup clean up and styles 2009-01-17 00:46:33 +00:00
sarven
0a5125675b Updates to form styling 2009-01-17 00:01:53 +00:00
sarven
f46fd284e4 Update to forms and email settings 2009-01-16 23:41:46 +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
2bea8b8359 Modify settingsaction to better work with new framework 2009-01-16 20:00:26 +00:00
Evan Prodromou
c7b60f3b9e Better doc comments for PublicGroupNav 2009-01-16 19:59:54 +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
Evan Prodromou
be445a4b91 Update settingsaction.php to new framework 2009-01-16 19:35:37 +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
38ad44f632 Auto-load from lib as well as classes 2009-01-16 02:35:56 +00:00
Evan Prodromou
8f25e4b48a Merge ../csarven into uiredesign 2009-01-16 02:22:28 +00:00
Evan Prodromou
ba1e36dd49 Fix use of $config in Action 2009-01-16 02:21:58 +00:00
sarven
5d5dcb6f51 Markup update for common_tag_link(), common_at_link(),
common_at_hash_link()
2009-01-16 01:55:39 +00:00
sarven
179ad6c13b showReplyLink 2009-01-16 01:33:42 +00:00
sarven
55cb32d7eb Added formLegend() 2009-01-16 01:03:10 +00:00
sarven
f17df2e6be notice_favorite class
submit doesn't need a paragraph wrapper
2009-01-15 23:59:43 +00:00
sarven
d3092274c2 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 23:47:43 +00:00
Evan Prodromou
a0db0e391c Move personal group nav menu to its own class 2009-01-15 23:45: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
Evan Prodromou
e697faf23b Add some includes to noticelist 2009-01-15 23:43:58 +00:00
sarven
a18351bc39 Published title 2009-01-15 23:32:02 +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
sarven
7ce054b1ed Wrapper for notices 2009-01-15 22:31:32 +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
sarven
8b34598127 Changed to class 2009-01-15 22:19:40 +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
sarven
cf809f6464 feed show() id and class 2009-01-15 21:58:07 +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
8521cc6219 Using id param properly 2009-01-15 21:33:01 +00:00
sarven
60fa833908 changed to class nav from id 2009-01-15 21:30:23 +00:00
sarven
e621129042 Minor 2009-01-15 21:23:41 +00:00
sarven
e847b9a128 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 21:22:50 +00:00
sarven
621c58a292 Updated show()'s site_nav_local_views' 2009-01-15 21:21:55 +00:00
Evan Prodromou
c52d49f2fa Fix some formatting in list items 2009-01-15 21:19:44 +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
1fc03ba63a Form action must be 'post' not 'POST' 2009-01-15 20:58:46 +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
4f56d98415 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 20:24:28 +00:00
Evan Prodromou
37350e873d Make the feedlist work -- kinda 2009-01-15 20:22:14 +00:00
sarven
c4462b152a Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 20:20:30 +00:00
sarven
186783f45b Missing end dl tag for showPageNotice() 2009-01-15 20:20:03 +00:00
Evan Prodromou
082db2ad7d A little further with notice lists 2009-01-15 20:19:32 +00:00
sarven
168aef3665 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 20:15:36 +00:00
Evan Prodromou
1915a07fda Fix a couple of errors in PublicGroupNav 2009-01-15 20:14:32 +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
8712010672 Merge branch 'uiredesign' of evan@dev.controlyourself.ca:/var/www/evan into uiredesign 2009-01-15 14:31:49 -05:00
Evan Prodromou
51730719ac Use menuItem(), extend Widget, and document 2009-01-15 14:31:18 -05:00
Evan Prodromou
34d859c4a6 Add a menuItem method to Action 2009-01-15 14:31:03 -05:00
sarven
6b42b2a09c Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 19:26:07 +00:00
Evan Prodromou
f0b4e7094c Merge branch 'uiredesign' of /var/www/csarven into uiredesign 2009-01-15 19:25:26 +00:00
Evan Prodromou
6a8be40a8c elementElement() -> elementEnd() in Action 2009-01-15 14:24:54 -05:00
sarven
4a2aebe5cf Minor: Including formData()'s inreplyto in action check 2009-01-15 19:24:07 +00:00
Evan Prodromou
8ff6dc8e32 startElement() -> elementStart() in Action 2009-01-15 14:23:28 -05:00
sarven
c6d22e4cea Extended formData()'s hidden to use a specific @id and @name 2009-01-15 19:22:03 +00:00
Evan Prodromou
ff901332d2 Fix the constructor for Action
Also, fix the startXML() method
2009-01-15 14:21:47 -05:00
sarven
47f694582c Updated formData(), formActions(), show()
Added formLegend()
2009-01-15 03:32:07 +00:00
sarven
901b2acc9f Resaved. 2009-01-15 00:57:01 +00:00
sarven
1b66ac64b7 Refactored show() into showNotice(), showNoticeInfo(),
showNoticeOptions(). Kept the existing naming convention for the rest
of the methods the same for now.
2009-01-15 00:54:16 +00:00
sarven
c50a6bc523 Updated:
showNoticeLink()
2009-01-15 00:36:17 +00:00
sarven
35645308dc Updated:
showNoticeSource()
showReplyTo()
2009-01-15 00:30:06 +00:00
sarven
46b1e2fcec showReplyTo() update 2009-01-15 00:21:59 +00:00
sarven
442dcfde0e showAuthor() minor update. Using a single anchor to wrap both avatar and
nickname instead of two anchors.
2009-01-15 00:03:06 +00: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
sarven
e60b6c51ec Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-14 22:07:33 +00:00
Evan Prodromou
7c9f3b61b4 Add an optional theme parameter to theme functions 2009-01-14 17:02:18 -05:00
sarven
3f642b40c0 Changed to generic nav class 2009-01-14 19:17:46 +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
3b19d00ae9 Remove block form functions from lib/util.php 2009-01-14 02:34:55 -05:00
Evan Prodromou
5c69c75f46 Move block and unblock forms to their own widgets 2009-01-14 02:33:19 -05:00
Evan Prodromou
353f64f47f Fix comments on profile
Incorrectly said this was for nudging, not subbing/unsubbing
2009-01-14 02:26:42 -05:00
Evan Prodromou
21d87778ae Move message form to its own module 2009-01-14 02:13:22 -05: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
Evan Prodromou
4009e4a75d Merge branch 'uiredesign' of evan@dev.controlyourself.ca:/var/www/evan into uiredesign 2009-01-14 01:57:41 -05:00
Evan Prodromou
73272e8ad3 Fix require in noticeform.php so it gets the notice form 2009-01-14 01:49:03 -05:00
sarven
8c0c085c2d Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-14 06:40:55 +00:00
Evan Prodromou
03e65d589a Move subscribe and unsubscribe forms to their own classes 2009-01-14 01:38:00 -05:00
sarven
3c283332b6 Updated showLogo(). 2009-01-14 06:34:22 +00:00
Evan Prodromou
ea1bd9668b Incorrectly set notice attribute, fixed 2009-01-14 01:22:20 -05:00
Evan Prodromou
a42fef1621 Move nudge form to its own class 2009-01-14 01:17:17 -05:00
Evan Prodromou
19ae54775b Move favor and disfavor form to their own classes 2009-01-14 01:04:49 -05:00
Evan Prodromou
e1907c9cb5 Add a name parameter to a couple of the form elements 2009-01-14 01:04:09 -05:00
Evan Prodromou
ab158502b0 Move notice form to its own class 2009-01-14 00:29:52 -05:00
Evan Prodromou
699e99c990 Form class, superclass for form widgets 2009-01-14 00:09:39 -05:00
Evan Prodromou
100e11a2b7 Fix extralong lines in widget.php 2009-01-13 23:56:10 -05:00
Evan Prodromou
4826fde988 Add a base class for UI widgets 2009-01-13 23:54:55 -05: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
2e5b342693 Change related classes doc for HTMLOutputter 2009-01-13 13:38:58 -05:00