Index: /extensions/Subscribe_to_comments/template/form_inside.tpl =================================================================== --- /extensions/Subscribe_to_comments/template/form_inside.tpl (revision 26172) +++ /extensions/Subscribe_to_comments/template/form_inside.tpl (revision 26173) @@ -19,12 +19,12 @@ {else} -
+
{'Notify me of followup comments'|translate} :
-
+
{if $STC.ON_PICTURE}
{if $STC.ALLOW_GLOBAL}
-
- {if $STC.ALLOW_ALBUM_IMAGES}{/if}
-
+
+ {if $STC.ALLOW_ALBUM_IMAGES}
{/if}
+
{else}
@@ -32,6 +32,6 @@
{else if $STC.ON_ALBUM}
{if $STC.ALLOW_GLOBAL}
-
-
+
+
{else}
Index: /extensions/Subscribe_to_comments/template/form_outside.tpl
===================================================================
--- /extensions/Subscribe_to_comments/template/form_outside.tpl (revision 26172)
+++ /extensions/Subscribe_to_comments/template/form_outside.tpl (revision 26173)
@@ -1,4 +1,8 @@
{combine_script id='jquery.colorbox' load='footer' require='jquery' path='themes/default/js/plugins/jquery.colorbox.min.js'}
{combine_css id='colorbox' path='themes/default/js/plugins/colorbox/style2/colorbox.css'}
+
+{html_style}
+#stc_comment input, #stc_standalone input { margin:0 5px !important; }
+{/html_style}
{footer_script require='jquery,jquery.colorbox'}
@@ -6,4 +10,8 @@
$('#open_stc_standalone').colorbox({
inline: true
+ });
+ $('#close_stc_standalone').on('click', function(e) {
+ $('#open_stc_standalone').colorbox.close();
+ e.preventDefault();
});
@@ -17,12 +25,4 @@
});
$('#stc_standalone').css('background-color', bg_color);
-
-{if $STC.ALLOW_GLOBAL}
- $("#stc_submit").hide();
- $("#stc_standalone input[name='stc_mode']").change(function() {
- $("#stc_submit").show();
- $.colorbox.resize({ speed:0 });
- });
-{/if}
{if !isset($STC_SUBSCRIBED) and $STC.ASK_MAIL}
@@ -51,7 +51,7 @@
{if $STC.ON_PICTURE}
{if $STC.ALLOW_GLOBAL}
-
- {if $STC.ALLOW_ALBUM_IMAGES}{/if}
-
+
+ {if $STC.ALLOW_ALBUM_IMAGES}
{/if}
+
{else}
@@ -59,17 +59,17 @@
{else if $STC.ON_ALBUM}
{if $STC.ALLOW_GLOBAL}
-
-
+
+
{else}
{/if}
{/if}
- {if $STC.ALLOW_GLOBAL and $STC.ASK_MAIL}
{/if}
-
- {if $STC.ASK_MAIL}
-
- {/if}
+ {if $STC.ASK_MAIL}
+
+ {/if}
+