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

Ignore:
Timestamp:
Sep 28, 2006, 12:44:31 PM (16 years ago)
Author:
ogawa
Message:

remove extra spaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp_biz/modules/biz/lib/smarty_functions.php

    r269 r276  
    1818    $filename = PC_TPL_DIR.$tpl_name;
    1919    $tpl = @file($filename);
    20    
     20
    2121    if($tpl)
    2222    {
     
    2626    else
    2727        return false;
    28    
     28
    2929}
    3030
     
    3333    $filename = PC_TPL_DIR.$tpl_name;
    3434    $tpl_timestamp = filemtime($filename);
    35    
     35
    3636    return $tpl_timestamp;
    3737}
     
    6363    else
    6464        $cmd_head = 'h';
    65    
     65
    6666    $inc_smarty = new OpenPNE_Smarty($GLOBALS['SMARTY']);
    6767    $inc_smarty->assign("PHPSESSID", md5(session_id()));
     
    7070    $inc_smarty->assign("cmd", $cmd_head);  //操作の対象ページ
    7171    $inc_smarty->assign("target_id", $member_id);  //予定登録者
    72    
     72
    7373    require_once 'Calendar/Week.php';
    7474    $w = intval($w);
     
    9898            $schedule = biz_getDateMemberSchedule($y, $m, $d, $member_id);
    9999            $banner = biz_isBannerSchedule($y, $m, $d, $member_id);
    100                
     100
    101101            if(!empty($banner))
    102102                array_push($schedule, $banner);
     
    126126
    127127    $daylist = $calendar;  //コピー
    128    
     128
    129129    for($i = 1; $i <= 2; $i++)
    130130    {
    131131        $j = 0;  //曜日ポインタを示す
    132        
     132
    133133        $time = strtotime($w+$i . " week");
    134134        $Week = new Calendar_Week(date('Y', $time), date('m', $time), date('d', $time), 0);
     
    140140            $m = sprintf("%02d",$Day->thisMonth());
    141141            $d = sprintf("%02d",$Day->thisDay());
    142            
     142
    143143            $item = array(
    144144                'year' => $y,
     
    147147                'dayofweek' => $dayofweek[$j++],
    148148            );
    149            
     149
    150150            $daylist[] = $item;
    151151        }
     
    153153
    154154    $inc_smarty->assign("daylist", $daylist);
    155    
     155
    156156
    157157    if($cmd == 's_list')
     
    163163        $inc_smarty->assign("list", biz_getShisetsuData($member_id));
    164164            $config = biz_getConfig();
    165    
     165
    166166        $inc_smarty->assign('is_closed_shisetsu', $config['IS_CLOSED_SHISETSU']);
    167167
     
    198198    if($nickname)
    199199        $inc_smarty->assign("nickname", $nickname);  //予定登録者
    200    
     200
    201201    $todolist = biz_getMemberTodo($member_id);
    202202    $checkedlist = biz_getMemberTodo($member_id, 1);
     
    210210        }
    211211    }
    212    
     212
    213213    $inc_smarty->assign("todolist", $todolist);
    214214    $inc_smarty->assign("checkedlist", $checkedlist);
     
    234234    $inc_smarty->assign("c_member", $c_member);
    235235    //nickname用-----
    236    
     236
    237237    $inc_smarty->assign("state", $state);
    238238    $content = $inc_smarty->fetch(INC_ST);
    239    
     239
    240240    return $content;
    241241}
     
    244244{
    245245    $newschedule = biz_getJoinIdNewSchedule($member_id);
    246    
     246
    247247    $inc_smarty = new OpenPNE_Smarty($GLOBALS['SMARTY']);
    248248    $inc_smarty->assign("PHPSESSID", md5(session_id()));
     
    257257{
    258258    $posted = biz_getPostedTodo($member_id, 5);
    259    
     259
    260260    $inc_smarty = new OpenPNE_Smarty($GLOBALS['SMARTY']);
    261261    $inc_smarty->assign("PHPSESSID", md5(session_id()));
Note: See TracChangeset for help on using the changeset viewer.