Changeset 5348
- Timestamp:
- 02/22/08 01:35:57 (11 months ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
interface/owner/control/blog/detail/index.php (modified) (2 diffs)
-
interface/owner/control/blog/index.php (modified) (3 diffs)
-
script/control.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/owner/control/blog/detail/index.php
r5343 r5348 157 157 <dt><label for=""><?php echo _t('사용자'); ?></label></dt> 158 158 <dd> 159 < input type="text" id="sgtOwner" class="bi-owner-loginid" name="user" value="" />159 <span id="suggestContainer"><input type="text" id="bi-owner-loginid" name="user" value="" /></span> 160 160 <input type="hidden" name="blogid" value="<?php echo $bid?>" /> 161 161 <input type="submit" class="input-button" value="<?php echo _t("팀원 추가");?>" onclick="addUser(ctlUserSuggestObj.getValue());return false;" /> … … 167 167 //<![CDATA[ 168 168 try { 169 document.getElementById("sgtOwner").innerHTML = ''; 170 var ctlUserSuggestObj = new ctlUserSuggest(document.getElementById("sgtOwner"), false); 171 ctlUserSuggestObj.setInputClassName("bi-owner-loginid"); 169 document.getElementById("suggestContainer").innerHTML = ''; 170 var ctlUserSuggestObj = new ctlUserSuggest(document.getElementById("suggestContainer"), false); 172 171 ctlUserSuggestObj.setValue("<?php echo User::getEmail(1);?>"); 173 172 } catch (e) { 174 document.getElementById("s gtOwner").innerHTML = '<input type="text" class="bi-owner-loginid" name="user" value="" />';173 document.getElementById("suggestContainer").innerHTML = '<input type="text" id="bi-owner-loginid" name="user" value="" />'; 175 174 } 176 175 //]]> -
trunk/interface/owner/control/blog/index.php
r5342 r5348 25 25 <fieldset> 26 26 <dl> 27 <dt><label for=" sgtOwner"><?php echo _t('소유자'); ?></label>28 <dd ><input type="text" id="sgtOwner" class="bi-owner-loginid" class="input-text" name="location" value="<?php echo getUserEmail(1);?>" /></dd>27 <dt><label for="bi-owner-loginid"><?php echo _t('소유자'); ?></label> 28 <dd id="suggestContainer"><input id="bi-owner-loginid" class="input-text" name="location" value="<?php echo getUserEmail(1);?>" /></dd> 29 29 <dt><label for="bi-identify"><?php echo _t('블로그 구분자'); ?></label></dt> 30 30 <dd><input type="text" id="bi-identify" name="bi-identify" /></dd> … … 43 43 if ( $service['type'] == "single" ) { 44 44 ?> 45 <p class="message"><?php echo _t('현재 단일 블로그 모드 텍스트큐브가 설정되어 있습니다. 단일 블로그 모드에서는 대표 블로그 만이 외부에 보여집니다.')?></p>45 bi-owner-loginid <p class="message"><?php echo _t('현재 단일 블로그 모드 텍스트큐브가 설정되어 있습니다. 단일 블로그 모드에서는 대표 블로그 만이 외부에 보여집니다.')?></p> 46 46 <?php 47 47 } … … 121 121 //<![CDATA[ 122 122 try { 123 document.getElementById("sgtOwner").innerHTML = ''; 124 var ctlUserSuggestObj = new ctlUserSuggest(document.getElementById("sgtOwner"), false); 125 ctlUserSuggestObj.setInputClassName("bi-owner-loginid"); 123 document.getElementById("suggestContainer").innerHTML = ''; 124 var ctlUserSuggestObj = new ctlUserSuggest(document.getElementById("suggestContainer"), false); 126 125 ctlUserSuggestObj.setValue("<?php echo getUserEmail(1);?>"); 127 126 } catch (e) { 128 document.getElementById("s gtOwner").innerHTML = '<input type="text" class="bi-owner-loginid" name="location" value="" />';127 document.getElementById("suggestContainer").innerHTML = '<input type="text" id="bi-owner-loginid" name="location" value="" />'; 129 128 } 130 129 //]]> -
trunk/script/control.js
r5341 r5348 102 102 this.input = document.createElement("input"); 103 103 this.input.instance = this; 104 this.input.className = this.inputClassName;105 104 this.input.setAttribute("autocomplete", "off"); 106 105 this.input.onblur = function() { … … 210 209 } 211 210 212 ctlUserSuggest.prototype.setInputClassName = function(str)213 {214 this.inputClassName = str;215 this.input.className = str;216 }217 218 211 ctlUserSuggest.prototype.getValue = function() 219 212 {
