diff --git a/core/protected/modules/admin/views/theme/manage.php b/core/protected/modules/admin/views/theme/manage.php
index b42af050..178cea21 100644
--- a/core/protected/modules/admin/views/theme/manage.php
+++ b/core/protected/modules/admin/views/theme/manage.php
@@ -70,12 +70,27 @@
0): ?>
+ Warning: This functionality is intended for web developers only. " .
+ "Copying a theme for customization may require occasional updates to the custom theme files " .
+ "as Web Store updates are released. If you are not comfortable with updating CSS or PHP files " .
+ "as required, we highly recommend that you do not copy a theme.";
+ ?>
+
widget('bootstrap.widgets.TbButton', array(
- 'buttonType'=>'submit',
- 'label'=>'Copy selected theme for customization',
- 'type'=>'inverse',
- 'size'=>'mini',
- 'htmlOptions'=>array('id'=>'btnCopy','value'=>'btnCopy'),
+ 'label' => 'Copy selected theme for customization',
+ 'type' => 'inverse',
+ 'size' => 'mini',
+ 'htmlOptions' => array(
+ 'id' => 'btnCopy',
+ 'value' => 'btnCopy',
+ 'onclick' => 'js:bootbox.confirm("'. $copyThemeWarningMsg . '", "Cancel", "Continue", function(confirmed) {
+ if(confirmed)
+ {
+ $("#task").val("btnCopy");
+ $("#manage").submit();
+ }
+ })'),
)); ?>
widget('bootstrap.widgets.TbButton', array(
'buttonType'=>'submit',
@@ -109,4 +124,4 @@
-