Plugin Directory

Changeset 2058695


Ignore:
Timestamp:
03/28/2019 07:32:42 AM (7 years ago)
Author:
pangol
Message:

adding the link

Location:
sewol-count/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sewol-count/trunk/readme.txt

    r2057285 r2058695  
    7070= 1.1.2 =
    7171* 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  
    44Plugin URI: http://parkyong.com
    55Description: count day after Sewol Ferry Disaster
    6 Version: 1.1.2
     6Version: 1.1.3
    77Author: Park Yong
    88Author URI: http://parkyong.com
     
    103103
    104104        extract($args);
    105         echo '<aside id="sewol" class="widget">';
    106105
    107106        $title = apply_filters('widget_title', $instance['title']);
     
    109108        $backGroundColor = apply_filters('widget_backGroundColor', $instance['backGroundColor']);
    110109
    111         if ( !empty( $title ) ) {
     110        if ( !empty( $title ) ){
    112111            echo $before_title . $title . $after_title;
    113112        }
    114113
    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>";
    119120        echo "</aside>";
    120121    }
Note: See TracChangeset for help on using the changeset viewer.