pageTitle = $model->Name . ' - ' . Yii::app()->name; $this->breadcrumbs = array( 'Programs' => array('index'), $model->Name, ); ?> visible && Yii::app()->user->name != 'admin') { throw new CHttpException(400, "You cannot view this program"); } ?>
enabled) echo TbHtml::alert(TbHtml::ALERT_COLOR_WARNING, TbHtml::b('Warning!') . ' This programm is for normal users disabled'); ?> visible) echo TbHtml::alert(TbHtml::ALERT_COLOR_WARNING, TbHtml::b('Warning!') . ' This programm is for normal users invisible'); ?>

Info

version != null): ?>
Stars: getStarHTML(); ?>
Downloads: Downloads, array('color' => TbHtml::BADGE_COLOR_SUCCESS)); ?>
Languages: getLanguageList() as $lang) echo TbHtml::badge($lang, array('color' => TbHtml::BADGE_COLOR_INFO)); ?>
Added: getDateTime()->format('d.m.Y'), array('color' => TbHtml::BADGE_COLOR_INFO)); ?>
Version: version->Version, array('color' => TbHtml::BADGE_COLOR_INFO)); ?>
uses_absCanv): ?> TbHtml::BADGE_COLOR_WARNING)); ?> programming_lang, array('color' => TbHtml::BADGE_COLOR_WARNING)); ?>
widget('ProgDescription', [ 'program' => $model, ] ); ?>
true, 'color' => TbHtml::BUTTON_COLOR_PRIMARY, 'size' => TbHtml::BUTTON_SIZE_DEFAULT, 'Content' => 'nofollow', 'url' => $model->getDownloadLink(), //TODO-MS Add Download link ]); ?> github_url)) echo TbHtml::linkbutton('Github', [ 'block' => true, 'color' => TbHtml::BUTTON_COLOR_INFO, 'size' => TbHtml::BUTTON_SIZE_DEFAULT, 'url' => $model->github_url, ]); ?> sourceforge_url)) echo TbHtml::linkbutton('Sourceforge', [ 'block' => true, 'color' => TbHtml::BUTTON_COLOR_INFO, 'size' => TbHtml::BUTTON_SIZE_DEFAULT, 'url' => $model->sourceforge_url, ]); ?> homepage_url)) echo TbHtml::linkbutton('Homepage', [ 'block' => true, 'color' => TbHtml::BUTTON_COLOR_INFO, 'size' => TbHtml::BUTTON_SIZE_DEFAULT, 'url' => $model->homepage_url, ]); ?> highscore_gid >= 0) echo TbHtml::linkbutton('Highscore', [ 'block' => true, 'color' => TbHtml::BUTTON_COLOR_SUCCESS, 'size' => TbHtml::BUTTON_SIZE_DEFAULT, 'url' => '#', //TODO-MS Add Highscore link ]); ?>