short_open_tag Off 환경에서 문제되는 부분 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3395 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2007-12-21 17:24:58 +00:00
parent a1ea7634f9
commit 2ee20a77d3
4 changed files with 17 additions and 17 deletions

View file

@ -148,7 +148,7 @@
if(!eregi("^([a-z0-9\_\.])",$path)) return $str1; if(!eregi("^([a-z0-9\_\.])",$path)) return $str1;
$path = preg_replace('/^(\.\/|\/)/','',$path); $path = preg_replace('/^(\.\/|\/)/','',$path);
$path = '<?=$this->tpl_path?>'.$path; $path = '<?php echo $this->tpl_path?>'.$path;
$output = str_replace($str2, $path, $str1); $output = str_replace($str2, $path, $str1);
return $output; return $output;
} }

View file

@ -172,14 +172,14 @@ $before_month_month_day = convertDatetoDay( $month == 1 ? $year - 1 : $year, $mo
<div class="go"> <div class="go">
<select name="year" class="selectTypeY" onchange="submit()"> <select name="year" class="selectTypeY" onchange="submit()">
<? for($i = $max_year; $i >= $min_year; $i--):?> <?php for($i = $max_year; $i >= $min_year; $i--):?>
<option value="<?php echo $i?>" <?php echo $year == $i? "selected":""?> class="<?php echo $i%10?($i%2?"select_color1":"select_color2"):"select_color10"?>"><?php echo $i?></option> <option value="<?php echo $i?>" <?php echo $year == $i? "selected":""?> class="<?php echo $i%10?($i%2?"select_color1":"select_color2"):"select_color10"?>"><?php echo $i?></option>
<?endfor?> <?php endfor?>
</select> </select>
<select name="month" class="selectTypeM" onchange="submit()"> <select name="month" class="selectTypeM" onchange="submit()">
<? for($i = 1; $i <= 12; $i++):?> <?php for($i = 1; $i <= 12; $i++):?>
<option value="<?php echo $i?>" <?php echo $month == $i? "selected":""?> class="<?php echo $i%2?"select_color1":"select_color2"?>"><?php echo sprintf("%02d",$i)?></option> <option value="<?php echo $i?>" <?php echo $month == $i? "selected":""?> class="<?php echo $i%2?"select_color1":"select_color2"?>"><?php echo sprintf("%02d",$i)?></option>
<?endfor?> <?php endfor?>
</select> </select>
</div> </div>
<br /><br /> <br /><br />
@ -188,15 +188,15 @@ $before_month_month_day = convertDatetoDay( $month == 1 ? $year - 1 : $year, $mo
<table cellspacing="0" class="dd"> <table cellspacing="0" class="dd">
<tr> <tr>
<?for($y = 0; $y < 7; $y++) {?> <?php for($y = 0; $y < 7; $y++) {?>
<td class="<?php echo $y==0?"sun":($y==6?"sat":"")?>"><?php echo $dayName[$y]?></td> <td class="<?php echo $y==0?"sun":($y==6?"sat":"")?>"><?php echo $dayName[$y]?></td>
<?}?> <?php }?>
</tr> </tr>
<?php <?php
//1주~6주 //1주~6주
for($i = 0; $i < 6; $i++) { for($i = 0; $i < 6; $i++) {
?> ?>
<tr class="<?if($i == 0){?>first<?}elseif($i == 5){?>last<?}?>"> <tr class="<?php if($i == 0){?>first<?php }elseif($i == 5){?>last<?php }?>">
<?php <?php
//요일 //요일
for($j = 0; $j < 7; $j++) { for($j = 0; $j < 7; $j++) {
@ -235,13 +235,13 @@ $before_month_month_day = convertDatetoDay( $month == 1 ? $year - 1 : $year, $mo
$date_str = $y.sprintf("%02d", $m).sprintf("%02d", $day); $date_str = $y.sprintf("%02d", $m).sprintf("%02d", $day);
?> ?>
<td class="<?php echo $class_name?>" <?if($day){?> onclick="selectDate('<?php echo $date?>','<?php echo $date_str?>','<?php echo $callback_func?>')"<?}?>> <td class="<?php echo $class_name?>" <?php if($day){?> onclick="selectDate('<?php echo $date?>','<?php echo $date_str?>','<?php echo $callback_func?>')"<?php }?>>
<?if($m == $month){?><?if(date("Ymd")==$date_str){?><strong><?}?> <?php if($m == $month){?><?php if(date("Ymd")==$date_str){?><strong><?php }?>
<?if($day){?><?php echo $day?><?}else{?>&nbsp;<?}?> <?php if($day){?><?php echo $day?><?php }else{?>&nbsp;<?php }?>
<?if(date("Ymd")==$date_str){?></strong><?}?> <?php if(date("Ymd")==$date_str){?></strong><?php }?>
<?}else{?> <?php }else{?>
<span class="disable"><?if($day){?><?php echo $day?><?}else{?>&nbsp;<?}?></span> <span class="disable"><?php if($day){?><?php echo $day?><?php }else{?>&nbsp;<?php }?></span>
<?}?> <?php }?>
</td> </td>
<?php <?php
} }

View file

@ -768,7 +768,7 @@
else $group_check_code = "true"; else $group_check_code = "true";
$attribute = sprintf( $attribute = sprintf(
'node_srl="%s" text="<?=(%s?"%s":"")?>" url="%s" expand="%s" document_count="%d" ', 'node_srl="%s" text="<?php echo (%s?"%s":"")?>" url="%s" expand="%s" document_count="%d" ',
$category_srl, $category_srl,
$group_check_code, $group_check_code,
$title, $title,

View file

@ -1,4 +1,4 @@
<? <?php
/* /*
FREE TO USE FREE TO USE
Simple OpenID PHP Class Simple OpenID PHP Class