Plugin Directory

Changeset 1475080


Ignore:
Timestamp:
08/16/2016 12:37:00 AM (9 years ago)
Author:
naldovieira
Message:

0.0.14 - Correção de um erro gerado pelo update anterior.

Location:
wp-idados-crud
Files:
5 edited
8 copied

Legend:

Unmodified
Added
Removed
  • wp-idados-crud/tags/0.0.11/assets/idados_crud.php

    r1475049 r1475080  
    11<?php
    22if ( ! defined( 'ABSPATH' ) ) { exit; }
     3
     4if (!function_exists('get_md_rows')) :
    35function get_md_rows($md, $fields, $col, $df=array(),$cnn=""){
    46  global $wpdb;
     
    393395  return $rows;
    394396}
    395 
    396 
    397 
    398 
    399 
    400 
    401 
    402 
    403 
    404 
    405 
    406 
     397endif;
     398
     399
     400
     401
     402
     403
     404
     405
     406
     407
     408if (!function_exists('get_md_edit')) :
    407409function get_md_edit($md,$cod,$cnn){
    408410  global $wpdb;
     
    511513  return $ret_md_edit;
    512514}
     515endif;
     516
     517
     518
     519if (!function_exists('get_md_view')) :
    513520function get_md_view($md,$cod,$cnn,$df=''){
    514521  global $wpdb;
     
    699706  return $ret_md_edit;
    700707}
    701 
     708endif;
     709
     710
     711if (!function_exists('md_insert')) :
    702712function md_insert($md,$values=array(),$cnn){
    703713  global $wpdb;
     
    864874
    865875}
     876endif;
     877
     878
     879if (!function_exists('xxxxxx')) :
    866880function md_update($md,$cod,$cnn){
    867881  global $wpdb;
     
    976990
    977991}
    978 
    979 
     992endif;
     993
     994
     995if (!function_exists('xxxxxx')) :
    980996function get_md_novo($md){
    981997  $ret_md_novo = array();
     
    10531069  return $ret_md_novo;
    10541070}
    1055 
    1056 
    1057 
     1071endif;
     1072
     1073
     1074
     1075if (!function_exists('xxxxxx')) :
    10581076function md_delete($md,$cod){
    10591077  global $wpdb;
     
    10691087  return db_data($sql,'delete');
    10701088}
     1089endif;
     1090
     1091
     1092if (!function_exists('xxxxxx')) :
    10711093function get_list($mds){
    10721094  $mds = get_md_col($mds);
     
    10741096  return $mds;
    10751097}
     1098endif;
     1099
     1100
     1101if (!function_exists('xxxxxx')) :
    10761102function md_duplique($md,$cod,$cnn){
    10771103  $md_edit = get_md_edit($md,$cod,$cnn);
     
    10881114
    10891115}
    1090 
     1116endif;
     1117
     1118
     1119if (!function_exists('xxxxxx')) :
    10911120function get_md_col($md){
    10921121  $sql = "
     
    11771206  return $col;
    11781207}
    1179 
    1180 
     1208endif;
     1209
     1210
     1211if (!function_exists('xxxxxx')) :
    11811212function get_fields($md){
    11821213  $fields = array();
     
    12551286  return $fields;
    12561287}
    1257 
     1288endif;
     1289
     1290if (!function_exists('xxxxxx')) :
    12581291function converte_iso_to_utf8( $strContent ){return mb_convert_encoding( $strContent, 'UTF-8', mb_detect_encoding( $strContent, 'UTF-8, ISO-8859-1', true ) );}
     1292endif;
     1293
     1294
     1295if (!function_exists('xxxxxx')) :
    12591296function Win1252ToUtf8($string){return  iconv("windows-1252","UTF-8",$string);}
     1297endif;
     1298
     1299
     1300if (!function_exists('xxxxxx')) :
    12601301function utf8ToWin1252($string){return  iconv("UTF-8","ASCII//TRANSLIT",$string);}
     1302endif;
     1303
     1304
     1305if (!function_exists('xxxxxx')) :
    12611306function get_logado(){$logado = false;if(isset($_SESSION["logado"])){if($_SESSION["logado"]) $logado = true;};return $logado;}
     1307endif;
     1308
     1309
     1310if (!function_exists('xxxxxx')) :
    12621311function get_membro_name(){if(isset($_SESSION["membro_name"])) return $_SESSION["membro_name"];return '';}
     1312endif;
     1313
     1314
     1315if (!function_exists('xxxxxx')) :
    12631316function get_grupo_name(){if(isset($_SESSION["grupo_name"])) return $_SESSION["grupo_name"];return '';}
     1317endif;
     1318
     1319
     1320if (!function_exists('xxxxxx')) :
    12641321function select_vai($ct,$op){
    12651322  if($op=="list"){
     
    13131370  return false;
    13141371}
     1372endif;
     1373
     1374
     1375if (!function_exists('xxxxxx')) :
    13151376function date_fb_br($data_fb){
    13161377  if($data_fb){
     
    13271388  }
    13281389}
     1390endif;
     1391
     1392
     1393if (!function_exists('xxxxxx')) :
    13291394function moeda_br($valor){
    13301395  if(!$valor) $valor = 0;
     
    13321397  return $valor;
    13331398}
    1334 
    1335 
     1399endif;
  • wp-idados-crud/tags/0.0.11/readme.txt

    r1475049 r1475080  
    3838Desenvolvendo 0.0.9
    39390.0.10 - Checagem de ABSPATH nos arquivos anexos.
     400.0.11 - Usar function_exists - Evitar conflito de funções.
    4041
    4142== Upgrade Notice ==
  • wp-idados-crud/tags/0.0.11/wp-idados-crud.php

    r1473809 r1475080  
    44Plugin URI: http://idados.com.br/plugin/wp-idados-crud
    55Description: Base necessária para fazer os módulos idados-xxxx funcionarem corretamente.
    6 Version: 0.0.9
     6Version: 0.0.11
    77Author: naldovieira
    88Author URI: http://idados.com.br
    99License: GPL2
    10 Charge log: start
     10Charge log: 0.0.11 - Usar function_exists - Evitar conflito de funções.
    1111*/
    1212
  • wp-idados-crud/tags/0.0.12/assets/idados_crud.php

    r1475049 r1475080  
    11<?php
    22if ( ! defined( 'ABSPATH' ) ) { exit; }
     3
     4if (!function_exists('get_md_rows')) :
    35function get_md_rows($md, $fields, $col, $df=array(),$cnn=""){
    46  global $wpdb;
     
    393395  return $rows;
    394396}
    395 
    396 
    397 
    398 
    399 
    400 
    401 
    402 
    403 
    404 
    405 
    406 
     397endif;
     398
     399
     400
     401
     402
     403
     404
     405
     406
     407
     408if (!function_exists('get_md_edit')) :
    407409function get_md_edit($md,$cod,$cnn){
    408410  global $wpdb;
     
    511513  return $ret_md_edit;
    512514}
     515endif;
     516
     517
     518
     519if (!function_exists('get_md_view')) :
    513520function get_md_view($md,$cod,$cnn,$df=''){
    514521  global $wpdb;
     
    699706  return $ret_md_edit;
    700707}
    701 
     708endif;
     709
     710
     711if (!function_exists('md_insert')) :
    702712function md_insert($md,$values=array(),$cnn){
    703713  global $wpdb;
     
    864874
    865875}
     876endif;
     877
     878
     879if (!function_exists('md_update')) :
    866880function md_update($md,$cod,$cnn){
    867881  global $wpdb;
     
    976990
    977991}
    978 
    979 
     992endif;
     993
     994
     995if (!function_exists('get_md_novo')) :
    980996function get_md_novo($md){
    981997  $ret_md_novo = array();
     
    10531069  return $ret_md_novo;
    10541070}
    1055 
    1056 
    1057 
     1071endif;
     1072
     1073
     1074
     1075if (!function_exists('md_delete')) :
    10581076function md_delete($md,$cod){
    10591077  global $wpdb;
     
    10691087  return db_data($sql,'delete');
    10701088}
     1089endif;
     1090
     1091
     1092if (!function_exists('get_list')) :
    10711093function get_list($mds){
    10721094  $mds = get_md_col($mds);
     
    10741096  return $mds;
    10751097}
     1098endif;
     1099
     1100
     1101if (!function_exists('md_duplique')) :
    10761102function md_duplique($md,$cod,$cnn){
    10771103  $md_edit = get_md_edit($md,$cod,$cnn);
     
    10881114
    10891115}
    1090 
     1116endif;
     1117
     1118
     1119if (!function_exists('get_md_col')) :
    10911120function get_md_col($md){
    10921121  $sql = "
     
    11771206  return $col;
    11781207}
    1179 
    1180 
     1208endif;
     1209
     1210
     1211if (!function_exists('get_fields')) :
    11811212function get_fields($md){
    11821213  $fields = array();
     
    12551286  return $fields;
    12561287}
    1257 
     1288endif;
     1289
     1290if (!function_exists('converte_iso_to_utf8')) :
    12581291function converte_iso_to_utf8( $strContent ){return mb_convert_encoding( $strContent, 'UTF-8', mb_detect_encoding( $strContent, 'UTF-8, ISO-8859-1', true ) );}
     1292endif;
     1293
     1294
     1295if (!function_exists('Win1252ToUtf8')) :
    12591296function Win1252ToUtf8($string){return  iconv("windows-1252","UTF-8",$string);}
     1297endif;
     1298
     1299
     1300if (!function_exists('utf8ToWin1252')) :
    12601301function utf8ToWin1252($string){return  iconv("UTF-8","ASCII//TRANSLIT",$string);}
     1302endif;
     1303
     1304
     1305if (!function_exists('get_logado')) :
    12611306function get_logado(){$logado = false;if(isset($_SESSION["logado"])){if($_SESSION["logado"]) $logado = true;};return $logado;}
     1307endif;
     1308
     1309
     1310if (!function_exists('get_membro_name')) :
    12621311function get_membro_name(){if(isset($_SESSION["membro_name"])) return $_SESSION["membro_name"];return '';}
     1312endif;
     1313
     1314
     1315if (!function_exists('get_grupo_name')) :
    12631316function get_grupo_name(){if(isset($_SESSION["grupo_name"])) return $_SESSION["grupo_name"];return '';}
     1317endif;
     1318
     1319
     1320if (!function_exists('select_vai')) :
    12641321function select_vai($ct,$op){
    12651322  if($op=="list"){
     
    13131370  return false;
    13141371}
     1372endif;
     1373
     1374
     1375if (!function_exists('date_fb_br')) :
    13151376function date_fb_br($data_fb){
    13161377  if($data_fb){
     
    13271388  }
    13281389}
     1390endif;
     1391
     1392
     1393if (!function_exists('moeda_br')) :
    13291394function moeda_br($valor){
    13301395  if(!$valor) $valor = 0;
     
    13321397  return $valor;
    13331398}
    1334 
    1335 
     1399endif;
  • wp-idados-crud/tags/0.0.12/readme.txt

    r1475049 r1475080  
    3838Desenvolvendo 0.0.9
    39390.0.10 - Checagem de ABSPATH nos arquivos anexos.
     400.0.11 - Usar function_exists - Evitar conflito de funções.
     410.0.12 - Coreção de um erro gerado pelo update anterior.
    4042
    4143== Upgrade Notice ==
  • wp-idados-crud/tags/0.0.12/wp-idados-crud.php

    r1473809 r1475080  
    44Plugin URI: http://idados.com.br/plugin/wp-idados-crud
    55Description: Base necessária para fazer os módulos idados-xxxx funcionarem corretamente.
    6 Version: 0.0.9
     6Version: 0.0.11
    77Author: naldovieira
    88Author URI: http://idados.com.br
    99License: GPL2
    10 Charge log: start
     10Charge log: 0.0.12 - Coreção de um erro gerado pelo update anterior.
    1111*/
    1212
  • wp-idados-crud/trunk/assets/idados_crud.php

    r1475049 r1475080  
    11<?php
    22if ( ! defined( 'ABSPATH' ) ) { exit; }
     3
     4if (!function_exists('get_md_rows')) :
    35function get_md_rows($md, $fields, $col, $df=array(),$cnn=""){
    46  global $wpdb;
     
    393395  return $rows;
    394396}
    395 
    396 
    397 
    398 
    399 
    400 
    401 
    402 
    403 
    404 
    405 
    406 
     397endif;
     398
     399
     400
     401
     402
     403
     404
     405
     406
     407
     408if (!function_exists('get_md_edit')) :
    407409function get_md_edit($md,$cod,$cnn){
    408410  global $wpdb;
     
    511513  return $ret_md_edit;
    512514}
     515endif;
     516
     517
     518
     519if (!function_exists('get_md_view')) :
    513520function get_md_view($md,$cod,$cnn,$df=''){
    514521  global $wpdb;
     
    699706  return $ret_md_edit;
    700707}
    701 
     708endif;
     709
     710
     711if (!function_exists('md_insert')) :
    702712function md_insert($md,$values=array(),$cnn){
    703713  global $wpdb;
     
    864874
    865875}
     876endif;
     877
     878
     879if (!function_exists('md_update')) :
    866880function md_update($md,$cod,$cnn){
    867881  global $wpdb;
     
    976990
    977991}
    978 
    979 
     992endif;
     993
     994
     995if (!function_exists('get_md_novo')) :
    980996function get_md_novo($md){
    981997  $ret_md_novo = array();
     
    10531069  return $ret_md_novo;
    10541070}
    1055 
    1056 
    1057 
     1071endif;
     1072
     1073
     1074
     1075if (!function_exists('md_delete')) :
    10581076function md_delete($md,$cod){
    10591077  global $wpdb;
     
    10691087  return db_data($sql,'delete');
    10701088}
     1089endif;
     1090
     1091
     1092if (!function_exists('get_list')) :
    10711093function get_list($mds){
    10721094  $mds = get_md_col($mds);
     
    10741096  return $mds;
    10751097}
     1098endif;
     1099
     1100
     1101if (!function_exists('md_duplique')) :
    10761102function md_duplique($md,$cod,$cnn){
    10771103  $md_edit = get_md_edit($md,$cod,$cnn);
     
    10881114
    10891115}
    1090 
     1116endif;
     1117
     1118
     1119if (!function_exists('get_md_col')) :
    10911120function get_md_col($md){
    10921121  $sql = "
     
    11771206  return $col;
    11781207}
    1179 
    1180 
     1208endif;
     1209
     1210
     1211if (!function_exists('get_fields')) :
    11811212function get_fields($md){
    11821213  $fields = array();
     
    12551286  return $fields;
    12561287}
    1257 
     1288endif;
     1289
     1290if (!function_exists('converte_iso_to_utf8')) :
    12581291function converte_iso_to_utf8( $strContent ){return mb_convert_encoding( $strContent, 'UTF-8', mb_detect_encoding( $strContent, 'UTF-8, ISO-8859-1', true ) );}
     1292endif;
     1293
     1294
     1295if (!function_exists('Win1252ToUtf8')) :
    12591296function Win1252ToUtf8($string){return  iconv("windows-1252","UTF-8",$string);}
     1297endif;
     1298
     1299
     1300if (!function_exists('utf8ToWin1252')) :
    12601301function utf8ToWin1252($string){return  iconv("UTF-8","ASCII//TRANSLIT",$string);}
     1302endif;
     1303
     1304
     1305if (!function_exists('get_logado')) :
    12611306function get_logado(){$logado = false;if(isset($_SESSION["logado"])){if($_SESSION["logado"]) $logado = true;};return $logado;}
     1307endif;
     1308
     1309
     1310if (!function_exists('get_membro_name')) :
    12621311function get_membro_name(){if(isset($_SESSION["membro_name"])) return $_SESSION["membro_name"];return '';}
     1312endif;
     1313
     1314
     1315if (!function_exists('get_grupo_name')) :
    12631316function get_grupo_name(){if(isset($_SESSION["grupo_name"])) return $_SESSION["grupo_name"];return '';}
     1317endif;
     1318
     1319
     1320if (!function_exists('select_vai')) :
    12641321function select_vai($ct,$op){
    12651322  if($op=="list"){
     
    13131370  return false;
    13141371}
     1372endif;
     1373
     1374
     1375if (!function_exists('date_fb_br')) :
    13151376function date_fb_br($data_fb){
    13161377  if($data_fb){
     
    13271388  }
    13281389}
     1390endif;
     1391
     1392
     1393if (!function_exists('moeda_br')) :
    13291394function moeda_br($valor){
    13301395  if(!$valor) $valor = 0;
     
    13321397  return $valor;
    13331398}
    1334 
    1335 
     1399endif;
  • wp-idados-crud/trunk/readme.txt

    r1475049 r1475080  
    3838Desenvolvendo 0.0.9
    39390.0.10 - Checagem de ABSPATH nos arquivos anexos.
     400.0.11 - Usar function_exists - Evitar conflito de funções.
     410.0.12 - Coreção de um erro gerado pelo update anterior.
    4042
    4143== Upgrade Notice ==
  • wp-idados-crud/trunk/wp-idados-crud.php

    r1473809 r1475080  
    44Plugin URI: http://idados.com.br/plugin/wp-idados-crud
    55Description: Base necessária para fazer os módulos idados-xxxx funcionarem corretamente.
    6 Version: 0.0.9
     6Version: 0.0.11
    77Author: naldovieira
    88Author URI: http://idados.com.br
    99License: GPL2
    10 Charge log: start
     10Charge log: 0.0.12 - Coreção de um erro gerado pelo update anterior.
    1111*/
    1212
Note: See TracChangeset for help on using the changeset viewer.