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

Changeset 9502


Ignore:
Timestamp:
Dec 7, 2008, 8:53:43 PM (13 years ago)
Author:
ebihara
Message:

added member_config category

Location:
OpenPNE3/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/pc_frontend/modules/member/templates/configSuccess.php

    r9498 r9502  
    1010<?php end_slot(); ?>
    1111
     12<?php if (count($form)) : ?>
    1213<?php include_box('form'.$categoryName, $categoryName, '', array(
    1314  'form' => array($form),
    1415  'url' => 'member/config?category='.$categoryName)
    1516) ?>
     17<?php endif; ?>
  • OpenPNE3/trunk/lib/config/config/member_config.yml

    r9157 r9502  
    88#     IsConfig:   true
    99#     IsRequired: true
     10
     11general:
    1012
    1113pcAddress:
  • OpenPNE3/trunk/lib/config/sfOpenPNEConfigHandler.class.php

    r9199 r9502  
    2222    {
    2323      $categoryList .= sprintf("'%s' => array(\n", $category);
    24       foreach ($keys as $key => $value)
     24      if ($keys)
    2525      {
    26         $data .= sprintf("'%s' => %s,\n", $key, var_export($value, true));
    27         $categoryList .= sprintf("'%s',\n", $key);
     26        foreach ($keys as $key => $value)
     27        {
     28          $data .= sprintf("'%s' => %s,\n", $key, var_export($value, true));
     29          $categoryList .= sprintf("'%s',\n", $key);
     30        }
    2831      }
    2932      $categoryList .= "),\n";
Note: See TracChangeset for help on using the changeset viewer.