Skip to content

Commit

Permalink
Little fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Friedman <[email protected]>
  • Loading branch information
iMattPro committed Feb 25, 2022
1 parent 383646b commit 66756d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions adm/style/acp_abbc3_settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,9 @@
<dd><label><input type="radio" class="radio" name="abbc3_pipes" id="abbc3_pipes" value="1"{% if S_ABBC3_PIPES %} checked="checked"{% endif %}> {{ lang('YES') }}</label>
<label><input type="radio" class="radio" name="abbc3_pipes" value="0"{% if not S_ABBC3_PIPES %} checked="checked"{% endif %}> {{ lang('NO') }}</label></dd>
</dl>
</fieldset>
<fieldset>
<dl>
<dt><label for="abbc3_google_fonts">{{ lang('ABBC3_GOOGLE_FONTS') }}</label><br /><br /><span>{{ lang('ABBC3_GOOGLE_FONTS_INFO') }}</span></dt>
<dd><textarea id="abbc3_google_fonts" cols="4" rows="8" name="abbc3_google_fonts">{{ S_ABBC3_GOOGLE_FONTS }}</textarea></dd>
<dt><label for="abbc3_google_fonts">{{ lang('ABBC3_GOOGLE_FONTS') }}</label><br><span>{{ lang('ABBC3_GOOGLE_FONTS_INFO') }}</span></dt>
<dd><textarea id="abbc3_google_fonts" cols="40" rows="8" name="abbc3_google_fonts">{{ S_ABBC3_GOOGLE_FONTS }}</textarea></dd>
</dl>
</fieldset>
<fieldset class="submit-buttons">
Expand Down
2 changes: 1 addition & 1 deletion styles/all/template/abbc3_google_fonts.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% if abbc3_google_fonts %}
{% if abbc3_google_fonts is iterable %}
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family={{ abbc3_google_fonts|join('&family=')|replace({" ": "+"}) }}&display=swap" rel="stylesheet">
Expand Down
2 changes: 1 addition & 1 deletion styles/all/template/abbc3_posting_buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
{% endfor %}
</optgroup>
{% endfor %}
= </select>
</select>
{% else %}
<button type="button" class="{{ custom_tag.BBCODE_IMG ? 'abbc3_button' : 'button button-secondary bbcode-' ~ custom_tag.BBCODE_TAG_CLEAN }}" name="addbbcode{{ custom_tag.BBCODE_ID }}" value="{{ not custom_tag.BBCODE_IMG ? custom_tag.BBCODE_TAG }}"{% if custom_tag.BBCODE_IMG %} style="background-image:url('{{ ROOT_PATH ~ custom_tag.BBCODE_IMG }}');"{% endif %} onclick="bbspecial('{{ custom_tag.BBCODE_TAG }}', {{ custom_tag.BBCODE_ID }})" title="{{ custom_tag.BBCODE_HELPLINE }}">{{ not custom_tag.BBCODE_IMG ? custom_tag.BBCODE_TAG }}</button>
{% endif %}
Expand Down

0 comments on commit 66756d2

Please sign in to comment.