Xoops/B-Wiki の変更点


*bwikiのスタイル変更 [#b129b3e1]
*bwikiのblockスタイル変更 [#b129b3e1]
them_nameでスタイルを分けている所に変更したいスタイル名を追加してやる。

 modules/bwiki/blocks/bwiki_new.php
    83  function b_bwiki_get_css($theme_name)
    84  {
    85          if($theme_name == 'default' || $theme_name == 'heart-link' || $theme_name == 'lucky-clovers')

    86          {
    87                  // {{{ default css
    88                  $css =<<<_CSS_
    89                          <style TYPE="text/css">
    90                          <!--
    91                          /* for default theme */
    92                          td#mainmenu a:hover.bwiki_block_diff
    93                          {
    94                                  background-color: #e6e6e6;
    95                          }
    96                          td#mainmenu a.bwiki_block_diff
    97                          {
    98                                  display:inline;
    99                                  float:right;
   100                                  text-align:right;
   101                                  padding: 0;
   102                                  background-color: white;
   103                                  border: none;
   104                          }
   105                          td#mainmenu a:hover.bwiki_block_date
   106                          {
   107                                  color: black;
   108  
   109                          }
   110                          td#mainmenu a.bwiki_block_date
   111                          {
   112                                  color: black;
   113                                  padding: 0;
   114                                  background-color: white;
   115                                  border: none;
   116                          }
   117                          td#mainmenu a:hover.bwiki_block
   118                          {
   119                                  background-color: #e6e6e6;
   120                          }
   121                          td#mainmenu a.bwiki_block
   122                          {
   123                                  word-break: break-all;
   124                                  padding: 1;
   125                                  padding-left: 9px;
   126                                  background-color: white;
   127                                  border: none;
   128                          }
   129                          -->
   130                          </style>
   131  _CSS_;
   132                  // }}}
   133          }