コード例 #1
0
ファイル: PhotoController.php プロジェクト: rituzy/iblog
 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'));
 }
コード例 #2
0
ファイル: TagController.php プロジェクト: rituzy/iblog
 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'));
 }
コード例 #3
0
ファイル: CommentController.php プロジェクト: rituzy/iblog
 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'));
 }
コード例 #4
0
ファイル: PostController.php プロジェクト: rituzy/iblog
 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'));
 }
コード例 #5
0
ファイル: CraftController.php プロジェクト: rituzy/iblog
 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'));
 }