变更集1406041
时间戳: 2016年4月27日11:16:25 PM ( 8年 (之前) 位置: ampedsense adsense分裂测试仪 文件夹: -
添加了41个 1个已删除 3已编辑
-
标签/4.61 (新增) -
tags/4.61/Mobile_Detect_ForAS.php (新增) -
标签/4.61/amped-sense.php (新增) -
标签/4.61/main.php (新增) -
标签/4.61/readme.txt (新增) -
tags/4.61/resources(标签/4.61/资源) (新增) -
标签/4.61/resources/arrow.gif (新增) -
标签/4.61/resources/as_style.css (新增) -
标签/4.61资源/as-wrapped-botstrap--3.0.3.css (新增) -
tags/4.61/resources/client.max.js (新增) -
tags/4.61/resources/copy.png (新增) -
标签/4.61/resources/cross.gif (新增) -
tags/4.61/resources/delete.png (新增) -
标签/4.61/resources/edit.png (新增) -
tags/4.61/resources/hs.png (新增) -
tags/4.61/resources/hv.png (新增) -
tags/4.61/resources/icon.png (新增) -
tags/4.61/resources/jquery-ui-smootheness-1.10.4.css (新增) -
tags/4.61/resources/jscolor.js (新增) -
tags/4.61/resources/logo.png (新增) -
tags/4.61/resources/notes.png (新增) -
tags/4.61/resources/notesw.png (新增) -
tags/4.61/resources/pause.png (新增) -
tags/4.61/resources/resume.png (新增) -
标签/4.61/resources/ui-bg_flat_0_aaaaaa_40x100.png (新增) -
标签/4.61/resources/ui-bg_flat_75_fffff_40x100.png (新增) -
标签/4.61/resources/ui-bg_glass_55_fbf9ee_1x400.png (新增) -
tags/4.61/resources/ui-bg_glass_65_fffff1x400.png (新增) -
标签/4.61/resources/ui-bg_glass_75_dadada_1x400.png (新增) -
标签/4.61/resources/ui-bg_glass_75_e6e6e6-1x400.png (新增) -
标签/4.61/resources/ui-bg_glass_95_fef1ec_1x400.png (新增) -
tags/4.61/resources/ui-bg_highlight-soft_75_cccccc_1x100.png (新增) -
tags/4.61/resources/ui-icons_222222_256x240.png (新增) -
标签/4.61/resources/ui-icons_2e83ff_256x240.png (新增) -
标签/4.61/resources/ui-icons_454545_256x240.png (新增) -
tags/4.61/resources/ui-icons_888888_256x240.png (新增) -
tags/4.61/resources/ui-icons_cd0a0a_256x240.png (新增) -
tags/4.61/segments.php (新增) -
标签/4.61/settings.php (新增) -
中继/放大器-传感器.php (已修改) ( 5个差异 ) -
干线/干线.php (已修改) ( 6个差异 ) -
主干/自述.txt (已修改) ( 2个差异 ) -
主干/资源/copyw.png (已删除) -
trunk/resources/notes.png (新增) -
trunk/resources/notesw.png (新增)
图例:
未修改 补充 远离的
-
ampedsense-adsense-split-tester/trunk/amped-sense.php 1380568元 1406041兰特 三 三 插件名称:AmpedSense-AdSense拆分测试仪 4 4 插件URI: http://www.ampedsense.com/ 5 版本:4.6 0 5 版本:4.6 1 6 6 作者:Shane Labs 7 7 作者URI: 网址:http://www.shanelabs.com … … 50 50 [“启动时”] 51 51 [活动]={1/0} 52 [注释] 52 53 [广告][0] 53 54 ['自定义']=no/resp/html … … 458 459 } 459 460 } 461 //$jsondSegments=json_encode($settingsDump,json_FORCE_OBJECT); 462 //以上版本需要PHP 5.3或更高版本,所以让我们用老方法来做,并支持更多人 463 //不能使它完全成为一个数组,因为关联数组是JS中的对象,所以至少让我们确保段的第一层是对象 464 $jsondSegments=json_encode((对象)$settingsDump); 460 465 461 466 //获取有关此帖子的信息 … … 470 475 <脚本> 471 476 var AmpedSense={}; 472 AmpedSense.segments=<? php回波 json_encode($settingsDump,json_FORCE_OBJECT) ; ?>; 477 AmpedSense.segments=<? php回波 $jsondSegments($jsond段) ; ?>; 473 478 AmpedSense.adsensepublisherid='<? php echo$this->settings['adsensepublisherid'];?>'; 474 479 AmpedSense.is_page=<? php回声(is_page())?' 真':'假';?>; … … 908 913 $toreturn=“广告配方已恢复。”; 909 914 } 915 elseif($action=='updatenotes') 916 { 917 //验证nonce 918 check_admin_referer($action); 919 920 $segmenti=$_POST['as_segmenti']; 921 $recipei=$_POST['as_recipei']; 922 $notes=$_POST['as_recipenotes']; 923 //echo“S/R:”$ 第节$ 雷公藤; 出口; 924 //只更新注释 925 $this->设置['segments'][$segmenti]['recipes'][[$recipei]['notes']=$notes; 926 927 $this->settings_dirty=true; 928 $toreturn=“注释已更新。”; 929 } 910 930 elseif($action==“报告日期”) 911 931 { -
ampedsense-adsense-split-tester/trunk/main.php 1384687元 1406041兰特 4 4 5 5 全局$amped_sense; 6 $as_page=“”; 7 6 8 7 //如果表单已提交,则处理操作 … … 12 11 if(!空($_REQUEST['as_action']) 13 12 { 14 $message=$amped_sense->handle_action($_REQUEST['as_action'] ,$as_page ); 13 $message=$amped_sense->handle_action($_REQUEST['as_action'] ); 15 14 } 16 15 } … … 368 367 { 369 368 $previewurl=$amped_sense->get_segment_preview_url($i)。 "?".$ amped_sense->get_recipe_preview_qs($recipe); 369 $safenotes=(isset($recipe['notes'))? rawurlencode($recipe['notes']):''; 370 $notestitle=($safenotes==“”)?' 注释':'注释:'.htmlentities($recipe['Notes']); 370 371 echo“<tr>”; 371 372 //操作 … … 373 374 echo“<a href='”.wp_nonce_url(管理员url('admin.php?page=ampedsense-main')。 “&as_action=deleterecipe&as_segmenti=$i&as_recipei=$j”,“deleterecip”)。 “'title='Delete'onClick=\”return confirm('确定要删除吗?')\“><img src='”$ amped_sense->get_admin_dir()。 “resources/delete.png'/></a>”; 374 375 echo“<a href='”.admin_url('admin.php?page=ampedsense-main')。 “&as_editcipe=1&as_segmenti=$i&as_recipe=$j'title='Edit'onClick=\”return confirm('开始后编辑测试可能会影响结果的准确性。是否确实要编辑?')\”><img src='“$ amped_sense->get_admin_dir()。 “resources/edit.png'/></a>”; 375 echo“<a href='javascript:initClone($i,$j)'title='Duplicate'><img src='”$ amped_sense->get_admin_dir()。 “resources/copy.png'/></a>”; 376 echo“<a href='#'onClick='return initClone($i,$j)'title='重复'><img src='”$ amped_sense->get_admin_dir()。 “resources/copy.png'/></a>”; 377 echo“<a href='#'onClick='返回showNotes($i,$j,\”$safenotes\“)'title='$notestitle'><img src='”$ amped_sense->get_admin_dir()。 “resources/notes.png'/></a>”; 376 378 if($recipe['active'])echo“<a href='”.wpnonce_url(adminurl('admin.php?page=ampedsense-main')。 “&as_action=pauserecipe&as_segmenti=$i&as_recipei=$j”,“pauserecipe”)。 “'title='暂停'><img src='”$ amped_sense->get_admin_dir()。 “resources/pause.png’/></a>”; 377 379 else echo“<a href='”.wp_nonce_url(管理员url('admin.php?page=ampedsense-main')。 “&as_action=resumerecipe&as_segmenti=$i&as_recipei=$j”,“resumercipe”)。 “'title='简历'><img src='”$ amped_sense->get_admin_dir()。 “resources/resume.png’/></a>”; … … 451 453 <input type='hidden'name='page'value='apdesense-main'> 452 454 <input type='hidden'name='as_copycrecipe'value='1'> 453 <input type='hidden'id='as_segmenti 'name='as_segmenti'value=''> 454 <输入type='hidden'id='as_recipei “name='as_recipei'value=''”> 455 <选择id='as_tosegmenti 'name='as_tosegmenti'> 455 <input type='hidden'id='as_segmenti>输入类型='hidden'id='as_segmenti _克隆 'name='as_segmenti'value=''> 456 <输入type='hidden'id='as_recipei _克隆 “name='as_recipei'value=''”> 457 <选择id='as_tosegmenti _克隆 'name='as_tosegmenti'> 456 458 <? php(电话) 457 459 //对于每个片段,列出食谱及其操作方法 … … 473 475 函数initClone(segmenti,recipei) 474 476 { 475 jQuery('#as_segmenti ').val(段); 476 jQuery('#as_recipei ').val(配方); 477 jQuery('#as_tosegnti ').val(segmenti)// 初始化到同一段 477 jQuery('#as_segmenti _克隆 ').val(段); 478 jQuery('#as_recipei _克隆 ').val(配方); 479 jQuery('#as_tosegnti _克隆 ').val(段)// 初始化到同一段 478 480 jQuery(“#clonedialog”).dialog(); 481 返回false; 482 } 483 </script> 484 <? php(电话) 485 //食谱注释的模式 486 //这是在“ampedsense”div之外进行的,因此必须重新添加类才能使引导生效 487 ?> 488 <div id=“notesdialog”title=“配方注释”class='amedsense'style='display:none'> 489 <p>食谱注释:</p> 490 <form method='post'action='<? php echo admin_url('admin.php?page=ampedsense-main');?>'> 491 <input-type='hidden'名称='as_action'值='updatenotes'> 492 <? php wp_nonce_field('updatenotes');?> 493 <input type='hidden'id='as_segmenti_notes'name='as_segmenti'value=''> 494 <input type='hidden'id='as_recipei_notes'name='as_ecipei'value=''> 495 <textarea id='as_recipenotes'name='as_ecipenotes'行=10列=55> 496 </text区域> 497 <br/><br/> 498 保存注释 499 </form> 500 </div> 501 <脚本> 502 函数showNotes(segmenti、recipei、notes) 503 { 504 jQuery('#as_segmenti_notes').val(segmenti); 505 jQuery('#as_recipei_notes').val(recipei); 506 jQuery('#as_recipenotes').val(decodeURIComponent(notes)); 507 jQuery(“#notesdialog”).对话框({width:'500px'}); 508 返回false; 479 509 } 480 510 </script> -
ampedsense-adsense-split-tester/trunk/readme.txt 1384687元 1406041兰特 4 4 要求至少:3.6 5 5 测试达到:4.5 6 稳定标签:4.6 0 6 稳定标签:4.6 1 7 7 许可证:GPLv2或更高版本 8 8 许可证URI: http://www.gnu.org/licenses/gpl-2.0.html … … 77 77 78 78 ==变更日志== 79 80 = 4.61 = 81 *添加了注释食谱的功能 82 *增加了对PHP 5.2的支持 79 83 80 84 = 4.60 =