// We don't show the author for a profile, since we already know who it is!
+/**
+ * Slightly modified from standard list; the author & avatar are hidden
+ * in CSS. We used to remove them here too, but as it turns out that
+ * confuses the inline reply code... and we hide them in CSS anyway
+ * since realtime updates come through in original form.
+ *
+ * Remaining customization right now is for the repeat marker, where
+ * it'll list who the original poster was instead of who did the repeat
+ * (since the repeater is you, and the repeatee isn't shown!)
+ * This will remain inconsistent if realtime updates come through,
+ * since those'll get rendered as a regular NoticeListItem.
+ */
class ProfileNoticeList extends NoticeList
{
function newListItem($notice)
class ProfileNoticeListItem extends DoFollowListItem
{
- function showAuthor()
- {
- return;
- }
-
/**
* show a link to the author of repeat
*
define('NOTICES_PER_PAGE', 20);
define('PROFILES_PER_PAGE', 20);
+define('MESSAGES_PER_PAGE', 20);
define('FOREIGN_NOTICE_SEND', 1);
define('FOREIGN_NOTICE_RECV', 2);
protected function showPhone($name, $field)
{
$this->out->elementStart('div', array('class' => 'phone-display'));
- $this->out->text($field['value']);
- if (!empty($field['rel'])) {
- $this->out->text(' (' . $field['rel'] . ')');
+ if (!empty($field['value'])) {
+ $this->out->text($field['value']);
+ if (!empty($field['rel'])) {
+ $this->out->text(' (' . $field['rel'] . ')');
+ }
}
$this->out->elementEnd('div');
}
font-size: 0em;
}
+/* Event specific styles */
+
+#form_event_rsvp #new_rsvp_data {
+ display: inline;
+ margin: 10px 0px;
+}
+
+#form_event_rsvp input.submit {
+ height: 1.6em;
+ padding: 0px 10px;
+ margin-left: 10px;
+ color:#fff;
+ font-weight: bold;
+ text-transform: uppercase;
+ font-size: 1.1em;
+ text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
+ border: 1px solid #d7621c;
+ border-radius: 4px;
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+ background: #FB6104;
+ background: -moz-linear-gradient(top, #ff9d63 , #FB6104);
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff9d63), color-stop(100%,#FB6104));
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9d63', endColorstr='#FB6104',GradientType=0 );
+}
+
+#form_event_rsvp .notice input.submit:hover {
+ text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.6);
+ background: #ff9d63;
+ background: -moz-linear-gradient(top, #FB6104 , #fc8035);
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FB6104), color-stop(100%,#fc8035));
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FB6104', endColorstr='#fc8035',GradientType=0 );
+}
}/*end of @media screen, projection, tv*/