Plugin Directory

Changeset 178055


Ignore:
Timestamp:
11/30/2009 11:41:52 AM (16 years ago)
Author:
mortay
Message:

Se han separado algo más las opciones del correo y se ha añadido un chequeo para que solo muestre la opcion de "Marcar como SPAM" si el correo NO es SPAM.

Location:
comment-change-status/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • comment-change-status/trunk/comment-change-status-mail.php

    r178050 r178055  
    7171               
    7272                /* 30.11.2009 - Options to delete and mark to spam */
    73                 $notify_message .= "\t".sprintf( __('Delete it: %s', 'comment-change-status'), $comment_change_status__url . "/comment-change-status-check.php?action=deleteit&becid=".$comment_new_hash) . "\r\n";
    74                 $notify_message .= "\t".sprintf( __('Spam it: %s', 'comment-change-status'), $comment_change_status__url . "/comment-change-status-check.php?action=spamit&becid=".$comment_new_hash) . "\r\n";
     73                $notify_message .= "\n\t".sprintf( __('Delete it: %s', 'comment-change-status'), $comment_change_status__url . "/comment-change-status-check.php?action=deleteit&becid=".$comment_new_hash) . "\r\n";
     74                if ( $comment_approved != 'spam' ) $notify_message .= "\n\t".sprintf( __('Spam it: %s', 'comment-change-status'), $comment_change_status__url . "/comment-change-status-check.php?action=spamit&becid=".$comment_new_hash) . "\r\n";
    7575               
    7676                if ( $notify_message ) {
  • comment-change-status/trunk/comment-change-status.php

    r178052 r178055  
    44Plugin URI: http://taller.pequelia.es/plugins/comment-change-status/
    55Description: Change comment status with one only click on e-mail
    6 Version: 0.10.0
     6Version: 0.10.1
    77Author: Alejandro Carravedo (Blogestudio)
    88Author URI: http://blogestudio.com/
     
    14140.10.0
    1515    - Añadidas opciones en los correos para "Borrar" y "Marcar como SPAM" los comentarios.
     160.10.1
     17    - Separadas algo mas las opciones
     18    - Solo muestra la opcion de "Marcar como SPAM" si el correo YA NO LO ES.
    1619*/
    1720
Note: See TracChangeset for help on using the changeset viewer.