Plugin Directory

Changeset 558185


Ignore:
Timestamp:
06/14/2012 10:01:11 PM (14 years ago)
Author:
PotySoft
Message:
 
Location:
poty-mail-send/trunk
Files:
5 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • poty-mail-send/trunk/head/javascript.js

    r558183 r558185  
     1// Example javascript
     2
     3function cargarDatosForm(id){
     4    document.getElementById('caja-editar').style.display='block';
     5    var id_tmp1='td_'+id+'_1';
     6    var id_tmp2='td_'+id+'_2';
     7    var id_tmp3='td_'+id+'_3';
     8    var id_tmp4='td_'+id+'_4';
     9    var id_tmp5='td_'+id+'_5';
     10    var id_tmp6='td_'+id+'_6';
     11    document.getElementById('Texto').parentNode.style.display='block';
     12    document.getElementById('Tipo').parentNode.style.display='block';
     13    document.getElementById('Valor').parentNode.style.display='block';
     14    document.getElementById('Estado').parentNode.style.display='block';
     15    document.getElementById('Include').parentNode.style.display='block';
     16    document.getElementById('Id').value=document.getElementById(id_tmp1).innerHTML;
     17    document.getElementById('Texto').value=document.getElementById(id_tmp2).innerHTML;
     18    document.getElementById('Tipo').value=document.getElementById(id_tmp3).innerHTML;
     19    document.getElementById('Valor').value=document.getElementById(id_tmp4).innerHTML;
     20    document.getElementById('Estado').value=document.getElementById(id_tmp5).innerHTML;
     21    document.getElementById('Include').value=document.getElementById(id_tmp6).innerHTML;
     22    document.getElementById('Accion').value='Edit';
     23    document.getElementById('btn_accion').value='Editar';
     24   
     25    //return false;
     26}
     27
     28function borrarDatosForm(id){
     29    document.getElementById('caja-editar').style.display='block';
     30    var id_tmp1='td_'+id+'_1';
     31   
     32    document.getElementById('Id').value=document.getElementById(id_tmp1).innerHTML;
     33    document.getElementById('Texto').parentNode.style.display='none';
     34    document.getElementById('Tipo').parentNode.style.display='none';
     35    document.getElementById('Valor').parentNode.style.display='none';
     36    document.getElementById('Estado').parentNode.style.display='none';
     37    document.getElementById('Include').parentNode.style.display='none';
     38    document.getElementById('Accion').value='Del';
     39    document.getElementById('btn_accion').value='Borrar';
     40    //return false;
     41}
     42
     43function anadirDatos(){
     44    document.getElementById('caja-editar').style.display='block';
     45    document.getElementById('Texto').parentNode.style.display='block';
     46    document.getElementById('Tipo').parentNode.style.display='block';
     47    document.getElementById('Valor').parentNode.style.display='block';
     48    document.getElementById('Estado').parentNode.style.display='block';
     49    document.getElementById('Include').parentNode.style.display='block';
     50    document.getElementById('Accion').value='Add';
     51    document.getElementById('Id').value='-1';
     52    document.getElementById('Texto').value='';
     53    document.getElementById('Tipo').value='';
     54    document.getElementById('Valor').value='';
     55    document.getElementById('Estado').value='';
     56    document.getElementById('Include').value='';
     57   
     58    document.getElementById('btn_accion').value='Añadir';
     59    //return false;
     60}
     61
     62
     63$(document).ready(function(){
     64           
     65            $(".usuarios li").click(
     66
     67                function () {
     68                    alert("aaaaa");
     69                    $tmp_para=$("#para").attr("value");
     70               
     71                   
     72                    if($tmp_para.indexOf($(this).attr("title"))<0){
     73                   
     74                        if($tmp_para!=""){
     75                                $tmp_para=$tmp_para+","+$(this).attr("title");
     76                        }else{
     77                                $tmp_para=$tmp_para+$(this).attr("title");
     78                        }       
     79                            $("#para").attr("value",$tmp_para);                         
     80                    }                                               
     81                }
     82            );
     83        });
     84
  • poty-mail-send/trunk/poty_mail_send.php

    r558183 r558185  
    11<?php
    22/*Plugin Name: Poty Mail Send
    3     Plugin URI: http://www.potysoft.eu/poty_mail_send/
    4     Description: .
     3    Plugin URI: http://www.potysoft.eu/poty-mail-send/
     4    Description: Envia mails facilmente, desde la administración de wordpress
    55    Version: 0.2
    66    Author: PotySoft
  • poty-mail-send/trunk/readme.txt

    r558183 r558185  
    11=== Poty Mail Send ===
    22Tags: mail, email, send
    3 Tested up to: 3.0
     3Tested up to: 3.3.2
    44
    55Poty Mail Send, plugin para poder mandar mails desde la administraci&oacute;n de wordpress.
Note: See TracChangeset for help on using the changeset viewer.