Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
kill old methods using
Browse files Browse the repository at this point in the history
  • Loading branch information
nizsheanez committed Aug 25, 2012
1 parent ec767f9 commit e689c44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion css/admin/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ aside#sidebar {
width: 17%;
background: #E0E0E3 url(/img/admin/sidebar.png) repeat;
float: left;
min-height: 500px;
height: 100%;
margin-top: -4px;
}

Expand Down
2 changes: 1 addition & 1 deletion protected/components/AppManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public static function getModuleName($id)
$module = Yii::app()->getModule($id);
if ($module)
{
return $module->name();
return $module->getName();
}
}

Expand Down
2 changes: 1 addition & 1 deletion protected/views/layouts/admin/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<hgroup>
<h1 class="site_title" ><a href="/admin" style="margin-left: 20px"><?= Param::get('project_name'); ?></a></h1>

<h2 class="section_title" style="padding-left: 24px;"><? echo t($this->module->name()); ?></h2>
<h2 class="section_title" style="padding-left: 24px;"><? echo t($this->module->getName()); ?></h2>

<div class="btn_view_site"><a href="/"><? echo t('На сайт'); ?></a></div>

Expand Down

0 comments on commit e689c44

Please sign in to comment.