Plugin Directory

Changeset 620989


Ignore:
Timestamp:
11/04/2012 06:56:30 PM (13 years ago)
Author:
Bilbud
Message:

Added some css to error list page.

Location:
404-error-monitor/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • 404-error-monitor/trunk/css/admin.css

    r599688 r620989  
    2323.error_monitor-error-list .error_monitor-error-row td {
    2424    padding: 5px;
     25
     26}
     27
     28.error_monitor-error-list .error_monitor-error-row td div{
     29    color: #0088CC;
     30    overflow: hidden;
     31    text-overflow: ellipsis;
     32    white-space: nowrap;
     33    width: 505px;
    2534}
    2635
  • 404-error-monitor/trunk/includes/errorList.php

    r615069 r620989  
    107107                <th>Referer</th>
    108108                <th>Last Error</th>
    109                 <th>
    110                     Delete
     109                <th style="width: 65px;">
    111110                    <?php if(!$blog_id):?>
    112111                        <a id="" class="button-primary error_monitor-delete-all" href="<?php bloginfo('wpurl'); ?>/wp-admin/admin-ajax.php">Delete all</a>
     
    131130                    ?>
    132131                    <tr id="blog<?php echo $row->blog_id;?>">
    133                         <td colspan="4"><strong><a target="_blank"  href="<?php echo get_admin_url($row->blog_id);?>options-general.php?page=errorMonitor"><?php echo $domain;?></a></strong>   <a target="_blank" href="http://<?php echo $domain;?>">visit</a></td>
    134                         <td class="error_monitor-delete-all-blog" ><a id="<?php echo $row->blog_id;?>" href="<?php bloginfo('wpurl'); ?>/wp-admin/admin-ajax.php">delete entries for this blog</a></td>
     132                        <td colspan="3"><strong><a target="_blank"  href="<?php echo get_admin_url($row->blog_id);?>options-general.php?page=errorMonitor"><?php echo $domain;?></a></strong>   <a target="_blank" href="http://<?php echo $domain;?>">visit</a></td>
     133                        <td colspan="2" class="error_monitor-delete-all-blog" ><a id="<?php echo $row->blog_id;?>" href="<?php bloginfo('wpurl'); ?>/wp-admin/admin-ajax.php">delete entries for this blog</a></td>
    135134                    </tr>
    136135                    <?php
     
    138137                ?>
    139138                <tr class="error_monitor-error-row" id="<?php echo $row->blog_id;?>">
    140                     <td><a target="_blank" href="<?php echo (substr($row->url, 0,  strlen('http://')) === 'http://')?$row->url:'http://'.$domain.$row->url;?>"><?php echo $row->url;?></a></td>
    141                     <td><?php echo $row->count;?></td>
     139                    <td><div><a target="_blank" title="<?php echo (substr($row->url, 0,  strlen('http://')) === 'http://')?$row->url:'http://'.$domain.$row->url;?>" href="<?php echo (substr($row->url, 0,  strlen('http://')) === 'http://')?$row->url:'http://'.$domain.$row->url;?>"><?php echo $row->url;?></a></div></td>
     140                    <td style="width: 38px;text-align:center;"><?php echo $row->count;?></td>
    142141                    <td>
    143142                        <?php if($row->referer != ""):?>
    144                             <a target="_blank" href="<?php echo $row->referer;?>"><?php echo $row->referer;?></a>
     143                            <div><a target="_blank" title="<?php echo $row->referer;?>" href="<?php echo $row->referer;?>"><?php echo $row->referer;?></a></div>
    145144                        <?php else:?>
    146145                            --
    147146                        <?php endif;?>
    148147                    </td>
    149                     <td><?php echo mysql2date(get_option('date_format'), $row->last_error);?>,  <?php echo mysql2date(get_option('time_format'), $row->last_error);?></td>
    150                     <td><a class="delete-single-entry button-secondary" id="<?php echo $row->id;?>" href="<?php bloginfo('wpurl'); ?>/wp-admin/admin-ajax.php">Delete</a></td>
     148                    <td style="width: 205px;text-align:center;"><?php echo mysql2date(get_option('date_format'), $row->last_error);?>,  <?php echo mysql2date(get_option('time_format'), $row->last_error);?></td>
     149                    <td  style="text-align:center;"><a class="delete-single-entry button-secondary" id="<?php echo $row->id;?>" href="<?php bloginfo('wpurl'); ?>/wp-admin/admin-ajax.php">Delete</a></td>
    151150                </tr>
    152151            <?php
  • 404-error-monitor/trunk/index.php

    r615069 r620989  
    2020 *     Plugin URI: http://www.php-geek.fr/plugin-wordpress-404-error-monitor.html
    2121 *     Description: This plugin logs 404 (Page Not Found) errors on your WordPress site. It also logs useful informations like referrer, user address, and error hit count. It is fully compatible with a multisite configuration.
    22  *     Version: 1.0.3
     22 *     Version: 1.0.4
    2323 *     Author: Bruce Delorme
    2424 *     Author URI: http://www.php-geek.fr
  • 404-error-monitor/trunk/readme.txt

    r615069 r620989  
    55Requires at least: 3.2.1
    66Tested up to: 3.4.2
    7 Stable tag: 1.0.3
     7Stable tag: 1.0.4
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3636= 1.0.3 =
    3737* fixed referer issue: referer is not saved if is a wp admin page.
     38
     39= 1.0.4 =
     40* added some css to error list page.
Note: See TracChangeset for help on using the changeset viewer.