Changeset 239 for trunk/popups


Ignore:
Timestamp:
06/23/05 07:01:59 (14 years ago)
Author:
gocher
Message:

Ticket #353 make plugins /popups skinable
change editor.config.skin to _editor_skin

Location:
trunk/popups
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/popups/insert_image.html

    r109 r239  
    7272</head> 
    7373 
    74 <body onload="Init()"> 
     74<body class="dialog" onload="Init()"> 
    7575 
    7676<div class="title">Insert Image</div> 
  • trunk/popups/insert_table.html

    r109 r239  
    5252</head> 
    5353 
    54 <body onload="Init()"> 
     54<body class="dialog" onload="Init()"> 
    5555 
    5656<div class="title">Insert Table</div> 
  • trunk/popups/link.html

    r141 r239  
    103103</head> 
    104104 
    105 <body onload="Init()"> 
     105<body class="dialog" onload="Init()"> 
    106106<div class="title">Insert/Modify Link</div> 
    107107<form> 
  • trunk/popups/popup.js

    r177 r239  
    3737 
    3838function __dlg_init(bottom) { 
     39  if(window.opener._editor_skin != "") { 
     40    var head = document.getElementsByTagName("head")[0]; 
     41    var link = document.createElement("link"); 
     42    link.type = "text/css"; 
     43    link.href = window.opener._editor_url + 'skins/' + window.opener._editor_skin + '/skin.css'; 
     44    link.rel = "stylesheet"; 
     45    head.appendChild(link); 
     46  } 
    3947        var body = document.body; 
    4048        var body_height = 0; 
  • trunk/popups/select_color.html

    r214 r239  
    6666</style> 
    6767</head> 
    68 <body onload="Init()"> 
     68<body class="dialog" onload="Init()"> 
    6969 
    7070<form action="#" method="get" onsubmit="Set(document.getElementById('ColorHex').value); return false;"> 
Note: See TracChangeset for help on using the changeset viewer.