Changeset 5395
- Timestamp:
- 02/25/08 03:29:46 (9 months ago)
- Location:
- trunk
- Files:
-
- 5 modified
-
interface/login/index.php (modified) (1 diff)
-
lib/view/ownerView.php (modified) (3 diffs)
-
plugins/FM_Modern/editor.js (modified) (2 diffs)
-
plugins/FM_Modern/index.php (modified) (1 diff)
-
skin/coolant/skin.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/login/index.php
r5365 r5395 48 48 if (!$isLogin) { 49 49 $message = _text('아이디 또는 비밀번호가 틀렸습니다.'); 50 if (!doesHaveMembership() && isLoginId( $blogid, $_POST['loginid']))50 if (!doesHaveMembership() && isLoginId(getBlogId(), $_POST['loginid'])){ 51 51 $showPasswordReset = true; 52 } 52 53 } 53 54 else if($isLogin == 2) { -
trunk/lib/view/ownerView.php
r5285 r5395 43 43 } 44 44 } 45 if (correct && !editormap[editorselect.value] && firsteditor >= 0) { 45 //if (correct && !editormap[editorselect.value] && firsteditor >= 0) { 46 if (correct && firsteditor >= 0) { 46 47 editorselect.selectedIndex = firsteditor; 47 if (typeof correct == 'function') correct(editorselect.value );48 if (typeof correct == 'function') correct(editorselect.value, key); 48 49 } 49 50 return true; … … 142 143 143 144 var editor = null; 144 function setCurrentEditor(key ) {145 function setCurrentEditor(key,formatter) { 145 146 var neweditor = getEditor(key); 146 147 if (neweditor == null) { … … 158 159 } 159 160 editor = neweditor; 161 editor.formatter = formatter; 160 162 editor.initialize(document.getElementById("editWindow")); 161 163 return true; -
trunk/plugins/FM_Modern/editor.js
r5285 r5395 86 86 if(typeof(document.execCommand) == "undefined" || !(STD.isIE || STD.isFirefox || STD.isSafari3)) 87 87 return; 88 88 // Set editor mode for formatters. 89 if(this.formatter == 'textile' || this.formatter == 'markdown') this.editMode = 'TEXTAREA'; 89 90 for (var x in TTModernEditor.editors) return x; // ignore if there is any other instance 90 91 var seed = (textarea.id || 'unknown').replace(new RegExp('[^a-z0-9_]', 'gi'), ''); … … 230 231 if(this.editMode == "TEXTAREA") 231 232 this.iframe.style.display = "none"; 232 233 233 // 가끔씩 Firefox에서 커서가 움직이지 않는 문제 수정 234 234 if(!STD.isIE) setTimeout(function() { try { _this.contentDocument.designMode='on'; } catch (e) {} }, 100); -
trunk/plugins/FM_Modern/index.php
r5285 r5395 2 2 function FM_Modern_handleconfig($configVal) { 3 3 requireComponent('Textcube.Function.misc'); 4 requireComponent('Textcube.Function.Setting'); 4 5 $config = setting::fetchConfigVal($configVal); 5 6 if (isset($config['defaultmode']) && $config['defaultmode'] != 'WYSIWYG' && $config['defaultmode'] != 'TEXTAREA') return false; -
trunk/skin/coolant/skin.html
r5386 r5395 482 482 <a href="[##_archive_rep_link_##]">[##_archive_rep_date_##] </a> 483 483 <span class="cnt">([##_archive_rep_count_##])</span> 484 </li>484 </li> 485 485 </s_archive_rep> 486 486 </ul>
