@@ 279-279 (lines=1) @@ | ||
276 | // If the tile is empty, extract string from the contents. |
|
277 | $obj->title = htmlspecialchars($obj->title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false); |
|
278 | settype($obj->title, "string"); |
|
279 | if($obj->title == '') $obj->title = cut_str(trim(strip_tags(nl2br($obj->content))),20,'...'); |
|
280 | // If no tile extracted from the contents, leave it untitled. |
|
281 | if($obj->title == '') $obj->title = 'Untitled'; |
|
282 | // Remove XE's own tags from the contents. |
|
@@ 481-481 (lines=1) @@ | ||
478 | // If the tile is empty, extract string from the contents. |
|
479 | $obj->title = htmlspecialchars($obj->title, ENT_COMPAT | ENT_HTML401, 'UTF-8', false); |
|
480 | settype($obj->title, "string"); |
|
481 | if($obj->title == '') $obj->title = cut_str(strip_tags($obj->content),20,'...'); |
|
482 | // If no tile extracted from the contents, leave it untitled. |
|
483 | if($obj->title == '') $obj->title = 'Untitled'; |
|
484 | // Remove XE's own tags from the contents. |
@@ 314-314 (lines=1) @@ | ||
311 | $obj->is_notice = 'N'; |
|
312 | ||
313 | settype($obj->title, "string"); |
|
314 | if($obj->title == '') $obj->title = cut_str(strip_tags($obj->content),20,'...'); |
|
315 | //그래도 없으면 Untitled |
|
316 | if($obj->title == '') $obj->title = 'Untitled'; |
|
317 |
@@ 56-56 (lines=1) @@ | ||
53 | } |
|
54 | ||
55 | settype($obj->title, "string"); |
|
56 | if($obj->title == '') $obj->title = cut_str(trim(strip_tags(nl2br($obj->content))),20,'...'); |
|
57 | //setup dpcument title tp 'Untitled' |
|
58 | if($obj->title == '') $obj->title = 'Untitled'; |
|
59 |