Changeset 5576
- Timestamp:
- 03/09/08 05:00:43 (2 years ago)
- Location:
- trunk
- Files:
-
- 17 modified
-
interface/owner/entry/attach/index.php (modified) (1 diff)
-
interface/owner/entry/attachmulti/refresh/index.php (modified) (2 diffs)
-
interface/owner/entry/edit/index.php (modified) (5 diffs)
-
lib/view/ownerView.php (modified) (13 diffs)
-
plugins/FM_Modern/editor.js (modified) (1 diff)
-
script/editor2.js (modified) (1 diff)
-
script/generaltag.js (modified) (3 diffs)
-
script/locationtag.js (modified) (2 diffs)
-
style/admin/modern/editor.css (modified) (1 diff)
-
style/admin/modern/popup-editor.css (modified) (1 diff)
-
style/admin/retro-celebrate/editor.css (modified) (1 diff)
-
style/admin/retro-celebrate/popup-editor.css (modified) (1 diff)
-
style/admin/swallow/editor.css (modified) (1 diff)
-
style/admin/swallow/popup-editor.css (modified) (1 diff)
-
style/admin/whitedream/editor.css (modified) (1 diff)
-
style/admin/whitedream/popup-editor.css (modified) (1 diff)
-
style/system.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/interface/owner/entry/attach/index.php
r5285 r5576 33 33 var blogURL = "<?php echo $blogURL;?>"; 34 34 var adminSkin = "<?php echo $adminSkinSetting['skin'];?>"; 35 var oSelect = window.parent.document.getElementById(' fileList');35 var oSelect = window.parent.document.getElementById('TCfilelist'); 36 36 37 37 function addAttachOption(value) { -
trunk/interface/owner/entry/attachmulti/refresh/index.php
r5285 r5576 10 10 $enclosureFileName = ''; 11 11 ?> 12 <select size="8" name="fileList" id="fileList" multiple="multiple" style="width:415px;" onchange="selectAttachment();">12 <select name="TCfilelist" id="TCfilelist" multiple="multiple" size="8" onchange="selectAttachment();"> 13 13 <?php 14 14 foreach ($attachments as $i => $attachment) { … … 33 33 } 34 34 if ($attachment['enclosure'] == 1) { 35 $ style = 'style="background-color:#c6a6e7; color:#000000"';35 $class = ' class="enclosure"'; 36 36 $enclosureFileName = $attachment['name']; 37 37 } else { 38 $ style= '';38 $class = ''; 39 39 } 40 40 $value = htmlspecialchars(getAttachmentValue($attachment)); 41 41 $label = htmlspecialchars(getPrettyAttachmentLabel($attachment)); 42 42 ?> 43 <option <?php echo $style;?> value="<?php echo $value;?>">43 <option<?php echo $class;?> value="<?php echo $value;?>"> 44 44 <?php echo $label;?> 45 45 </option> -
trunk/interface/owner/entry/edit/index.php
r5481 r5576 90 90 var filename = value.substring(0, value.indexOf("|")); 91 91 92 if(document.getElementById(" fileList").selectedIndex == -1) {92 if(document.getElementById("TCfilelist").selectedIndex == -1) { 93 93 alert("<?php echo _t('파일을 선택하십시오.');?>"); 94 94 return false; … … 119 119 request.onSuccess = function () { 120 120 PM.removeRequest(this); 121 var fileList = document.getElementById(" fileList");121 var fileList = document.getElementById("TCfilelist"); 122 122 fileList.selectedIndex = -1; 123 123 for(var i=0; i<fileList.length; i++) … … 506 506 507 507 function viewWhatIsEolin() { 508 document.getElementById(' fileList').style.visibility = 'hidden';508 document.getElementById('TCfilelist').style.visibility = 'hidden'; 509 509 dialog = document.getElementById('eolinDialog'); 510 510 PM.showPanel(dialog); … … 512 512 513 513 function closeWhatIsEolin() { 514 document.getElementById(' fileList').style.visibility = 'visible';514 document.getElementById('TCfilelist').style.visibility = 'visible'; 515 515 document.getElementById('eolinDialog').style.display = 'none'; 516 516 } … … 761 761 <a class="image-sequence" href="#void" onclick="editorAddObject(editor, 'Gallery');return false;" title="<?php echo _t('이미지 갤러리를 삽입합니다.');?>"><span class="text"><?php echo _t('갤러리 삽입');?></span></a> 762 762 <a class="image-mp3" href="#void" onclick="editorAddObject(editor, 'Jukebox');return false;" title="<?php echo _t('쥬크박스를 삽입합니다.');?>"><span class="text"><?php echo _t('쥬크박스 삽입');?></span></a> 763 <a class="image-podcast" href="#void" onclick="setEnclosure(document.getElementById(' fileList').value);return false;" title="<?php echo _t('팟캐스트로 지정합니다.');?>"><span class="text"><?php echo _t('팟캐스트 지정');?></span></a>763 <a class="image-podcast" href="#void" onclick="setEnclosure(document.getElementById('TCfilelist').value);return false;" title="<?php echo _t('팟캐스트로 지정합니다.');?>"><span class="text"><?php echo _t('팟캐스트 지정');?></span></a> 764 764 </div> 765 765 <?php -
trunk/lib/view/ownerView.php
r5526 r5576 187 187 <div id="attachManagerSelectNest"> 188 188 <span id="attachManagerSelect"> 189 <select id=" fileList" name="fileList" multiple="multiple" size="8" onchange="selectAttachment();">189 <select id="TCfilelist" name="TCfilelist" multiple="multiple" size="8" onchange="selectAttachment();"> 190 190 <?php 191 191 $initialFileListForFlash = ''; … … 241 241 242 242 function deleteAttachment() { 243 var fileList = document.getElementById(' fileList');243 var fileList = document.getElementById('TCfilelist'); 244 244 245 245 if (fileList.selectedIndex < 0) { … … 294 294 height = document.getElementById('previewSelected').clientHeight; 295 295 var code = ''; 296 var fileList = document.getElementById(' fileList');296 var fileList = document.getElementById('TCfilelist'); 297 297 if (fileList.selectedIndex < 0) 298 298 return false; … … 380 380 function downloadAttachment() { 381 381 try { 382 var fileList = document.getElementById(' fileList');382 var fileList = document.getElementById('TCfilelist'); 383 383 if (fileList.selectedIndex < 0) { 384 384 return false; … … 410 410 411 411 function refreshAttachFormSize() { 412 fileListObj = document.getElementById(' fileList');412 fileListObj = document.getElementById('TCfilelist'); 413 413 fileListObj.setAttribute('size',Math.max(8,Math.min(fileListObj.length,30))); 414 414 } … … 449 449 loaded = Number(loaded); 450 450 total = Number(total); 451 var fileListObj = document.getElementById(" fileList");451 var fileListObj = document.getElementById("TCfilelist"); 452 452 for(var i=0; i<fileListObj.length; i++) { 453 453 if (fileListObj[i].getAttribute("value") == target) { … … 461 461 loaded = Number(loaded); 462 462 total = Number(total); 463 var fileListObj = document.getElementById(" fileList");463 var fileListObj = document.getElementById("TCfilelist"); 464 464 for(var i=0; i<fileListObj.length; i++) { 465 465 if (fileListObj[i].getAttribute("value") == target) { … … 617 617 function addFileList(list) { 618 618 var list = Base64.decode(list); 619 var fileListObj = document.getElementById(" fileList");619 var fileListObj = document.getElementById("TCfilelist"); 620 620 var listTemp = list.split("!^|"); 621 621 var fileLabel = listTemp[0]; 622 622 var fileValue = listTemp[1]; 623 var fileListObj = document.getElementById(" fileList");623 var fileListObj = document.getElementById("TCfilelist"); 624 624 for(var i=0; i<fileListObj.length; i++) { 625 625 if (stripLabelToValue(fileLabel).indexOf(fileListObj[i].getAttribute("value")) != -1) { … … 634 634 635 635 function newLoadItem(fileValue) { 636 var fileListObj = document.getElementById(" fileList");637 var fileListObj = document.getElementById(" fileList");636 var fileListObj = document.getElementById("TCfilelist"); 637 var fileListObj = document.getElementById("TCfilelist"); 638 638 for(var i=0; i<fileListObj.length; i++) { 639 639 if (fileValue.indexOf(fileListObj[i].getAttribute("value")) != -1) { … … 650 650 alert(e.message); 651 651 } 652 var fileListObj = document.getElementById(" fileList");652 var fileListObj = document.getElementById("TCfilelist"); 653 653 var listTemp = list.split("!^|"); 654 654 for(var i=0; i<listTemp.length; i++) { … … 681 681 function selectFileList(value) { 682 682 selectedFiles = value.split("!^|"); 683 var fileListObj = document.getElementById(" fileList");683 var fileListObj = document.getElementById("TCfilelist"); 684 684 for(var i=0; i<fileListObj.length; i++) { 685 685 for(var j=0; j<selectedFiles.length; j++) { … … 697 697 698 698 function disabledDeleteBtn() { 699 if(document.getElementById(' fileList').length>0) {699 if(document.getElementById('TCfilelist').length>0) { 700 700 document.getElementById('deleteBtn').disabled = false; 701 701 } else { … … 706 706 function removeUploadList(list) { 707 707 selectedFiles = list.split("!^|"); 708 var fileListObj = document.getElementById(" fileList");708 var fileListObj = document.getElementById("TCfilelist"); 709 709 for(var j=0; j<selectedFiles.length; j++) { 710 710 for(var i=0; i<fileListObj.length; i++) { -
trunk/plugins/FM_Modern/editor.js
r5551 r5576 1906 1906 1907 1907 TTModernEditor.prototype.getFilenameFromFilelist = function(name) { 1908 var fileList = getObject(" fileList");1908 var fileList = getObject("TCfilelist"); 1909 1909 1910 1910 for(var i=0; i<fileList.length; i++) -
trunk/script/editor2.js
r5285 r5576 1683 1683 1684 1684 TTEditor.prototype.getFilenameFromFilelist = function(name) { 1685 var fileList = getObject(" fileList");1685 var fileList = getObject("TCfilelist"); 1686 1686 1687 1687 for(var i=0; i<fileList.length; i++) -
trunk/script/generaltag.js
r5285 r5576 116 116 try { 117 117 document.getElementById("previewSelected").style.visibility = "hidden"; 118 document.getElementById(" fileList").style.visibility = "hidden";118 document.getElementById("TCfilelist").style.visibility = "hidden"; 119 119 } catch(e) { } 120 120 try { document.body.removeChild(instance.suggestion) } catch(e) { }; … … 191 191 try { 192 192 document.getElementById("previewSelected").style.visibility = "hidden"; 193 document.getElementById(" fileList").style.visibility = "hidden";193 document.getElementById("TCfilelist").style.visibility = "hidden"; 194 194 } catch(e) { } 195 195 … … 534 534 try { 535 535 document.getElementById("previewSelected").style.visibility = "visible"; 536 document.getElementById(" fileList").style.visibility = "visible";536 document.getElementById("TCfilelist").style.visibility = "visible"; 537 537 } catch(e) { } 538 538 } -
trunk/script/locationtag.js
r5285 r5576 83 83 try { 84 84 document.getElementById("previewSelected").style.visibility = "hidden"; 85 document.getElementById(" fileList").style.visibility = "hidden";85 document.getElementById("TCfilelist").style.visibility = "hidden"; 86 86 } catch(e) { } 87 87 … … 354 354 try { 355 355 document.getElementById("previewSelected").style.visibility = "visible"; 356 document.getElementById(" fileList").style.visibility = "visible";356 document.getElementById("TCfilelist").style.visibility = "visible"; 357 357 } catch(e) { } 358 358 } -
trunk/style/admin/modern/editor.css
r5465 r5576 439 439 } 440 440 441 # fileList441 #TCfilelist 442 442 { 443 443 height : 120px; -
trunk/style/admin/modern/popup-editor.css
r5465 r5576 437 437 } 438 438 439 # fileList439 #TCfilelist 440 440 { 441 441 height : 120px; -
trunk/style/admin/retro-celebrate/editor.css
r5472 r5576 439 439 } 440 440 441 # fileList441 #TCfilelist 442 442 { 443 443 height : 120px; -
trunk/style/admin/retro-celebrate/popup-editor.css
r5472 r5576 437 437 } 438 438 439 # fileList439 #TCfilelist 440 440 { 441 441 height : 120px; -
trunk/style/admin/swallow/editor.css
r5465 r5576 439 439 } 440 440 441 # fileList441 #TCfilelist 442 442 { 443 443 height : 120px; -
trunk/style/admin/swallow/popup-editor.css
r5465 r5576 437 437 } 438 438 439 # fileList439 #TCfilelist 440 440 { 441 441 height : 120px; -
trunk/style/admin/whitedream/editor.css
r5465 r5576 439 439 } 440 440 441 # fileList441 #TCfilelist 442 442 { 443 443 height : 120px; -
trunk/style/admin/whitedream/popup-editor.css
r5465 r5576 437 437 } 438 438 439 # fileList439 #TCfilelist 440 440 { 441 441 height : 120px; -
trunk/style/system.css
r5575 r5576 17 17 padding: 0; 18 18 } 19 20 #TCfilelist 21 { 22 width: 415px; 23 } 24 25 #TCfilelist .enclosure 26 { 27 background-color: #c6a6e7; 28 color: #000; 29 }
