mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
한글 띄어쓰기, 맞춤법 등 일부 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6715 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
914b89add2
commit
2ee3844935
22 changed files with 375 additions and 383 deletions
|
|
@ -58,15 +58,17 @@
|
|||
|
||||
$src = str_replace(array('&','"'), array('&','&qout;'), $src);
|
||||
$src = str_replace('&', '&', $src);
|
||||
|
||||
if(!$alt) $alt = $src;
|
||||
// 이미지 주소를 request uri가 포함된 주소로 변환 (rss출력, 등등을 위함)
|
||||
$temp_src = explode('/', $src);
|
||||
if($temp_src[0]=='.') $src = Context::getRequestUri().substr($src, 2);
|
||||
elseif($temp_src[0]=='' && $src) {
|
||||
elseif(substr($src , 0 , 1)=='/') {
|
||||
if($_SERVER['HTTPS']=='on') $http_src = 'https://';
|
||||
else $http_src = 'http://';
|
||||
$src = $http_src.$_SERVER['HTTP_HOST'].$src;
|
||||
}
|
||||
if(!$alt) $alt = $src;
|
||||
elseif(!strpos($temp_src[0],':') && $src) $src = Context::getRequestUri().$src;
|
||||
|
||||
$attr_output = array();
|
||||
$attr_output = array("src=\"".$src."\"");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue