mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 23:29:57 +09:00
XE Smartphone 애드온에서 iui를 제거하고 자체 제작한 UI 로 변경
(아직 PC 브라우저에서 최적화 되었고 iphone, 옴니아등에서의 최적화는 다시 진행할 예정입니다) cafeXE, planet, page모듈에서도 스마트폰에 어울리는 컨텐츠로 스마트폰 환경을 제공하도록 수정 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6283 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4f8e98ddb0
commit
e48e2900e4
45 changed files with 590 additions and 1150 deletions
16
modules/homepage/homepage.smartphone.php
Normal file
16
modules/homepage/homepage.smartphone.php
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
/**
|
||||
* @class homepageSmartphone
|
||||
* @author zero (skklove@gmail.com)
|
||||
* @brief homepage 모듈의 SmartPhone class
|
||||
**/
|
||||
|
||||
class homepageSPhone extends homepage {
|
||||
|
||||
function procSmartPhone(&$oSmartPhone) {
|
||||
$oTemplate = new TemplateHandler();
|
||||
$content = $oTemplate->compile($this->module_path.'tpl', 'smartphone');
|
||||
$oSmartPhone->setContent($content);
|
||||
}
|
||||
}
|
||||
?>
|
||||
18
modules/homepage/tpl/smartphone.html
Normal file
18
modules/homepage/tpl/smartphone.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<ul class="smartPhoneList">
|
||||
<li class="title">{$page_navigation->total_count} cafe, {$page_navigation->cur_page}/{$page_navigation->last_page} pages</li>
|
||||
|
||||
<!--@foreach($homepage_list as $key => $val)-->
|
||||
<li class="item">
|
||||
<!--@if($val->cafe_banner)-->
|
||||
<img src="{$val->cafe_banner}" width="40" height="40" align="left" class="thumbnail" />
|
||||
<!--@end-->
|
||||
<a href="{getSiteUrl($val->domain,'smartphone','true')}">
|
||||
<span class="title">{$val->cafe_title}</span>
|
||||
<span class="info">
|
||||
{preg_replace('/<([^>]+)>/i','',$val->cafe_description)}
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<!--@end-->
|
||||
</ul>
|
||||
Loading…
Add table
Add a link
Reference in a new issue