Skip to content

Commit

Permalink
Also remove global operations in bundles (see #6530)
Browse files Browse the repository at this point in the history
Description
-----------

Forgot to adjust bundles in #6528

Commits
-------

eba6e34 Also remove global operations in bundles
  • Loading branch information
aschempp committed Nov 14, 2023
1 parent 3d403b5 commit 3b3a551
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 99 deletions.
7 changes: 1 addition & 6 deletions calendar-bundle/contao/dca/tl_calendar.php
Expand Up @@ -89,12 +89,7 @@
'attributes' => 'onclick="Backend.getScrollOffset()"',
'button_callback' => array('tl_calendar', 'manageFeeds')
),
'all' => array
(
'href' => 'act=select',
'class' => 'header_edit_all',
'attributes' => 'onclick="Backend.getScrollOffset()" accesskey="e"'
)
'all'
),
'operations' => array
(
Expand Down
9 changes: 0 additions & 9 deletions calendar-bundle/contao/dca/tl_calendar_events.php
Expand Up @@ -85,15 +85,6 @@
'defaultSearchField' => 'title',
'child_record_callback' => array('tl_calendar_events', 'listEvents')
),
'global_operations' => array
(
'all' => array
(
'href' => 'act=select',
'class' => 'header_edit_all',
'attributes' => 'onclick="Backend.getScrollOffset()" accesskey="e"'
)
),
'operations' => array
(
'edit',
Expand Down
9 changes: 0 additions & 9 deletions calendar-bundle/contao/dca/tl_calendar_feed.php
Expand Up @@ -78,15 +78,6 @@
'fields' => array('title'),
'format' => '%s'
),
'global_operations' => array
(
'all' => array
(
'href' => 'act=select',
'class' => 'header_edit_all',
'attributes' => 'onclick="Backend.getScrollOffset()" accesskey="e"'
),
),
'operations' => array
(
'edit',
Expand Down
9 changes: 0 additions & 9 deletions comments-bundle/contao/dca/tl_comments.php
Expand Up @@ -80,15 +80,6 @@
'format' => '%s',
'label_callback' => array('tl_comments', 'listComments')
),
'global_operations' => array
(
'all' => array
(
'href' => 'act=select',
'class' => 'header_edit_all',
'attributes' => 'onclick="Backend.getScrollOffset()" accesskey="e"'
)
),
'operations' => array
(
'edit' => array
Expand Down
7 changes: 1 addition & 6 deletions core-bundle/contao/dca/tl_templates.php
Expand Up @@ -63,12 +63,7 @@
'href' => 'key=new_tpl',
'class' => 'header_new'
),
'toggleNodes' => array
(
'href' => 'tg=all',
'class' => 'header_toggle',
'showOnSelect' => true
),
'toggleNodes',
'all'
),
'operations' => array
Expand Down
9 changes: 0 additions & 9 deletions faq-bundle/contao/dca/tl_faq.php
Expand Up @@ -63,15 +63,6 @@
'headerFields' => array('title', 'headline', 'jumpTo', 'tstamp', 'allowComments'),
'child_record_callback' => array('tl_faq', 'listQuestions'),
'renderAsGrid' => true
),
'global_operations' => array
(
'all' => array
(
'href' => 'act=select',
'class' => 'header_edit_all',
'attributes' => 'onclick="Backend.getScrollOffset()" accesskey="e"'
)
)
),

Expand Down
9 changes: 0 additions & 9 deletions faq-bundle/contao/dca/tl_faq_category.php
Expand Up @@ -69,15 +69,6 @@
'fields' => array('title'),
'format' => '%s'
),
'global_operations' => array
(
'all' => array
(
'href' => 'act=select',
'class' => 'header_edit_all',
'attributes' => 'onclick="Backend.getScrollOffset()" accesskey="e"'
)
),
'operations' => array
(
'edit' => array
Expand Down
9 changes: 0 additions & 9 deletions news-bundle/contao/dca/tl_news.php
Expand Up @@ -76,15 +76,6 @@
'fields' => array('headline', 'date', 'time'),
'format' => '%s <span class="label-info">[%s %s]</span>',
),
'global_operations' => array
(
'all' => array
(
'href' => 'act=select',
'class' => 'header_edit_all',
'attributes' => 'onclick="Backend.getScrollOffset()" accesskey="e"'
)
),
'operations' => array
(
'edit',
Expand Down
9 changes: 0 additions & 9 deletions news-bundle/contao/dca/tl_news_archive.php
Expand Up @@ -69,15 +69,6 @@
(
'fields' => array('title'),
'format' => '%s'
),
'global_operations' => array
(
'all' => array
(
'href' => 'act=select',
'class' => 'header_edit_all',
'attributes' => 'onclick="Backend.getScrollOffset()" accesskey="e"'
)
)
),

Expand Down
9 changes: 0 additions & 9 deletions newsletter-bundle/contao/dca/tl_newsletter.php
Expand Up @@ -59,15 +59,6 @@
'child_record_callback' => array('tl_newsletter', 'listNewsletters'),
'renderAsGrid' => true
),
'global_operations' => array
(
'all' => array
(
'href' => 'act=select',
'class' => 'header_edit_all',
'attributes' => 'onclick="Backend.getScrollOffset()" accesskey="e"'
)
),
'operations' => array
(
'edit' => array
Expand Down
9 changes: 0 additions & 9 deletions newsletter-bundle/contao/dca/tl_newsletter_channel.php
Expand Up @@ -70,15 +70,6 @@
'fields' => array('title'),
'format' => '%s'
),
'global_operations' => array
(
'all' => array
(
'href' => 'act=select',
'class' => 'header_edit_all',
'attributes' => 'onclick="Backend.getScrollOffset()" accesskey="e"'
)
),
'operations' => array
(
'edit' => array
Expand Down
7 changes: 1 addition & 6 deletions newsletter-bundle/contao/dca/tl_newsletter_recipients.php
Expand Up @@ -69,12 +69,7 @@
'class' => 'header_css_import',
'attributes' => 'onclick="Backend.getScrollOffset()"'
),
'all' => array
(
'href' => 'act=select',
'class' => 'header_edit_all',
'attributes' => 'onclick="Backend.getScrollOffset()" accesskey="e"'
)
'all'
),
'operations' => array
(
Expand Down

0 comments on commit 3b3a551

Please sign in to comment.