'title' => sprintf(_('Feed for friends of %s'), $this->user->nickname)));
}
+ /**
+ * Output document relationship links
+ *
+ * @return void
+ */
+ function showRelationshipLinks()
+ {
+ // Machine-readable pagination
+ if ($this->page > 1) {
+ $this->element('link', array('rel' => 'next',
+ 'href' => common_local_url('all',
+ array('nickname' => $this->user->nickname,
+ 'page' => $this->page - 1)),
+ 'title' => _('Next Notices')));
+ }
+ $this->element('link', array('rel' => 'prev',
+ 'href' => common_local_url('all',
+ array('nickname' => $this->user->nickname,
+ 'page' => $this->page + 1)),
+ 'title' => _('Previous Notices')));
+ }
+
function showLocalNav()
{
$nav = new PersonalGroupNav($this);
$this->pagination($this->page > 1, $cnt > NOTICES_PER_PAGE,
$this->page, 'favorited');
}
+
+ /**
+ * Output document relationship links
+ *
+ * @return void
+ */
+ function showRelationshipLinks()
+ {
+ // Machine-readable pagination
+ if ($this->page > 1) {
+ $this->element('link', array('rel' => 'next',
+ 'href' => common_local_url('favorited',
+ array('page' => $this->page - 1)),
+ 'title' => _('Next Notices')));
+ }
+ $this->element('link', array('rel' => 'prev',
+ 'href' => common_local_url('favorited',
+ array('page' => $this->page + 1)),
+ 'title' => _('Previous Notices')));
+ }
}
$this->page, 'groupmembers',
array('nickname' => $this->group->nickname));
}
-}
\ No newline at end of file
+
+ /**
+ * Output document relationship links
+ *
+ * @return void
+ */
+ function showRelationshipLinks()
+ {
+ // Machine-readable pagination
+ if ($this->page > 1) {
+ $this->element('link', array('rel' => 'next',
+ 'href' => common_local_url('groupmembers',
+ array('nickname' => $this->group->nickname,
+ 'page' => $this->page - 1)),
+ 'title' => _('Next Group Members')));
+ }
+ $this->element('link', array('rel' => 'prev',
+ 'href' => common_local_url('groupmembers',
+ array('nickname' => $this->group->nickname,
+ 'page' => $this->page + 1)),
+ 'title' => _('Previous Group Members')));
+ }
+}
$gbm = new GroupsByMembersSection($this);
$gbm->show();
}
+
+ /**
+ * Output document relationship links
+ *
+ * @return void
+ */
+ function showRelationshipLinks()
+ {
+ // Machine-readable pagination
+ if ($this->page > 1) {
+ $this->element('link', array('rel' => 'next',
+ 'href' => common_local_url('groups',
+ array('page' => $this->page - 1)),
+ 'title' => _('Next Groups')));
+ }
+ $this->element('link', array('rel' => 'prev',
+ 'href' => common_local_url('groups',
+ array('page' => $this->page + 1)),
+ 'title' => _('Previous Groups')));
+ }
}
}
}
+ /**
+ * Output document relationship links
+ *
+ * @return void
+ */
+ function showRelationshipLinks()
+ {
+ // Machine-readable pagination
+ if ($this->page > 1) {
+ $this->element('link', array('rel' => 'next',
+ 'href' => common_local_url('inbox',
+ array('nickname' => $this->user->nickname,
+ 'page' => $this->page - 1)),
+ 'title' => _('Next Messages')));
+ }
+ $this->element('link', array('rel' => 'prev',
+ 'href' => common_local_url('inbox',
+ array('nickname' => $this->user->nickname,
+ 'page' => $this->page + 1)),
+ 'title' => _('Previous Messages')));
+ }
+
/**
* Retrieve the messages for this user and this page
*
}
}
+ /**
+ * Output document relationship links
+ *
+ * @return void
+ */
+ function showRelationshipLinks()
+ {
+ // Machine-readable pagination
+ if ($this->page > 1) {
+ $this->element('link', array('rel' => 'next',
+ 'href' => common_local_url('outbox',
+ array('nickname' => $this->user->nickname,
+ 'page' => $this->page - 1)),
+ 'title' => _('Next Messages')));
+ }
+ $this->element('link', array('rel' => 'prev',
+ 'href' => common_local_url('outbox',
+ array('nickname' => $this->user->nickname,
+ 'page' => $this->page + 1)),
+ 'title' => _('Previous Messages')));
+ }
+
/**
* retrieve the messages for this user and this page
*
'title' => _('Public Stream Feed')));
}
+ /**
+ * Output document relationship links
+ *
+ * @return void
+ */
+ function showRelationshipLinks()
+ {
+ // Machine-readable pagination
+ if ($this->page > 1) {
+ $this->element('link', array('rel' => 'next',
+ 'href' => common_local_url('public',
+ array('page' => $this->page - 1)),
+ 'title' => _('Next Notices')));
+ }
+ $this->element('link', array('rel' => 'prev',
+ 'href' => common_local_url('public',
+ array('page' => $this->page + 1)),
+ 'title' => _('Previous Notices')));
+ }
+
/**
* Extra head elements
*
'title' => $rsstitle));
}
+ /**
+ * Output document relationship links
+ *
+ * @return void
+ */
+ function showRelationshipLinks()
+ {
+ // Machine-readable pagination
+ if ($this->page > 1) {
+ $this->element('link', array('rel' => 'next',
+ 'href' => common_local_url('replies',
+ array('nickname' => $this->user->nickname,
+ 'page' => $this->page - 1)),
+ 'title' => _('Next Notices')));
+ }
+ $this->element('link', array('rel' => 'prev',
+ 'href' => common_local_url('replies',
+ array('nickname' => $this->user->nickname,
+ 'page' => $this->page + 1)),
+ 'title' => _('Previous Notices')));
+ }
+
/**
* show the personal group nav
*
'title' => $feedtitle));
}
+ /**
+ * Output document relationship links
+ *
+ * @return void
+ */
+ function showRelationshipLinks()
+ {
+ // Machine-readable pagination
+ if ($this->page > 1) {
+ $this->element('link', array('rel' => 'next',
+ 'href' => common_local_url('showfavorites',
+ array('nickname' => $this->user->nickname,
+ 'page' => $this->page - 1)),
+ 'title' => _('Next Favorite Notices')));
+ }
+ $this->element('link', array('rel' => 'prev',
+ 'href' => common_local_url('showfavorites',
+ array('nickname' => $this->user->nickname,
+ 'page' => $this->page + 1)),
+ 'title' => _('Previous Favorite Notices')));
+ }
+
/**
* show the personal group nav
*
$this->group->nickname)));
}
+ /**
+ * Output document relationship links
+ *
+ * @return void
+ */
+ function showRelationshipLinks()
+ {
+ // Machine-readable pagination
+ if ($this->page > 1) {
+ $this->element('link', array('rel' => 'next',
+ 'href' => common_local_url('showgroup',
+ array('nickname' => $this->group->nickname,
+ 'page' => $this->page - 1)),
+ 'title' => _('Next Notices')));
+ }
+ $this->element('link', array('rel' => 'prev',
+ 'href' => common_local_url('showgroup',
+ array('nickname' => $this->group->nickname,
+ 'page' => $this->page + 1)),
+ 'title' => _('Previous Notices')));
+ }
+
/**
* Fill in the sidebar.
*
$this->user->nickname)));
}
+ /**
+ * Output document relationship links
+ *
+ * @return void
+ */
+ function showRelationshipLinks()
+ {
+ // Machine-readable pagination
+ if ($this->page > 1) {
+ $this->element('link', array('rel' => 'next',
+ 'href' => common_local_url('showstream',
+ array('nickname' => $this->user->nickname,
+ 'page' => $this->page - 1)),
+ 'title' => _('Next Notices')));
+ }
+ $this->element('link', array('rel' => 'prev',
+ 'href' => common_local_url('showstream',
+ array('nickname' => $this->user->nickname,
+ 'page' => $this->page + 1)),
+ 'title' => _('Previous Notices')));
+ }
+
function extraHead()
{
// FOAF
'title' => sprintf(_('Feed for tag %s'), $this->tag)));
}
+ /**
+ * Output document relationship links
+ *
+ * @return void
+ */
+ function showRelationshipLinks()
+ {
+ // Machine-readable pagination
+ if ($this->page > 1) {
+ $this->element('link', array('rel' => 'next',
+ 'href' => common_local_url('tag',
+ array('tag' => $this->tag,
+ 'page' => $this->page - 1)),
+ 'title' => _('Next Notices')));
+ }
+ $this->element('link', array('rel' => 'prev',
+ 'href' => common_local_url('tag',
+ array('tag' => $this->tag,
+ 'page' => $this->page + 1)),
+ 'title' => _('Previous Notices')));
+ }
+
function showPageNotice()
{
return sprintf(_('Messages tagged "%s", most recent first'), $this->tag);
$this->showTitle();
$this->showStylesheets();
$this->showScripts();
+ $this->showRelationshipLinks();
$this->showOpenSearch();
$this->showFeeds();
$this->showDescription();
' ');
}
+ /**
+ * Show document relationship links
+ *
+ * SHOULD overload
+ *
+ * @return nothing
+ */
+ function showRelationshipLinks()
+ {
+ // output <link> elements with appropriate HTML4.01 link types:
+ // http://www.w3.org/TR/html401/types.html#type-links
+ }
+
/**
* Show OpenSearch headers
*