public function editPhoto(Photo $photo) { $this->layout->title = trans('messages.Edit') . ' ' . Lang::choice('messages.Photos', 1); $albums_opt = Album::getAlbumOptions(); $tag_opt = Tag::getTagOptions(); $this->layout->main = View::make('users.dashboard')->nest('content', 'photos.edit', compact('photo', 'albums_opt', 'tag_opt')); }
public function listTag() { $tag_opt = Tag::getTagOptions(); $tags = Tag::getTagsOrdered(); $users = User::all(); $this->layout->title = trans('messages.Tag listings'); $this->layout->main = View::make('admin.dashboard')->nest('content', 'tags.list', compact('tags', 'users', 'tag_opt')); }
public function showCommentAll(Comment $comment) { $this->layout->title = trans('messages.COCC'); $users = User::all(); $tag_opt = Tag::getTagOptions(); $comments2comments = Comment::getComments2comments(); $recentPosts = Post::getPostsOrdered(); $tags = Tag::getTagsOrdered(); $this->layout->main = View::make('home', array('recentPosts' => $recentPosts, 'allTags' => $tags))->nest('content', 'comments.singleComment4c', compact('comment', 'users', 'comments2comments', 'tag_opt')); }
public function editPost(Post $post) { $this->layout->title = trans('messages.Edit') . ' ' . Lang::choice('messages.Posts', 1); $tag_opt = Tag::getTagOptions(); $this->layout->main = View::make('admin.dashboard')->nest('content', 'posts.edit', compact('post', 'tag_opt')); }
public function editCraft(Craft $craft) { $this->layout->title = trans('messages.Edit') . ' ' . Lang::choice('messages.Crafts', 1); $tag_opt = Tag::getTagOptions(); $this->layout->main = View::make('users.dashboard')->nest('content', 'crafts.edit', compact('craft', 'tag_opt')); }