Revision 626
Added by doc almost 18 years ago
| tool.php | ||
|---|---|---|
| 73 | 73 |
$YUI_PUT_MISSING_Files=''; // String with missing files |
| 74 | 74 |
reset($js_yui_scripts); |
| 75 | 75 |
foreach($js_yui_scripts as $script) {
|
| 76 |
$fcheck =fopen($script,"r"); // Check if File Exist , This is better the file_exists |
|
| 77 |
if(!$fcheck){
|
|
| 76 |
if(!file_exists($WB_MAIN_RELATIVE_PATH.$script)){
|
|
| 78 | 77 |
$YUI_ERROR=true; |
| 79 |
$YUI_PUT_MISSING_Files =$YUI_PUT_MISSING_Files."- ".$script."<br />"; // catch all missing files |
|
| 78 |
$YUI_PUT_MISSING_Files =$YUI_PUT_MISSING_Files."- ".WB_URL.$script."<br />"; // catch all missing files
|
|
| 80 | 79 |
} |
| 81 |
fclose($fcheck); |
|
| 82 | 80 |
} |
| 83 | 81 |
if($YUI_ERROR) |
| 84 | 82 |
{
|
| ... | ... | |
| 111 | 109 |
<tr> |
| 112 | 110 |
<td> </td> |
| 113 | 111 |
<td> |
| 114 |
<input type="submit" name="submit" value="<?php echo $TEXT['SAVE']; ?>" onClick="javascript: if(!confirm('<?php echo $TEXT['ARE_YOU_SURE']; ?>')) { return false; }" />
|
|
| 112 |
<input type="submit" name="submit" value="<?php echo $TEXT['SAVE']; ?>" /> |
|
| 115 | 113 |
</td> |
| 116 | 114 |
</tr> |
| 117 | 115 |
</table> |
Also available in: Unified diff
Fixed some bugs in the Javascript Admin module