Changeset 364
- Timestamp:
- Mar 8, 2010, 5:07:33 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/aowow/index.php
r170 r364 54 54 'path' => '[]' 55 55 ); 56 56 57 57 58 // В зависимости от раздела, выбираем что открывать: … … 131 132 break; 132 133 } 133 134 die(''); 134 135 ?> -
trunk/aowow/main.php
r170 r364 5 5 if($rows) 6 6 $smarty->assign('news', $rows); 7 8 7 global $page; 9 8 $smarty->assign('page', $page); 10 9 $smarty->display('main.tpl'); 10 11 11 ?> -
trunk/export/export.php
r363 r364 306 306 $DbRow = $DbResult2->fetch_assoc(); 307 307 $Value['Text'] = addslashes($DbRow['Text']); 308 $Value['Comment'] = addslashes($DbRow['Comment']); 308 // Escape new line control characters 309 $Value['Text'] = str_replace("\n", '\n', $Value['Text']); 310 $Value['Text'] = str_replace("\r", '', $Value['Text']); 311 $Value['Comment'] = $DbRow['Comment']; 312 // Only one line comments allowed 313 $Value['Comment'] = str_replace("\n", ' ', $Value['Comment']); 314 $Value['Comment'] = str_replace("\r", '', $Value['Comment']); 309 315 //echo('.'); 310 316 } … … 313 319 $NewLine .= "\n"; 314 320 $File2->WriteLine($NewLine); 315 } else $File2->WriteLine($Line." \n");321 } else $File2->WriteLine($Line.""); 316 322 } 317 323 echo('Hotovo <br/>');
Note:
See TracChangeset
for help on using the changeset viewer.