Exemplo n.º 1
0
 public function addAssets(BuildClientView $event)
 {
     $event->forumAssets([__DIR__ . '/../../js/forum/dist/extension.js', __DIR__ . '/../../less/forum/extension.less']);
     $event->forumBootstrapper('lock/main');
     $event->forumTranslations(['lock.discussion_locked_notification', 'lock.discussion_locked_post', 'lock.discussion_unlocked_post', 'lock.notify_discussion_locked', 'lock.locked', 'lock.lock', 'lock.unlock']);
     $event->adminAssets([__DIR__ . '/../../js/admin/dist/extension.js']);
     $event->adminBootstrapper('lock/main');
 }
Exemplo n.º 2
0
 public function addAssets(BuildClientView $event)
 {
     $event->forumAssets([__DIR__ . '/../../js/forum/dist/extension.js', __DIR__ . '/../../less/forum/extension.less']);
     $event->forumBootstrapper('tags/main');
     $event->forumTranslations(['tags.discussion_tagged_post', 'tags.added_tags', 'tags.removed_tags', 'tags.tag_new_discussion_title', 'tags.edit_discussion_tags_title', 'tags.edit_discussion_tags_link', 'tags.choose_primary_tags', 'tags.choose_secondary_tags', 'tags.confirm', 'tags.more', 'tags.deleted']);
     $event->adminAssets([__DIR__ . '/../../js/admin/dist/extension.js', __DIR__ . '/../../less/admin/extension.less']);
     $event->adminBootstrapper('tags/main');
 }
Exemplo n.º 3
0
 public function addAssets(BuildClientView $event)
 {
     $event->forumAssets([__DIR__ . '/../../js/forum/dist/extension.js', __DIR__ . '/../../less/forum/extension.less']);
     $event->forumBootstrapper('likes/main');
     $event->forumTranslations(['likes.post_liked_notification', 'likes.post_likes_modal_title', 'likes.post_liked_by_self', 'likes.post_liked_by', 'likes.unlike_action', 'likes.like_action', 'likes.notify_post_liked', 'likes.others', 'likes.you']);
     $event->adminAssets([__DIR__ . '/../../js/admin/dist/extension.js']);
     $event->adminBootstrapper('likes/main');
 }
Exemplo n.º 4
0
 public function addAssets(BuildClientView $event)
 {
     $event->forumAssets([__DIR__ . '/../../js/forum/dist/extension.js', __DIR__ . '/../../less/forum/extension.less']);
     $event->forumBootstrapper('sticky/main');
     $event->forumTranslations(['sticky.discussion_stickied_notification', 'sticky.discussion_stickied_post', 'sticky.discussion_unstickied_post', 'sticky.notify_discussion_stickied', 'sticky.stickied', 'sticky.sticky', 'sticky.unsticky']);
     $event->adminAssets([__DIR__ . '/../../js/admin/dist/extension.js']);
     $event->adminBootstrapper('sticky/main');
 }
Exemplo n.º 5
0
 public function addAssets(BuildClientView $event)
 {
     $event->forumAssets([__DIR__ . '/../../js/forum/dist/extension.js', __DIR__ . '/../../less/forum/extension.less']);
     $event->forumBootstrapper('pusher/main');
     $event->forumTranslations(['pusher.show_updated_discussions']);
     $event->adminAssets([__DIR__ . '/../../js/admin/dist/extension.js', __DIR__ . '/../../less/admin/extension.less']);
     $event->adminBootstrapper('pusher/main');
     $event->adminTranslations([]);
 }
Exemplo n.º 6
0
 public function addAssets(BuildClientView $event)
 {
     $event->forumAssets([__DIR__ . '/../../js/forum/dist/extension.js', __DIR__ . '/../../less/forum/extension.less']);
     $event->forumBootstrapper('flags/main');
     $event->forumTranslations(['flags.reason_off_topic', 'flags.reason_spam', 'flags.reason_inappropriate', 'flags.reason_other', 'flags.flagged_by', 'flags.flagged_by_with_reason', 'flags.no_flags']);
     $event->adminAssets([__DIR__ . '/../../js/admin/dist/extension.js', __DIR__ . '/../../less/admin/extension.less']);
     $event->adminBootstrapper('flags/main');
     $event->adminTranslations([]);
 }
Exemplo n.º 7
0
 public function addAssets(BuildClientView $event)
 {
     $event->forumAssets([__DIR__ . '/../../js/forum/dist/extension.js', __DIR__ . '/../../less/forum/extension.less']);
     $event->forumBootstrapper('approval/main');
     $event->forumTranslations([]);
     $event->adminAssets([__DIR__ . '/../../js/admin/dist/extension.js', __DIR__ . '/../../less/admin/extension.less']);
     $event->adminBootstrapper('approval/main');
     $event->adminTranslations([]);
 }
Exemplo n.º 8
0
 public function addAssets(BuildClientView $event)
 {
     $event->forumAssets([__DIR__ . '/../../js/forum/dist/extension.js', __DIR__ . '/../../less/forum/extension.less']);
     $event->forumBootstrapper('imageattachments/main');
     $event->forumTranslations(['imageattachments.post_anyway']);
     $event->adminAssets([__DIR__ . '/../../js/admin/dist/extension.js', __DIR__ . '/../../less/admin/extension.less']);
     $event->adminBootstrapper('imageattachments/main');
     $event->adminTranslations([]);
 }
 public function addAssets(BuildClientView $event)
 {
     $event->forumAssets([__DIR__ . '/../../js/forum/dist/extension.js', __DIR__ . '/../../less/forum/extension.less']);
     $event->forumBootstrapper('fileupload/main');
     $event->forumTranslations(['fileupload.uploadfailed', 'fileupload.invalidtype', 'fileupload.uploadnewfile']);
     $event->adminAssets([__DIR__ . '/../../js/admin/dist/extension.js', __DIR__ . '/../../less/admin/extension.less']);
     $event->adminBootstrapper('fileupload/main');
     $event->adminTranslations([]);
 }
Exemplo n.º 10
0
 public function addAssets(BuildClientView $event)
 {
     $event->forumAssets([__DIR__ . '/../../js/forum/dist/extension.js', __DIR__ . '/../../less/forum/extension.less']);
     $event->forumBootstrapper('subscriptions/main');
     $event->forumTranslations(['subscriptions.following', 'subscriptions.ignoring', 'subscriptions.follow', 'subscriptions.unfollow', 'subscriptions.ignore', 'subscriptions.notify_new_post', 'subscriptions.new_post_notification', 'subscriptions.not_following', 'subscriptions.not_following_description', 'subscriptions.following_description', 'subscriptions.ignoring_description', 'subscriptions.unignore']);
 }
Exemplo n.º 11
0
 public function addAssets(BuildClientView $event)
 {
     $event->forumAssets([__DIR__ . '/../../js/forum/dist/extension.js', __DIR__ . '/../../less/forum/extension.less']);
     $event->forumBootstrapper('noslug/main');
 }
Exemplo n.º 12
0
 public function addAssets(BuildClientView $event)
 {
     $event->forumAssets([__DIR__ . '/../../js/forum/dist/extension.js', __DIR__ . '/../../less/forum/extension.less']);
     $event->forumBootstrapper('mentions/main');
     $event->forumTranslations(['mentions.reply_to_post', 'mentions.post_mentioned_notification', 'mentions.others', 'mentions.user_mentioned_notification', 'mentions.post_mentioned_by', 'mentions.you', 'mentions.reply_link', 'mentions.notify_post_mentioned', 'mentions.notify_user_mentioned']);
 }