Database refactoring and improving blog comments, blog post history and more
This commit is contained in:
@@ -14,11 +14,11 @@ class Projects extends MY_Controller
|
||||
|
||||
public function index($album = 'all')
|
||||
{
|
||||
$collections = $this->ProjectsModel->getCategories($album);
|
||||
$categories = $this->ProjectsModel->getCategories($album);
|
||||
$content = $this->ProjectsModel->getEntries('all');
|
||||
|
||||
$this->load->view('header', ['active' => 'projects', 'title' => lang('projects_sitetitle'), 'additionalStyles' => ['sortlist.css', 'projects.css']]);
|
||||
$this->load->view('projects', ['content' => $content, 'album' => $album, 'collections' => $collections]);
|
||||
$this->load->view('projects', ['content' => $content, 'album' => $album, 'categories' => $categories]);
|
||||
$this->load->view('footer', ['additionalScripts' => ['lib/isotope.pkgd.min.js', 'projects.js']]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user