issue 2662 page

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12255 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2012-11-19 09:56:12 +00:00
parent d456ea02e0
commit 7bb7241447
8 changed files with 1160 additions and 1079 deletions

View file

@ -1,25 +1,25 @@
<?php
/**
* @class pageWap
* @author NHN (developers@xpressengine.com)
* @brief wap class page of the module
**/
class pageWap extends page {
/**
* @brief wap procedure method
*
* Page module does not include the following items on the full content control and output from the mobile class
**/
function procWAP(&$oMobile) {
// Check permissions
if(!$this->grant->access) return $oMobile->setContent(Context::getLang('msg_not_permitted'));
// The contents of the widget chuchulham
$oWidgetController = &getController('widget');
$content = $oWidgetController->transWidgetCode($this->module_info->content);
$oMobile->setContent($content);
}
}
?>
/**
* @class pageWap
* @author NHN (developers@xpressengine.com)
* @brief wap class page of the module
*/
class pageWap extends page
{
/**
* @brief wap procedure method
*
* Page module does not include the following items on the full content control and output from the mobile class
*/
function procWAP(&$oMobile)
{
// Check permissions
if(!$this->grant->access) return $oMobile->setContent(Context::getLang('msg_not_permitted'));
// The contents of the widget chuchulham
$oWidgetController = &getController('widget');
$content = $oWidgetController->transWidgetCode($this->module_info->content);
$oMobile->setContent($content);
}
}
/* End of file page.wap.php */
/* Location: ./modules/page/page.wap.php */