プロジェクト

全般

プロフィール

opCommunityTopicPlugin-1379.patch

Shogo Kawahara, 2010-07-20 19:11

ダウンロード (2.17 KB)

差分を表示:

apps/pc_frontend/modules/communityTopic/templates/_configNotificationMail.php (作業コピー)
1
<?php if (version_compare(OPENPNE_VERSION, '3.6beta1-dev', '>=')): ?>
1
<?php if (version_compare(OPENPNE_VERSION, '3.6beta1-dev', '>=') && $form): ?>
2 2
<?php op_include_form('configNotificationMailBox', $form, array(
3 3
  'mark_required_field' => false,
4 4
  'url'                 => url_for('@config_community_topic_notification_mail?id='.$sf_request->getParameter('id')),
apps/mobile_frontend/modules/communityTopic/templates/_configNotificationMail.php (作業コピー)
1
<?php if (version_compare(OPENPNE_VERSION, '3.6beta1-dev', '>=') && $form): ?>
1 2
<?php op_include_form('configNotificationMailBox', $form, array(
2 3
  'title' => __('Notification Mail Configuration'),
3 4
  'mark_required_field' => false,
4 5
  'url'                 => url_for('@config_community_topic_notification_mail?id='.$sf_request->getParameter('id')),
5 6
  'button'              => __('Save'),
6 7
)); ?>
8
<?php endif; ?>
lib/action/opCommunityTopicPluginTopicComponents.class.php (作業コピー)
48 48

  
49 49
  public function executeConfigNotificationMail($request)
50 50
  {
51
    $this->form = new opConfigCommunityTopicNotificationMailForm($request['id']);
51
    try
52
    {
53
      $this->form = new opConfigCommunityTopicNotificationMailForm($request['id']);
54
    }
55
    catch (RuntimeException $e)
56
    {
57
      // do nothing.
58
    }
52 59
  }
53 60
}