Changeset 2058695
- Timestamp:
- 03/28/2019 07:32:42 AM (7 years ago)
- Location:
- sewol-count/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
sewol-count.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sewol-count/trunk/readme.txt
r2057285 r2058695 70 70 = 1.1.2 = 71 71 * adding color picker in font, background color 72 73 = 1.1.3 = 74 * adding link of sewol information website -
sewol-count/trunk/sewol-count.php
r2057285 r2058695 4 4 Plugin URI: http://parkyong.com 5 5 Description: count day after Sewol Ferry Disaster 6 Version: 1.1. 26 Version: 1.1.3 7 7 Author: Park Yong 8 8 Author URI: http://parkyong.com … … 103 103 104 104 extract($args); 105 echo '<aside id="sewol" class="widget">';106 105 107 106 $title = apply_filters('widget_title', $instance['title']); … … 109 108 $backGroundColor = apply_filters('widget_backGroundColor', $instance['backGroundColor']); 110 109 111 if ( !empty( $title ) ) {110 if ( !empty( $title ) ){ 112 111 echo $before_title . $title . $after_title; 113 112 } 114 113 115 $now = time(); 116 $dday = mktime(0,0,0,4,16,2014); 117 $xday = ceil(($now-$dday)/(60*60*24)); 118 echo "<p id='sewol' style='color:$fontColor; background-color:$backGroundColor'>" . $xday . "</p>"; 114 $now = time(); 115 $dday = mktime(0,0,0,4,16,2014); 116 $xday = ceil(($now-$dday)/(60*60*24)); 117 echo "<aside id='sewol' class='widget' style='background-color:$backGroundColor'>"; 118 echo "<p id='sewol' style='color:$fontColor;'>" . $xday . "</p>"; 119 echo "<a href='http://socialdisasterscommission.go.kr/page/index2.jsp' style='color:$fontColor' target='_blank'>세월호 더 알아보기</a>"; 119 120 echo "</aside>"; 120 121 }
Note: See TracChangeset
for help on using the changeset viewer.