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

Ignore:
Timestamp:
Jan 21, 2009, 4:09:41 PM (14 years ago)
Author:
ogawa
Message:

#3448:replaced include_box() into op_include_box() and op_include_form()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/pc_frontend/modules/community/templates/editSuccess.php

    r9599 r10297  
    11<?php
    22$options = array(
    3   'form' => array($form),
    43  'isMultipart' => true,
    54);
    65
    7 if ($form->isNew()) {
    8   $title = 'コミュニティ作成';
     6if ($form->isNew())
     7{
     8  $options['title'] = 'コミュニティ作成';
    99  $options['url'] = 'community/edit';
    10 } else {
    11   $title = 'コミュニティ編集';
    12   $options['url'] = 'community/edit?id=' . $community->getId();
    1310}
    14 include_box('formCommunity', $title, '', $options);
     11else
     12{
     13  $options['title'] = 'コミュニティ編集';
     14  $options['url'] = 'community/edit?id='.$community->getId();
     15}
     16
     17op_include_form('formCommunity', $form, $options);
    1518?>
Note: See TracChangeset for help on using the changeset viewer.