mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 04:09:55 +09:00
#471 rss출력시 Context::transContent()를 거치도록 하고 이미지갤러리/인용구의 결과물 방식에 따른 결과물 형태를 다르게 하는 코드를 삽입
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4265 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f6537987f5
commit
5260252282
4 changed files with 29 additions and 4 deletions
|
|
@ -55,6 +55,10 @@
|
|||
$bg_color = $xml_obj->attrs->bg_color;
|
||||
$body = $xml_obj->body;
|
||||
|
||||
if(Context::getResponseMethod() == 'XMLRPC') {
|
||||
return $body;
|
||||
}
|
||||
|
||||
$output = "";
|
||||
$style = sprintf('margin:%spx;padding:%spx;background-color:#%s;', $margin, $padding, $bg_color);
|
||||
switch($border_style) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue