Plugin Directory

Changeset 26886


Ignore:
Timestamp:
12/17/2007 04:49:11 AM (19 years ago)
Author:
matt
Message:

The style needs to go here so it doesn't output before the redirect.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • akismet/trunk/akismet.php

    r26876 r26886  
    44Plugin URI: http://akismet.com/
    55Description: Akismet checks your comments against the Akismet web service to see if they look like spam or not. You need a <a href="http://wordpress.com/api-keys/">WordPress.com API key</a> to use it. You can review the spam it catches under "Comments." To show off your Akismet stats just put <code>&lt;?php akismet_counter(); ?></code> in your template. See also: <a href="http://wordpress.org/extend/plugins/stats/">WP Stats plugin</a>.
    6 Version: 2.1.1
     6Version: 2.1.2
    77Author: Matt Mullenweg
    88Author URI: http://photomatt.net/
    … …  
    280280
    281281function akismet_caught() {
    282 ?>
    283 <style type="text/css">
    284 .akismet-tabs {
    285         list-style: none;
    286         margin: 0;
    287         padding: 0;
    288         clear: both;
    289         border-bottom: 1px solid #ccc;
    290         height: 31px;
    291         margin-bottom: 20px;
    292         background: #ddd;
    293         border-top: 1px solid #bdbdbd;
    294 }
    295 .akismet-tabs li {
    296         float: left;
    297         margin: 5px 0 0 20px;
    298 }
    299 .akismet-tabs a {
    300         display: block;
    301         padding: 4px .5em 3px;
    302         border-bottom: none;
    303         color: #036;
    304 }
    305 .akismet-tabs .active a {
    306         background: #fff;
    307         border: 1px solid #ccc;
    308         border-bottom: none;
    309         color: #000;
    310         font-weight: bold;
    311         padding-bottom: 4px;
    312 }
    313 #akismetsearch {
    314         float: right;
    315         margin-top: -.5em;
    316 }
    317 
    318 #akismetsearch p {
    319         margin: 0;
    320         padding: 0;
    321 }
    322 </style>
    323 <?php
    324282        global $wpdb, $comment, $akismet_caught, $akismet_nonce;
    325283        akismet_recheck_queue();
    … …  
    369327        $link = 'edit.php';
    370328?>
     329<style type="text/css">
     330.akismet-tabs {
     331        list-style: none;
     332        margin: 0;
     333        padding: 0;
     334        clear: both;
     335        border-bottom: 1px solid #ccc;
     336        height: 31px;
     337        margin-bottom: 20px;
     338        background: #ddd;
     339        border-top: 1px solid #bdbdbd;
     340}
     341.akismet-tabs li {
     342        float: left;
     343        margin: 5px 0 0 20px;
     344}
     345.akismet-tabs a {
     346        display: block;
     347        padding: 4px .5em 3px;
     348        border-bottom: none;
     349        color: #036;
     350}
     351.akismet-tabs .active a {
     352        background: #fff;
     353        border: 1px solid #ccc;
     354        border-bottom: none;
     355        color: #000;
     356        font-weight: bold;
     357        padding-bottom: 4px;
     358}
     359#akismetsearch {
     360        float: right;
     361        margin-top: -.5em;
     362}
     363
     364#akismetsearch p {
     365        margin: 0;
     366        padding: 0;
     367}
     368</style>
    371369<div class="wrap">
    372370<h2><?php _e('Caught Spam') ?></h2>
Note: See TracChangeset for help on using the changeset viewer.