| @@ 52-58 (lines=7) @@ | ||
| 49 | ||
| 50 | $contents = FileHandler::readDir(_XE_PATH_.'modules/editor/styles'); |
|
| 51 | $content_style_list = array(); |
|
| 52 | for($i=0,$c=count($contents);$i<$c;$i++) |
|
| 53 | { |
|
| 54 | $style = $contents[$i]; |
|
| 55 | $info = $oModuleModel->loadSkinInfo($this->module_path,$style,'styles'); |
|
| 56 | $content_style_list[$style] = new stdClass(); |
|
| 57 | $content_style_list[$style]->title = $info->title; |
|
| 58 | } |
|
| 59 | ||
| 60 | // Get install info, update info, count |
|
| 61 | $oAutoinstallModel = getModel('autoinstall'); |
|
| @@ 105-111 (lines=7) @@ | ||
| 102 | ||
| 103 | $contents = FileHandler::readDir(_XE_PATH_.'modules/editor/styles'); |
|
| 104 | $content_style_list = array(); |
|
| 105 | for($i=0,$c=count($contents);$i<$c;$i++) |
|
| 106 | { |
|
| 107 | $style = $contents[$i]; |
|
| 108 | $info = $oModuleModel->loadSkinInfo($this->module_path,$style,'styles'); |
|
| 109 | $content_style_list[$style] = new stdClass(); |
|
| 110 | $content_style_list[$style]->title = $info->title; |
|
| 111 | } |
|
| 112 | Context::set('content_style_list', $content_style_list); |
|
| 113 | // Get a group list |
|
| 114 | $oMemberModel = getModel('member'); |
|