Changeset 524 for trunk/mobile
- Timestamp:
- 10/09/08 17:15:46 (16 years ago)
- Location:
- trunk/mobile
- Files:
-
- 1 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mobile/calendar.php
r517 r524 20 20 include('../header.inc.php'); 21 21 include('mobile_header.inc.php'); 22 23 22 24 23 $accountId = $GLOBALS['phpgw_info']['user']['account_id']; … … 50 49 $data[] = array(); 51 50 @ksort($daily); 52 51 //print_r($daily); 52 //echo "accountId - $accountId\n"; 53 53 if($daily){ 54 54 $p->set_block('view','view_event'); … … 59 59 $day_of_week = $daysofWeek[$GLOBALS['phpgw']->datetime->day_of_week($year,$month,$day)]; 60 60 $p->set_var("header_date",$day_of_week." - ".$day."/".$month."/".$year); 61 for($i = 0; $i < count($day_params);$i++) { 61 for($i = 0; $i < count($day_params);$i++) 62 { 63 64 //Verifica se o usuario conectado é o dono do agendamento, se for não serão exibidos os links 65 //Aceitar e Rejeitar 66 $display = ""; 67 if($accountId == $day_params[$i]['owner']) 68 { 69 $display = "none"; 70 } 71 62 72 $vars = $uicalendar->bo->event2array($day_params[$i]); 63 73 $data = array ( … … 71 81 "enddate_data" => substr($vars['enddate']['data'],13, 17), 72 82 "description_field" => $vars['description']['field'], 73 "description_data" => $vars['description']['data'] ? $vars['description']['data'] : " " 83 "description_data" => $vars['description']['data'] ? $vars['description']['data'] : " ", 84 //Links Aceitar e Rejeitar o compromisso 85 "accept_title" => lang("Accept"), 86 "accept_data" => "index.php?menuaction=mobile.mobilemail.set_action&cal_id=" . $day_params[$i]['id'] . "&action=3", 87 "reject_title" => lang("Reject"), 88 "reject_data" => "index.php?menuaction=mobile.mobilemail.set_action&cal_id=" . $day_params[$i]['id'] . "&action=0", 89 "display" => $display 74 90 ); 75 91 76 $p->set_var($data); 77 $p->parse('views','view_event',True); 92 // print_r($vars); 93 $p->set_var($data); 94 $p->parse('views','view_event',True); 78 95 } 79 96 } -
trunk/mobile/setup/phpgw_pt-br.lang
r517 r524 26 26 Some addresses in the To field were not recognized. Please make sure that all addresses are properly formed mobile pt-br Alguns endereços no campo "Para" não foram reconhecidos. Por favor certifique-se que todos endereços estão corretos 27 27 Empty folder mobile pt-br Pasta vazia 28 Accept mobile pt-br Aceitar 29 Accepted mobile pt-br aceitou 30 Reject mobile pt-br Rejeitar 31 Rejected mobile pt-br rejeitou 32 Location mobile pt-br Local 33 Start Date/Time mobile pt-br Data/Hora Início 34 End Date/Time mobile pt-br Data/Hora Término -
trunk/mobile/templates/default/calendar.tpl
r454 r524 22 22 <td valign="top" >{description_data}</td> 23 23 </tr> 24 <tr style="display: {display};" > 25 <td align="right" valign="top" ><a href="{accept_data}">{accept_title}</a></td> 26 <td align="right" valign="top" ><a href="{reject_data}">{reject_title}</a></td> 27 </tr> 24 28 </table><br> 25 29 <!-- END view_event --> -
trunk/mobile/templates/default/home.tpl
r517 r524 9 9 </head> 10 10 <body style="background-color:white !important"> 11 < !--<p> <strong>{fullname}: [{account_lid}]</strong></p>-->11 <p> <strong>{fullname}: [{account_lid}]</strong></p> 12 12 <hr /> 13 13 <!-- END mobile_header -->
Note: See TracChangeset
for help on using the changeset viewer.