Skip to content

Instantly share code, notes, and snippets.

View kawahara's full-sized avatar

Shogo Kawahara (bucyou) kawahara

  • freee
  • Kyoto, Japan
  • 05:57 (UTC +09:00)
View GitHub Profile
diff --git a/apps/pc_frontend/modules/member/templates/homeSuccess.php b/apps/pc_frontend/modules/member/templates/homeSuccess.php
index 43f5e3d..977ecf1 100644
--- a/apps/pc_frontend/modules/member/templates/homeSuccess.php
+++ b/apps/pc_frontend/modules/member/templates/homeSuccess.php
@@ -1,5 +1,21 @@
<?php use_helper('Javascript') ?>
+<?php $sortable_params = array(
+ 'tag' => 'div',
+ 'handle' => 'partsHeading',
Index: config.php.sample
===================================================================
--- config.php.sample (リビジョン 13630)
+++ config.php.sample (作業コピー)
@@ -227,6 +227,10 @@
// デバッグ、エラーハンドリング、ログ設定
///
+if (!defined('E_DEPRECATED')) {
+ define('E_DEPRECATED', 8192);
Index: setup/sql/mysql40/option/new_biz_schedule_converter.php
===================================================================
--- setup/sql/mysql40/option/new_biz_schedule_converter.php (リビジョン 13633)
+++ setup/sql/mysql40/option/new_biz_schedule_converter.php (作業コピー)
@@ -7,6 +7,11 @@
//OpenPNEからconfig.phpの情報を読み込む
define('OPENPNE_DIR', realpath('../../../'));
+
+if (!defined('E_DEPRECATED')) {
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="App Test - 1" description="Pc App Test" author="Shogo Kawahara">
<Require feature="opensocial-0.9" />
<Require feature="dynamic-height" />
<Require feature="osapi" />
<Require feature="flash" />
<Require feature="views" />
</ModulePrefs>
<Content type="html" view="canvas">
#!/bin/sh
ack-grep -w -l "class Album" | xargs perl -p -i -e "s/\bclass Album\b/class Shindig_Album/g"
ack-grep -w -l "class Activity" | xargs perl -p -i -e "s/\bclass Activity\b/class Shindig_Activity/g"
ack-grep -w -l "instanceof Activity" | xargs perl -p -i -e "s/\binstanceof Activity\b/instanceof Shindig_Activity/g"
ack-grep -w -l "class Config" | xargs perl -p -i -e "s/\bclass Config\b/class Shindig_Config/g"
ack-grep -w -l "Config::" | xargs perl -p -i -e "s/\bConfig::/Shindig_Config::/g"
Hello world!!!!!
<html>
<head>
<title>Hello world!!!</title>
</head>
<body>
Hello world!!
</body>
</html>
diff --git a/lib/form/MemberApplicationSettingForm.class.php b/lib/form/MemberApplicationSettingForm.class.php
index 05478ee..1e33062 100644
--- a/lib/form/MemberApplicationSettingForm.class.php
+++ b/lib/form/MemberApplicationSettingForm.class.php
@@ -34,6 +34,8 @@ class MemberApplicationSettingForm extends sfForm
public function setConfigWidgets($memberId, $modId)
{
+ sfContext::getInstance()->getConfiguration()->loadHelpers(array('Escaping'));
+
<?php
class opPasswordHashException extends Exception {}
/**
* opPasswordHash
*
* This class is based on
* Portable PHP password hashing framework <http://www.openwall.com/phpass/>
* by Solar Designer <solar at openwall.com>.
<?php
/*
* The following methods are derived from code of the Zend Framework (1.10dev - 2010-01-24)
*
* Code subject to the new BSD license (http://framework.zend.com/license/new-bsd).
*
* Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
*/