Changeset 584


Ignore:
Timestamp:
09/23/06 13:05:01 (13 years ago)
Author:
gocher
Message:

Make TableOperations? skinable

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/TableOperations/table-operations.js

    r499 r584  
    177177                dialog.content.style.width = "400px"; 
    178178                dialog.content.innerHTML = " \ 
    179 <div class='title'\ 
    180  style='background: url(" + dialog.baseURL + dialog.editor.imgURL("table-prop.gif", "TableOperations") + ") #fff 98% 50% no-repeat'>" + HTMLArea._lc("Table Properties", "TableOperations") + "\ 
     179<div class='title'>" + HTMLArea._lc("Table Properties", "TableOperations") + "\ 
    181180</div> \ 
    182181<table style='width:100%'> \ 
     
    330329                dialog.content.style.width = "400px"; 
    331330                dialog.content.innerHTML = " \ 
    332 <div class='title'\ 
    333  style='background: url(" + dialog.baseURL + dialog.editor.imgURL(cell ? "cell-prop.gif" : "row-prop.gif", "TableOperations") + ") #fff 98% 50% no-repeat'>" + HTMLArea._lc(cell ? "Cell Properties" : "Row Properties", "TableOperations") + "</div> \ 
     331<div class='title'>" + HTMLArea._lc(cell ? "Cell Properties" : "Row Properties", "TableOperations") + "</div> \ 
    334332<table style='width:100%'> \ 
    335333  <tr> \ 
  • trunk/popupwin.js

    r475 r584  
    4141  var html = "<html><head><title>" + title + "</title>\n"; 
    4242  // html += "<base href='" + base + "htmlarea.js' />\n"; 
    43   html += "<style type='text/css'>@import url(" + base + "htmlarea.css);</style></head>\n"; 
     43  html += "<style type='text/css'>@import url(" + _editor_url + "htmlarea.css);</style>\n"; 
     44  html += "<style type='text/css'>@import url(" + _editor_url + "skins/" + _editor_skin + "/skin.css);</style>\n"; 
     45  html += "</head>\n"; 
    4446  html += "<body class='dialog popupwin' id='--HA-body'></body></html>"; 
    4547  doc.write(html); 
     
    107109  var div = this.doc.createElement("div"); 
    108110  this.content.appendChild(div); 
     111  div.id = "buttons"; 
    109112  div.className = "buttons"; 
    110113  for ( var i = 0; i < arguments.length; ++i ) 
Note: See TracChangeset for help on using the changeset viewer.