Example #1
0
 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'));
 }
Example #2
0
 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'));
 }
Example #3
0
 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'));
 }
Example #4
0
 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'));
 }
Example #5
0
 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'));
 }