FIX FIX
This commit is contained in:
parent
d6a4260d50
commit
dc7d394e07
|
|
@ -69,7 +69,7 @@ class PageController extends Controller
|
|||
|
||||
self::render('pointsTemplate.php', array(
|
||||
'categories' => $categories,
|
||||
'user' => App::$user,
|
||||
// 'user' => App::$user,
|
||||
'points' => $result,
|
||||
'notModeratedPoints' => $notModeratedPoints,
|
||||
'randomPoint' => Point::model()->getRandom(),
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ if (App::getParam('user')) {
|
|||
if ((int) App::getParam('category')) {
|
||||
$header = 'Список точек в категории "' . $categories[(int) App::getParam('category')]->name . '"';
|
||||
}
|
||||
if ($user && $user->id) {
|
||||
if (isset($user) && $user && $user->id) {
|
||||
$header = 'Список точек пользователя <a href="/user/'.$user->id.'">"' . $user->nick . '"</a>';
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
.lightBody {background-color: rgba(255,255,255, 0.8);margin-top: 0px;padding-bottom: 30px;}
|
||||
|
||||
.articlesList {}
|
||||
.articlesList .article {border: solid 1px #ddd; border-radius: 3px; padding: 4px; margin-bottom: 5px;background-color: rgba(255,255,255, 0.8);}
|
||||
.articlesList .article {border: solid 1px #ddd; border-radius: 3px; padding: 8px; margin-bottom: 5px;background-color: rgba(255,255,255, 0.8);}
|
||||
.articlesList .article img {width: 100px; float: left; margin-right: 10px;}
|
||||
.articlesList .article .h {font-size: 18px; font-weight: bold; display: block;}
|
||||
.articlesList .article .date {font-size: 11px; color: #bbb; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue