ここの情報は古いです。ご理解頂いた上でお取り扱いください。

ChangeLog_develop: OpenPNE_2_4_4_to_2_4_5.patch

File OpenPNE_2_4_4_to_2_4_5.patch, 7.3 KB (added by takanashi, 11 years ago)

2.4.5パッチファイル添付

  • setup/sql/upgrade/upgrade-2.2to2.4-mysql40.sql

     
    124124ADD `caption` varchar(100)  NOT NULL,
    125125ADD `symbol` TEXT NOT NULL;
    126126
     127SELECT @t1:=value FROM c_admin_config WHERE name = 'SKIN_BG_11';
     128SELECT @t2:=value FROM c_admin_config WHERE name = 'SKIN_BG_12';
     129SELECT @t3:=value FROM c_admin_config WHERE name = 'SKIN_BG_13';
     130UPDATE c_sns_config SET `bg_11` = @t1 WHERE c_sns_config_id=1;
     131UPDATE c_sns_config SET `bg_12` = @t2 WHERE c_sns_config_id=1;
     132UPDATE c_sns_config SET `bg_13` = @t3 WHERE c_sns_config_id=1;
     133
    127134UPDATE `c_sns_config` SET
    128 bg_11 = 'C1C6CF',bg_12 = 'FFFFFF',bg_13 = 'E9EAF0',caption = '戻す',symbol='E9EAF0'
     135caption = '戻す',symbol='E9EAF0'
    129136WHERE c_sns_config_id=1;
    130137
    131138INSERT INTO `c_sns_config` VALUES
     
    178185UPDATE c_diary INNER JOIN c_member USING (c_member_id) SET c_diary.public_flag = c_member.public_flag_diary ;
    179186
    180187-- update15
    181 INSERT INTO `c_admin_config` values (NULL,'OPENPNE_ENABLE_ROLLOVER',0);
    182  No newline at end of file
     188INSERT INTO `c_admin_config` values (NULL,'OPENPNE_ENABLE_ROLLOVER',0);
     189
     190INSERT INTO `c_admin_config` values (NULL,'OPENPNE_USE_FLASH_LIST',0);
  • setup/sql/upgrade/upgrade-2.2to2.4-mysql41.sql

     
    125125ADD `symbol` TEXT NOT NULL;
    126126
    127127UPDATE `c_sns_config` SET
    128 bg_11 = 'C1C6CF',bg_12 = 'FFFFFF',bg_13 = 'E9EAF0',caption = '戻す',symbol='E9EAF0'
     128caption = '戻す',symbol='E9EAF0'
    129129WHERE c_sns_config_id=1;
    130130
     131
     132UPDATE c_sns_config SET `bg_11` = (SELECT value FROM `c_admin_config` WHERE name = 'SKIN_BG_11') WHERE  c_sns_config_id=1;
     133UPDATE c_sns_config SET `bg_12` = (SELECT value FROM `c_admin_config` WHERE name = 'SKIN_BG_12') WHERE  c_sns_config_id=1;
     134UPDATE c_sns_config SET `bg_13` = (SELECT value FROM `c_admin_config` WHERE name = 'SKIN_BG_13') WHERE  c_sns_config_id=1;
     135
    131136INSERT INTO `c_sns_config` VALUES
    132137(2,'red',    'FFFFFF','DCAA9D','FFFFFF','FFFFFF','FFFFFF','FFFFFF','FFFFFF','DCAA9D','FFFFFF','FFFFFF','FFFFFF','FFFFFF','DCAA9D','FFFFFF','FFFFFF','DCAA9D','FFFFFF','DCAA9D','DCAA9D','FFFFFF','FFFFFF','DCAA9D','E5A6A6','FFFFFF','FAE1DB','赤','E66161'),
    133138(3,'yellow', 'FFFFFF','E9DC90','FFFFFF','FFFFFF','FFFFFF','FFFFFF','FFFFFF','E9DC90','FFFFFF','FFFFFF','FFFFFF','FFFFFF','E9DC90','FFFFFF','FFFFFF','E9DC90','FFFFFF','E9DC90','E9DC90','FFFFFF','FFFFFF','E9DC90','F2D299','FFFFFF','FFF9D6','黄色','FFDE1E'),
     
    178183UPDATE c_diary INNER JOIN c_member USING (c_member_id) SET c_diary.public_flag = c_member.public_flag_diary ;
    179184
    180185-- update15
    181 INSERT INTO `c_admin_config` values (NULL,'OPENPNE_ENABLE_ROLLOVER',0);
    182  No newline at end of file
     186INSERT INTO `c_admin_config` values (NULL,'OPENPNE_ENABLE_ROLLOVER',0);
     187
     188INSERT INTO `c_admin_config` values (NULL,'OPENPNE_USE_FLASH_LIST',0);
  • setup/config/config.php.sample-img

     
    4343// 画像変換後のJPEGのQUALITY値
    4444define('OPENPNE_IMG_JPEG_QUALITY', 75);
    4545
    46 // ImageMagickを使う(ただし、GDも必要)
    47 //define('USE_IMAGEMAGICK', true);
     46// ImageMagick使用設定
     47// 0: off ... ImageMagickを使わない
     48// 1: on  ... GIFのみImageMagickを使う
     49// 2: on  ... JEPG,PNG,GIFにImageMagickを使う(ただし、GDも必要)
     50define('USE_IMAGEMAGICK', 0);
    4851
    4952// ImageMagick の convertコマンドのパス
    5053//define('IMGMAGICK_APP', '/usr/bin/convert');
  • public_html/img.php

     
    3535    'jpeg_quality' => OPENPNE_IMG_JPEG_QUALITY,
    3636);
    3737
    38 if (defined('USE_IMAGEMAGICK') && USE_IMAGEMAGICK) {
     38if (defined('USE_IMAGEMAGICK')) {
     39    switch (USE_IMAGEMAGICK) {
     40        case 0:
     41        $use_IM = false;
     42        break;
     43        case 1:
     44        $pieces = explode('.', $_GET['filename']);
     45        $source_format = OpenPNE_Img::check_format(array_pop($pieces));
     46        $use_IM = ($source_format == 'gif');
     47        break;
     48        case 2:
     49        $use_IM = true;
     50        break;
     51        default:
     52        exit;
     53    }
     54} else {
     55        $use_IM = false;
     56}
     57
     58if ($use_IM) {
    3959    require_once 'OpenPNE/Img/ImageMagick.php';
    4060    $img =& new OpenPNE_Img_ImageMagick($options);
    4161} else {
  • webapp_biz/modules/biz/do/h_home_insert_biz_state.php

     
    1 <?php
    2 /**
    3  * @copyright 2005-2006 OpenPNE Project
    4  * @license   http://www.php.net/license/3_01.txt PHP License 3.01
    5  */
    6 
    7 class biz_do_h_home_insert_biz_state extends OpenPNE_Action
    8 {
    9     function execute($requests)
    10     {
    11         $u = $GLOBALS['AUTH']->uid();
    12 
    13         // --- リクエスト変数
    14         $state = $request['state'];
    15         $member_id = $request['member_id'];
    16         // ----------
    17 
    18         biz_changeState($member_id, $state);
    19 
    20         $p = array();
    21         openpne_redirect('pc', 'page_h_home', $p);
    22     }
    23 }
    24 
    25 ?>
  • config.php.sample

     
    281281// 画像変換後のJPEGのQUALITY値
    282282define('OPENPNE_IMG_JPEG_QUALITY', 75);
    283283
    284 // ImageMagickを使う(ただし、GDも必要)
    285 define('USE_IMAGEMAGICK', false);
     284// ImageMagick使用設定
     285// 0: off ... ImageMagickを使わない
     286// 1: on  ... GIFのみImageMagickを使う
     287// 2: on  ... JEPG,PNG,GIFにImageMagickを使う(ただし、GDも必要)
     288define('USE_IMAGEMAGICK', 0);
    286289
    287290// ImageMagick の convertコマンドのパス
    288291define('IMGMAGICK_APP', '/usr/bin/convert');
  • webapp/modules/pc/templates/fh_friend_list_delete_c_friend_confilm.tpl

     
    7171({t_form m=pc a=do_fh_friend_list_delete_c_friend})
    7272<input type="hidden" name="sessid" value="({$PHPSESSID})">
    7373<input type="hidden" name="target_c_member_id" value="({$target_c_member_id})">
    74 <input type="submit" value=" 外 す ">&nbsp;
     74<input type="submit" class="submit" value=" 外 す ">&nbsp;
    7575</form>
    7676
    7777</td><td>
  • webapp/version.php

     
    1 <?php define('OPENPNE_VERSION', '2.4.4'); ?>
     1<?php define('OPENPNE_VERSION', '2.4.5'); ?>