mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-04 19:12:12 +09:00
1.4.5.2 branche merge to trunk
git-svn-id: http://xe-core.googlecode.com/svn/trunk@8275 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
312289717d
commit
20ddd23e07
19 changed files with 121 additions and 120 deletions
|
|
@ -294,6 +294,13 @@
|
|||
$this->module_info->module_type = $type;
|
||||
$oModule->setModuleInfo($this->module_info, $xml_info);
|
||||
|
||||
if($type == "view" && $this->module_info->use_mobile == "Y" && Mobile::isMobileCheckByAgent())
|
||||
{
|
||||
global $lang;
|
||||
$footer = '<div style="margin:1em 0;padding:.5em;background:#333;border:1px solid #666;border-left:0;border-right:0"><p style="color:#fff;text-align:center;margin:1em 0">'.$lang->msg_pc_to_mobile.' <a href="'.getUrl('m', '1').'" style="color:#FF0; font-weight:bold">'.$lang->cmd_move.'</a></p></div>';
|
||||
Context::addHtmlFooter($footer);
|
||||
}
|
||||
|
||||
// execute the action, and if failed, set error
|
||||
if(!$oModule->proc()) $this->error = $oModule->getMessage();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue