Changeset 1392585
- Timestamp:
- 04/12/2016 12:36:20 AM (10 years ago)
- Location:
- hot-corners/trunk
- Files:
-
- 2 edited
-
_hc-output.php (modified) (8 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hot-corners/trunk/_hc-output.php
r1310856 r1392585 10 10 11 11 $admin_bar = get_user_meta( $current_user_id, 'show_admin_bar_front', true ); 12 // echo '<h1>ADMIN BAR: '.$admin_bar.'</h1>';13 12 if( $admin_bar == 'true' ){ // problemoooo 14 13 $corners_enabled = false; 15 echo '<h1>ADMIN BAR: '.gettype($admin_bar).'</h1>';16 14 } else { 17 15 $corners_enabled = true; … … 60 58 $corners = get_option( 'wphc-corners' ); 61 59 60 62 61 ?> 62 <?php if( isset($corners['top_left']) ) : ?> 63 63 <div class="wphc wphc-hover-area tl"> 64 64 <div class="radar"></div> … … 67 67 <div class="wphc-items wphc-hide tl"> 68 68 <?php 69 if( count( @$corners['top_left']) > 0 ) {69 if( count($corners['top_left']) > 0 ) { 70 70 foreach( $corners['top_left'] as $c ) { 71 71 echo $links[$c]; … … 75 75 </div> 76 76 </div> 77 <?php endif; ?> 78 <?php if( isset($corners['top_right']) ) : ?> 77 79 <div class="wphc wphc-hover-area tr"> 78 80 <div class="radar"></div> … … 81 83 <div class="wphc-items wphc-hide tr"> 82 84 <?php 83 if( count( @$corners['top_right']) > 0 ) {85 if( count($corners['top_right']) > 0 ) { 84 86 foreach( $corners['top_right'] as $c ) { 85 87 echo $links[$c]; … … 89 91 </div> 90 92 </div> 93 <?php endif; ?> 94 <?php if( isset($corners['bottom_left']) ) : ?> 91 95 <div class="wphc wphc-hover-area bl"> 92 96 <div class="radar"></div> … … 103 107 </div> 104 108 </div> 109 <?php endif; ?> 110 <?php if( isset($corners['bottom_right']) ) : ?> 105 111 <div class="wphc wphc-hover-area br"> 106 112 <div class="radar"></div> … … 117 123 </div> 118 124 </div> 125 <?php endif; ?> 119 126 <?php 120 127 } // End if user logged in -
hot-corners/trunk/readme.txt
r1310856 r1392585 27 27 == Frequently Asked Questions == 28 28 29 NA 29 30 30 31 31 == Screenshots == … … 39 39 == Changelog == 40 40 41 NA 41 42 42 43 43 == Upgrade Notice == 44 44 45 NA46 45 47 == Arbitrary section ==48 46 49 NA
Note: See TracChangeset
for help on using the changeset viewer.