2015-02-01 10:24:37 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
class BlogAdminSidebar extends FieldGroup {
|
|
|
|
|
2015-02-02 11:32:40 +01:00
|
|
|
public function isOpen() {
|
|
|
|
$sidebar = Cookie::get('blog-admin-sidebar');
|
|
|
|
if($sidebar == 1 || is_null($sidebar)) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2015-02-01 10:24:37 +01:00
|
|
|
}
|