mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-28 21:46:10 +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
30 lines
670 B
Scheme
30 lines
670 B
Scheme
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
|
|
<head>
|
|
<% base_tag %>
|
|
<title><%t Image_iframe_ss.TITLE 'Image Uploading Iframe' %></title>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
|
|
</head>
|
|
|
|
<body>
|
|
<div class="mainblock" style="width: 290px;">
|
|
<% if $UseSimpleForm %>
|
|
$EditImageSimpleForm
|
|
<% else %>
|
|
$EditImageForm
|
|
<% end_if %>
|
|
</div>
|
|
|
|
<% if $Image.ID %>
|
|
<div class="mainblock" >
|
|
$Image.CMSThumbnail
|
|
<% if $DeleteImageForm %>
|
|
$DeleteImageForm
|
|
<% end_if %>
|
|
</div>
|
|
<% end_if %>
|
|
|
|
</body>
|
|
|
|
</html>
|