ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 5056


Ignore:
Timestamp:
Jan 27, 2008, 9:25:54 PM (12 years ago)
Author:
ogawa
Message:

#1843:管理画面をOpenPNEっぽく

Location:
OpenPNE/branches/work/ogawa/symfony
Files:
22 added
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/work/ogawa/symfony/apps/admin/config/routing.yml

    r5051 r5056  
    22homepage:
    33  url:   /
    4   param: { module: default, action: index }
     4  param: { module: dashboard, action: index }
    55
    66default_symfony:
  • OpenPNE/branches/work/ogawa/symfony/apps/admin/config/view.yml

    r5051 r5056  
    44
    55  metas:
    6     title:        symfony project
    7     robots:       index, follow
    8     description:  symfony project
    9     keywords:     symfony, project
    10     language:     en
     6    title:        <?php echo sfConfig::get('app_sns_name'); ?>管理画面
     7#    robots:       index, follow
     8#    description:  symfony project
     9#    keywords:     symfony, project
     10#    language:     en
    1111
    12   stylesheets:    [main]
     12  stylesheets:    [admin]
    1313
    14   javascripts:    []
     14  javascripts:    [admin]
    1515
    1616  has_layout:     on
  • OpenPNE/branches/work/ogawa/symfony/apps/admin/templates/layout.php

    r5051 r5056  
    11<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     2<html xmlns="http://www.w3.org/1999/xhtml">
    33<head>
    44
     
    1313<body>
    1414
     15<div class="container">
     16
     17<div class="header">
     18  <div class="ttl">
     19    <h1><?php echo link_to(sfConfig::get('app_sns_name') . '管理画面', '/'); ?></h1>
     20  </div>
     21</div>
     22
     23<?php if ($sf_user->isAuthenticated()) include_partial('global/navi'); ?>
     24
     25<div class="contents">
    1526<?php echo $sf_data->getRaw('sf_content') ?>
     27</div>
     28
     29</div>
    1630
    1731</body>
Note: See TracChangeset for help on using the changeset viewer.