Changeset 10740
- Timestamp:
- Feb 12, 2009, 10:38:12 AM (13 years ago)
- Location:
- OpenPNE3/plugins/opOpenSocialPlugin/trunk/apps/pc_backend/modules/opOpenSocialPlugin
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE3/plugins/opOpenSocialPlugin/trunk/apps/pc_backend/modules/opOpenSocialPlugin/actions/actions.class.php
r10652 r10740 43 43 { 44 44 $this->applicationConfigForm->save(); 45 } 46 } 47 return sfView::SUCCESS; 48 } 49 50 /** 51 * Executes containerConfig action 52 * 53 * @param sfWebRequest $request A request object 54 */ 55 public function executeContainerConfig(sfWebRequest $request) 56 { 57 $this->containerConfigForm = new ContainerConfigForm(); 58 59 if ($request->isMethod(sfRequest::POST)) 60 { 61 $this->containerConfigForm->bind($request->getParameter('container_config')); 62 if ($this->containerConfigForm->isValid()) 63 { 64 $this->containerConfigForm->save(); 45 65 } 46 66 } -
OpenPNE3/plugins/opOpenSocialPlugin/trunk/apps/pc_backend/modules/opOpenSocialPlugin/lib/ApplicationConfigForm.class.php
r10530 r10740 28 28 'is_view_profile_application' => new sfWidgetFormInputCheckbox(), 29 29 'home_application_limit' => new sfWidgetFormInput(), 30 'shindig_token_cipher_key' => new sfWidgetFormInput(),31 'shindig_token_hmac_key' => new sfWidgetFormInput(),32 'shindig_token_max_age' => new sfWidgetFormInput(),33 'shindig_cache_time' => new sfWidgetFormInput(),34 30 )); 35 31 … … 38 34 'is_view_profile_application' => new sfValidatorBoolean(), 39 35 'home_application_limit' => new sfValidatorInteger(array('min' => 0)), 40 'shindig_token_cipher_key' => new sfValidatorString(),41 'shindig_token_hmac_key' => new sfValidatorString(),42 'shindig_token_max_age' => new sfValidatorInteger(array('min' => 0)),43 'shindig_cache_time' => new sfValidatorInteger(array('min' => 0)),44 36 )); 45 37 … … 48 40 'is_view_profile_application' => $is_view_profile_application, 49 41 'home_application_limit' => SnsConfigPeer::get('home_application_limit', 3), 50 'shindig_token_cipher_key' => SnsConfigPeer::get('shindig_token_cipher_key'),51 'shindig_token_hmac_key' => SnsConfigPeer::get('shindig_token_hmac_key'),52 'shindig_token_max_age' => SnsConfigPeer::get('shindig_max_token_age', 60*60),53 'shindig_cache_time' => SnsConfigPeer::get('shindig_cache_time', 24*60*60),54 42 )); 55 43 … … 58 46 'is_view_profile_application' => 'プロフィール画面にアプリを表示する', 59 47 'home_application_limit' => 'ホーム・プロフィール画面のアプリ表示上限', 60 'shindig_token_cipher_key' => 'トークン暗号化キー',61 'shindig_token_hmac_key' => 'トークンハッシュ化キー',62 'shindig_token_max_age' => 'トークン有効期限(秒)',63 'shindig_cache_time' => 'キャッシュ有効期限(秒)',64 48 )); 65 49 $this->widgetSchema->setNameFormat('application_config[%s]'); -
OpenPNE3/plugins/opOpenSocialPlugin/trunk/apps/pc_backend/modules/opOpenSocialPlugin/templates/_submenu.php
r10039 r10740 1 1 <li><?php echo link_to(__('アプリケーションの設定'), 'opOpenSocialPlugin/applicationConfig') ?></li> 2 <li><?php echo link_to(__('コンテナの設定'), 'opOpenSocialPlugin/containerConfig') ?></li> 2 3 <li><?php echo link_to(__('アプリケーション管理'), 'opOpenSocialPlugin/list') ?></li> 3 <li><?php echo link_to(__(' OpenSocialAPIプロフィール連動設定'), 'opOpenSocialPlugin/profileSetting') ?></li>4 <li><?php echo link_to(__('プロフィール連動設定'), 'opOpenSocialPlugin/profileSetting') ?></li>
Note: See TracChangeset
for help on using the changeset viewer.