Skip to content

Commit

Permalink
Fixed layout for captcha to match form. Upped Geeklog Theme Versions
Browse files Browse the repository at this point in the history
Updated Captcha layout. Updated theme versions for Geeklog 2.2.2
  • Loading branch information
eSilverStrike committed Mar 5, 2020
1 parent e250bb4 commit 17907b5
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 15 deletions.
9 changes: 7 additions & 2 deletions public_html/layout/denim/comment/commentform.thtml
Expand Up @@ -53,12 +53,17 @@
{record_edit}
</dl>

{captcha}
{!if captcha}
<dl class="form_block">
<dt></dt>
<dd>{captcha}</dd>
</dl>
{!endif}

<div class="submit">
{!if allow_save}
<button type="submit" name="{nprefix}mode" value="{lang_save}" class="uk-button uk-button-primary g-recaptcha"{!if invisible_recaptcha}{invisible_recaptcha}{!endif}>{lang_save}</button>
<input type="hidden" name="{nprefix}mode" value="{lang_save}"{xhtml}>
<input type="hidden" name="{nprefix}mode" value="{lang_save}"{xhtml}> {# Needed for Invisible reCaptcha Error message and must be before preview #}
{!endif}
<button type="submit" name="{nprefix}mode" value="{lang_preview}" class="uk-button uk-button-success">{lang_preview}</button>
{!if allow_delete}
Expand Down
9 changes: 7 additions & 2 deletions public_html/layout/denim/comment/commentform_advanced.thtml
Expand Up @@ -59,12 +59,17 @@
{record_edit}
</dl>

{captcha}
{!if captcha}
<dl class="form_block">
<dt></dt>
<dd>{captcha}</dd>
</dl>
{!endif}

<div class="submit">
{!if allow_save}
<button type="submit" name="{nprefix}mode" value="{lang_save}" class="uk-button uk-button-primary g-recaptcha"{!if invisible_recaptcha}{invisible_recaptcha}{!endif}>{lang_save}</button>
<input type="hidden" name="{nprefix}mode" value="{lang_save}"{xhtml}>
<input type="hidden" name="{nprefix}mode" value="{lang_save}"{xhtml}> {# Needed for Invisible reCaptcha Error message and must be before preview #}
{!endif}
<button type="submit" name="{nprefix}mode" value="{lang_preview}" class="uk-button uk-button-success">{lang_preview}</button>
{!if allow_delete}
Expand Down
2 changes: 1 addition & 1 deletion public_html/layout/denim/functions.php
Expand Up @@ -85,7 +85,7 @@ function theme_config_denim()

return array(
'theme_name' => 'Denim',
'theme_version' => '1.1.1',
'theme_version' => '1.1.2',
'theme_gl_version' => '2.2.1',
'theme_description' => '',
'theme_author' => 'dengen',
Expand Down
9 changes: 7 additions & 2 deletions public_html/layout/denim_three/comment/commentform.thtml
Expand Up @@ -53,12 +53,17 @@
{record_edit}
</dl>

{captcha}
{!if captcha}
<dl class="form_block">
<dt></dt>
<dd>{captcha}</dd>
</dl>
{!endif}

<div class="submit">
{!if allow_save}
<button type="submit" name="{nprefix}mode" value="{lang_save}" class="uk-button uk-button-primary g-recaptcha"{!if invisible_recaptcha}{invisible_recaptcha}{!endif}>{lang_save}</button>
<input type="hidden" name="{nprefix}mode" value="{lang_save}"{xhtml}>
<input type="hidden" name="{nprefix}mode" value="{lang_save}"{xhtml}> {# Needed for Invisible reCaptcha Error message and must be before preview #}
{!endif}
<button type="submit" name="{nprefix}mode" value="{lang_preview}" class="uk-button uk-button-default">{lang_preview}</button>
{!if allow_delete}
Expand Down
Expand Up @@ -59,12 +59,17 @@
{record_edit}
</dl>

{captcha}
{!if captcha}
<dl class="form_block">
<dt></dt>
<dd>{captcha}</dd>
</dl>
{!endif}

<div class="submit">
{!if allow_save}
<button type="submit" name="{nprefix}mode" value="{lang_save}" class="uk-button uk-button-primary g-recaptcha"{!if invisible_recaptcha}{invisible_recaptcha}{!endif}>{lang_save}</button>
<input type="hidden" name="{nprefix}mode" value="{lang_save}"{xhtml}>
<input type="hidden" name="{nprefix}mode" value="{lang_save}"{xhtml}> {# Needed for Invisible reCaptcha Error message and must be before preview #}
{!endif}
<button type="submit" name="{nprefix}mode" value="{lang_preview}" class="uk-button uk-button-default">{lang_preview}</button>
{!if allow_delete}
Expand Down
2 changes: 1 addition & 1 deletion public_html/layout/denim_three/functions.php
Expand Up @@ -59,7 +59,7 @@ function theme_config_denim_three()

return array(
'theme_name' => 'Denim Three',
'theme_version' => '1.0.1',
'theme_version' => '1.0.2',
'theme_gl_version' => '2.2.1',
'theme_description' => '',
'theme_author' => 'dengen',
Expand Down
9 changes: 7 additions & 2 deletions public_html/layout/modern_curve/comment/commentform.thtml
Expand Up @@ -52,15 +52,20 @@
</dd>
</dl>

{captcha}
{!if captcha}
<dl class="form_block">
<dt></dt>
<dd>{captcha}</dd>
</dl>
{!endif}

<ul class="submit">
<li><input type="submit" name="{nprefix}mode" value="{lang_preview}" class="submit"{xhtml}></li>
<li>
<input type="hidden" name="formtype" value="{formtype}"{xhtml}>
{!if allow_save}
<button type="submit" name="{nprefix}mode" value="{lang_save}" class="g-recaptcha"{!if invisible_recaptcha}{invisible_recaptcha}{!endif}>{lang_save}</button>
<input type="hidden" name="{nprefix}mode" value="{lang_save}"{xhtml}>
<input type="hidden" name="{nprefix}mode" value="{lang_save}"{xhtml}> {# Needed for Invisible reCaptcha Error message and must be before preview #}
{!endif}
<input type="submit" value="{lang_cancel}" name="{nprefix}mode"{xhtml}>
{!if allow_delete}
Expand Down
Expand Up @@ -59,15 +59,20 @@
</dd>
</dl>

{captcha}
{!if captcha}
<dl class="form_block">
<dt></dt>
<dd>{captcha}</dd>
</dl>
{!endif}

<ul class="submit">
<li><input type="submit" name="{nprefix}mode" value="{lang_preview}" class="submit"{xhtml}></li>
<li>
<input type="hidden" name="formtype" value="{formtype}"{xhtml}>
{!if allow_save}
<button type="submit" name="{nprefix}mode" value="{lang_save}" class="g-recaptcha"{!if invisible_recaptcha}{invisible_recaptcha}{!endif}>{lang_save}</button>
<input type="hidden" name="{nprefix}mode" value="{lang_save}"{xhtml}>
<input type="hidden" name="{nprefix}mode" value="{lang_save}"{xhtml}> {# Needed for Invisible reCaptcha Error message and must be before preview #}
{!endif}
<input type="submit" value="{lang_cancel}" name="{nprefix}mode"{xhtml}>
{!if allow_delete}
Expand Down
2 changes: 1 addition & 1 deletion public_html/layout/modern_curve/functions.php
Expand Up @@ -46,7 +46,7 @@ function theme_config_modern_curve()
{
return array(
'theme_name' => 'Modern Curve',
'theme_version' => '1.0.0',
'theme_version' => '1.0.1',
'theme_gl_version' => '2.2.1',
'theme_description' => '',
'theme_author' => '',
Expand Down

0 comments on commit 17907b5

Please sign in to comment.