diff --git a/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php b/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php index 32575304..fd8265d7 100644 --- a/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php +++ b/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php @@ -779,9 +779,9 @@ var $filter_defaults; } function example() { - echo '<div id="captchabox" style="margin: 10px; padding: 5px; border: 1px solid black">' . PLUGIN_EVENT_SPAMBLOCK_LOOK . '<br />'; + echo '<p id="captchabox" class="msg_hint">' . PLUGIN_EVENT_SPAMBLOCK_LOOK; $this->show_captcha(); - echo '</div>'; + echo '</p>'; } function show_captcha($use_gd = false) { diff --git a/templates/2k11/admin/entries.inc.tpl b/templates/2k11/admin/entries.inc.tpl index 4997e3ba..a0565636 100644 --- a/templates/2k11/admin/entries.inc.tpl +++ b/templates/2k11/admin/entries.inc.tpl @@ -213,12 +213,12 @@ {/if} {if ($is_doDelete || $is_doMultiDelete )} {foreach $del_entry AS $delent} - <span class="msg_dialogue"><span class="icon-help-circled"></span> {$delent}</span> + <span class="msg_hint"><span class="icon-help-circled"></span> {$delent}</span> {/foreach} {/if} {if ( $is_delete || $is_multidelete )} {foreach $rip_entry AS $ripent} - <span class="msg_dialogue"><span class="icon-help-circled"></span> {$ripent}</span> + <span class="msg_hint"><span class="icon-help-circled"></span> {$ripent}</span> {/foreach} <div class="form_buttons"> <a class="button_link state_cancel icon_link" href="{$smarty.server.HTTP_REFERER|escape}">{$CONST.NOT_REALLY}</a> diff --git a/templates/2k11/admin/images.inc.tpl b/templates/2k11/admin/images.inc.tpl index 6e861217..17bfb91e 100644 --- a/templates/2k11/admin/images.inc.tpl +++ b/templates/2k11/admin/images.inc.tpl @@ -64,7 +64,7 @@ {if ( $is_delete || $is_multidelete )} <span class="msg_notice"><span class="icon-info-circled"></span> {$CONST.ABOUT_TO_DELETE_FILES}</span> {foreach $rip_image AS $ripimg} - <span class="msg_dialogue"><span class="icon-help-circled"></span> {$ripimg}</span> + <span class="msg_hint"><span class="icon-help-circled"></span> {$ripimg}</span> {/foreach} <div class="form_buttons"> <a class="button_link icon_link" href="{$newLoc}">{$CONST.DUMP_IT}</a> diff --git a/templates/2k11/admin/style.css b/templates/2k11/admin/style.css index 6102002f..267f7a35 100644 --- a/templates/2k11/admin/style.css +++ b/templates/2k11/admin/style.css @@ -448,7 +448,7 @@ legend > span > span, .msg_error, .msg_success, .msg_notice, -.msg_dialogue, +.msg_hint, #serendipity_category .form_multiselect label, #image_directory_edit_form .form_select label, #uploadform label, @@ -457,7 +457,8 @@ legend > span > span, .configuration_group .form_select label, .configuration_group .form_multiselect label, .configuration_group .form_field label, -.configuration_group .form_area label { +.configuration_group .form_area label, +#captchabox .captcha { display: block; } @@ -976,7 +977,7 @@ summary { .msg_error, .msg_success, .msg_notice, -.msg_dialogue { +.msg_hint { margin: 1.5em 0; padding: 10px; } @@ -999,7 +1000,7 @@ summary { color: #c09853; } -.msg_dialogue { +.msg_hint { background: #eee; border: 1px solid #aaa; color: #777; @@ -1370,7 +1371,8 @@ fieldset p, } #entries_list .actions, -.serendipityCommentForm { +.serendipityCommentForm, +#captchabox .captcha { margin-top: .75em; }