mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 19:42:15 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@535 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bbacc9773f
commit
f8b0d472bd
8 changed files with 81 additions and 77 deletions
|
|
@ -21,20 +21,20 @@ a.bold {
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.editor_blue_text:link { color: #17B1B7; text-decoration:none; border-bottom:2px solid #17B1B7;}
|
a.editor_blue_text:link { color: #145ff9; text-decoration:none; border-bottom:2px solid #4a7fec;}
|
||||||
a.editor_blue_text:visited { color: #17B1B7; text-decoration:none; border-bottom:2px solid #17B1B7;}
|
a.editor_blue_text:visited { color: #145ff9; text-decoration:none; border-bottom:2px solid #4a7fec;}
|
||||||
a.editor_blue_text:active { color: #17B1B7; text-decoration:none; border-bottom:2px solid #17B1B7;}
|
a.editor_blue_text:active { color: #145ff9; text-decoration:none; border-bottom:2px solid #4a7fec;}
|
||||||
a.editor_blue_text:hover { color: #17B1B7; text-decoration:none; border-bottom:2px solid #17B1B7;}
|
a.editor_blue_text:hover { color: #145ff9; text-decoration:none; border-bottom:2px solid #4a7fec;}
|
||||||
|
|
||||||
a.editor_red_text:link { color: #B71717; text-decoration:none; border-bottom:2px solid #B71717; }
|
a.editor_red_text:link { color: #f42126; text-decoration:none; border-bottom:2px solid #e54347; }
|
||||||
a.editor_red_text:visited { color: #B71717; text-decoration:none; border-bottom:2px solid #B71717;}
|
a.editor_red_text:visited { color: #f42126; text-decoration:none; border-bottom:2px solid #e54347;}
|
||||||
a.editor_red_text:active { color: #B71717; text-decoration:none; border-bottom:2px solid #B71717;}
|
a.editor_red_text:active { color: #f42126; text-decoration:none; border-bottom:2px solid #e54347;}
|
||||||
a.editor_red_text:hover { color: #B71717; text-decoration:none; border-bottom:2px solid #B71717;}
|
a.editor_red_text:hover { color: #f42126; text-decoration:none; border-bottom:2px solid #e54347;}
|
||||||
|
|
||||||
a.editor_yellow_text:link { color: #6A8308; text-decoration:none; border-bottom:2px solid #6A8308; }
|
a.editor_yellow_text:link { color: #c9bd00; text-decoration:none; border-bottom:2px solid #ece460; }
|
||||||
a.editor_yellow_text:visited { color: #6A8308; text-decoration:none; border-bottom:2px solid #6A8308;}
|
a.editor_yellow_text:visited { color: #c9bd00; text-decoration:none; border-bottom:2px solid #ece460;}
|
||||||
a.editor_yellow_text:active { color: #6A8308; text-decoration:none; border-bottom:2px solid #6A8308;}
|
a.editor_yellow_text:active { color: #c9bd00; text-decoration:none; border-bottom:2px solid #ece460;}
|
||||||
a.editor_yellow_text:hover { color: #6A8308; text-decoration:none; border-bottom:2px solid #6A8308;}
|
a.editor_yellow_text:hover { color: #c9bd00; text-decoration:none; border-bottom:2px solid #ece460;}
|
||||||
|
|
||||||
a.editor_green_text:link { color: #08830B; text-decoration:none; border-bottom:2px solid #08830B;}
|
a.editor_green_text:link { color: #08830B; text-decoration:none; border-bottom:2px solid #08830B;}
|
||||||
a.editor_green_text:visited { color: #08830B; text-decoration:none; border-bottom:2px solid #08830B;}
|
a.editor_green_text:visited { color: #08830B; text-decoration:none; border-bottom:2px solid #08830B;}
|
||||||
|
|
@ -44,3 +44,11 @@ a.editor_green_text:hover { color: #08830B; text-decoration:none; border-bottom:
|
||||||
.folder_opener { display: block; }
|
.folder_opener { display: block; }
|
||||||
.folder_closer { display: none; }
|
.folder_closer { display: none; }
|
||||||
.folder_area { display: none; }
|
.folder_area { display: none; }
|
||||||
|
|
||||||
|
.editor_multimedia {
|
||||||
|
background:url(../tpl/images/multimedia_icon.gif) no-repeat center;
|
||||||
|
background-color:#FFFFFF;
|
||||||
|
border:3px dotted #2661db;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
|
@ -39,7 +39,6 @@
|
||||||
.editor_button_area {
|
.editor_button_area {
|
||||||
clear:both;
|
clear:both;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
margin:5px;
|
|
||||||
background-color:#EEEEEE;
|
background-color:#EEEEEE;
|
||||||
height:30px;
|
height:30px;
|
||||||
padding-top:3px;
|
padding-top:3px;
|
||||||
|
|
|
||||||
|
|
@ -2,46 +2,48 @@
|
||||||
<!--%import("popup.css")-->
|
<!--%import("popup.css")-->
|
||||||
<!--%import("../lang")-->
|
<!--%import("../lang")-->
|
||||||
|
|
||||||
<div class="editor_window">
|
<form action="./" method="get" onSubmit="return false" id="fo">
|
||||||
<form action="./" method="get" onSubmit="return false" id="fo">
|
<div class="editor_window">
|
||||||
<div class="header">{$lang->image_url}</div>
|
<div class="header">{$lang->image_url}</div>
|
||||||
<div class="body"><input type="text" class="image_url" id="image_url" value="" /></div>
|
<div class="body"><input type="text" class="image_url" id="image_url" value="" /></div>
|
||||||
<div class="header">{$lang->image_alt}</div>
|
|
||||||
<div class="body"><input type="text" class="image_url" id="image_alt" value="" /></div>
|
<div class="header">{$lang->image_alt}</div>
|
||||||
<div class="header">{$lang->image_align}</div>
|
<div class="body"><input type="text" class="image_url" id="image_alt" value="" /></div>
|
||||||
<div class="body">
|
|
||||||
<div class="image_align">
|
<div class="header">{$lang->image_align}</div>
|
||||||
<input type="radio" name="align" value="" id="align_normal" checked="true"/>
|
<div class="body">
|
||||||
<label for="align_normal">
|
<div class="image_align">
|
||||||
<img src="./images/align_normal.gif" alt="{$lang->image_align_normal}" />
|
<input type="radio" name="align" value="" id="align_normal" checked="true"/>
|
||||||
{$lang->image_align_normal}
|
<label for="align_normal">
|
||||||
</label>
|
<img src="./images/align_normal.gif" alt="{$lang->image_align_normal}" />
|
||||||
</div>
|
{$lang->image_align_normal}
|
||||||
<div class="image_align">
|
</label>
|
||||||
<input type="radio" name="align" value="left" id="align_left" />
|
</div>
|
||||||
<label for="align_left">
|
<div class="image_align">
|
||||||
<img src="./images/align_left.gif" alt="{$lang->image_align_left}" />
|
<input type="radio" name="align" value="left" id="align_left" />
|
||||||
{$lang->image_align_left}
|
<label for="align_left">
|
||||||
</label>
|
<img src="./images/align_left.gif" alt="{$lang->image_align_left}" />
|
||||||
</div>
|
{$lang->image_align_left}
|
||||||
<div class="image_align">
|
</label>
|
||||||
<input type="radio" name="align" value="middle" id="align_middle" />
|
</div>
|
||||||
<label for="align_middle">
|
<div class="image_align">
|
||||||
<img src="./images/align_middle.gif" alt="{$lang->image_align_middle}" />
|
<input type="radio" name="align" value="middle" id="align_middle" />
|
||||||
{$lang->image_align_middle}
|
<label for="align_middle">
|
||||||
</label>
|
<img src="./images/align_middle.gif" alt="{$lang->image_align_middle}" />
|
||||||
</div>
|
{$lang->image_align_middle}
|
||||||
<div class="image_align">
|
</label>
|
||||||
<input type="radio" name="align" value="right" id="align_right" />
|
</div>
|
||||||
<label for="align_right">
|
<div class="image_align">
|
||||||
<img src="./images/align_right.gif" alt="{$lang->image_align_right}" />
|
<input type="radio" name="align" value="right" id="align_right" />
|
||||||
{$lang->image_align_right}
|
<label for="align_right">
|
||||||
</label>
|
<img src="./images/align_right.gif" alt="{$lang->image_align_right}" />
|
||||||
</div>
|
{$lang->image_align_right}
|
||||||
</div>
|
</label>
|
||||||
<div class="editor_button_area">
|
</div>
|
||||||
<input type="button" value="{$lang->cmd_insert}" class="editor_button" onclick="insertImage()" />
|
</div>
|
||||||
<input type="button" value="{$lang->cmd_close}" class="editor_button" onclick="window.close();" />
|
<div class="editor_button_area">
|
||||||
</div>
|
<input type="button" value="{$lang->cmd_insert}" class="editor_button" onclick="insertImage()" />
|
||||||
</form>
|
<input type="button" value="{$lang->cmd_close}" class="editor_button" onclick="window.close();" />
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,6 @@
|
||||||
.editor_button_area {
|
.editor_button_area {
|
||||||
clear:both;
|
clear:both;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
margin:5px;
|
|
||||||
height:25px;
|
height:25px;
|
||||||
padding-top:3px;
|
padding-top:3px;
|
||||||
background-color:#EEEEEE;
|
background-color:#EEEEEE;
|
||||||
|
|
|
||||||
|
|
@ -17,10 +17,10 @@
|
||||||
<div class="body"><input type="text" class="multimedia_size" id="multimedia_height" value="480" />px</div>
|
<div class="body"><input type="text" class="multimedia_size" id="multimedia_height" value="480" />px</div>
|
||||||
|
|
||||||
<div class="header">{$lang->multimedia_auto_start}</div>
|
<div class="header">{$lang->multimedia_auto_start}</div>
|
||||||
<div class="body"><input type="checkbox" id="multimedia_autostart" value="Y" /></div>
|
<div class="body"><input type="checkbox" id="multimedia_auto_start" value="Y" /></div>
|
||||||
|
|
||||||
<div class="editor_button_area">
|
<div class="editor_button_area">
|
||||||
<input type="button" value="{$lang->cmd_insert}" class="editor_button" onclick="insertImage()" />
|
<input type="button" value="{$lang->cmd_insert}" class="editor_button" onclick="insertMultimedia()" />
|
||||||
<input type="button" value="{$lang->cmd_close}" class="editor_button" onclick="window.close();" />
|
<input type="button" value="{$lang->cmd_close}" class="editor_button" onclick="window.close();" />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
||||||
|
|
@ -1,23 +1,25 @@
|
||||||
function insertImage(obj) {
|
function insertMultimedia(obj) {
|
||||||
if(typeof(opener)=="undefined") return;
|
if(typeof(opener)=="undefined") return;
|
||||||
|
|
||||||
var url = xGetElementById("image_url").value;
|
var url = xGetElementById("multimedia_url").value;
|
||||||
var alt = xGetElementById("image_alt").value;
|
|
||||||
var align = "";
|
var caption = xGetElementById("multimedia_caption").value;
|
||||||
if(xGetElementById("align_normal").checked==true) align = "";
|
|
||||||
else if(xGetElementById("align_left").checked==true) align = "left";
|
var width = xGetElementById("multimedia_width").value;
|
||||||
else if(xGetElementById("align_middle").checked==true) align = "middle";
|
if(!width) width = 640;
|
||||||
else if(xGetElementById("align_right").checked==true) align = "right";
|
|
||||||
|
var height = xGetElementById("multimedia_height").value;
|
||||||
|
if(!height) height= 480;
|
||||||
|
|
||||||
|
var auto_start = "false";
|
||||||
|
if(xGetElementById("multimedia_auto_start").checked) auto_start = "true";
|
||||||
|
|
||||||
if(!url) {
|
if(!url) {
|
||||||
window.close();
|
window.close();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var text = "<img src=\""+url+"\" border=\"0\"";
|
var text = "<div class=\"editor_multimedia\" plugin=\"multimedia_link\" src=\""+url+"\" width=\""+width+"\" height=\""+height+"\" style=\"width:"+width+"px;height:"+height+"px;\" auto_start=\""+auto_start+"\">"+caption+"</div>";
|
||||||
if(alt) text+= " alt=\""+alt+"\"";
|
|
||||||
if(align) text+= " align=\""+align+"\" ";
|
|
||||||
text+= " />";
|
|
||||||
|
|
||||||
opener.editorFocus(opener.editorPrevSrl);
|
opener.editorFocus(opener.editorPrevSrl);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -182,9 +182,3 @@ input.editor_input {
|
||||||
vertical-align:middle;
|
vertical-align:middle;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.editor_multimedia {
|
|
||||||
background:url(../images/multimedia_icon.gif) no-repeat center;
|
|
||||||
background-color:#FFFFFF;
|
|
||||||
border:2px dotted #B7AD10;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue