vhost init...2
This commit is contained in:
parent
ce8c0bf720
commit
4ec4dbf9ee
@ -20,6 +20,7 @@ abstract class FrontController extends BaseController
|
||||
$this->_viewDatas['title'] = '사용자화면';
|
||||
$this->_viewDatas['class_icon'] = '';
|
||||
$this->_viewDatas['menus'] = $this->getCategoryModel()->getMenus();
|
||||
$this->_viewDatas['category'] = false;
|
||||
}
|
||||
|
||||
final protected function getCategoryModel(): CategoryModel
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
<?= $this->extend('layouts/front') ?>
|
||||
<?= $this->extend('layouts/main') ?>
|
||||
<?= $this->section('content') ?>
|
||||
<link href="/css/front/content.css" media="screen" rel="stylesheet" type="text/css" />
|
||||
<div id="content">
|
||||
<div><?= html_entity_decode($viewDatas['currentCategory']->head) ?></div>
|
||||
<?= form_open_multipart(current_url(), $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
|
||||
<table class="form table table-bordered table-hover table-striped">
|
||||
<?php foreach ($viewDatas['fields'] as $field) : ?>
|
||||
@ -19,6 +18,5 @@
|
||||
</tr>
|
||||
</table>
|
||||
<?= form_close(); ?>
|
||||
<div><?= html_entity_decode($viewDatas['currentCategory']->head) ?></div>
|
||||
</div>
|
||||
<?= $this->endSection() ?>
|
||||
@ -4,7 +4,7 @@
|
||||
<?= ICONS['LOGIN'] ?><?= $viewDatas['session']->get(SESSION_NAMES['AUTH'])[AUTH_FIELDS['TITLE']] ?>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end">
|
||||
<li><a class="dropdown-item" href="/front/user/update/<?= $viewDatas['session']->get(SESSION_NAMES['AUTH'])[AUTH_FIELDS['ID']] . '?category=userinfo' ?>"><?= ICONS['SETUP'] ?>수정</a></li>
|
||||
<li><a class="dropdown-item" href="/front/user/update/<?= $viewDatas['session']->get(SESSION_NAMES['AUTH'])[AUTH_FIELDS['ID']] ?>"><?= ICONS['SETUP'] ?>수정</a></li>
|
||||
<li>
|
||||
<hr class="dropdown-divider">
|
||||
</li>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user