-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
69 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.TR #user-section form label[for="form-theme"]{ | ||
display: none; | ||
} | ||
.TR #user-section form select#form-theme{ | ||
display: none; | ||
} | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
<?php if (!empty($color_diffs)): ?> | ||
<form method="post" action="<?= $this->url->href('PluginConfigsController', 'dismiss', array('plugin' => 'ThemeRevision')) ?>"> | ||
<fieldset> | ||
<p class="alert alert-warning"><b><?= t('Notice') ?></b><br><?= t('Some colors have been changed after last upgrading.') ?></p> | ||
<?php foreach($color_diffs as $paletteName=>$paletteValue): ?> | ||
<p style="clear: both;"> | ||
<legend><?= t(ucwords(str_replace("_", " ", $paletteName))) ?></legend> | ||
<?php foreach($paletteValue as $colorName=>$colorValue): ?><span style="float: left;margin-right: 2rem;margin-bottom: 1rem;width: 12rem;"> | ||
<?= $colorName ?><br> | ||
<?php if ($colorValue['old']): ?> | ||
<del style="border-left: 1rem solid <?= $colorValue['old'] ?>;padding: 0 .5rem;"><?= $colorValue['old'] ?></del><br> | ||
<?php endif ?> | ||
<?php if ($colorValue['new']): ?> | ||
<span style="border-left: 1rem solid <?= $colorValue['new'] ?>;padding: 0 .5rem;"><?= $colorValue['new'] ?></span> | ||
<?php endif ?> | ||
</span><?php endforeach; ?> | ||
</p> | ||
<p style="clear: both;"> | ||
<legend><?= t(ucwords(str_replace("_", " ", $paletteName))) ?></legend> | ||
<?php foreach($paletteValue as $colorName=>$colorValue): ?><span style="float: left;margin-right: 2rem;margin-bottom: 1rem;width: 12rem;"> | ||
<?= $colorName ?><br> | ||
<?php if ($colorValue['old']): ?> | ||
<del style="border-left: 1rem solid <?= $colorValue['old'] ?>;padding: 0 .5rem;"><?= $colorValue['old'] ?></del><br> | ||
<?php endif ?> | ||
<?php if ($colorValue['new']): ?> | ||
<span style="border-left: 1rem solid <?= $colorValue['new'] ?>;padding: 0 .5rem;"><?= $colorValue['new'] ?></span> | ||
<?php endif ?> | ||
</span><?php endforeach; ?> | ||
</p> | ||
<?php endforeach; ?> | ||
</fieldset> | ||
<p><input type="submit" class="btn btn-red" value="<?= t('Dismiss') ?>"></p> | ||
</form> | ||
<?php endif ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
'show', | ||
array('plugin' => 'ThemeRevision', 'user_id' => $this->user->getId()) | ||
) ?> | ||
</li> | ||
</li> |