Changeset 2439 for trunk/calendar
- Timestamp:
- 04/07/10 08:17:49 (14 years ago)
- Location:
- trunk/calendar
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.uicalendar.inc.php
r2419 r2439 3054 3054 } 3055 3055 } 3056 if( $GLOBALS['phpgw_info']['flags']['currentapp'] == 'home' ||3056 if( !$GLOBALS['phpgw_info']['flags']['currentapp'] || $GLOBALS['phpgw_info']['flags']['currentapp'] == 'home' || 3057 3057 strstr($GLOBALS['phpgw_info']['flags']['currentapp'],'mail')) // email, felamimail, ... 3058 3058 { … … 4916 4916 if ($param['plain'] != "True"){ 4917 4917 // $GLOBALS['phpgw']->common->phpgw_header(); 4918 echo $GLOBALS['phpgw']->common->get_java_script( ); 4918 4919 } 4919 4920 else{ -
trunk/calendar/inc/class.uiholiday.inc.php
r2419 r2439 76 76 'rule' => '', 77 77 'header_rule' => '', 78 'back_button' => '' 78 'back_button' => '', 79 'info' => '' 79 80 ); 80 81 … … 171 172 'header_rule' => '<td>'.$GLOBALS['phpgw']->nextmatchs->show_sort_order($this->bo->sort,'month_num,mday',$this->bo->order,'/index.php',lang('Rule'),'&menuaction=calendar.uiholiday.edit_locale&locale='.$this->bo->locales[0].'&year='.$this->bo->year).'</td>', 172 173 'header_extra' => lang('Copy'), 173 'extra_width' => 'width="5%"' 174 'extra_width' => 'width="5%"', 175 'info' => '' 174 176 ); 175 177 … … 185 187 $maxmatchs = $GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs']; 186 188 $end = min($total,$this->bo->start+$maxmatchs); 187 $p->set_var(' rows',lang('showing %1 - %2 of %3',1+$this->bo->start,$end,$total));189 $p->set_var('info',lang('showing %1 - %2 of %3',1+$this->bo->start,$end,$total)); 188 190 for($i=$this->bo->start; $i < $end; $i++) 189 191 { … … 254 256 255 257 $t = &$GLOBALS['phpgw']->template; 256 $t->set_file(Array('holiday'=>'holiday.tpl','form_button'=>'form_button_ script.tpl'));258 $t->set_file(Array('holiday'=>'holiday.tpl','form_button'=>'form_button_change_form_action.tpl')); 257 259 $t->set_block('holiday','form','form'); 258 260 $t->set_block('holiday','list','list'); … … 344 346 'action_url_button' => $GLOBALS['phpgw']->link($this->base_url,$link_params), 345 347 'action_text_button' => lang('Cancel'), 346 'action_confirm_button' => '',347 'action_extra_field' => ''348 348 )); 349 349 $t->parse('cancel_button','form_button'); … … 359 359 $t->set_var(Array( 360 360 'action_url_button' => $GLOBALS['phpgw']->link($this->base_url,$link_params), 361 'action_text_button' => lang('Delete'), 362 'action_confirm_button' => '', 363 'action_extra_field' => '' 361 'action_text_button' => lang('Delete') 364 362 )); 365 363 $t->parse('delete_button','form_button'); -
trunk/calendar/templates/default/form_button_dropdown.tpl
r663 r2439 1 <td width="{form_width}%" align="center" valign="top" style="padding-top:16px"> 1 2 <form action="{form_link}" method="post" name="{form_name}form"> 2 <td width="{form_width}%" align="center" valign="top" style="padding-top:16px">3 3 <span style="font-size:10px"><b>{title}:</b> 4 4 {hidden_vars} … … 10 10 </noscript> 11 11 </span> 12 </form> 12 13 </td> 13 </form> -
trunk/calendar/templates/default/holiday.tpl
r2 r2439 2 2 <center> 3 3 {message}<br> 4 <form name="form" action="{actionurl}" method="POST"> 4 5 <table border="0" width="80%" cellspacing="2" cellpadding="2"> 5 <form name="form" action="{actionurl}" method="POST">6 6 {hidden_vars} 7 7 {rows} … … 11 11 <tr> 12 12 <td> 13 <input type="submit" name="submit" value="{lang_add}"></form> 13 <div style="padding-top:15px; padding-right: 2px"> 14 <input type="submit" name="submit" value="{lang_add}"> 15 </div> 14 16 </td> 15 17 <td> … … 24 26 </tr> 25 27 </table> 28 </form> 26 29 </center> 27 30 <!-- END form --> -
trunk/calendar/templates/default/locales.tpl
r2 r2439 8 8 </tr> 9 9 </table> 10 11 <p>{info}</p> 10 12 11 13 <table border="0" width="70%" align="center">
Note: See TracChangeset
for help on using the changeset viewer.