Example #1
0
 /**
  * Initializes the widget.
  */
 public function init()
 {
     Athens::registerThemeAsset($this->getView());
     $this->_initOptions();
 }
Example #2
0
<?php

use yii\helpers\Html;
use lubaogui\athens\helpers\Layout;
use lubaogui\athens\widgets\Menu;
use lubaogui\athens\widgets\NavBar;
use lubaogui\athens\widgets\Nav;
use lubaogui\athens\widgets\Breadcrumbs;
use lubaogui\athens\widgets\Button;
use lubaogui\athens\widgets\HorizontalMenu;
use lubaogui\athens\Athens;
use lubaogui\athens\widgets\Badge;
/* @var $this \yii\web\View */
/* @var $content string */
Athens::registerThemeAsset($this);
$this->beginPage();
?>
<!DOCTYPE html>
<!--[if IE 8]><html lang="<?php 
echo Yii::$app->language;
?>
" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]><html lang="<?php 
echo Yii::$app->language;
?>
" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="<?php 
echo Yii::$app->language;
?>
" class="no-js">