Commit Graph

975 Commits

Author SHA1 Message Date
Evan Prodromou
21c396202e Add arg to NoticeForm constructor 2009-01-15 15:11:55 -05: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
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
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
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
Evan Prodromou
10fcbe9da3 Make XMLOutputter work with phpcs
A couple of small changes to comply with code standards.

Also, note that the second param of element() and elementStart() can
be a string.
2009-01-13 11:47:01 -05:00
Evan Prodromou
bbb32dd2f6 Extract HTML outputting code to a class HTMLOutputter
Moved the common_* methods for low-level HTML output to its own
class, HTMLOutputter in lib/htmloutputter.php.
2009-01-13 11:44:09 -05:00