Changeset 674 for trunk/phpbms/modules
- Timestamp:
- 11/05/09 15:34:17 (3 years ago)
- Location:
- trunk/phpbms/modules
- Files:
-
- 6 modified
-
base/include/notes.php (modified) (4 diffs)
-
base/notes_addedit.php (modified) (1 diff)
-
base/widgets/events/ajax.php (modified) (1 diff)
-
recurringinvoices/include/recurringinvoices.php (modified) (2 diffs)
-
recurringinvoices/invoices_recurrence.php (modified) (1 diff)
-
recurringinvoices/scheduler_recurr.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/base/include/notes.php
r644 r674 62 62 $daysSelected = explode("::",$therecord["repeateachlist"]); 63 63 else 64 $daysSelected = array( strftime("%u",$repeatbase));64 $daysSelected = array(@strftime("%u",$repeatbase)); 65 65 66 66 $daysAvailable = array(7,1,2,3,4,5,6); … … 87 87 $daysSelected = explode("::",$therecord["repeateachlist"]); 88 88 else 89 $daysSelected = array( strftime("%e",$repeatbase));89 $daysSelected = array(@strftime("%e",$repeatbase)); 90 90 91 91 … … 351 351 $weekday = $therecord["repeatontheday"]; 352 352 $weekday = ($weekday == 7)? 1: ($weekday+1); 353 if($therecord["repeatontheday"] != strftime("%u",$tempDate));353 if($therecord["repeatontheday"] != @strftime("%u",$tempDate)); 354 354 $tempDate = strtotime(nl_langinfo( constant("DAY_".$weekday) ),$tempDate); 355 355 … … 392 392 $weekday = $therecord["repeatontheday"]; 393 393 $weekday = ($weekday == 7)? 1: ($weekday+1); 394 if($therecord["repeatontheday"] != strftime("%u",$tempDate));394 if($therecord["repeatontheday"] != @strftime("%u",$tempDate)); 395 395 $tempDate = strtotime(nl_langinfo( constant("DAY_".$weekday) ),$tempDate); 396 396 -
trunk/phpbms/modules/base/notes_addedit.php
r589 r674 172 172 $theinput->setAttribute("disabled","disabled"); 173 173 $theinput2->setAttribute("disabled","disabled"); 174 $theinput->value = strftime("%u",$repeatBase);175 $theinput2->value = strftime("%u",$repeatBase);174 $theinput->value = @strftime("%u",$repeatBase); 175 $theinput2->value = @strftime("%u",$repeatBase); 176 176 } 177 177 $theform->addField($theinput); -
trunk/phpbms/modules/base/widgets/events/ajax.php
r574 r674 199 199 200 200 ?><tr class="eventDayName" <?php if(mktime(0,0,0) === ((int) str_replace("d","",$date)) ) echo 'id="today"'?>> 201 <td nowrap="nowrap"><?php echo strftime("%A",((int) str_replace("d","",$date)) ); ?></td>202 <td width="100%" align="right"><?php echo strftime("%b %e %Y",((int) str_replace("d","",$date)) ); ?></td>201 <td nowrap="nowrap"><?php echo @strftime("%A",((int) str_replace("d","",$date)) ); ?></td> 202 <td width="100%" align="right"><?php echo @strftime("%b %e %Y",((int) str_replace("d","",$date)) ); ?></td> 203 203 </tr><?php 204 204 -
trunk/phpbms/modules/recurringinvoices/include/recurringinvoices.php
r627 r674 261 261 $daysSelected = explode("::",$therecord["eachlist"]); 262 262 else 263 $daysSelected = array( strftime("%u",$invoiceDate));263 $daysSelected = array(@strftime("%u",$invoiceDate)); 264 264 265 265 $daysAvailable = array(7,1,2,3,4,5,6); … … 286 286 $daysSelected = explode("::",$therecord["eachlist"]); 287 287 else 288 $daysSelected = array( strftime("%e",$invoiceDate));288 $daysSelected = array(@strftime("%e",$invoiceDate)); 289 289 290 290 -
trunk/phpbms/modules/recurringinvoices/invoices_recurrence.php
r627 r674 109 109 $theinput->setAttribute("disabled","disabled"); 110 110 $theinput2->setAttribute("disabled","disabled"); 111 $theinput->value = strftime("%u",$invoiceDate);112 $theinput2->value = strftime("%u",$invoiceDate);111 $theinput->value = @strftime("%u",$invoiceDate); 112 $theinput2->value = @strftime("%u",$invoiceDate); 113 113 } 114 114 $theform->addField($theinput); -
trunk/phpbms/modules/recurringinvoices/scheduler_recurr.php
r627 r674 111 111 $weekday = $therecord["ontheday"]; 112 112 $weekday = ($weekday == 7)? 1: ($weekday+1); 113 if($therecord["ontheday"] != strftime("%u",$tempDate));113 if($therecord["ontheday"] != @strftime("%u",$tempDate)); 114 114 $tempDate = strtotime(nl_langinfo( constant("DAY_".$weekday) ),$tempDate); 115 115 … … 152 152 $weekday = $therecord["ontheday"]; 153 153 $weekday = ($weekday == 7)? 1: ($weekday+1); 154 if($therecord["ontheday"] != strftime("%u",$tempDate));154 if($therecord["ontheday"] != @strftime("%u",$tempDate)); 155 155 $tempDate = strtotime(nl_langinfo( constant("DAY_".$weekday) ),$tempDate); 156 156