Changeset 1475080
- Timestamp:
- 08/16/2016 12:37:00 AM (9 years ago)
- Location:
- wp-idados-crud
- Files:
-
- 5 edited
- 8 copied
-
tags/0.0.11 (copied) (copied from wp-idados-crud/trunk)
-
tags/0.0.11/assets/idados_crud.php (copied) (copied from wp-idados-crud/trunk/assets/idados_crud.php) (15 diffs)
-
tags/0.0.11/assets/idados_functions.php (copied) (copied from wp-idados-crud/trunk/assets/idados_functions.php)
-
tags/0.0.11/readme.txt (copied) (copied from wp-idados-crud/trunk/readme.txt) (1 diff)
-
tags/0.0.11/wp-idados-crud.php (modified) (1 diff)
-
tags/0.0.12 (copied) (copied from wp-idados-crud/trunk)
-
tags/0.0.12/assets/idados_crud.php (copied) (copied from wp-idados-crud/trunk/assets/idados_crud.php) (15 diffs)
-
tags/0.0.12/assets/idados_functions.php (copied) (copied from wp-idados-crud/trunk/assets/idados_functions.php)
-
tags/0.0.12/readme.txt (copied) (copied from wp-idados-crud/trunk/readme.txt) (1 diff)
-
tags/0.0.12/wp-idados-crud.php (modified) (1 diff)
-
trunk/assets/idados_crud.php (modified) (15 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/wp-idados-crud.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-idados-crud/tags/0.0.11/assets/idados_crud.php
r1475049 r1475080 1 1 <?php 2 2 if ( ! defined( 'ABSPATH' ) ) { exit; } 3 4 if (!function_exists('get_md_rows')) : 3 5 function get_md_rows($md, $fields, $col, $df=array(),$cnn=""){ 4 6 global $wpdb; … … 393 395 return $rows; 394 396 } 395 396 397 398 399 400 401 402 403 404 405 406 397 endif; 398 399 400 401 402 403 404 405 406 407 408 if (!function_exists('get_md_edit')) : 407 409 function get_md_edit($md,$cod,$cnn){ 408 410 global $wpdb; … … 511 513 return $ret_md_edit; 512 514 } 515 endif; 516 517 518 519 if (!function_exists('get_md_view')) : 513 520 function get_md_view($md,$cod,$cnn,$df=''){ 514 521 global $wpdb; … … 699 706 return $ret_md_edit; 700 707 } 701 708 endif; 709 710 711 if (!function_exists('md_insert')) : 702 712 function md_insert($md,$values=array(),$cnn){ 703 713 global $wpdb; … … 864 874 865 875 } 876 endif; 877 878 879 if (!function_exists('xxxxxx')) : 866 880 function md_update($md,$cod,$cnn){ 867 881 global $wpdb; … … 976 990 977 991 } 978 979 992 endif; 993 994 995 if (!function_exists('xxxxxx')) : 980 996 function get_md_novo($md){ 981 997 $ret_md_novo = array(); … … 1053 1069 return $ret_md_novo; 1054 1070 } 1055 1056 1057 1071 endif; 1072 1073 1074 1075 if (!function_exists('xxxxxx')) : 1058 1076 function md_delete($md,$cod){ 1059 1077 global $wpdb; … … 1069 1087 return db_data($sql,'delete'); 1070 1088 } 1089 endif; 1090 1091 1092 if (!function_exists('xxxxxx')) : 1071 1093 function get_list($mds){ 1072 1094 $mds = get_md_col($mds); … … 1074 1096 return $mds; 1075 1097 } 1098 endif; 1099 1100 1101 if (!function_exists('xxxxxx')) : 1076 1102 function md_duplique($md,$cod,$cnn){ 1077 1103 $md_edit = get_md_edit($md,$cod,$cnn); … … 1088 1114 1089 1115 } 1090 1116 endif; 1117 1118 1119 if (!function_exists('xxxxxx')) : 1091 1120 function get_md_col($md){ 1092 1121 $sql = " … … 1177 1206 return $col; 1178 1207 } 1179 1180 1208 endif; 1209 1210 1211 if (!function_exists('xxxxxx')) : 1181 1212 function get_fields($md){ 1182 1213 $fields = array(); … … 1255 1286 return $fields; 1256 1287 } 1257 1288 endif; 1289 1290 if (!function_exists('xxxxxx')) : 1258 1291 function converte_iso_to_utf8( $strContent ){return mb_convert_encoding( $strContent, 'UTF-8', mb_detect_encoding( $strContent, 'UTF-8, ISO-8859-1', true ) );} 1292 endif; 1293 1294 1295 if (!function_exists('xxxxxx')) : 1259 1296 function Win1252ToUtf8($string){return iconv("windows-1252","UTF-8",$string);} 1297 endif; 1298 1299 1300 if (!function_exists('xxxxxx')) : 1260 1301 function utf8ToWin1252($string){return iconv("UTF-8","ASCII//TRANSLIT",$string);} 1302 endif; 1303 1304 1305 if (!function_exists('xxxxxx')) : 1261 1306 function get_logado(){$logado = false;if(isset($_SESSION["logado"])){if($_SESSION["logado"]) $logado = true;};return $logado;} 1307 endif; 1308 1309 1310 if (!function_exists('xxxxxx')) : 1262 1311 function get_membro_name(){if(isset($_SESSION["membro_name"])) return $_SESSION["membro_name"];return '';} 1312 endif; 1313 1314 1315 if (!function_exists('xxxxxx')) : 1263 1316 function get_grupo_name(){if(isset($_SESSION["grupo_name"])) return $_SESSION["grupo_name"];return '';} 1317 endif; 1318 1319 1320 if (!function_exists('xxxxxx')) : 1264 1321 function select_vai($ct,$op){ 1265 1322 if($op=="list"){ … … 1313 1370 return false; 1314 1371 } 1372 endif; 1373 1374 1375 if (!function_exists('xxxxxx')) : 1315 1376 function date_fb_br($data_fb){ 1316 1377 if($data_fb){ … … 1327 1388 } 1328 1389 } 1390 endif; 1391 1392 1393 if (!function_exists('xxxxxx')) : 1329 1394 function moeda_br($valor){ 1330 1395 if(!$valor) $valor = 0; … … 1332 1397 return $valor; 1333 1398 } 1334 1335 1399 endif; -
wp-idados-crud/tags/0.0.11/readme.txt
r1475049 r1475080 38 38 Desenvolvendo 0.0.9 39 39 0.0.10 - Checagem de ABSPATH nos arquivos anexos. 40 0.0.11 - Usar function_exists - Evitar conflito de funções. 40 41 41 42 == Upgrade Notice == -
wp-idados-crud/tags/0.0.11/wp-idados-crud.php
r1473809 r1475080 4 4 Plugin URI: http://idados.com.br/plugin/wp-idados-crud 5 5 Description: Base necessária para fazer os módulos idados-xxxx funcionarem corretamente. 6 Version: 0.0. 96 Version: 0.0.11 7 7 Author: naldovieira 8 8 Author URI: http://idados.com.br 9 9 License: GPL2 10 Charge log: start10 Charge log: 0.0.11 - Usar function_exists - Evitar conflito de funções. 11 11 */ 12 12 -
wp-idados-crud/tags/0.0.12/assets/idados_crud.php
r1475049 r1475080 1 1 <?php 2 2 if ( ! defined( 'ABSPATH' ) ) { exit; } 3 4 if (!function_exists('get_md_rows')) : 3 5 function get_md_rows($md, $fields, $col, $df=array(),$cnn=""){ 4 6 global $wpdb; … … 393 395 return $rows; 394 396 } 395 396 397 398 399 400 401 402 403 404 405 406 397 endif; 398 399 400 401 402 403 404 405 406 407 408 if (!function_exists('get_md_edit')) : 407 409 function get_md_edit($md,$cod,$cnn){ 408 410 global $wpdb; … … 511 513 return $ret_md_edit; 512 514 } 515 endif; 516 517 518 519 if (!function_exists('get_md_view')) : 513 520 function get_md_view($md,$cod,$cnn,$df=''){ 514 521 global $wpdb; … … 699 706 return $ret_md_edit; 700 707 } 701 708 endif; 709 710 711 if (!function_exists('md_insert')) : 702 712 function md_insert($md,$values=array(),$cnn){ 703 713 global $wpdb; … … 864 874 865 875 } 876 endif; 877 878 879 if (!function_exists('md_update')) : 866 880 function md_update($md,$cod,$cnn){ 867 881 global $wpdb; … … 976 990 977 991 } 978 979 992 endif; 993 994 995 if (!function_exists('get_md_novo')) : 980 996 function get_md_novo($md){ 981 997 $ret_md_novo = array(); … … 1053 1069 return $ret_md_novo; 1054 1070 } 1055 1056 1057 1071 endif; 1072 1073 1074 1075 if (!function_exists('md_delete')) : 1058 1076 function md_delete($md,$cod){ 1059 1077 global $wpdb; … … 1069 1087 return db_data($sql,'delete'); 1070 1088 } 1089 endif; 1090 1091 1092 if (!function_exists('get_list')) : 1071 1093 function get_list($mds){ 1072 1094 $mds = get_md_col($mds); … … 1074 1096 return $mds; 1075 1097 } 1098 endif; 1099 1100 1101 if (!function_exists('md_duplique')) : 1076 1102 function md_duplique($md,$cod,$cnn){ 1077 1103 $md_edit = get_md_edit($md,$cod,$cnn); … … 1088 1114 1089 1115 } 1090 1116 endif; 1117 1118 1119 if (!function_exists('get_md_col')) : 1091 1120 function get_md_col($md){ 1092 1121 $sql = " … … 1177 1206 return $col; 1178 1207 } 1179 1180 1208 endif; 1209 1210 1211 if (!function_exists('get_fields')) : 1181 1212 function get_fields($md){ 1182 1213 $fields = array(); … … 1255 1286 return $fields; 1256 1287 } 1257 1288 endif; 1289 1290 if (!function_exists('converte_iso_to_utf8')) : 1258 1291 function converte_iso_to_utf8( $strContent ){return mb_convert_encoding( $strContent, 'UTF-8', mb_detect_encoding( $strContent, 'UTF-8, ISO-8859-1', true ) );} 1292 endif; 1293 1294 1295 if (!function_exists('Win1252ToUtf8')) : 1259 1296 function Win1252ToUtf8($string){return iconv("windows-1252","UTF-8",$string);} 1297 endif; 1298 1299 1300 if (!function_exists('utf8ToWin1252')) : 1260 1301 function utf8ToWin1252($string){return iconv("UTF-8","ASCII//TRANSLIT",$string);} 1302 endif; 1303 1304 1305 if (!function_exists('get_logado')) : 1261 1306 function get_logado(){$logado = false;if(isset($_SESSION["logado"])){if($_SESSION["logado"]) $logado = true;};return $logado;} 1307 endif; 1308 1309 1310 if (!function_exists('get_membro_name')) : 1262 1311 function get_membro_name(){if(isset($_SESSION["membro_name"])) return $_SESSION["membro_name"];return '';} 1312 endif; 1313 1314 1315 if (!function_exists('get_grupo_name')) : 1263 1316 function get_grupo_name(){if(isset($_SESSION["grupo_name"])) return $_SESSION["grupo_name"];return '';} 1317 endif; 1318 1319 1320 if (!function_exists('select_vai')) : 1264 1321 function select_vai($ct,$op){ 1265 1322 if($op=="list"){ … … 1313 1370 return false; 1314 1371 } 1372 endif; 1373 1374 1375 if (!function_exists('date_fb_br')) : 1315 1376 function date_fb_br($data_fb){ 1316 1377 if($data_fb){ … … 1327 1388 } 1328 1389 } 1390 endif; 1391 1392 1393 if (!function_exists('moeda_br')) : 1329 1394 function moeda_br($valor){ 1330 1395 if(!$valor) $valor = 0; … … 1332 1397 return $valor; 1333 1398 } 1334 1335 1399 endif; -
wp-idados-crud/tags/0.0.12/readme.txt
r1475049 r1475080 38 38 Desenvolvendo 0.0.9 39 39 0.0.10 - Checagem de ABSPATH nos arquivos anexos. 40 0.0.11 - Usar function_exists - Evitar conflito de funções. 41 0.0.12 - Coreção de um erro gerado pelo update anterior. 40 42 41 43 == Upgrade Notice == -
wp-idados-crud/tags/0.0.12/wp-idados-crud.php
r1473809 r1475080 4 4 Plugin URI: http://idados.com.br/plugin/wp-idados-crud 5 5 Description: Base necessária para fazer os módulos idados-xxxx funcionarem corretamente. 6 Version: 0.0. 96 Version: 0.0.11 7 7 Author: naldovieira 8 8 Author URI: http://idados.com.br 9 9 License: GPL2 10 Charge log: start10 Charge log: 0.0.12 - Coreção de um erro gerado pelo update anterior. 11 11 */ 12 12 -
wp-idados-crud/trunk/assets/idados_crud.php
r1475049 r1475080 1 1 <?php 2 2 if ( ! defined( 'ABSPATH' ) ) { exit; } 3 4 if (!function_exists('get_md_rows')) : 3 5 function get_md_rows($md, $fields, $col, $df=array(),$cnn=""){ 4 6 global $wpdb; … … 393 395 return $rows; 394 396 } 395 396 397 398 399 400 401 402 403 404 405 406 397 endif; 398 399 400 401 402 403 404 405 406 407 408 if (!function_exists('get_md_edit')) : 407 409 function get_md_edit($md,$cod,$cnn){ 408 410 global $wpdb; … … 511 513 return $ret_md_edit; 512 514 } 515 endif; 516 517 518 519 if (!function_exists('get_md_view')) : 513 520 function get_md_view($md,$cod,$cnn,$df=''){ 514 521 global $wpdb; … … 699 706 return $ret_md_edit; 700 707 } 701 708 endif; 709 710 711 if (!function_exists('md_insert')) : 702 712 function md_insert($md,$values=array(),$cnn){ 703 713 global $wpdb; … … 864 874 865 875 } 876 endif; 877 878 879 if (!function_exists('md_update')) : 866 880 function md_update($md,$cod,$cnn){ 867 881 global $wpdb; … … 976 990 977 991 } 978 979 992 endif; 993 994 995 if (!function_exists('get_md_novo')) : 980 996 function get_md_novo($md){ 981 997 $ret_md_novo = array(); … … 1053 1069 return $ret_md_novo; 1054 1070 } 1055 1056 1057 1071 endif; 1072 1073 1074 1075 if (!function_exists('md_delete')) : 1058 1076 function md_delete($md,$cod){ 1059 1077 global $wpdb; … … 1069 1087 return db_data($sql,'delete'); 1070 1088 } 1089 endif; 1090 1091 1092 if (!function_exists('get_list')) : 1071 1093 function get_list($mds){ 1072 1094 $mds = get_md_col($mds); … … 1074 1096 return $mds; 1075 1097 } 1098 endif; 1099 1100 1101 if (!function_exists('md_duplique')) : 1076 1102 function md_duplique($md,$cod,$cnn){ 1077 1103 $md_edit = get_md_edit($md,$cod,$cnn); … … 1088 1114 1089 1115 } 1090 1116 endif; 1117 1118 1119 if (!function_exists('get_md_col')) : 1091 1120 function get_md_col($md){ 1092 1121 $sql = " … … 1177 1206 return $col; 1178 1207 } 1179 1180 1208 endif; 1209 1210 1211 if (!function_exists('get_fields')) : 1181 1212 function get_fields($md){ 1182 1213 $fields = array(); … … 1255 1286 return $fields; 1256 1287 } 1257 1288 endif; 1289 1290 if (!function_exists('converte_iso_to_utf8')) : 1258 1291 function converte_iso_to_utf8( $strContent ){return mb_convert_encoding( $strContent, 'UTF-8', mb_detect_encoding( $strContent, 'UTF-8, ISO-8859-1', true ) );} 1292 endif; 1293 1294 1295 if (!function_exists('Win1252ToUtf8')) : 1259 1296 function Win1252ToUtf8($string){return iconv("windows-1252","UTF-8",$string);} 1297 endif; 1298 1299 1300 if (!function_exists('utf8ToWin1252')) : 1260 1301 function utf8ToWin1252($string){return iconv("UTF-8","ASCII//TRANSLIT",$string);} 1302 endif; 1303 1304 1305 if (!function_exists('get_logado')) : 1261 1306 function get_logado(){$logado = false;if(isset($_SESSION["logado"])){if($_SESSION["logado"]) $logado = true;};return $logado;} 1307 endif; 1308 1309 1310 if (!function_exists('get_membro_name')) : 1262 1311 function get_membro_name(){if(isset($_SESSION["membro_name"])) return $_SESSION["membro_name"];return '';} 1312 endif; 1313 1314 1315 if (!function_exists('get_grupo_name')) : 1263 1316 function get_grupo_name(){if(isset($_SESSION["grupo_name"])) return $_SESSION["grupo_name"];return '';} 1317 endif; 1318 1319 1320 if (!function_exists('select_vai')) : 1264 1321 function select_vai($ct,$op){ 1265 1322 if($op=="list"){ … … 1313 1370 return false; 1314 1371 } 1372 endif; 1373 1374 1375 if (!function_exists('date_fb_br')) : 1315 1376 function date_fb_br($data_fb){ 1316 1377 if($data_fb){ … … 1327 1388 } 1328 1389 } 1390 endif; 1391 1392 1393 if (!function_exists('moeda_br')) : 1329 1394 function moeda_br($valor){ 1330 1395 if(!$valor) $valor = 0; … … 1332 1397 return $valor; 1333 1398 } 1334 1335 1399 endif; -
wp-idados-crud/trunk/readme.txt
r1475049 r1475080 38 38 Desenvolvendo 0.0.9 39 39 0.0.10 - Checagem de ABSPATH nos arquivos anexos. 40 0.0.11 - Usar function_exists - Evitar conflito de funções. 41 0.0.12 - Coreção de um erro gerado pelo update anterior. 40 42 41 43 == Upgrade Notice == -
wp-idados-crud/trunk/wp-idados-crud.php
r1473809 r1475080 4 4 Plugin URI: http://idados.com.br/plugin/wp-idados-crud 5 5 Description: Base necessária para fazer os módulos idados-xxxx funcionarem corretamente. 6 Version: 0.0. 96 Version: 0.0.11 7 7 Author: naldovieira 8 8 Author URI: http://idados.com.br 9 9 License: GPL2 10 Charge log: start10 Charge log: 0.0.12 - Coreção de um erro gerado pelo update anterior. 11 11 */ 12 12
Note: See TracChangeset
for help on using the changeset viewer.