Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 4.37 KB | None | 0 0
  1. diff -r /var/www/quiz/releases/20160209/public/angular.html /var/www/quiz/current/public/angular.html
  2. 51,76d50
  3. <     <script type="text/javascript">
  4. <       if (document.location.href.indexOf('optinlading') > 0) {
  5. <         // PAGE BEHAVIOR
  6. <              oi_non_submit = false;
  7. <              oi_no_offers_url = "{{vm.nexturl}}";
  8. <              
  9. <              // PAGE APPEARANCE
  10. <              oi_hosted_sbmt_btn = true;
  11. <            
  12. <              // DATA POINTS - TARGETING
  13. <              //oi_firstname = "John";
  14. <              //oi_gender = "M";
  15. <              //oi_dateofbirth = "01-20-1979";
  16. <              //oi_postalcode = "10121";
  17. <              
  18. <              // DATA POINTS - PROTECTED (SDA)
  19. <              oi_sda_email = "{{vm.user.email}}";
  20. <              oi_sda_lastname = "";
  21. <              oi_sda_address1 = "";
  22. <              oi_sda_homephone = "";
  23. <            
  24. <              // SUB ID
  25. <              oi_sub_id = "";
  26. <         //document.write('<script src="//www.clear-request.com/oi/second/25218808.js"></scr'+'ipt>');
  27. <       }
  28. <     </script>
  29. 86a61
  30. >    
  31. diff -r /var/www/quiz/releases/20160209/public/js/app.js /var/www/quiz/current/public/js/app.js
  32. 272a273,286
  33. >         .directive('script', function($parse, $rootScope, $compile) {
  34. >             return {
  35. >                 restrict: 'E',
  36. >                 terminal: true,
  37. >                 link: function(scope, element, attr) {
  38. >                     if (attr.ngSrc) {
  39. >                          var domElem = '<script src="'+attr.ngSrc+'" async defer></script>';
  40. >                          $(element).append($compile(domElem)(scope));
  41. >
  42. >
  43. >                     }
  44. >                 }
  45. >             };
  46. >         })
  47. 940c954
  48. <   console.log("[QuizDash] version 4");
  49. ---
  50. >   console.log("[QuizDash] version 3");
  51. 1186,1188c1200,1202
  52. <       //UserStore.reset();
  53. <       //$auth.logout();
  54. <       //$state.go('anon.landing');
  55. ---
  56. >       UserStore.reset();
  57. >       $auth.logout();
  58. >       $state.go('anon.landing');
  59. 1196,1198c1210,1212
  60. <       //UserStore.reset();
  61. <       //$auth.logout();
  62. <       //$state.go('anon.landing');
  63. ---
  64. >       UserStore.reset();
  65. >       $auth.logout();
  66. >       $state.go('anon.landing');
  67. Only in /var/www/quiz/current/public/js: optin.js
  68. Only in /var/www/quiz/current/public/js: OptInMaster.js
  69. diff -r /var/www/quiz/releases/20160209/public/views/login/login.html /var/www/quiz/current/public/views/login/login.html
  70. 8,9c8
  71. <       <!-- <div style="min-width: 350px;margin-right:30px;margin-left:-10px"><h3>The Best Free UK Trivia on the <nobr>Internet <img id="ukflag" src="/images/ukflag.png" alt="" title="" width="37" height="21" /></nobr></h3> -->
  72. <       <div><h3>The Best Free UK Trivia on the Internet <img id="ukflag" src="/images/ukflag.png" alt="" title="" width="37" height="21" /></h3>
  73. ---
  74. >       <div style="min-width: 350px;margin-right:30px;margin-left:-10px"><h3>The Best Free UK Trivia on the <nobr>Internet <img id="ukflag" src="/images/ukflag.png" alt="" title="" width="37" height="21" /></nobr></h3>
  75. diff -r /var/www/quiz/releases/20160209/public/views/optinlanding/optinlanding.html /var/www/quiz/current/public/views/optinlanding/optinlanding.html
  76. 9,32c9,10
  77. <                    <script type="text/javascript">
  78. <                    // PAGE BEHAVIOR
  79. <                    oi_non_submit = false;
  80. <                    oi_no_offers_url = "{{vm.nexturl}}";
  81. <                        
  82. <                    // PAGE APPEARANCE
  83. <                    oi_hosted_sbmt_btn = true;
  84. <                    
  85. <                    // DATA POINTS - TARGETING
  86. <                    //oi_firstname = "John";
  87. <                    //oi_gender = "M";
  88. <                    //oi_dateofbirth = "01-20-1979";
  89. <                    //oi_postalcode = "10121";
  90. <                    
  91. <                    // DATA POINTS - PROTECTED (SDA)
  92. <                    oi_sda_email = "{{vm.user.email}}";
  93. <                    oi_sda_lastname = "";
  94. <                    oi_sda_address1 = "";
  95. <                    oi_sda_homephone = "";
  96. <                    
  97. <                    // SUB ID
  98. <                    oi_sub_id = "";
  99. <                    </script>
  100. <                    
  101. ---
  102. >                    <input type="hidden" id="hidden_nexturl" value="{{vm.nexturl}}" />          
  103. >                    <input type="hidden" id="hidden_email" value="{{vm.user.email}}" />             
  104. 34,37c12
  105. <                    <script type="text/javascript">
  106. <                    debugger;
  107. <                        document.write('<script type="text/javascript" src="//www.clear-request.com/oi/second/25218808.js"></scr'+'ipt>');
  108. <                    </script>
  109. ---
  110. >                    <script type="application/javascript" ng-src="/js/optin.js"></script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement