- Timestamp:
- 02/06/09 08:40:06 (15 years ago)
- Location:
- trunk/calendar
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.uicalendar.inc.php
r638 r663 357 357 358 358 function printer_friendly($body,$app_header='') 359 { 359 { 360 360 $_SESSION['calendar']['categories'] = $this->cat->formated_list('select','all',$this->bo->cat_id,'True'); 361 361 if((!isset($GLOBALS['phpgw_info']['server']['deny_user_grants_access']) || !$GLOBALS['phpgw_info']['server']['deny_user_grants_access']) && count($this->bo->grants) > 0) … … 1035 1035 $event['recur_exception'] = array(); 1036 1036 } 1037 $plain = $_GET['plain']; 1038 1037 1039 $this->edit_form( 1038 1040 Array( 1039 1041 'event' => $event, 1040 'cd' => $cd 1042 'cd' => $cd, 1043 'plain' => $plain 1041 1044 ) 1042 1045 ); … … 1288 1291 Array( 1289 1292 'event' => $event, 1290 'cd' => $cd 1293 'cd' => $cd, 1294 'plain' => $_GET['plain'] 1291 1295 ) 1292 1296 ); … … 3246 3250 'action_text_button' => lang('Ignore Conflict'), 3247 3251 'action_confirm_button' => '', 3248 'action_extra_field' => '' 3252 'action_extra_field' => '', 3253 'button_id' => 'ignore_button' 3249 3254 ); 3250 3255 $this->output_template_array($p,'resubmit_button','form_button',$var); … … 3254 3259 'action_text_button' => lang('Re-Edit Event'), 3255 3260 'action_confirm_button' => '', 3256 'action_extra_field' => '' 3261 'action_extra_field' => '', 3262 'button_id' => 'redit_button' 3257 3263 ); 3258 3264 $this->output_template_array($p,'reedit_button','form_button',$var); … … 4347 4353 $GLOBALS['phpgw_info']['flags']['noappfooter'] = True; 4348 4354 $GLOBALS['phpgw_info']['flags']['app_header'] = $event['id'] ? lang('Editing event') : lang('Adding event'); 4349 $GLOBALS['phpgw']->common->phpgw_header(); 4355 if ($param['plain'] != "True"){ 4356 $GLOBALS['phpgw']->common->phpgw_header(); 4357 } 4358 else{ 4359 $GLOBALS['phpgw_info']['theme']['row_on'] = "F8F8F8"; 4360 $GLOBALS['phpgw_info']['theme']['row_off'] = "F8F8F8"; 4361 } 4350 4362 4351 4363 $p = &$GLOBALS['phpgw']->template; … … 4874 4886 'action_text_button' => lang('Delete'), 4875 4887 'action_confirm_button' => "onClick=\"return confirm('".lang('Are you sure want to delete this entry?\\nThis will delete this entry for all users.')."')\"", 4876 'action_extra_field' => '' 4888 'action_extra_field' => '', 4889 'button_id' => 'delete_button' 4877 4890 ); 4878 4891 $p->set_var($var); … … 4888 4901 'action_text_button' => lang('Cancel'), 4889 4902 'action_confirm_button' => '', 4890 'action_extra_field' => '' 4903 'action_extra_field' => '', 4904 'button_id' => 'cancel_button' 4891 4905 ); 4892 4906 $p->set_var($var); -
trunk/calendar/templates/celepar/edit.tpl
r602 r663 21 21 <form action="{action_url}" method="post" name="app_form"> 22 22 {common_hidden} 23 <table border="0" width="90%">23 <table id="editFormTable" border="0" width="90%"> 24 24 <tr> 25 25 <td colspan="2"> 26 <center><font size="+1"><b >{errormsg}</b></font></center>26 <center><font size="+1"><b id="formStatus">{errormsg}</b></font></center> 27 27 </td> 28 28 </tr> … … 36 36 var alert_field = '{alert_msg}'; 37 37 </script> 38 <input style="font-size:10px" type="submit" value="{submit_button}" onClick="return submitValues(alert_field);"></div></form>38 <input id="submit_button" style="font-size:10px" type="submit" value="{submit_button}" onClick="return submitValues(alert_field);"></div></form> 39 39 </td> 40 40 <td>{cancel_button}</td> -
trunk/calendar/templates/default/form_button_script.tpl
r2 r663 5 5 <div style="padding-top:15px; padding-right: 2px"> 6 6 {action_extra_field} 7 <input style="font-size:10px" type="submit" value="{action_text_button}" {action_confirm_button}>7 <input id="{button_id}" style="font-size:10px" type="submit" value="{action_text_button}" {action_confirm_button}> 8 8 </div> 9 9 </form>
Note: See TracChangeset
for help on using the changeset viewer.