]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Beginning to refactor document relationship links to reduce common code.
authorMeitar Moscovitz <meitarm@gmail.com>
Tue, 10 Feb 2009 08:42:01 +0000 (19:42 +1100)
committerMeitar Moscovitz <meitarm@gmail.com>
Tue, 10 Feb 2009 09:25:44 +0000 (20:25 +1100)
commitb240a1719485b15c4a6497b6053c24e8a40a4e3c
treecb3ab3fa2e76c971c70bffaf37984d079cee7185
parent3585012380bd8352b8e7bbb605bed05a9148fe11
Beginning to refactor document relationship links to reduce common code.

My attempts here are to mimic the `pagination()` method shared by
actions. I'm tentatively adding the `$count` property to actions so that
we can query the number of notices ''being displayed'' per page prior to
calling the actual `pagination()` method itself, since document
relationship `<link>` elements need to be output inside of `showHead()`,
before `showContent()`, which is where `pagination()` is, gets called.
13 files changed:
actions/all.php
actions/favorited.php
actions/groupmembers.php
actions/groups.php
actions/inbox.php
actions/outbox.php
actions/public.php
actions/replies.php
actions/showfavorites.php
actions/showgroup.php
actions/showstream.php
actions/tag.php
lib/action.php