Advertisement
Guest User

Diff

a guest
Apr 21st, 2015
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 12.66 KB | None | 0 0
  1. Anthonys-MacBook-Pro:~ anthonykopczynski$ diff evolve/footer.php-bak evolve/footer.php
  2. 1,139c1,139
  3. < <?php
  4. < /**
  5. <  * Template: Footer.php
  6. <  *
  7. <  * @package EvoLve
  8. <  * @subpackage Template
  9. <  */
  10. < ?>
  11. <       <!--END #content-->
  12. <       </div>
  13. <
  14. <       <!--END .container-->
  15. <   </div>
  16. <
  17. <
  18. <
  19. <           <!--END .content-->
  20. <   </div>
  21. <
  22. <
  23. <
  24. <
  25. <      <!--BEGIN .content-bottom-->
  26. <   <div class="content-bottom">
  27. <
  28. <           <!--END .content-bottom-->
  29. <   </div>
  30. <
  31. <       <!--BEGIN .footer-->
  32. <       <div class="footer">
  33. <
  34. <
  35. <       <!--BEGIN .container-->
  36. <   <div class="container container-footer">
  37. <
  38. <   <?php $evolve_widgets_footer = evolve_get_option('evl_widgets_num','disable');
  39. <
  40. < // if Footer widgets exist
  41. <
  42. <   if (($evolve_widgets_footer  == "") || ($evolve_widgets_footer  == "disable"))
  43. < { } else { ?>
  44. <
  45. < <?php
  46. <
  47. < $evolve_footer_css = '';
  48. <
  49. < if ($evolve_widgets_footer == "one") { $evolve_footer_css = 'widget-one-column col-sm-6'; }
  50. <
  51. < if ($evolve_widgets_footer == "two") { $evolve_footer_css = 'col-sm-6 col-md-6'; }
  52. <
  53. < if ($evolve_widgets_footer == "three") { $evolve_footer_css = 'col-sm-6 col-md-4'; }
  54. <
  55. < if ($evolve_widgets_footer == "four") { $evolve_footer_css = 'col-sm-6 col-md-3'; }
  56. <
  57. < ?>
  58. <
  59. <
  60. <   <div class="widgets-back-inside row">
  61. <
  62. <     <div class="<?php echo $evolve_footer_css; ?>">
  63. <       <?php   if ( !dynamic_sidebar( 'footer-1' ) ) : ?>
  64. <       <?php endif; ?>
  65. <       </div>
  66. <
  67. <      <div class="<?php echo $evolve_footer_css; ?>">
  68. <       <?php   if ( !dynamic_sidebar( 'footer-2' ) ) : ?>
  69. <       <?php endif; ?>
  70. <       </div>
  71. <
  72. <     <div class="<?php echo $evolve_footer_css; ?>">
  73. <       <?php   if ( !dynamic_sidebar( 'footer-3' ) ) : ?>
  74. <       <?php endif; ?>
  75. <       </div>
  76. <
  77. <
  78. <     <div class="<?php echo $evolve_footer_css; ?>">
  79. <       <?php   if ( !dynamic_sidebar( 'footer-4' ) ) : ?>
  80. <       <?php endif; ?>
  81. <       </div>
  82. <
  83. <       </div>
  84. <
  85. <
  86. <
  87. <
  88. <     <?php } ?>
  89. <
  90. <
  91. < <div class="clearfix"></div>
  92. <
  93. <   <?php $footer_content = evolve_get_option('evl_footer_content','<p id=\"copyright\"><span class=\"credits\"><a href=\"http://theme4press.com/evolve-multipurpose-wordpress-theme/\">evolve</a> theme by Theme4Press&nbsp;&nbsp;&bull;&nbsp;&nbsp;Powered by <a href=\"http://wordpress.org\">WordPress</a></span></p>');
  94. <  if ($footer_content === false) $footer_content = '';
  95. <  echo do_shortcode($footer_content);
  96. < ?>
  97. <
  98. <
  99. <
  100. <
  101. <
  102. <
  103. <
  104. <           <!-- Theme Hook -->
  105. <
  106. <       <?php evolve_footer_hooks(); ?>
  107. <
  108. <
  109. <
  110. <               <!--END .container-->
  111. <   </div>
  112. <
  113. <
  114. <
  115. <
  116. <
  117. <       <!--END .footer-->
  118. <       </div>
  119. <
  120. < <!--END body-->
  121. <
  122. <
  123. <
  124. <   <?php $evolve_pos_button = evolve_get_option('evl_pos_button','right');
  125. <   if ($evolve_pos_button == "disable" || $evolve_pos_button == "") { ?>
  126. <
  127. <    <?php } else { ?>
  128. <
  129. <      <div id="backtotop"><a href="#top" id="top-link"></a></div>
  130. <
  131. < <?php } ?>
  132. <
  133. < <?php $evolve_custom_background = evolve_get_option('evl_custom_background','0'); if ($evolve_custom_background == "1") { ?>
  134. < </div>
  135. < <?php } ?>
  136. <
  137. < <?php wp_footer(); ?>
  138. <
  139. < </body>
  140. < <!--END html(kthxbye)-->
  141. < </html>
  142. ---
  143. > <?php
  144. > /**
  145. >  * Template: Footer.php
  146. >  *
  147. >  * @package EvoLve
  148. >  * @subpackage Template
  149. >  */
  150. > ?>
  151. >       <!--END #content-->
  152. >       </div>
  153. >
  154. >       <!--END .container-->
  155. >   </div>
  156. >
  157. >
  158. >
  159. >           <!--END .content-->
  160. >   </div>
  161. >
  162. >
  163. >
  164. >
  165. >      <!--BEGIN .content-bottom-->
  166. >   <div class="content-bottom">
  167. >
  168. >           <!--END .content-bottom-->
  169. >   </div>
  170. >
  171. >       <!--BEGIN .footer-->
  172. >       <div class="footer">
  173. >
  174. >
  175. >       <!--BEGIN .container-->
  176. >   <div class="container container-footer">
  177. >
  178. >   <?php $evolve_widgets_footer = evolve_get_option('evl_widgets_num','disable');
  179. >
  180. > // if Footer widgets exist
  181. >
  182. >   if (($evolve_widgets_footer  == "") || ($evolve_widgets_footer  == "disable"))
  183. > { } else { ?>
  184. >
  185. > <?php
  186. >
  187. > $evolve_footer_css = '';
  188. >
  189. > if ($evolve_widgets_footer == "one") { $evolve_footer_css = 'widget-one-column col-sm-6'; }
  190. >
  191. > if ($evolve_widgets_footer == "two") { $evolve_footer_css = 'col-sm-6 col-md-6'; }
  192. >
  193. > if ($evolve_widgets_footer == "three") { $evolve_footer_css = 'col-sm-6 col-md-4'; }
  194. >
  195. > if ($evolve_widgets_footer == "four") { $evolve_footer_css = 'col-sm-6 col-md-3'; }
  196. >
  197. > ?>
  198. >
  199. >
  200. >   <div class="widgets-back-inside row">
  201. >
  202. >     <div class="<?php echo $evolve_footer_css; ?>">
  203. >       <?php   if ( !dynamic_sidebar( 'footer-1' ) ) : ?>
  204. >       <?php endif; ?>
  205. >       </div>
  206. >
  207. >      <div class="<?php echo $evolve_footer_css; ?>">
  208. >       <?php   if ( !dynamic_sidebar( 'footer-2' ) ) : ?>
  209. >       <?php endif; ?>
  210. >       </div>
  211. >
  212. >     <div class="<?php echo $evolve_footer_css; ?>">
  213. >       <?php   if ( !dynamic_sidebar( 'footer-3' ) ) : ?>
  214. >       <?php endif; ?>
  215. >       </div>
  216. >
  217. >
  218. >     <div class="<?php echo $evolve_footer_css; ?>">
  219. >       <?php   if ( !dynamic_sidebar( 'footer-4' ) ) : ?>
  220. >       <?php endif; ?>
  221. >       </div>
  222. >
  223. >       </div>
  224. >
  225. >
  226. >
  227. >
  228. >     <?php } ?>
  229. >
  230. >
  231. > <div class="clearfix"></div>
  232. >
  233. >   <?php $footer_content = evolve_get_option('evl_footer_content','<p id=\"copyright\"><span class=\"credits\"><a href=\"http://theme4press.com/evolve-multipurpose-wordpress-theme/\">evolve</a> theme by Theme4Press&nbsp;&nbsp;&bull;&nbsp;&nbsp;Powered by <a href=\"http://wordpress.org\">WordPress</a></span></p>');
  234. >  if ($footer_content === false) $footer_content = '';
  235. >  echo do_shortcode($footer_content);
  236. > ?>
  237. >
  238. >
  239. >
  240. >
  241. >
  242. >
  243. >
  244. >           <!-- Theme Hook -->
  245. >
  246. >       <?php evolve_footer_hooks(); ?>
  247. >
  248. >
  249. >
  250. >               <!--END .container-->
  251. >   </div>
  252. >
  253. >
  254. >
  255. >
  256. >
  257. >       <!--END .footer-->
  258. >       </div>
  259. >
  260. > <!--END body-->
  261. >
  262. >
  263. >
  264. >   <?php $evolve_pos_button = evolve_get_option('evl_pos_button','right');
  265. >   if ($evolve_pos_button == "disable" || $evolve_pos_button == "") { ?>
  266. >
  267. >    <?php } else { ?>
  268. >
  269. >      <div id="backtotop"><a href="#top" id="top-link"></a></div>
  270. >
  271. > <?php } ?>
  272. >
  273. > <?php $evolve_custom_background = evolve_get_option('evl_custom_background','0'); if ($evolve_custom_background == "1") { ?>
  274. > </div>
  275. > <?php } ?>
  276. >
  277. > <?php wp_footer(); ?>
  278. >
  279. > </body>
  280. > <!--END html(kthxbye)-->
  281. > </html>
  282. \ No newline at end of file
  283. Anthonys-MacBook-Pro:~ anthonykopczynski$ diff evolve/footer.php-bak evolve/footer.php |grep footer
  284. <       <!--BEGIN .footer-->
  285. <       <div class="footer">
  286. <   <div class="container container-footer">
  287. <   <?php $evolve_widgets_footer = evolve_get_option('evl_widgets_num','disable');
  288. <   if (($evolve_widgets_footer  == "") || ($evolve_widgets_footer  == "disable"))
  289. < $evolve_footer_css = '';
  290. < if ($evolve_widgets_footer == "one") { $evolve_footer_css = 'widget-one-column col-sm-6'; }
  291. < if ($evolve_widgets_footer == "two") { $evolve_footer_css = 'col-sm-6 col-md-6'; }
  292. < if ($evolve_widgets_footer == "three") { $evolve_footer_css = 'col-sm-6 col-md-4'; }
  293. < if ($evolve_widgets_footer == "four") { $evolve_footer_css = 'col-sm-6 col-md-3'; }
  294. <     <div class="<?php echo $evolve_footer_css; ?>">
  295. <       <?php   if ( !dynamic_sidebar( 'footer-1' ) ) : ?>
  296. <      <div class="<?php echo $evolve_footer_css; ?>">
  297. <       <?php   if ( !dynamic_sidebar( 'footer-2' ) ) : ?>
  298. <     <div class="<?php echo $evolve_footer_css; ?>">
  299. <       <?php   if ( !dynamic_sidebar( 'footer-3' ) ) : ?>
  300. <     <div class="<?php echo $evolve_footer_css; ?>">
  301. <       <?php   if ( !dynamic_sidebar( 'footer-4' ) ) : ?>
  302. <   <?php $footer_content = evolve_get_option('evl_footer_content','<p id=\"copyright\"><span class=\"credits\"><a href=\"http://theme4press.com/evolve-multipurpose-wordpress-theme/\">evolve</a> theme by Theme4Press&nbsp;&nbsp;&bull;&nbsp;&nbsp;Powered by <a href=\"http://wordpress.org\">WordPress</a></span></p>');
  303. <  if ($footer_content === false) $footer_content = '';
  304. <  echo do_shortcode($footer_content);
  305. <       <?php evolve_footer_hooks(); ?>
  306. <       <!--END .footer-->
  307. < <?php wp_footer(); ?>
  308. >       <!--BEGIN .footer-->
  309. >       <div class="footer">
  310. >   <div class="container container-footer">
  311. >   <?php $evolve_widgets_footer = evolve_get_option('evl_widgets_num','disable');
  312. >   if (($evolve_widgets_footer  == "") || ($evolve_widgets_footer  == "disable"))
  313. > $evolve_footer_css = '';
  314. > if ($evolve_widgets_footer == "one") { $evolve_footer_css = 'widget-one-column col-sm-6'; }
  315. > if ($evolve_widgets_footer == "two") { $evolve_footer_css = 'col-sm-6 col-md-6'; }
  316. > if ($evolve_widgets_footer == "three") { $evolve_footer_css = 'col-sm-6 col-md-4'; }
  317. > if ($evolve_widgets_footer == "four") { $evolve_footer_css = 'col-sm-6 col-md-3'; }
  318. >     <div class="<?php echo $evolve_footer_css; ?>">
  319. >       <?php   if ( !dynamic_sidebar( 'footer-1' ) ) : ?>
  320. >      <div class="<?php echo $evolve_footer_css; ?>">
  321. >       <?php   if ( !dynamic_sidebar( 'footer-2' ) ) : ?>
  322. >     <div class="<?php echo $evolve_footer_css; ?>">
  323. >       <?php   if ( !dynamic_sidebar( 'footer-3' ) ) : ?>
  324. >     <div class="<?php echo $evolve_footer_css; ?>">
  325. >       <?php   if ( !dynamic_sidebar( 'footer-4' ) ) : ?>
  326. >   <?php $footer_content = evolve_get_option('evl_footer_content','<p id=\"copyright\"><span class=\"credits\"><a href=\"http://theme4press.com/evolve-multipurpose-wordpress-theme/\">evolve</a> theme by Theme4Press&nbsp;&nbsp;&bull;&nbsp;&nbsp;Powered by <a href=\"http://wordpress.org\">WordPress</a></span></p>');
  327. >  if ($footer_content === false) $footer_content = '';
  328. >  echo do_shortcode($footer_content);
  329. >       <?php evolve_footer_hooks(); ?>
  330. >       <!--END .footer-->
  331. > <?php wp_footer(); ?>
  332. Anthonys-MacBook-Pro:~ anthonykopczynski$ clear
  333. Anthonys-MacBook-Pro:~ anthonykopczynski$ diff evolve/footer.php-bak evolve/footer.php |grep footer
  334. <       <!--BEGIN .footer-->
  335. <       <div class="footer">
  336. <   <div class="container container-footer">
  337. <   <?php $evolve_widgets_footer = evolve_get_option('evl_widgets_num','disable');
  338. <   if (($evolve_widgets_footer  == "") || ($evolve_widgets_footer  == "disable"))
  339. < $evolve_footer_css = '';
  340. < if ($evolve_widgets_footer == "one") { $evolve_footer_css = 'widget-one-column col-sm-6'; }
  341. < if ($evolve_widgets_footer == "two") { $evolve_footer_css = 'col-sm-6 col-md-6'; }
  342. < if ($evolve_widgets_footer == "three") { $evolve_footer_css = 'col-sm-6 col-md-4'; }
  343. < if ($evolve_widgets_footer == "four") { $evolve_footer_css = 'col-sm-6 col-md-3'; }
  344. <     <div class="<?php echo $evolve_footer_css; ?>">
  345. <       <?php   if ( !dynamic_sidebar( 'footer-1' ) ) : ?>
  346. <      <div class="<?php echo $evolve_footer_css; ?>">
  347. <       <?php   if ( !dynamic_sidebar( 'footer-2' ) ) : ?>
  348. <     <div class="<?php echo $evolve_footer_css; ?>">
  349. <       <?php   if ( !dynamic_sidebar( 'footer-3' ) ) : ?>
  350. <     <div class="<?php echo $evolve_footer_css; ?>">
  351. <       <?php   if ( !dynamic_sidebar( 'footer-4' ) ) : ?>
  352. <   <?php $footer_content = evolve_get_option('evl_footer_content','<p id=\"copyright\"><span class=\"credits\"><a href=\"http://theme4press.com/evolve-multipurpose-wordpress-theme/\">evolve</a> theme by Theme4Press&nbsp;&nbsp;&bull;&nbsp;&nbsp;Powered by <a href=\"http://wordpress.org\">WordPress</a></span></p>');
  353. <  if ($footer_content === false) $footer_content = '';
  354. <  echo do_shortcode($footer_content);
  355. <       <?php evolve_footer_hooks(); ?>
  356. <       <!--END .footer-->
  357. < <?php wp_footer(); ?>
  358. >       <!--BEGIN .footer-->
  359. >       <div class="footer">
  360. >   <div class="container container-footer">
  361. >   <?php $evolve_widgets_footer = evolve_get_option('evl_widgets_num','disable');
  362. >   if (($evolve_widgets_footer  == "") || ($evolve_widgets_footer  == "disable"))
  363. > $evolve_footer_css = '';
  364. > if ($evolve_widgets_footer == "one") { $evolve_footer_css = 'widget-one-column col-sm-6'; }
  365. > if ($evolve_widgets_footer == "two") { $evolve_footer_css = 'col-sm-6 col-md-6'; }
  366. > if ($evolve_widgets_footer == "three") { $evolve_footer_css = 'col-sm-6 col-md-4'; }
  367. > if ($evolve_widgets_footer == "four") { $evolve_footer_css = 'col-sm-6 col-md-3'; }
  368. >     <div class="<?php echo $evolve_footer_css; ?>">
  369. >       <?php   if ( !dynamic_sidebar( 'footer-1' ) ) : ?>
  370. >      <div class="<?php echo $evolve_footer_css; ?>">
  371. >       <?php   if ( !dynamic_sidebar( 'footer-2' ) ) : ?>
  372. >     <div class="<?php echo $evolve_footer_css; ?>">
  373. >       <?php   if ( !dynamic_sidebar( 'footer-3' ) ) : ?>
  374. >     <div class="<?php echo $evolve_footer_css; ?>">
  375. >       <?php   if ( !dynamic_sidebar( 'footer-4' ) ) : ?>
  376. >   <?php $footer_content = evolve_get_option('evl_footer_content','<p id=\"copyright\"><span class=\"credits\"><a href=\"http://theme4press.com/evolve-multipurpose-wordpress-theme/\">evolve</a> theme by Theme4Press&nbsp;&nbsp;&bull;&nbsp;&nbsp;Powered by <a href=\"http://wordpress.org\">WordPress</a></span></p>');
  377. >  if ($footer_content === false) $footer_content = '';
  378. >  echo do_shortcode($footer_content);
  379. >       <?php evolve_footer_hooks(); ?>
  380. >       <!--END .footer-->
  381. > <?php wp_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement