From fb92dbf5d683c3d92a76216c09d23e338c7d3341 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 13 Jun 2011 20:32:30 -0700 Subject: [PATCH] link events + personal notes to profile tabs --- images/icons.png | Bin 9382 -> 10126 bytes include/nav.php | 4 +-- mod/apps.php | 14 ++-------- mod/events.php | 17 +++++++++++- mod/notes.php | 2 +- mod/profile.php | 4 ++- view/profile_tabs.tpl | 2 ++ view/theme/duepuntozero/style.css | 18 +++++++++++- view/theme/loozah/style.css | 44 ++++++++++++++++++++++++++++++ 9 files changed, 87 insertions(+), 18 deletions(-) diff --git a/images/icons.png b/images/icons.png index 9bf6cf6277b92d85afc46ac34f5ce408d297372f..4c4c00b8a5e2065d3c88408157b526bcdff06402 100644 GIT binary patch delta 10115 zcmV-}Cw$nZNsdpDV1Et*Gba8}@O%IOAOJ~3K~#9!-JN-OR7KXf-`jg}Gv(3!!tLNz_-S^h1s(btGbLyN^w<3l4BY$KC96+dFM=Gpm@Hd#K zayT#>%%~0(fdC*lAec&PC83s3&=;{QGmV(5M@zJ^95{Sj>^pFj(L?WPlg!@lW($D6 z553&xKK?J1t=qPV06#xYojy%SNC@TSJ6=ToiOI!I+YiBob3o$x2Eh zIW@J_FK91_zED>$W#K}BEQ6mP$>YbjDxWfUu1KCb^`bz?>DOJT6&3W$JJ(45*%w|C z`;MI8a9$pjs>;_Zz9l586Fs|h1Ypmvxy1FmMdW7gY=5@zq@)y)Rqu0RVj_t^a&lh@ zATcRL)SUxTQmPl+iL2+3X?ISv3Rb2!H1c1j2kJIBI zEUYWVMb0*LvMpn`C@n1^B*cQG)m`?BNK8#7F(r}2;AH`Q8=jYCboM{c z=(_Up?0?zf*_WHvxG8hz3Wv+Z#ln|$ORVVg%s8sIe8(nNmALz;T{;g=lK5%oP67gh zS-Nr!{=pVvVtZ3uRLsGX1>XDaa8OZtj-;d{k=n!$Eh#BQq@*PI97|2jBC8>IiHY9v zWM%!wHK4}mv49htN+4Qo0E<$-;qgbG=AU!kC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j!A83=zRJ8=*(@mB)toQfNF$#+nF8V%qB`1l&YHv)nqS|2hm zQh&d`M0W|6a!;0vpiZs-3$cFJHuJRB+O^(6NqV~H^Xk~k0x|J70$qVBr|Kei+dLdL7k{e7*=Ap@4#11lZwkWm)v>6m=l?8uay;IJ zwSHi&%$enR0p@y-FC--;RpFVNy=3#VvS+>Cp3BVwh5_q=7s*a+`5#YYC(a`#z6#F* z1qFCMW^Cc!i|Ihj*up<|Ia6jP=8MS#_UQ3P^m5q`+rOGr6C5tPoB;fPf0FCIW)C#{ Q@Bjb+07*qoM6N<$g4#?|`Tzg` diff --git a/include/nav.php b/include/nav.php index 66fdbc49b2..97cbe87cb0 100644 --- a/include/nav.php +++ b/include/nav.php @@ -64,8 +64,8 @@ function nav(&$a) { $nav['help'] = array($help_url, t('Help'), ""); - - $nav['apps'] = array('apps', t('Apps'), ""); + if(count($a->apps)) + $nav['apps'] = array('apps', t('Apps'), ""); $nav['search'] = array('search', t('Search'), ""); diff --git a/mod/apps.php b/mod/apps.php index f25722df78..7a0a3f59ea 100644 --- a/mod/apps.php +++ b/mod/apps.php @@ -5,19 +5,9 @@ function apps_content(&$a) { $o .= '

' . t('Applications') . '

