Skip to content

Commit 000650c

Browse files
committed
Revert unrelated changes
1 parent 4029a78 commit 000650c

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

src/demo/index.php

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,7 @@ function gtag() {
8585

8686
<label for="theme">Theme</label>
8787
<select class="param" id="theme" name="theme">
88-
<?php
89-
90-
//added sort in alphabetical order
91-
ksort($THEMES, SORT_NATURAL | SORT_FLAG_CASE);
92-
93-
foreach ($THEMES as $theme => $options) : ?>
88+
<?php foreach ($THEMES as $theme => $options): ?>
9489
<?php
9590
$dataAttrs = "";
9691
foreach ($options as $key => $value) {
@@ -117,7 +112,7 @@ function gtag() {
117112

118113
<label for="locale">Locale</label>
119114
<select class="param" id="locale" name="locale">
120-
<?php foreach ($LOCALES as $locale) : ?>
115+
<?php foreach ($LOCALES as $locale): ?>
121116
<option value="<?php echo $locale; ?>">
122117
<?php $display = Locale::getDisplayName($locale, $locale); ?>
123118
<?php echo $display . " (" . $locale . ")"; ?>
@@ -211,7 +206,7 @@ function gtag() {
211206
<div class="color-properties parameters">
212207
<label for="properties">Add Property</label>
213208
<select id="properties" name="properties">
214-
<?php foreach ($THEMES["default"] as $option => $color) : ?>
209+
<?php foreach ($THEMES["default"] as $option => $color): ?>
215210
<option><?php echo $option; ?></option>
216211
<?php endforeach; ?>
217212
</select>
@@ -237,24 +232,24 @@ function gtag() {
237232
<p class="warning">
238233
Note: The stats above are just examples and not from your GitHub profile.
239234
</p>
240-
235+
241236
<div>
242237
<h2>Markdown</h2>
243238
<div class="code-container md">
244239
<code></code>
245240
</div>
246-
241+
247242
<button class="copy-button btn tooltip copy-md" onclick="clipboard.copy(this);" onmouseout="tooltip.reset(this);" disabled>
248243
Copy To Clipboard
249244
</button>
250245
</div>
251-
246+
252247
<div>
253248
<h2>HTML</h2>
254249
<div class="code-container html">
255250
<code></code>
256251
</div>
257-
252+
258253
<button class="copy-button btn tooltip copy-html" onclick="clipboard.copy(this);" onmouseout="tooltip.reset(this);" disabled>
259254
Copy To Clipboard
260255
</button>
@@ -265,7 +260,7 @@ function gtag() {
265260
<div class="code-container json">
266261
<code></code>
267262
</div>
268-
263+
269264
<button class="copy-button btn tooltip copy-json" onclick="clipboard.copy(this);" onmouseout="tooltip.reset(this);" disabled>
270265
Copy To Clipboard
271266
</button>
@@ -290,4 +285,4 @@ function gtag() {
290285
</a>
291286
</body>
292287

293-
</html>
288+
</html>

0 commit comments

Comments
 (0)