OSDN Git Service

BugTrack/2387 Fix Calendar layout (too thin)
authorumorigu <umorigu@gmail.com>
Wed, 4 Mar 2020 15:51:13 +0000 (00:51 +0900)
committerumorigu <umorigu@gmail.com>
Wed, 4 Mar 2020 15:51:13 +0000 (00:51 +0900)
plugin/calendar.inc.php
plugin/calendar2.inc.php

index 26d3d8a..1a32a14 100644 (file)
@@ -2,7 +2,7 @@
 // PukiWiki - Yet another WikiWikiWeb clone
 // calendar.inc.php
 // Copyright
-//   2002-2017 PukiWiki Development Team
+//   2002-2020 PukiWiki Development Team
 //   2001-2002 Originally written by yu-ji
 // License: GPL v2 or (at your option) any later version
 //
@@ -74,7 +74,7 @@ function plugin_calendar_convert()
        $page_uri = get_page_uri($pre);
 
        $ret = <<<EOD
-<table class="style_calendar" cellspacing="1" width="150" border="0">
+<table class="style_calendar" cellspacing="1" width="200" border="0">
  <tr>
   <td class="style_td_caltop" colspan="7">
    <strong>$m_name</strong><br />
index 4ad78c8..3909ede 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 // PukiWiki - Yet another WikiWikiWeb clone
 // calendar2.inc.php
-// Copyright 2002-2017 PukiWiki Development Team
+// Copyright 2002-2020 PukiWiki Development Team
 // License: GPL v2 or (at your option) any later version
 //
 // Calendar2 plugin
@@ -81,7 +81,7 @@ function plugin_calendar2_convert()
                        '  <td valign="top">' . "\n";
        }
        $ret .= <<<EOD
-   <table class="style_calendar" cellspacing="1" width="150" border="0" summary="calendar body">
+   <table class="style_calendar" cellspacing="1" width="200" border="0" summary="calendar body">
     <tr>
      <td class="style_td_caltop" colspan="7">
       <a href="$script?plugin=calendar2&amp;file=$r_base&amp;date=$prev_date_str">&lt;&lt;</a>