Changeset 7944 for extensions/cl_conflit
- Timestamp:
- Nov 30, 2010, 9:28:28 AM (13 years ago)
- Location:
- extensions/cl_conflit
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/cl_conflit/conflit.inc.php
r7914 r7944 39 39 $template->set_filenames(array('cl_conflit_init'=>$my_path. "template/conflit.tpl" ) ); 40 40 $debug = isset($conf['debug']) ? $conf['debug'] : false ; 41 $cl_conflit = isset($conf['cl_conflit']) ? $conf['cl_conflit'] : 'true' ; 41 $cl_conflit_parametres = cl_conflit_Get_Options() ; 42 43 42 44 $theme=$user['theme']; 43 45 44 46 $template->assign( 45 47 array( 48 'cl_conflit_parametres' => $cl_conflit_parametres , 49 'cl_plugins' => $cl_plugin , 46 50 'cl_version' => $cl_plugin['version'] , 47 51 'name' => $cl_plugin['name'] , 48 'cl_conflit' => $cl_conflit ,52 49 53 'theme' => $theme , 50 54 'DEBUG' => $debug , … … 66 70 $my_path = dirname(__FILE__).'/'; 67 71 $debug = isset($conf['debug']) ? $conf['debug'] : false ; 68 $cl_conflit = isset($conf['cl_conflit']) ? $conf['cl_conflit'] : 'true' ;72 69 73 $theme=$user['theme']; 70 74 … … 74 78 'name' => $cl_plugin['name'] , 75 79 'ma_page' => $page['body_id'], 76 'cl_conflit' => $cl_conflit ,80 77 81 'theme' => $theme , 78 82 'DEBUG' => $debug , … … 102 106 $my_path = dirname(__FILE__).'/'; 103 107 $debug = isset($conf['debug']) ? $conf['debug'] : false ; 104 $cl_conflit = isset($conf['cl_conflit']) ? $conf['cl_conflit'] : 'true' ;108 105 109 $theme=$user['theme']; 106 110 … … 153 157 global $cl_conflit_parametres; 154 158 //============================================================================= 155 $cl_conflit_parametres->query =(isset($_POST['query'])) ? $_POST['query'] : ((isset($cl_conflit_parametres->query )) ? $cl_conflit_parametres->query : ' ' ) ;156 $cl_conflit_parametres->type=(isset($_POST['type']))? $_POST['type']: ((isset($cl_conflit_parametres->type)) ? $cl_conflit_parametres->type: ' ') ;159 $cl_conflit_parametres->query =(isset($_POST['query'])) ? $_POST['query'] : ((isset($cl_conflit_parametres->query )) ? $cl_conflit_parametres->query : 'Qt' ) ; 160 $cl_conflit_parametres->type=(isset($_POST['type']))? $_POST['type']: ((isset($cl_conflit_parametres->type)) ? $cl_conflit_parametres->type: 'Ty') ; 157 161 158 162 -
extensions/cl_conflit/include/affiche.php
r7914 r7944 4 4 5 5 $visible=(isset($visible))?$visible:false; 6 $cl_version=isset($cl_version)?$cl_version:"";7 6 $theme=$user['theme']; 8 7 … … 10 9 $template->assign( 11 10 array( 12 'cl_version' => $cl_version,13 'cl_plugin' => $cl_plugin,14 11 'CONFLIT_PATH' => CONFLIT_PATH, 15 12 'theme' => $theme, -
extensions/cl_conflit/js/conflit.js
r7932 r7944 118 118 119 119 } else if (retour.match(RegExp("luciano", "gi"))) { 120 $1 = $_;120 121 121 122 122 ret_element = jQuery().$Luciano(element, nc); … … 412 412 } 413 413 //====================== 414 //? bubble 415 Expression = new RegExp("\\$", "gi") 416 if (fn.match(Expression)) { 417 if (fn.match(RegExp("rateForm", "gi"))) { 418 419 states.push('Luciano'); 420 break; 421 } 422 } 423 // "window.fireEvent('domready')" 424 Expression = new RegExp("window.fireEvent", "gi") 425 if (fn.match(Expression)) { //luciano 426 // "window.fireEvent('domready')" 427 Expression = new RegExp("window.fireEvent..domready..", "gi") 428 if (fn.match(Expression)) { 429 states.push('Luciano'); 430 break; 431 } 432 } 433 if (fn.match(RegExp("(splat|buildFrameWork|photoNext)", "gi"))) { //luciano 434 435 states.push('Luciano'); 436 break; 437 } 438 //====================== 414 439 if (fn.match(RegExp("_footer|ie_ready|makeDraggable|droppables", "gi"))) { 415 440 … … 439 464 break; 440 465 } 441 //? bubble 442 Expression = new RegExp("\\$", "gi") 443 if (fn.match(Expression)) { 444 if (fn.match(RegExp("rateForm", "gi"))) { 445 446 states.push('Luciano'); 447 break; 448 } 449 } 450 // "window.fireEvent('domready')" 451 Expression = new RegExp("window.fireEvent", "gi") 452 if (fn.match(Expression)) { //luciano 453 // "window.fireEvent('domready')" 454 Expression = new RegExp("window.fireEvent..domready..", "gi") 455 if (fn.match(Expression)) { 456 states.push('Luciano'); 457 break; 458 } 459 } 460 if (fn.match(RegExp("(splat|buildFrameWork|photoNext)", "gi"))) { //luciano 461 462 states.push('Luciano'); 463 break; 464 } 466 465 467 466 468 if (all_functions.length > 50) … … 556 558 })(jQuery); 557 559 558 560 561 562 $_0= $; 559 563 function $(element, nc0) { 560 564 a = conflit(element, nc0); … … 586 590 587 591 } 592 593 588 594 $_ = $; 589 595 function save_framework(page) { … … 594 600 } 595 601 596 $_ = $;602 $_2 = $; 597 603 return 598 604 -
extensions/cl_conflit/template/conflit.tpl
r7914 r7944 10 10 var cl_version = '{$cl_version}'; 11 11 var cl_plugin = '{$name}'; 12 var cl_query = '{$cl_conflit_parametres->query}'; 13 var cl_type = '{$cl_conflit_parametres->type}'; 14 var cl_plugins=new Array(); 15 {if $DEBUG} 16 {if not empty($cl_plugins )} 17 {foreach from=$cl_plugins item=cl_plug } 18 value='{$cl_plug}';cl_plugins.push(value); 19 {/foreach} 20 {/if} 21 {/if} 12 22 </script>
Note: See TracChangeset
for help on using the changeset viewer.