mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 09:41:36 +02:00
The main benefit of this is so that authors who make use of .editorconfig don't end up with whitespace changes in their PRs. Spaces vs. tabs has been left alone, although that could do with a tidy-up in SS4 after the switch to PSR-1/2. The command used was this: for match in '*.ss' '*.css' '*.scss' '*.html' '*.yml' '*.php' '*.js' '*.csv' '*.inc' '*.php5'; do find . -path ./thirdparty -not -prune -o -path ./admin/thirdparty -not -prune -o -type f -name "$match" -exec sed -E -i '' 's/[[:space:]]+$//' {} \+ find . -path ./thirdparty -not -prune -o -path ./admin/thirdparty -not -prune -o -type f -name "$match" | xargs perl -pi -e 's/ +$//' done
27 lines
740 B
Scheme
27 lines
740 B
Scheme
<div id="settings-controller-cms-content" class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
|
|
|
|
<div class="cms-content-header north">
|
|
<% with $EditForm %>
|
|
<div class="cms-content-header-info">
|
|
<% with $Controller %>
|
|
<% include CMSBreadcrumbs %>
|
|
<% end_with %>
|
|
</div>
|
|
<% if $Fields.hasTabset %>
|
|
<% with $Fields.fieldByName('Root') %>
|
|
<div class="cms-content-header-tabs">
|
|
<ul class="cms-tabset-nav-primary">
|
|
<% loop $Tabs %>
|
|
<li<% if $extraClass %> class="$extraClass"<% end_if %>><a href="#$id">$Title</a></li>
|
|
<% end_loop %>
|
|
</ul>
|
|
</div>
|
|
<% end_with %>
|
|
<% end_if %>
|
|
<% end_with %>
|
|
</div>
|
|
|
|
$EditForm
|
|
|
|
</div>
|