'; - $apps = false; - - if(local_user()) { - $apps = true; - $o .= ''; - } - - if($a->apps) { - $apps = true; + if($a->apps) $o .= $a->apps; - } - - if(! $apps) + else notice( t('No installed applications.') . EOL); return $o; diff --git a/mod/events.php b/mod/events.php index a4809607c8..1418a75495 100644 --- a/mod/events.php +++ b/mod/events.php @@ -130,6 +130,14 @@ function events_content(&$a) { if(! $m) $m = intval($thismonth); + // Put some limits on dates. The PHP date functions don't seem to do so well before 1900. + // An upper limit was chosen to keep search engines from exploring links endlessly. + + if($y < 1901) + $y = 1900; + if($y > 2099) + $y = 2100; + $nextyear = $y; $nextmonth = $m + 1; if($nextmonth > 12) { @@ -144,11 +152,18 @@ function events_content(&$a) { $prevmonth = 12; $prevyear --; } + $o .= ''; - $o .= '' . t('<< Previous') . ' | ' . t('Next >>') . ''; + $o .= '
'; + + $o .= ''; $o .= cal($y,$m,false, ' eventcal'); + $o .= ''; + $o .= '
'; + $o .= '
'; + $dim = get_dim($y,$m); $start = sprintf('%d-%d-%d %d:%d:%d',$y,$m,1,0,0,0); $finish = sprintf('%d-%d-%d %d:%d:%d',$y,$m,$dim,23,59,59); diff --git a/mod/notes.php b/mod/notes.php index 7a826bf612..0f980ff67f 100644 --- a/mod/notes.php +++ b/mod/notes.php @@ -38,7 +38,7 @@ function notes_content(&$a) { $is_owner = true; - $o .= '

' . t('Private Notes') . '

'; + $o .= '

' . t('Personal Notes') . '

'; $commpage = false; $commvisitor = false; diff --git a/mod/profile.php b/mod/profile.php index 7dfdb49de4..aeb21f077c 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -115,7 +115,9 @@ function profile_content(&$a, $update = 0) { '$phototab' => $a->get_baseurl() . '/photos/' . $a->profile['nickname'], '$status' => t('Status'), '$profile' => t('Profile'), - '$photos' => t('Photos') + '$photos' => t('Photos'), + '$events' => (($is_owner) ? '' . t('Events') . '' : ''), + '$notes' => (($is_owner) ? '' . t('Personal Notes') . '' : '') )); diff --git a/view/profile_tabs.tpl b/view/profile_tabs.tpl index 975d069a68..3628ff5ff0 100644 --- a/view/profile_tabs.tpl +++ b/view/profile_tabs.tpl @@ -3,5 +3,7 @@ $status $profile $photos + $events + $notes
\ No newline at end of file diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index 8928148042..9555a1e964 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -2224,7 +2224,8 @@ a.mail-list-link { } .eventcal { - font-size: 24px; + float: left; + font-size: 20px; } #new-event-link { @@ -2245,6 +2246,17 @@ a.mail-list-link { .event-start .dtstart, .event-end .dtend { float: right; } + +.prevcal, .nextcal { + float: left; + margin-left: 32px; + margin-right: 32px; + margin-top: 64px; +} +.event-calendar-end { + clear: both; +} + .calendar { font-family: Courier, monospace; @@ -2454,6 +2466,8 @@ a.mail-list-link { } + + #lang-select-icon { cursor: pointer; position: absolute; @@ -2505,6 +2519,8 @@ a.mail-list-link { .youtube { background-position: -64px -32px;} .attach { background-position: -80px -32px; } .language { background-position: -96px -32px; } +.prev { background-position: -112px -32px; } +.next { background-position: -128px -32px; } .attachtype { diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css index 0edde248e3..a566acadcb 100644 --- a/view/theme/loozah/style.css +++ b/view/theme/loozah/style.css @@ -2423,6 +2423,48 @@ a.mail-list-link { color: #FF0000; } +.eventcal { + float: left; + font-size: 20px; +} + +#new-event-link { + margin-bottom: 10px; +} + +.event-description:before { + content: url('../../../images/calendar.png'); + margin-right: 15px; +} + +.event-start, .event-end { + margin-left: 10px; + width: 330px; + clear: both; +} + +.event-start .dtstart, .event-end .dtend { + float: right; +} + +.prevcal, .nextcal { + float: left; + margin-left: 32px; + margin-right: 32px; + margin-top: 64px; +} +.event-calendar-end { + clear: both; +} + +.calendar { + font-family: Courier, monospace; +} +.today { + color: #FF0000; +} + + #event-start-text, #event-finish-text { margin-top: 10px; margin-bottom: 5px; @@ -2491,6 +2533,8 @@ a.mail-list-link { .youtube { background-position: -64px -32px;} .attach { background-position: -80px -32px; } .language { background-position: -96px -32px; } +.prev { background-position: -112px -32px; } +.next { background-position: -128px -32px; } .attachtype { display: block; width: 20px; height: 23px;