Файл: system/controllers/subscriptions/hooks/user_tab_show.php
Строк: 17
<?php
class onSubscriptionsUserTabShow extends cmsAction {
public function run($profile, $tab_name, $tab){
$this->model->filterEqual('user_id', $profile['id']);
$html = $this->renderSubscriptionsList(href_to_profile($profile, array('subscriptions')), $this->request->get('page', 1));
if($html === false){
return cmsCore::error404();
}
return $this->cms_template->renderInternal($this, 'profile_tab', array(
'user' => $this->cms_user,
'tab' => $tab,
'html' => $html,
'profile' => $profile
));
}
}