@@ -129,69 +129,73 @@ function current(){
129
129
<link rel="stylesheet" media="screen" type="text/css" href="./resources/style/setup/style.css" />
130
130
<script type="text/javascript">
131
131
//<![CDATA[
132
- function init() {
133
- }
132
+ function init() {
133
+ }
134
134
135
- function previous() {
136
- }
135
+ function previous() {
136
+ }
137
137
138
138
function current(){
139
- document.getElementById("step").value ="" ;
140
- document.getElementById("setup").submit() ;
139
+ document.getElementById("step").value ="";
140
+ document.getElementById("setup").submit();
141
141
}
142
142
143
- function next(type) {
143
+ function next(type) {
144
144
if (type != undefined)
145
145
document.getElementById("setupMode").value = type;
146
- document.getElementById("setup").submit();
147
- }
146
+ document.getElementById("setup").submit();
147
+ }
148
148
149
- function show(id) {
150
- if (document.getElementById("typeDomain"))
151
- document.getElementById("typeDomain").style.display = "none";
152
- if (document.getElementById("typePath"))
153
- document.getElementById("typePath").style.display = "none";
154
- if (document.getElementById("typeSingle"))
155
- document.getElementById("typeSingle").style.display = "none";
156
- if (document.getElementById(id))
157
- document.getElementById(id).style.display = "block";
158
- }
149
+ function show(id) {
150
+ if (document.getElementById("typeDomain"))
151
+ document.getElementById("typeDomain").style.display = "none";
152
+ if (document.getElementById("typePath"))
153
+ document.getElementById("typePath").style.display = "none";
154
+ if (document.getElementById("typeSingle"))
155
+ document.getElementById("typeSingle").style.display = "none";
156
+ if (document.getElementById(id))
157
+ document.getElementById(id).style.display = "block";
158
+ }
159
159
//]]>
160
160
</script>
161
161
</head>
162
162
<body onload="init()">
163
163
<div id="container">
164
- <form id="setup" name="setup" method="post" action="<?php echo $ _SERVER ['PHP_SELF ' ];?> ">
165
- <div id="title"><h1><img src="./resources/style/setup/image/title.gif" width="253" height="44" alt="<?php echo TEXTCUBE_NAME ;?> <?php echo TEXTCUBE_VERSION ;?> Setup" /></h1></div>
166
- <input type="hidden" name="Lang" id="Lang" value="<?php echo $ baseLanguage ;?> " />
164
+ <form id="setup" name="setup" method="post" action="<?php echo $ _SERVER ['PHP_SELF ' ];?> ">
165
+ <div id="title">
166
+ <h1><img src="./resources/style/setup/image/title.gif" width="253" height="44" alt="<?php echo TEXTCUBE_NAME ;?> <?php echo TEXTCUBE_VERSION ;?> Setup" /></h1>
167
+ </div>
168
+ <input type="hidden" name="Lang" id="Lang" value="<?php echo $ baseLanguage ;?> " />
167
169
<?php
168
170
if (empty ($ _POST ['step ' ])) {
169
171
?>
170
- <div id="inner">
171
- <input type="hidden" name="step" value="1" />
172
- <h2><span class="step"><?php echo _f ('%1단계 ' , 1 );?> </span> : <?php echo _t ('텍스트큐브 설치를 시작합니다. ' );?> </h2>
173
- <div id="langSel" > <?php drawSetLang ( $ baseLanguage , 'Norm ' );?> </div>
174
- <div id="info"><b><?php echo TEXTCUBE_VERSION ;?> </b><br />
175
- <?php echo TEXTCUBE_COPYRIGHT ;?> <br />
176
- Homepage: <a href="<?php echo TEXTCUBE_HOMEPAGE ;?> "><?php echo TEXTCUBE_HOMEPAGE ;?> </a></div>
177
- <div id="content">
178
- <ol>
179
- <li><?php echo _t ('소스를 포함한 소프트웨어에 포함된 모든 저작물(이하, 텍스트큐브)의 저작권자는 Needlworks / TNF 입니다. ' );?> </li>
180
- <li><?php echo _t ('텍스트큐브는 GPL 라이선스로 제공되며, 모든 사람이 자유롭게 이용할 수 있습니다. ' );?> </li>
181
- <li><?php echo _t ('프로그램 사용에 대한 유지 및 보수 등의 의무와, 사용 중 데이터 손실 등에 대한 사고책임은 모두 사용자에게 있습니다. ' );?> </li>
182
- <li><?php echo _t ('스킨 및 트리, 플러그인의 저작권은 각 제작자에게 있습니다. ' );?> </li>
183
- </ol>
184
- </div>
185
- <div id="navigation">
186
- <a href="#" onclick="next(); return false;" title="<?php echo _t ('다음 ' );?> "><img src="./resources/style/setup/image/icon_next.gif" width="74" height="24" alt="<?php echo _t ('다음 ' );?> " /></a>
187
- </div>
188
- </div>
172
+ <div id="inner">
173
+ <input type="hidden" name="step" value="1" />
174
+ <h2><span class="step"><?php echo _f ('%1단계 ' , 1 );?> </span> : <?php echo _t ('텍스트큐브 설치를 시작합니다. ' );?> </h2>
175
+ <div id="langSel" >
176
+ <?php drawSetLang ( $ baseLanguage , 'Norm ' );?>
177
+ </div>
178
+ <div id="info"><b><?php echo TEXTCUBE_VERSION ;?> </b><br />
179
+ <?php echo TEXTCUBE_COPYRIGHT ;?> <br />
180
+ Homepage: <a href="<?php echo TEXTCUBE_HOMEPAGE ;?> "><?php echo TEXTCUBE_HOMEPAGE ;?> </a>
181
+ </div>
182
+ <div id="content">
183
+ <ol>
184
+ <li><?php echo _t ('소스를 포함한 소프트웨어에 포함된 모든 저작물(이하, 텍스트큐브)의 저작권자는 Needlworks / TNF 입니다. ' );?> </li>
185
+ <li><?php echo _t ('텍스트큐브는 GPL 라이선스로 제공되며, 모든 사람이 자유롭게 이용할 수 있습니다. ' );?> </li>
186
+ <li><?php echo _t ('프로그램 사용에 대한 유지 및 보수 등의 의무와, 사용 중 데이터 손실 등에 대한 사고책임은 모두 사용자에게 있습니다. ' );?> </li>
187
+ <li><?php echo _t ('스킨 및 트리, 플러그인의 저작권은 각 제작자에게 있습니다. ' );?> </li>
188
+ </ol>
189
+ </div>
190
+ <div id="navigation">
191
+ <a href="#" onclick="next(); return false;" title="<?php echo _t ('다음 ' );?> "><img src="./resources/style/setup/image/icon_next.gif" width="74" height="24" alt="<?php echo _t ('다음 ' );?> " /></a>
192
+ </div>
193
+ </div>
189
194
<?php
190
195
}
191
196
else if ($ _POST ['step ' ] == 7 ) {
192
197
checkStep (8 , false );
193
- }
194
- else {
198
+ } else {
195
199
/*
196
200
function POD::escapeString($string) {
197
201
global $mysql_escaping_function;
@@ -1523,10 +1527,12 @@ function drawSetLang( $currentLang = "ko" ,$curPosition = 'Norm' /*or 'Err'*/ )
1523
1527
if ( $ locale ->setDirectory (ROOT .'/resources/locale/setup ' )) $ availableLanguages = $ locale ->getSupportedLocales ();
1524
1528
else return false ;
1525
1529
?>
1526
- Select Default Language : <select name="Lang" id = "Lang" onchange= "current();" >
1530
+ Select Default Language :
1531
+ <select name="Lang" id = "Lang" onchange= "current();" >
1527
1532
<?php foreach ( $ availableLanguages as $ key => $ value )
1528
- print ('<option value=" ' .$ key .'" ' .( $ key == $ currentLang ? ' selected="selected" ' : '' ).' > ' .$ value .'</option> ' );
1529
- ?> </select>
1533
+ print (' <option value=" ' .$ key .'" ' .( $ key == $ currentLang ? ' selected="selected" ' : '' ).'> ' .$ value .'</option> ' .CRLF );
1534
+ ?>
1535
+ </select>
1530
1536
<?php
1531
1537
return true ;
1532
1538
}
0 commit comments