/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/editor_plugin_src.js |
---|
New file |
0,0 → 1,235 |
/** |
* $Id: editor_plugin_src.js 232 2007-03-05 17:00:27Z spocke $ |
* |
* @author Moxiecode |
* @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved. |
*/ |
/* Import plugin specific language pack */ |
tinyMCE.importPluginLanguagePack('fullpage'); |
var TinyMCE_FullPagePlugin = { |
getInfo : function() { |
return { |
longname : 'Fullpage', |
author : 'Moxiecode Systems AB', |
authorurl : 'http://tinymce.moxiecode.com', |
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullpage', |
version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion |
}; |
}, |
getControlHTML : function(cn) { |
switch (cn) { |
case "fullpage": |
return tinyMCE.getButtonHTML(cn, 'lang_fullpage_desc', '{$pluginurl}/images/fullpage.gif', 'mceFullPageProperties'); |
} |
return ""; |
}, |
execCommand : function(editor_id, element, command, user_interface, value) { |
// Handle commands |
switch (command) { |
case "mceFullPageProperties": |
var template = new Array(); |
template['file'] = '../../plugins/fullpage/fullpage.htm'; |
template['width'] = 430; |
template['height'] = 485 + (tinyMCE.isOpera ? 5 : 0); |
template['width'] += tinyMCE.getLang('lang_fullpage_delta_width', 0); |
template['height'] += tinyMCE.getLang('lang_fullpage_delta_height', 0); |
tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"}); |
return true; |
case "mceFullPageUpdate": |
TinyMCE_FullPagePlugin._addToHead(tinyMCE.getInstanceById(editor_id)); |
return true; |
} |
// Pass to next handler in chain |
return false; |
}, |
cleanup : function(type, content, inst) { |
switch (type) { |
case "insert_to_editor": |
var tmp = content.toLowerCase(); |
var pos = tmp.indexOf('<body'), pos2; |
// Split page in header and body chunks |
if (pos != -1) { |
pos = tmp.indexOf('>', pos); |
pos2 = tmp.lastIndexOf('</body>'); |
inst.fullpageTopContent = content.substring(0, pos + 1); |
content = content.substring(pos + 1, pos2); |
// tinyMCE.debug(inst.fullpageTopContent, content); |
} else { |
if (!inst.fullpageTopContent) { |
var docType = tinyMCE.getParam("fullpage_default_doctype", '<!DOCTYPE html PUBLIC "-/'+'/W3C//DTD XHTML 1.0 Transitional/'+'/EN" "http:/'+'/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'); |
var enc = tinyMCE.getParam("fullpage_default_encoding", 'utf-8'); |
var title = tinyMCE.getParam("fullpage_default_title", 'Untitled document'); |
var lang = tinyMCE.getParam("fullpage_default_langcode", 'en'); |
var pi = tinyMCE.getParam("fullpage_default_xml_pi", true); |
var ff = tinyMCE.getParam("fullpage_default_font_family", ""); |
var fz = tinyMCE.getParam("fullpage_default_font_size", ""); |
var ds = tinyMCE.getParam("fullpage_default_style", ""); |
var dtc = tinyMCE.getParam("fullpage_default_text_color", ""); |
// Xml encode it |
title = title.replace(/&/g, '&'); |
title = title.replace(/\"/g, '"'); |
title = title.replace(/</g, '<'); |
title = title.replace(/>/g, '>'); |
tmp = ''; |
// Make default chunk |
if (pi) |
tmp += '<?xml version="1.0" encoding="' + enc + '"?>\n'; |
tmp += docType + '\n'; |
tmp += '<html xmlns="http:/'+'/www.w3.org/1999/xhtml" lang="' + lang + '" xml:lang="' + lang + '">\n'; |
tmp += '<head>\n'; |
tmp += '\t<title>' + title + '</title>\n'; |
tmp += '\t<meta http-equiv="Content-Type" content="text/html; charset=' + enc + '" />\n'; |
tmp += '</head>\n'; |
tmp += '<body'; |
if (ff != '' || fz != '') { |
tmp += ' style="'; |
if (ds != '') |
tmp += ds + ";"; |
if (ff != '') |
tmp += 'font-family: ' + ff + ";"; |
if (fz != '') |
tmp += 'font-size: ' + fz + ";"; |
tmp += '"'; |
} |
if (dtc != '') |
tmp += ' text="' + dtc + '"'; |
tmp += '>\n'; |
inst.fullpageTopContent = tmp; |
} |
} |
this._addToHead(inst); |
break; |
case "get_from_editor": |
if (inst.fullpageTopContent && !tinyMCE.getParam("fullpage_hide_in_source_view", false)) { |
content = content.replace(/(\s)?mce\_[a-z_]+\=[^\s>]+(\s|\>)/i, ''); // Remove internal stuff |
content = inst.fullpageTopContent + content + "\n</body>\n</html>"; |
} |
break; |
case "submit_content": |
if (inst.fullpageTopContent && tinyMCE.getParam("fullpage_hide_in_source_view", false)) |
content = inst.fullpageTopContent + content + "\n</body>\n</html>"; |
break; |
} |
// Pass through to next handler in chain |
return content; |
}, |
// Private plugin internal methods |
_addToHead : function(inst) { |
var doc = inst.getDoc(); |
var head = doc.getElementsByTagName("head")[0]; |
var body = doc.body; |
var h = inst.fullpageTopContent; |
var e = doc.createElement("body"); |
var nl, i, le, tmp; |
// Remove stuff we don't want |
h = h.replace(/(\r|\n)/gi, ''); |
h = h.replace(/<\?[^\>]*\>/gi, ''); |
h = h.replace(/<\/?(!DOCTYPE|head|html)[^\>]*\>/gi, ''); |
h = h.replace(/<script(.*?)<\/script>/gi, ''); |
h = h.replace(/<title(.*?)<\/title>/gi, ''); |
h = h.replace(/<(meta|base)[^>]*>/gi, ''); |
// Make link and style elements into pre |
h = h.replace(/<link([^>]*)\/>/gi, '<pre mce_type="link" $1></pre>'); |
//h = h.replace(/<style([^>]*)>(.*?)<\/style>/gi, '<pre mce_type="style" $1>$2</pre>'); |
// Make body a div |
h = h.replace(/<body/gi, '<div mce_type="body"'); |
h += '</div>'; |
// Now crapy MSIE can parse it |
e.innerHTML = h; |
// Reset all body attributes |
body.vLink = body.aLink = body.link = body.text = ''; |
body.style.cssText = ''; |
// Delete all old links |
nl = head.getElementsByTagName('link'); |
for (i=0; i<nl.length; i++) { |
if (tinyMCE.getAttrib(nl[i], 'mce_head') == "true") |
nl[i].parentNode.removeChild(nl[i]); |
} |
// Add link elements |
nl = e.getElementsByTagName('pre'); |
for (i=0; i<nl.length; i++) { |
tmp = tinyMCE.getAttrib(nl[i], 'media'); |
if (tinyMCE.getAttrib(nl[i], 'mce_type') == "link" && (tmp == "" || tmp == "screen" || tmp == "all") && tinyMCE.getAttrib(nl[i], 'rel') == "stylesheet") { |
le = doc.createElement("link"); |
le.rel = "stylesheet"; |
le.href = tinyMCE.getAttrib(nl[i], 'href'); |
le.setAttribute("mce_head", "true"); |
head.appendChild(le); |
} |
} |
// Add body attributes |
nl = e.getElementsByTagName('div'); |
if (nl.length > 0) { |
body.style.cssText = tinyMCE.getAttrib(nl[0], 'style'); |
if ((tmp = tinyMCE.getAttrib(nl[0], 'leftmargin')) != '' && body.style.marginLeft == '') |
body.style.marginLeft = tmp + "px"; |
if ((tmp = tinyMCE.getAttrib(nl[0], 'rightmargin')) != '' && body.style.marginRight == '') |
body.style.marginRight = tmp + "px"; |
if ((tmp = tinyMCE.getAttrib(nl[0], 'topmargin')) != '' && body.style.marginTop == '') |
body.style.marginTop = tmp + "px"; |
if ((tmp = tinyMCE.getAttrib(nl[0], 'bottommargin')) != '' && body.style.marginBottom == '') |
body.style.marginBottom = tmp + "px"; |
body.dir = tinyMCE.getAttrib(nl[0], 'dir'); |
body.vLink = tinyMCE.getAttrib(nl[0], 'vlink'); |
body.aLink = tinyMCE.getAttrib(nl[0], 'alink'); |
body.link = tinyMCE.getAttrib(nl[0], 'link'); |
body.text = tinyMCE.getAttrib(nl[0], 'text'); |
if ((tmp = tinyMCE.getAttrib(nl[0], 'background')) != '') |
body.style.backgroundImage = "url('" + tmp + "')"; |
if ((tmp = tinyMCE.getAttrib(nl[0], 'bgcolor')) != '') |
body.style.backgroundColor = tmp; |
} |
} |
}; |
tinyMCE.addPlugin("fullpage", TinyMCE_FullPagePlugin); |
/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/fullpage.htm |
---|
New file |
0,0 → 1,577 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<title>{$lang_fullpage_title}</title> |
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script> |
<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script> |
<script language="javascript" type="text/javascript" src="../../utils/mclayer.js"></script> |
<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script> |
<script language="javascript" type="text/javascript" src="jscripts/fullpage.js"></script> |
<link href="css/fullpage.css" rel="stylesheet" type="text/css" /> |
<base target="_self" /> |
</head> |
<body id="advlink" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none"> |
<form onsubmit="updateAction();return false;" name="fullpage" action="#"> |
<div class="tabs"> |
<ul> |
<li id="meta_tab" class="current"><span><a href="javascript:mcTabs.displayTab('meta_tab','meta_panel');" onmousedown="return false;">{$lang_fullpage_meta_tab}</a></span></li> |
<li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{$lang_fullpage_appearance_tab}</a></span></li> |
<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{$lang_fullpage_advanced_tab}</a></span></li> |
</ul> |
</div> |
<div class="panel_wrapper"> |
<div id="meta_panel" class="panel current"> |
<fieldset> |
<legend>{$lang_fullpage_meta_props}</legend> |
<table border="0" cellpadding="4" cellspacing="0"> |
<tr> |
<td nowrap="nowrap"><label for="metatitle">{$lang_fullpage_meta_title}</label> </td> |
<td><input type="text" id="metatitle" name="metatitle" value="" /></td> |
</tr> |
<tr> |
<td nowrap="nowrap"><label for="metakeywords">{$lang_fullpage_meta_keywords}</label> </td> |
<td><textarea id="metakeywords" name="metakeywords" rows="4"></textarea></td> |
</tr> |
<tr> |
<td nowrap="nowrap"><label for="metadescription">{$lang_fullpage_meta_description}</label> </td> |
<td><textarea id="metadescription" name="metadescription" rows="4"></textarea></td> |
</tr> |
<tr> |
<td nowrap="nowrap"><label for="metaauthor">{$lang_fullpage_author}</label> </td> |
<td><input type="text" id="metaauthor" name="metaauthor" value="" /></td> |
</tr> |
<tr> |
<td nowrap="nowrap"><label for="metacopyright">{$lang_fullpage_copyright}</label> </td> |
<td><input type="text" id="metacopyright" name="metacopyright" value="" /></td> |
</tr> |
<tr> |
<td nowrap="nowrap"><label for="metarobots">{$lang_fullpage_meta_robots}</label> </td> |
<td> |
<select id="metarobots" name="metarobots"> |
<option value="">{$lang_not_set}</option> |
<option value="index,follow">{$lang_fullpage_meta_index_follow}</option> |
<option value="index,nofollow">{$lang_fullpage_meta_index_nofollow}</option> |
<option value="noindex,follow">{$lang_fullpage_meta_noindex_follow}</option> |
<option value="noindex,nofollow">{$lang_fullpage_meta_noindex_nofollow}</option> |
</select> |
</td> |
</tr> |
</table> |
</fieldset> |
<fieldset> |
<legend>{$lang_fullpage_langprops}</legend> |
<table border="0" cellpadding="4" cellspacing="0"> |
<tr> |
<td class="column1"><label for="docencoding">{$lang_fullpage_encoding}</label></td> |
<td> |
<select id="docencoding" name="docencoding"> |
<option value="">{$lang_not_set}</option> |
</select> |
</td> |
</tr> |
<tr> |
<td nowrap="nowrap"><label for="doctypes">{$lang_fullpage_doctypes}</label> </td> |
<td> |
<select id="doctypes" name="doctypes"> |
<option value="">{$lang_not_set}</option> |
</select> |
</td> |
</tr> |
<tr> |
<td nowrap="nowrap"><label for="langcode">{$lang_fullpage_langcode}</label> </td> |
<td><input type="text" id="langcode" name="langcode" value="" /></td> |
</tr> |
<tr> |
<td class="column1"><label for="langdir">{$lang_fullpage_langdir}</label></td> |
<td> |
<select id="langdir" name="langdir"> |
<option value="">{$lang_not_set}</option> |
<option value="ltr">{$lang_fullpage_ltr}</option> |
<option value="rtl">{$lang_fullpage_rtl}</option> |
</select> |
</td> |
</tr> |
<tr> |
<td nowrap="nowrap"><label for="xml_pi">{$lang_fullpage_xml_pi}</label> </td> |
<td><input type="checkbox" id="xml_pi" name="xml_pi" class="checkbox" /></td> |
</tr> |
</table> |
</fieldset> |
</div> |
<div id="appearance_panel" class="panel"> |
<fieldset> |
<legend>{$lang_fullpage_appearance_textprops}</legend> |
<table border="0" cellpadding="4" cellspacing="0"> |
<tr> |
<td class="column1"><label for="fontface">{$lang_fullpage_fontface}</label></td> |
<td> |
<select id="fontface" name="fontface" onchange="changedStyleField(this);"> |
<option value="">{$lang_not_set}</option> |
</select> |
</td> |
</tr> |
<tr> |
<td class="column1"><label for="fontsize">{$lang_fullpage_fontsize}</label></td> |
<td> |
<select id="fontsize" name="fontsize" onchange="changedStyleField(this);"> |
<option value="">{$lang_not_set}</option> |
</select> |
</td> |
</tr> |
<tr> |
<td class="column1"><label for="textcolor">{$lang_fullpage_textcolor}</label></td> |
<td> |
<table border="0" cellpadding="0" cellspacing="0"> |
<tr> |
<td><input id="textcolor" name="textcolor" type="text" value="" size="9" onchange="updateColor('textcolor_pick','textcolor');changedStyleField(this);" /></td> |
<td id="textcolor_pickcontainer"> </td> |
</tr> |
</table> |
</td> |
</tr> |
</table> |
</fieldset> |
<fieldset> |
<legend>{$lang_fullpage_appearance_bgprops}</legend> |
<table border="0" cellpadding="4" cellspacing="0"> |
<tr> |
<td class="column1"><label for="bgimage">{$lang_fullpage_bgimage}</label></td> |
<td> |
<table border="0" cellpadding="0" cellspacing="0"> |
<tr> |
<td><input id="bgimage" name="bgimage" type="text" value="" onchange="changedStyleField(this);" /></td> |
<td id="bgimage_pickcontainer"> </td> |
</tr> |
</table> |
</td> |
</tr> |
<tr> |
<td class="column1"><label for="bgcolor">{$lang_fullpage_bgcolor}</label></td> |
<td> |
<table border="0" cellpadding="0" cellspacing="0"> |
<tr> |
<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedStyleField(this);" /></td> |
<td id="bgcolor_pickcontainer"> </td> |
</tr> |
</table> |
</td> |
</tr> |
</table> |
</fieldset> |
<fieldset> |
<legend>{$lang_fullpage_appearance_marginprops}</legend> |
<table border="0" cellpadding="4" cellspacing="0"> |
<tr> |
<td class="column1"><label for="leftmargin">{$lang_fullpage_left_margin}</label></td> |
<td><input id="leftmargin" name="leftmargin" type="text" value="" onchange="changedStyleField(this);" /></td> |
<td class="column1"><label for="rightmargin">{$lang_fullpage_right_margin}</label></td> |
<td><input id="rightmargin" name="rightmargin" type="text" value="" onchange="changedStyleField(this);" /></td> |
</tr> |
<tr> |
<td class="column1"><label for="topmargin">{$lang_fullpage_top_margin}</label></td> |
<td><input id="topmargin" name="topmargin" type="text" value="" onchange="changedStyleField(this);" /></td> |
<td class="column1"><label for="bottommargin">{$lang_fullpage_bottom_margin}</label></td> |
<td><input id="bottommargin" name="bottommargin" type="text" value="" onchange="changedStyleField(this);" /></td> |
</tr> |
</table> |
</fieldset> |
<fieldset> |
<legend>{$lang_fullpage_appearance_linkprops}</legend> |
<table border="0" cellpadding="4" cellspacing="0"> |
<tr> |
<td class="column1"><label for="link_color">{$lang_fullpage_link_color}</label></td> |
<td> |
<table border="0" cellpadding="0" cellspacing="0"> |
<tr> |
<td><input id="link_color" name="link_color" type="text" value="" size="9" onchange="updateColor('link_color_pick','link_color');changedStyleField(this);" /></td> |
<td id="link_color_pickcontainer"> </td> |
</tr> |
</table> |
</td> |
<td class="column1"><label for="visited_color">{$lang_fullpage_visited_color}</label></td> |
<td> |
<table border="0" cellpadding="0" cellspacing="0"> |
<tr> |
<td><input id="visited_color" name="visited_color" type="text" value="" size="9" onchange="updateColor('visited_color_pick','visited_color');changedStyleField(this);" /></td> |
<td id="visited_color_pickcontainer"> </td> |
</tr> |
</table> |
</td> |
</tr> |
<tr> |
<td class="column1"><label for="active_color">{$lang_fullpage_active_color}</label></td> |
<td> |
<table border="0" cellpadding="0" cellspacing="0"> |
<tr> |
<td><input id="active_color" name="active_color" type="text" value="" size="9" onchange="updateColor('active_color_pick','active_color');changedStyleField(this);" /></td> |
<td id="active_color_pickcontainer"> </td> |
</tr> |
</table> |
</td> |
<td> </td> |
<td> </td> |
<!-- <td class="column1"><label for="hover_color">{$lang_fullpage_hover_color}</label></td> |
<td> |
<table border="0" cellpadding="0" cellspacing="0"> |
<tr> |
<td><input id="hover_color" name="hover_color" type="text" value="" size="9" onchange="changedStyleField(this);" /></td> |
<td id="hover_color_pickcontainer"> </td> |
</tr> |
</table> |
</td> --> |
</tr> |
</table> |
</fieldset> |
<fieldset> |
<legend>{$lang_fullpage_appearance_style}</legend> |
<table border="0" cellpadding="4" cellspacing="0"> |
<tr> |
<td class="column1"><label for="stylesheet">{$lang_fullpage_stylesheet}</label></td> |
<td><table border="0" cellpadding="0" cellspacing="0"> |
<tr> |
<td><input id="stylesheet" name="stylesheet" type="text" value="" /></td> |
<td id="stylesheet_browsercontainer"> </td> |
</tr> |
</table></td> |
</tr> |
<tr> |
<td class="column1"><label for="style">{$lang_fullpage_style}</label></td> |
<td><input id="style" name="style" type="text" value="" onchange="changedStyleField(this);" /></td> |
</tr> |
</table> |
</fieldset> |
</div> |
<div id="advanced_panel" class="panel"> |
<div id="addmenu"> |
<table border="0" cellpadding="0" cellspacing="0"> |
<tr><td><a href="javascript:addHeadElm('title');" onmousedown="return false;"><span>{$lang_fullpage_add_title}</span></a></td></tr> |
<tr><td><a href="javascript:addHeadElm('meta');" onmousedown="return false;"><span>{$lang_fullpage_add_meta}</span></a></td></tr> |
<tr><td><a href="javascript:addHeadElm('script');" onmousedown="return false;"><span>{$lang_fullpage_add_script}</span></a></td></tr> |
<tr><td><a href="javascript:addHeadElm('style');" onmousedown="return false;"><span>{$lang_fullpage_add_style}</span></a></td></tr> |
<tr><td><a href="javascript:addHeadElm('link');" onmousedown="return false;"><span>{$lang_fullpage_add_link}</span></a></td></tr> |
<tr><td><a href="javascript:addHeadElm('base');" onmousedown="return false;"><span>{$lang_fullpage_add_base}</span></a></td></tr> |
<tr><td><a href="javascript:addHeadElm('comment');" onmousedown="return false;"><span>{$lang_fullpage_add_comment}</span></a></td></tr> |
</table> |
</div> |
<fieldset> |
<legend>{$lang_fullpage_head_elements}</legend> |
<div class="headlistwrapper"> |
<div class="toolbar"> |
<div style="float: left"> |
<a id="addbutton" href="javascript:showAddMenu();" onmousedown="return false;" class="addbutton" title="{$lang_fullpage_add}"></a> |
<a href="#" onmousedown="return false;" class="removebutton" title="{$lang_fullpage_remove}"></a> |
</div> |
<div style="float: right"> |
<a href="#" onmousedown="return false;" class="moveupbutton" title="{$lang_fullpage_moveup}"></a> |
<a href="#" onmousedown="return false;" class="movedownbutton" title="{$lang_fullpage_movedown}"></a> |
</div> |
<br style="clear: both" /> |
</div> |
<select id="headlist" size="26" onchange="updateHeadElm(this.options[this.selectedIndex].value);"> |
<option value="title_0"><title>Some title bla bla bla</title></option> |
<option value="meta_1"><meta name="keywords">Some bla bla bla</meta></option> |
<option value="meta_2"><meta name="description">Some bla bla bla bla bla bla bla bla bla</meta></option> |
<option value="script_3"><script language="javascript">...</script></option> |
<option value="style_4"><style>...</style></option> |
<option value="base_5"><base href="." /></option> |
<option value="comment_6"><!-- ... --></option> |
<option value="link_7"><link href="." /></option> |
</select> |
</div> |
</fieldset> |
<fieldset id="meta_element"> |
<legend>{$lang_fullpage_meta_element}</legend> |
<table border="0" cellpadding="4" cellspacing="0"> |
<tr> |
<td class="column1"><label for="element_meta_type">{$lang_fullpage_type}</label></td> |
<td><select id="element_meta_type"> |
<option value="name">name</option> |
<option value="http-equiv">http-equiv</option> |
</select></td> |
</tr> |
<tr> |
<td class="column1"><label for="element_meta_name">{$lang_fullpage_name}</label></td> |
<td><input id="element_meta_name" name="element_meta_name" type="text" value="" /></td> |
</tr> |
<tr> |
<td class="column1"><label for="element_meta_content">{$lang_fullpage_content}</label></td> |
<td><input id="element_meta_content" name="element_meta_content" type="text" value="" /></td> |
</tr> |
</table> |
<input type="button" id="meta_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" /> |
</fieldset> |
<fieldset id="title_element"> |
<legend>{$lang_fullpage_title_element}</legend> |
<table border="0" cellpadding="4" cellspacing="0"> |
<tr> |
<td class="column1"><label for="element_title">{$lang_fullpage_meta_title}</label></td> |
<td><input id="element_title" name="element_title" type="text" value="" /></td> |
</tr> |
</table> |
<input type="button" id="title_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" /> |
</fieldset> |
<fieldset id="script_element"> |
<legend>{$lang_fullpage_script_element}</legend> |
<div class="tabs"> |
<ul> |
<li id="script_props_tab" class="current"><span><a href="javascript:mcTabs.displayTab('script_props_tab','script_props_panel');" onmousedown="return false;">{$lang_fullpage_properties}</a></span></li> |
<li id="script_value_tab"><span><a href="javascript:mcTabs.displayTab('script_value_tab','script_value_panel');" onmousedown="return false;">{$lang_fullpage_value}</a></span></li> |
</ul> |
</div> |
<br style="clear: both" /> |
<div class="panel_wrapper"> |
<div id="script_props_panel" class="panel current"> |
<table border="0" cellpadding="4" cellspacing="0"> |
<tr> |
<td class="column1"><label for="element_script_type">{$lang_fullpage_type}</label></td> |
<td><select id="element_script_type"> |
<option value="text/javascript">text/javascript</option> |
<option value="text/jscript">text/jscript</option> |
<option value="text/vbscript">text/vbscript</option> |
<option value="text/vbs">text/vbs</option> |
<option value="text/ecmascript">text/ecmascript</option> |
<option value="text/xml">text/xml</option> |
</select></td> |
</tr> |
<tr> |
<td class="column1"><label for="element_script_src">{$lang_fullpage_src}</label></td> |
<td><table border="0" cellpadding="0" cellspacing="0"> |
<tr> |
<td><input id="element_script_src" name="element_script_src" type="text" value="" /></td> |
<td id="script_src_pickcontainer"> </td> |
</tr> |
</table></td> |
</tr> |
<tr> |
<td class="column1"><label for="element_script_charset">{$lang_fullpage_charset}</label></td> |
<td><select id="element_script_charset"><option value="">{$lang_not_set}</option></select></td> |
</tr> |
<tr> |
<td class="column1"><label for="element_script_defer">{$lang_fullpage_defer}</label></td> |
<td><input type="checkbox" id="element_script_defer" name="element_script_defer" class="checkbox" /></td> |
</tr> |
</table> |
</div> |
<div id="script_value_panel" class="panel"> |
<textarea id="element_script_value"></textarea> |
</div> |
</div> |
<input type="button" id="script_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" /> |
</fieldset> |
<fieldset id="style_element"> |
<legend>{$lang_fullpage_style_element}</legend> |
<div class="tabs"> |
<ul> |
<li id="style_props_tab" class="current"><span><a href="javascript:mcTabs.displayTab('style_props_tab','style_props_panel');" onmousedown="return false;">{$lang_fullpage_properties}</a></span></li> |
<li id="style_value_tab"><span><a href="javascript:mcTabs.displayTab('style_value_tab','style_value_panel');" onmousedown="return false;">{$lang_fullpage_value}</a></span></li> |
</ul> |
</div> |
<br style="clear: both" /> |
<div class="panel_wrapper"> |
<div id="style_props_panel" class="panel current"> |
<table border="0" cellpadding="4" cellspacing="0"> |
<tr> |
<td class="column1"><label for="element_style_type">{$lang_fullpage_type}</label></td> |
<td><select id="element_style_type"> |
<option value="text/css">text/css</option> |
</select></td> |
</tr> |
<tr> |
<td class="column1"><label for="element_style_media">{$lang_fullpage_media}</label></td> |
<td><select id="element_style_media"></select></td> |
</tr> |
</table> |
</div> |
<div id="style_value_panel" class="panel"> |
<textarea id="element_style_value"></textarea> |
</div> |
</div> |
<input type="button" id="style_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" /> |
</fieldset> |
<fieldset id="base_element"> |
<legend>{$lang_fullpage_base_element}</legend> |
<table border="0" cellpadding="4" cellspacing="0"> |
<tr> |
<td class="column1"><label for="element_base_href">{$lang_fullpage_href}</label></td> |
<td><input id="element_base_href" name="element_base_href" type="text" value="" /></td> |
</tr> |
<tr> |
<td class="column1"><label for="element_base_target">{$lang_fullpage_target}</label></td> |
<td><input id="element_base_target" name="element_base_target" type="text" value="" /></td> |
</tr> |
</table> |
<input type="button" id="base_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" /> |
</fieldset> |
<fieldset id="link_element"> |
<legend>{$lang_fullpage_link_element}</legend> |
<div class="tabs"> |
<ul> |
<li id="link_general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('link_general_tab','link_general_panel');" onmousedown="return false;">{$lang_fullpage_general_props}</a></span></li> |
<li id="link_advanced_tab"><span><a href="javascript:mcTabs.displayTab('link_advanced_tab','link_advanced_panel');" onmousedown="return false;">{$lang_fullpage_advanced_props}</a></span></li> |
</ul> |
</div> |
<br style="clear: both" /> |
<div class="panel_wrapper"> |
<div id="link_general_panel" class="panel current"> |
<table border="0" cellpadding="4" cellspacing="0"> |
<tr> |
<td class="column1"><label for="element_link_href">{$lang_fullpage_href}</label></td> |
<td><table border="0" cellpadding="0" cellspacing="0"> |
<tr> |
<td><input id="element_link_href" name="element_link_href" type="text" value="" /></td> |
<td id="link_href_pickcontainer"> </td> |
</tr> |
</table></td> |
</tr> |
<tr> |
<td class="column1"><label for="element_link_title">{$lang_fullpage_meta_title}</label></td> |
<td><input id="element_link_title" name="element_link_title" type="text" value="" /></td> |
</tr> |
<tr> |
<td class="column1"><label for="element_link_type">{$lang_fullpage_type}</label></td> |
<td><select id="element_link_type" name="element_link_type"> |
<option value="text/css">text/css</option> |
<option value="text/javascript">text/javascript</option> |
</select></td> |
</tr> |
<tr> |
<td class="column1"><label for="element_link_media">{$lang_fullpage_media}</label></td> |
<td><select id="element_link_media" name="element_link_media"></select></td> |
</tr> |
<tr> |
<td><label for="element_style_rel">{$lang_fullpage_rel}</label></td> |
<td><select id="element_style_rel" name="element_style_rel"> |
<option value="">{$lang_not_set}</option> |
<option value="stylesheet">Stylesheet</option> |
<option value="alternate">Alternate</option> |
<option value="designates">Designates</option> |
<option value="start">Start</option> |
<option value="next">Next</option> |
<option value="prev">Prev</option> |
<option value="contents">Contents</option> |
<option value="index">Index</option> |
<option value="glossary">Glossary</option> |
<option value="copyright">Copyright</option> |
<option value="chapter">Chapter</option> |
<option value="subsection">Subsection</option> |
<option value="appendix">Appendix</option> |
<option value="help">Help</option> |
<option value="bookmark">Bookmark</option> |
</select> |
</td> |
</tr> |
</table> |
</div> |
<div id="link_advanced_panel" class="panel"> |
<table border="0" cellpadding="4" cellspacing="0"> |
<tr> |
<td class="column1"><label for="element_link_charset">{$lang_fullpage_charset}</label></td> |
<td><select id="element_link_charset"><option value="">{$lang_not_set}</option></select></td> |
</tr> |
<tr> |
<td class="column1"><label for="element_link_hreflang">{$lang_fullpage_hreflang}</label></td> |
<td><input id="element_link_hreflang" name="element_link_hreflang" type="text" value="" /></td> |
</tr> |
<tr> |
<td class="column1"><label for="element_link_target">{$lang_fullpage_target}</label></td> |
<td><input id="element_link_target" name="element_link_target" type="text" value="" /></td> |
</tr> |
<tr> |
<td><label for="element_style_rev">{$lang_fullpage_rev}</label></td> |
<td><select id="element_style_rev" name="element_style_rev"> |
<option value="">{$lang_not_set}</option> |
<option value="alternate">Alternate</option> |
<option value="designates">Designates</option> |
<option value="stylesheet">Stylesheet</option> |
<option value="start">Start</option> |
<option value="next">Next</option> |
<option value="prev">Prev</option> |
<option value="contents">Contents</option> |
<option value="index">Index</option> |
<option value="glossary">Glossary</option> |
<option value="copyright">Copyright</option> |
<option value="chapter">Chapter</option> |
<option value="subsection">Subsection</option> |
<option value="appendix">Appendix</option> |
<option value="help">Help</option> |
<option value="bookmark">Bookmark</option> |
</select> |
</td> |
</tr> |
</table> |
</div> |
</div> |
<input type="button" id="link_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" /> |
</fieldset> |
<fieldset id="comment_element"> |
<legend>{$lang_fullpage_comment_element}</legend> |
<textarea id="element_comment_value"></textarea> |
<input type="button" id="comment_updateelement" class="updateElementButton" name="update" value="{$lang_update}" onclick="updateElement();" /> |
</fieldset> |
</div> |
</div> |
<div class="mceActionPanel"> |
<div style="float: left"> |
<input type="button" id="insert" name="update" value="{$lang_update}" onclick="updateAction();" /> |
</div> |
<div style="float: right"> |
<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" /> |
</div> |
</div> |
</form> |
</body> |
</html> |
/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/css/fullpage.css |
---|
New file |
0,0 → 1,176 |
/* Hide the advanced tab */ |
#advanced_tab { |
display: none; |
} |
#metatitle, #metakeywords, #metadescription, #metaauthor, #metacopyright { |
width: 280px; |
} |
#doctype, #docencoding { |
width: 200px; |
} |
#langcode { |
width: 30px; |
} |
#bgimage { |
width: 220px; |
} |
#fontface { |
width: 240px; |
} |
#leftmargin, #rightmargin, #topmargin, #bottommargin { |
width: 50px; |
} |
.panel_wrapper div.current { |
height: 400px; |
} |
#stylesheet, #style { |
width: 240px; |
} |
/* Head list classes */ |
.headlistwrapper { |
width: 100%; |
} |
.addbutton, .removebutton, .moveupbutton, .movedownbutton { |
border-top: 1px solid; |
border-left: 1px solid; |
border-bottom: 1px solid; |
border-right: 1px solid; |
border-color: #F0F0EE; |
cursor: default; |
display: block; |
width: 20px; |
height: 20px; |
} |
.addbutton:hover, .removebutton:hover, .moveupbutton:hover, .movedownbutton:hover { |
border: 1px solid #0A246A; |
background-color: #B6BDD2; |
} |
.addbutton { |
background-image: url('../images/add.gif'); |
float: left; |
margin-right: 3px; |
} |
.removebutton { |
background-image: url('../images/remove.gif'); |
float: left; |
} |
.moveupbutton { |
background-image: url('../images/move_up.gif'); |
float: left; |
margin-right: 3px; |
} |
.movedownbutton { |
background-image: url('../images/move_down.gif'); |
float: left; |
} |
.selected { |
border: 1px solid #0A246A; |
background-color: #B6BDD2; |
} |
.toolbar { |
width: 100%; |
} |
#headlist { |
width: 100%; |
margin-top: 3px; |
font-size: 11px; |
} |
#info, #title_element, #meta_element, #script_element, #style_element, #base_element, #link_element, #comment_element, #unknown_element { |
display: none; |
} |
#addmenu { |
position: absolute; |
border: 1px solid gray; |
display: none; |
z-index: 100; |
background-color: white; |
} |
#addmenu a { |
display: block; |
width: 100%; |
line-height: 20px; |
text-decoration: none; |
background-color: white; |
} |
#addmenu a:hover { |
background-color: #B6BDD2; |
color: black; |
} |
#addmenu span { |
padding-left: 10px; |
padding-right: 10px; |
} |
#updateElementPanel { |
display: none; |
} |
#script_element .panel_wrapper div.current { |
height: 108px; |
} |
#style_element .panel_wrapper div.current { |
height: 108px; |
} |
#link_element .panel_wrapper div.current { |
height: 140px; |
} |
#element_script_value { |
width: 100%; |
height: 100px; |
} |
#element_comment_value { |
width: 100%; |
height: 120px; |
} |
#element_style_value { |
width: 100%; |
height: 100px; |
} |
#element_title, #element_script_src, #element_meta_name, #element_meta_content, #element_base_href, #element_link_href, #element_link_title { |
width: 250px; |
} |
.updateElementButton { |
margin-top: 3px; |
} |
/* MSIE specific styles */ |
* html .addbutton, * html .removebutton, * html .moveupbutton, * html .movedownbutton { |
width: 22px; |
height: 22px; |
} |
textarea { |
height: 55px; |
} |
/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/blank.htm |
---|
New file |
0,0 → 1,9 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<title>blank_page</title> |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
</head> |
<body onload="parent.setupIframe(document);"> |
</body> |
</html> |
/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/editor_plugin.js |
---|
New file |
0,0 → 1,0 |
tinyMCE.importPluginLanguagePack('fullpage');var TinyMCE_FullPagePlugin={getInfo:function(){return{longname:'Fullpage',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullpage',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"fullpage":return tinyMCE.getButtonHTML(cn,'lang_fullpage_desc','{$pluginurl}/images/fullpage.gif','mceFullPageProperties')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceFullPageProperties":var template=new Array();template['file']='../../plugins/fullpage/fullpage.htm';template['width']=430;template['height']=485+(tinyMCE.isOpera?5:0);template['width']+=tinyMCE.getLang('lang_fullpage_delta_width',0);template['height']+=tinyMCE.getLang('lang_fullpage_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;case"mceFullPageUpdate":TinyMCE_FullPagePlugin._addToHead(tinyMCE.getInstanceById(editor_id));return true}return false},cleanup:function(type,content,inst){switch(type){case"insert_to_editor":var tmp=content.toLowerCase();var pos=tmp.indexOf('<body'),pos2;if(pos!=-1){pos=tmp.indexOf('>',pos);pos2=tmp.lastIndexOf('</body>');inst.fullpageTopContent=content.substring(0,pos+1);content=content.substring(pos+1,pos2);}else{if(!inst.fullpageTopContent){var docType=tinyMCE.getParam("fullpage_default_doctype",'<!DOCTYPE html PUBLIC "-/'+'/W3C//DTD XHTML 1.0 Transitional/'+'/EN" "http:/'+'/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');var enc=tinyMCE.getParam("fullpage_default_encoding",'utf-8');var title=tinyMCE.getParam("fullpage_default_title",'Untitled document');var lang=tinyMCE.getParam("fullpage_default_langcode",'en');var pi=tinyMCE.getParam("fullpage_default_xml_pi",true);var ff=tinyMCE.getParam("fullpage_default_font_family","");var fz=tinyMCE.getParam("fullpage_default_font_size","");var ds=tinyMCE.getParam("fullpage_default_style","");var dtc=tinyMCE.getParam("fullpage_default_text_color","");title=title.replace(/&/g,'&');title=title.replace(/\"/g,'"');title=title.replace(/</g,'<');title=title.replace(/>/g,'>');tmp='';if(pi)tmp+='<?xml version="1.0" encoding="'+enc+'"?>\n';tmp+=docType+'\n';tmp+='<html xmlns="http:/'+'/www.w3.org/1999/xhtml" lang="'+lang+'" xml:lang="'+lang+'">\n';tmp+='<head>\n';tmp+='\t<title>'+title+'</title>\n';tmp+='\t<meta http-equiv="Content-Type" content="text/html; charset='+enc+'" />\n';tmp+='</head>\n';tmp+='<body';if(ff!=''||fz!=''){tmp+=' style="';if(ds!='')tmp+=ds+";";if(ff!='')tmp+='font-family: '+ff+";";if(fz!='')tmp+='font-size: '+fz+";";tmp+='"'}if(dtc!='')tmp+=' text="'+dtc+'"';tmp+='>\n';inst.fullpageTopContent=tmp}}this._addToHead(inst);break;case"get_from_editor":if(inst.fullpageTopContent&&!tinyMCE.getParam("fullpage_hide_in_source_view",false)){content=content.replace(/(\s)?mce\_[a-z_]+\=[^\s>]+(\s|\>)/i,'');content=inst.fullpageTopContent+content+"\n</body>\n</html>"}break;case"submit_content":if(inst.fullpageTopContent&&tinyMCE.getParam("fullpage_hide_in_source_view",false))content=inst.fullpageTopContent+content+"\n</body>\n</html>";break}return content},_addToHead:function(inst){var doc=inst.getDoc();var head=doc.getElementsByTagName("head")[0];var body=doc.body;var h=inst.fullpageTopContent;var e=doc.createElement("body");var nl,i,le,tmp;h=h.replace(/(\r|\n)/gi,'');h=h.replace(/<\?[^\>]*\>/gi,'');h=h.replace(/<\/?(!DOCTYPE|head|html)[^\>]*\>/gi,'');h=h.replace(/<script(.*?)<\/script>/gi,'');h=h.replace(/<title(.*?)<\/title>/gi,'');h=h.replace(/<(meta|base)[^>]*>/gi,'');h=h.replace(/<link([^>]*)\/>/gi,'<pre mce_type="link" $1></pre>');h=h.replace(/<body/gi,'<div mce_type="body"');h+='</div>';e.innerHTML=h;body.vLink=body.aLink=body.link=body.text='';body.style.cssText='';nl=head.getElementsByTagName('link');for(i=0;i<nl.length;i++){if(tinyMCE.getAttrib(nl[i],'mce_head')=="true")nl[i].parentNode.removeChild(nl[i])}nl=e.getElementsByTagName('pre');for(i=0;i<nl.length;i++){tmp=tinyMCE.getAttrib(nl[i],'media');if(tinyMCE.getAttrib(nl[i],'mce_type')=="link"&&(tmp==""||tmp=="screen"||tmp=="all")&&tinyMCE.getAttrib(nl[i],'rel')=="stylesheet"){le=doc.createElement("link");le.rel="stylesheet";le.href=tinyMCE.getAttrib(nl[i],'href');le.setAttribute("mce_head","true");head.appendChild(le)}}nl=e.getElementsByTagName('div');if(nl.length>0){body.style.cssText=tinyMCE.getAttrib(nl[0],'style');if((tmp=tinyMCE.getAttrib(nl[0],'leftmargin'))!=''&&body.style.marginLeft=='')body.style.marginLeft=tmp+"px";if((tmp=tinyMCE.getAttrib(nl[0],'rightmargin'))!=''&&body.style.marginRight=='')body.style.marginRight=tmp+"px";if((tmp=tinyMCE.getAttrib(nl[0],'topmargin'))!=''&&body.style.marginTop=='')body.style.marginTop=tmp+"px";if((tmp=tinyMCE.getAttrib(nl[0],'bottommargin'))!=''&&body.style.marginBottom=='')body.style.marginBottom=tmp+"px";body.dir=tinyMCE.getAttrib(nl[0],'dir');body.vLink=tinyMCE.getAttrib(nl[0],'vlink');body.aLink=tinyMCE.getAttrib(nl[0],'alink');body.link=tinyMCE.getAttrib(nl[0],'link');body.text=tinyMCE.getAttrib(nl[0],'text');if((tmp=tinyMCE.getAttrib(nl[0],'background'))!='')body.style.backgroundImage="url('"+tmp+"')";if((tmp=tinyMCE.getAttrib(nl[0],'bgcolor'))!='')body.style.backgroundColor=tmp}}};tinyMCE.addPlugin("fullpage",TinyMCE_FullPagePlugin); |
/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/jscripts/fullpage.js |
---|
New file |
0,0 → 1,580 |
// |
var defaultDocTypes = |
'XHTML 1.0 Transitional=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">,' + |
'XHTML 1.0 Frameset=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">,' + |
'XHTML 1.0 Strict=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">,' + |
'XHTML 1.1=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">,' + |
'HTML 4.01 Transitional=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">,' + |
'HTML 4.01 Strict=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">,' + |
'HTML 4.01 Frameset=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">'; |
var defaultEncodings = |
'Western european (iso-8859-1)=iso-8859-1,' + |
'Central European (iso-8859-2)=iso-8859-2,' + |
'Unicode (UTF-8)=utf-8,' + |
'Chinese traditional (Big5)=big5,' + |
'Cyrillic (iso-8859-5)=iso-8859-5,' + |
'Japanese (iso-2022-jp)=iso-2022-jp,' + |
'Greek (iso-8859-7)=iso-8859-7,' + |
'Korean (iso-2022-kr)=iso-2022-kr,' + |
'ASCII (us-ascii)=us-ascii'; |
var defaultMediaTypes = |
'all=all,' + |
'screen=screen,' + |
'print=print,' + |
'tty=tty,' + |
'tv=tv,' + |
'projection=projection,' + |
'handheld=handheld,' + |
'braille=braille,' + |
'aural=aural'; |
var defaultFontNames = 'Arial=arial,helvetica,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,times new roman,times,serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times,serif;Verdana=verdana,arial,helvetica,sans-serif;Impact=impact;WingDings=wingdings'; |
var defaultFontSizes = '10px,11px,12px,13px,14px,15px,16px'; |
var addMenuLayer = new MCLayer("addmenu"); |
var lastElementType = null; |
var topDoc; |
function init() { |
var f = document.forms['fullpage']; |
var i, p, doctypes, encodings, mediaTypes, fonts; |
var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); |
// Setup doctype select box |
doctypes = tinyMCE.getParam("fullpage_doctypes", defaultDocTypes).split(','); |
for (i=0; i<doctypes.length; i++) { |
p = doctypes[i].split('='); |
if (p.length > 1) |
addSelectValue(f, 'doctypes', p[0], p[1]); |
} |
// Setup fonts select box |
fonts = tinyMCE.getParam("fullpage_fonts", defaultFontNames).split(';'); |
for (i=0; i<fonts.length; i++) { |
p = fonts[i].split('='); |
if (p.length > 1) |
addSelectValue(f, 'fontface', p[0], p[1]); |
} |
// Setup fontsize select box |
fonts = tinyMCE.getParam("fullpage_fontsizes", defaultFontSizes).split(','); |
for (i=0; i<fonts.length; i++) |
addSelectValue(f, 'fontsize', fonts[i], fonts[i]); |
// Setup mediatype select boxs |
mediaTypes = tinyMCE.getParam("fullpage_media_types", defaultMediaTypes).split(','); |
for (i=0; i<mediaTypes.length; i++) { |
p = mediaTypes[i].split('='); |
if (p.length > 1) { |
addSelectValue(f, 'element_style_media', p[0], p[1]); |
addSelectValue(f, 'element_link_media', p[0], p[1]); |
} |
} |
// Setup encodings select box |
encodings = tinyMCE.getParam("fullpage_encodings", defaultEncodings).split(','); |
for (i=0; i<encodings.length; i++) { |
p = encodings[i].split('='); |
if (p.length > 1) { |
addSelectValue(f, 'docencoding', p[0], p[1]); |
addSelectValue(f, 'element_script_charset', p[0], p[1]); |
addSelectValue(f, 'element_link_charset', p[0], p[1]); |
} |
} |
document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTML('bgcolor_pick','bgcolor'); |
document.getElementById('link_color_pickcontainer').innerHTML = getColorPickerHTML('link_color_pick','link_color'); |
//document.getElementById('hover_color_pickcontainer').innerHTML = getColorPickerHTML('hover_color_pick','hover_color'); |
document.getElementById('visited_color_pickcontainer').innerHTML = getColorPickerHTML('visited_color_pick','visited_color'); |
document.getElementById('active_color_pickcontainer').innerHTML = getColorPickerHTML('active_color_pick','active_color'); |
document.getElementById('textcolor_pickcontainer').innerHTML = getColorPickerHTML('textcolor_pick','textcolor'); |
document.getElementById('stylesheet_browsercontainer').innerHTML = getBrowserHTML('stylesheetbrowser','stylesheet','file','fullpage'); |
document.getElementById('link_href_pickcontainer').innerHTML = getBrowserHTML('link_href_browser','element_link_href','file','fullpage'); |
document.getElementById('script_src_pickcontainer').innerHTML = getBrowserHTML('script_src_browser','element_script_src','file','fullpage'); |
document.getElementById('bgimage_pickcontainer').innerHTML = getBrowserHTML('bgimage_browser','bgimage','image','fullpage'); |
// Resize some elements |
if (isVisible('stylesheetbrowser')) |
document.getElementById('stylesheet').style.width = '220px'; |
if (isVisible('link_href_browser')) |
document.getElementById('element_link_href').style.width = '230px'; |
if (isVisible('bgimage_browser')) |
document.getElementById('bgimage').style.width = '210px'; |
// Create iframe |
var iframe = document.createElement('iframe'); |
iframe.id = 'tempFrame'; |
iframe.style.display = 'none'; |
iframe.src = tinyMCE.baseURL + "/plugins/fullpage/blank.htm"; |
document.body.appendChild(iframe); |
tinyMCEPopup.resizeToInnerSize(); |
} |
function setupIframe(doc) { |
var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); |
var hc = inst.fullpageTopContent; |
var f = document.forms[0]; |
var xmlVer, xmlEnc, docType; |
var nodes, i, x, name, value, tmp, l; |
// Keep it from not loading/executing stuff |
hc = hc.replace(/<script>/gi, '<script type="text/javascript">'); |
hc = hc.replace(/\ssrc=/gi, " mce_src="); |
hc = hc.replace(/\shref=/gi, " mce_href="); |
hc = hc.replace(/\stype=/gi, " mce_type="); |
hc = hc.replace(/<script/gi, '<script type="text/unknown" '); |
// Add end to make it DOM parseable |
hc += '</body></html>'; |
topDoc = doc; |
doc.open(); |
doc.write(hc); |
doc.close(); |
// ------- Setup options for genral tab |
// Parse xml and doctype |
xmlVer = getReItem(/<\?\s*?xml.*?version\s*?=\s*?"(.*?)".*?\?>/gi, hc, 1); |
xmlEnc = getReItem(/<\?\s*?xml.*?encoding\s*?=\s*?"(.*?)".*?\?>/gi, hc, 1); |
docType = getReItem(/<\!DOCTYPE.*?>/gi, hc, 0); |
f.langcode.value = getReItem(/lang="(.*?)"/gi, hc, 1); |
// Get title |
f.metatitle.value = tinyMCE.entityDecode(getReItem(/<title>(.*?)<\/title>/gi, hc, 1)); |
// Check for meta encoding |
nodes = doc.getElementsByTagName("meta"); |
for (i=0; i<nodes.length; i++) { |
name = tinyMCE.getAttrib(nodes[i], 'name'); |
value = tinyMCE.getAttrib(nodes[i], 'content'); |
httpEquiv = tinyMCE.getAttrib(nodes[i], 'httpEquiv'); |
switch (name.toLowerCase()) { |
case "keywords": |
f.metakeywords.value = value; |
break; |
case "description": |
f.metadescription.value = value; |
break; |
case "author": |
f.metaauthor.value = value; |
break; |
case "copyright": |
f.metacopyright.value = value; |
break; |
case "robots": |
selectByValue(f, 'metarobots', value, true, true); |
break; |
} |
switch (httpEquiv.toLowerCase()) { |
case "content-type": |
tmp = getReItem(/charset\s*=\s*(.*)\s*/gi, value, 1); |
// Override XML encoding |
if (tmp != "") |
xmlEnc = tmp; |
break; |
} |
} |
selectByValue(f, 'doctypes', docType, true, true); |
selectByValue(f, 'docencoding', xmlEnc, true, true); |
selectByValue(f, 'langdir', tinyMCE.getAttrib(doc.body, 'dir'), true, true); |
if (xmlVer != '') |
f.xml_pi.checked = true; |
// ------- Setup options for appearance tab |
// Get primary stylesheet |
nodes = doc.getElementsByTagName("link"); |
for (i=0; i<nodes.length; i++) { |
l = nodes[i]; |
tmp = tinyMCE.getAttrib(l, 'media'); |
if (tinyMCE.getAttrib(l, 'mce_type') == "text/css" && (tmp == "" || tmp == "screen" || tmp == "all") && tinyMCE.getAttrib(l, 'rel') == "stylesheet") { |
f.stylesheet.value = tinyMCE.getAttrib(l, 'mce_href'); |
break; |
} |
} |
// Get from style elements |
nodes = doc.getElementsByTagName("style"); |
for (i=0; i<nodes.length; i++) { |
tmp = parseStyleElement(nodes[i]); |
for (x=0; x<tmp.length; x++) { |
// if (tmp[x].rule.indexOf('a:hover') != -1 && tmp[x].data['color']) |
// f.hover_color.value = tmp[x].data['color']; |
if (tmp[x].rule.indexOf('a:visited') != -1 && tmp[x].data['color']) |
f.visited_color.value = tmp[x].data['color']; |
if (tmp[x].rule.indexOf('a:link') != -1 && tmp[x].data['color']) |
f.link_color.value = tmp[x].data['color']; |
if (tmp[x].rule.indexOf('a:active') != -1 && tmp[x].data['color']) |
f.active_color.value = tmp[x].data['color']; |
} |
} |
// Get from body attribs |
/* f.leftmargin.value = tinyMCE.getAttrib(doc.body, "leftmargin"); |
f.rightmargin.value = tinyMCE.getAttrib(doc.body, "rightmargin"); |
f.topmargin.value = tinyMCE.getAttrib(doc.body, "topmargin"); |
f.bottommargin.value = tinyMCE.getAttrib(doc.body, "bottommargin");*/ |
f.textcolor.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "text")); |
f.active_color.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "alink")); |
f.link_color.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "link")); |
f.visited_color.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "vlink")); |
f.bgcolor.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "bgcolor")); |
f.bgimage.value = convertRGBToHex(tinyMCE.getAttrib(doc.body, "background")); |
// Get from style info |
var style = tinyMCE.parseStyle(tinyMCE.getAttrib(doc.body, 'style')); |
if (style['font-family']) |
selectByValue(f, 'fontface', style['font-family'], true, true); |
else |
selectByValue(f, 'fontface', tinyMCE.getParam("fullpage_default_fontface", ""), true, true); |
if (style['font-size']) |
selectByValue(f, 'fontsize', style['font-size'], true, true); |
else |
selectByValue(f, 'fontsize', tinyMCE.getParam("fullpage_default_fontsize", ""), true, true); |
if (style['color']) |
f.textcolor.value = convertRGBToHex(style['color']); |
if (style['background-image']) |
f.bgimage.value = style['background-image'].replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1"); |
if (style['background-color']) |
f.bgcolor.value = convertRGBToHex(style['background-color']); |
if (style['margin']) { |
tmp = style['margin'].replace(/[^0-9 ]/g, ''); |
tmp = tmp.split(/ +/); |
f.topmargin.value = tmp.length > 0 ? tmp[0] : ''; |
f.rightmargin.value = tmp.length > 1 ? tmp[1] : tmp[0]; |
f.bottommargin.value = tmp.length > 2 ? tmp[2] : tmp[0]; |
f.leftmargin.value = tmp.length > 3 ? tmp[3] : tmp[0]; |
} |
if (style['margin-left']) |
f.leftmargin.value = style['margin-left'].replace(/[^0-9]/g, ''); |
if (style['margin-right']) |
f.rightmargin.value = style['margin-right'].replace(/[^0-9]/g, ''); |
if (style['margin-top']) |
f.topmargin.value = style['margin-top'].replace(/[^0-9]/g, ''); |
if (style['margin-bottom']) |
f.bottommargin.value = style['margin-bottom'].replace(/[^0-9]/g, ''); |
f.style.value = tinyMCE.serializeStyle(style); |
updateColor('textcolor_pick', 'textcolor'); |
updateColor('bgcolor_pick', 'bgcolor'); |
updateColor('visited_color_pick', 'visited_color'); |
updateColor('active_color_pick', 'active_color'); |
updateColor('link_color_pick', 'link_color'); |
//updateColor('hover_color_pick', 'hover_color'); |
} |
function updateAction() { |
var inst = tinyMCE.getInstanceById(tinyMCE.getWindowArg('editor_id')); |
var f = document.forms[0]; |
var nl, i, h, v, s, head, html, l, tmp, addlink = true; |
head = topDoc.getElementsByTagName('head')[0]; |
// Fix scripts without a type |
nl = topDoc.getElementsByTagName('script'); |
for (i=0; i<nl.length; i++) { |
if (tinyMCE.getAttrib(nl[i], 'mce_type') == '') |
nl[i].setAttribute('mce_type', 'text/javascript'); |
} |
// Get primary stylesheet |
nl = topDoc.getElementsByTagName("link"); |
for (i=0; i<nl.length; i++) { |
l = nl[i]; |
tmp = tinyMCE.getAttrib(l, 'media'); |
if (tinyMCE.getAttrib(l, 'mce_type') == "text/css" && (tmp == "" || tmp == "screen" || tmp == "all") && tinyMCE.getAttrib(l, 'rel') == "stylesheet") { |
addlink = false; |
if (f.stylesheet.value == '') |
l.parentNode.removeChild(l); |
else |
l.setAttribute('mce_href', f.stylesheet.value); |
break; |
} |
} |
// Add new link |
if (f.stylesheet.value != '') { |
l = topDoc.createElement('link'); |
l.setAttribute('mce_type', 'text/css'); |
l.setAttribute('mce_href', f.stylesheet.value); |
l.setAttribute('rel', 'stylesheet'); |
head.appendChild(l); |
} |
setMeta(head, 'keywords', f.metakeywords.value); |
setMeta(head, 'description', f.metadescription.value); |
setMeta(head, 'author', f.metaauthor.value); |
setMeta(head, 'copyright', f.metacopyright.value); |
setMeta(head, 'robots', getSelectValue(f, 'metarobots')); |
setMeta(head, 'Content-Type', getSelectValue(f, 'docencoding')); |
topDoc.body.dir = getSelectValue(f, 'langdir'); |
topDoc.body.style.cssText = f.style.value; |
topDoc.body.setAttribute('vLink', f.visited_color.value); |
topDoc.body.setAttribute('link', f.link_color.value); |
topDoc.body.setAttribute('text', f.textcolor.value); |
topDoc.body.setAttribute('aLink', f.active_color.value); |
topDoc.body.style.fontFamily = getSelectValue(f, 'fontface'); |
topDoc.body.style.fontSize = getSelectValue(f, 'fontsize'); |
topDoc.body.style.backgroundColor = f.bgcolor.value; |
if (f.leftmargin.value != '') |
topDoc.body.style.marginLeft = f.leftmargin.value + 'px'; |
if (f.rightmargin.value != '') |
topDoc.body.style.marginRight = f.rightmargin.value + 'px'; |
if (f.bottommargin.value != '') |
topDoc.body.style.marginBottom = f.bottommargin.value + 'px'; |
if (f.topmargin.value != '') |
topDoc.body.style.marginTop = f.topmargin.value + 'px'; |
html = topDoc.getElementsByTagName('html')[0]; |
html.setAttribute('lang', f.langcode.value); |
html.setAttribute('xml:lang', f.langcode.value); |
if (f.bgimage.value != '') |
topDoc.body.style.backgroundImage = "url('" + f.bgimage.value + "')"; |
else |
topDoc.body.style.backgroundImage = ''; |
inst.cleanup.addRuleStr('-title,meta[http-equiv|name|content],base[href|target],link[href|rel|type|title|media],style[type],script[type|language|src],html[lang|xml:lang|xmlns],body[style|dir|vlink|link|text|alink],head'); |
h = inst.cleanup.serializeNodeAsHTML(topDoc.documentElement); |
h = h.substring(0, h.lastIndexOf('</body>')); |
if (h.indexOf('<title>') == -1) |
h = h.replace(/<head.*?>/, '$&\n' + '<title>' + inst.cleanup.xmlEncode(f.metatitle.value) + '</title>'); |
else |
h = h.replace(/<title>(.*?)<\/title>/, '<title>' + inst.cleanup.xmlEncode(f.metatitle.value) + '</title>'); |
if ((v = getSelectValue(f, 'doctypes')) != '') |
h = v + '\n' + h; |
if (f.xml_pi.checked) { |
s = '<?xml version="1.0"'; |
if ((v = getSelectValue(f, 'docencoding')) != '') |
s += ' encoding="' + v + '"'; |
s += '?>\n'; |
h = s + h; |
} |
inst.fullpageTopContent = h; |
tinyMCEPopup.execCommand('mceFullPageUpdate', false, ''); |
tinyMCEPopup.close(); |
} |
function setMeta(he, k, v) { |
var nl, i, m; |
nl = he.getElementsByTagName('meta'); |
for (i=0; i<nl.length; i++) { |
if (k == 'Content-Type' && tinyMCE.getAttrib(nl[i], 'http-equiv') == k) { |
if (v == '') |
nl[i].parentNode.removeChild(nl[i]); |
else |
nl[i].setAttribute('content', "text/html; charset=" + v); |
return; |
} |
if (tinyMCE.getAttrib(nl[i], 'name') == k) { |
if (v == '') |
nl[i].parentNode.removeChild(nl[i]); |
else |
nl[i].setAttribute('content', v); |
return; |
} |
} |
if (v == '') |
return; |
m = topDoc.createElement('meta'); |
if (k == 'Content-Type') |
m.httpEquiv = k; |
else |
m.setAttribute('name', k); |
m.setAttribute('content', v); |
he.appendChild(m); |
} |
function parseStyleElement(e) { |
var v = e.innerHTML; |
var p, i, r; |
v = v.replace(/<!--/gi, ''); |
v = v.replace(/-->/gi, ''); |
v = v.replace(/[\n\r]/gi, ''); |
v = v.replace(/\s+/gi, ' '); |
r = new Array(); |
p = v.split(/{|}/); |
for (i=0; i<p.length; i+=2) { |
if (p[i] != "") |
r[r.length] = {rule : tinyMCE.trim(p[i]), data : tinyMCE.parseStyle(p[i+1])}; |
} |
return r; |
} |
function serializeStyleElement(d) { |
var i, s, st; |
s = '<!--\n'; |
for (i=0; i<d.length; i++) { |
s += d[i].rule + ' {\n'; |
st = tinyMCE.serializeStyle(d[i].data); |
if (st != '') |
st += ';'; |
s += st.replace(/;/g, ';\n'); |
s += '}\n'; |
if (i != d.length - 1) |
s += '\n'; |
} |
s += '\n-->'; |
return s; |
} |
function getReItem(r, s, i) { |
var c = r.exec(s); |
if (c && c.length > i) |
return c[i]; |
return ''; |
} |
function changedStyleField(field) { |
//alert(field.id); |
} |
function showAddMenu() { |
var re = document.getElementById('addbutton'); |
addMenuLayer.moveRelativeTo(re, 'tr'); |
if (addMenuLayer.isMSIE) |
addMenuLayer.moveBy(2, 0); |
addMenuLayer.show(); |
addMenuLayer.setAutoHide(true, hideAddMenu); |
addMenuLayer.addCSSClass(re, 'selected'); |
} |
function hideAddMenu(l, e, mx, my) { |
var re = document.getElementById('addbutton'); |
addMenuLayer.removeCSSClass(re, 'selected'); |
} |
function addHeadElm(type) { |
var le = document.getElementById('headlist'); |
var re = document.getElementById('addbutton'); |
var te = document.getElementById(type + '_element'); |
if (lastElementType) |
lastElementType.style.display = 'none'; |
te.style.display = 'block'; |
lastElementType = te; |
addMenuLayer.hide(); |
addMenuLayer.removeCSSClass(re, 'selected'); |
document.getElementById(type + '_updateelement').value = tinyMCE.getLang('lang_insert', 'Insert', true); |
le.size = 10; |
} |
function updateHeadElm(item) { |
var type = item.substring(0, item.indexOf('_')); |
var le = document.getElementById('headlist'); |
var re = document.getElementById('addbutton'); |
var te = document.getElementById(type + '_element'); |
if (lastElementType) |
lastElementType.style.display = 'none'; |
te.style.display = 'block'; |
lastElementType = te; |
addMenuLayer.hide(); |
addMenuLayer.removeCSSClass(re, 'selected'); |
document.getElementById(type + '_updateelement').value = tinyMCE.getLang('lang_update', 'Update', true); |
le.size = 10; |
} |
function cancelElementUpdate() { |
var le = document.getElementById('headlist'); |
if (lastElementType) |
lastElementType.style.display = 'none'; |
le.size = 26; |
} |
/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/langs/fr.js |
---|
New file |
0,0 → 1,93 |
// FR lang variables |
// Modified by Motte, last updated 2006-03-23 |
tinyMCE.addToLang('fullpage',{ |
title : 'Propriétés de la page', |
desc : 'Propriétés de la page', |
meta_tab : 'Général', |
appearance_tab : 'Apparence', |
advanced_tab : 'Avancé', |
meta_props : 'Balises Meta', |
langprops : 'Langue et encodage', |
meta_title : 'Titre', |
meta_keywords : 'Mots clés', |
meta_description : 'Description', |
meta_robots : 'Robots', |
doctypes : 'Doctype', |
langcode : 'Code langue', |
langdir : 'Sens de l\'écriture', |
ltr : 'Gauche à droite', |
rtl : 'Droite à gauche', |
xml_pi : 'En-tête XML', |
encoding : 'Encodage', |
appearance_bgprops : 'Arrière-plan', |
appearance_marginprops : 'Marges du document', |
appearance_linkprops : 'Couleur des liens', |
appearance_textprops : 'Propriétés du texte', |
bgcolor : 'Couleur de fond', |
bgimage : 'Image de fond', |
left_margin : 'Gauche', |
right_margin : 'Droite', |
top_margin : 'Haut', |
bottom_margin : 'Bas', |
text_color : 'Couleur du texte', |
font_size : 'Taille', |
font_face : 'Police', |
link_color : 'Couleur des liens', |
hover_color : 'Liens survolés', |
visited_color : 'Liens visités', |
active_color : 'Liens actifs', |
textcolor : 'Couleur', |
fontsize : 'Taille', |
fontface : 'Police', |
meta_index_follow : 'Page actuelle et pages liées', |
meta_index_nofollow : 'Page actuelle uniquement', |
meta_noindex_follow : 'Uniquement les pages liées', |
meta_noindex_nofollow : 'Aucune indexation', |
appearance_style : 'Feuille de style et propriétés', |
stylesheet : 'Feuille de style', |
style : 'Style', |
author : 'Auteur', |
copyright : 'Copyright', |
add : 'Ajouter un élément', |
remove : 'Retirer l\'élément sélectionné', |
moveup : 'Vers le haut', |
movedown : 'Vers le bas', |
head_elements : 'En-têtes', |
info : 'Information', |
info_text : '', |
add_title : 'Balise Titre', |
add_meta : 'Balise Meta', |
add_script : 'Balise Script', |
add_style : 'Balise Style', |
add_link : 'Balise Lien', |
add_base : 'Balise Base', |
add_comment : 'Ajouter un commentaire', |
title_element : 'Balise Titre', |
script_element : 'Balise Script', |
style_element : 'Balise Style', |
base_element : 'Balise Base', |
link_element : 'Balise Lien', |
meta_element : 'Balise Meta', |
comment_element : 'Commentaire', |
src : 'Src', |
language : 'Langage', |
href : 'Href', |
target : 'Target', |
rel : 'Rel', |
type : 'Type', |
charset : 'Charset', |
defer : 'Defer', |
media : 'Media', |
properties : 'Propriétés', |
name : 'Nom', |
value : 'Valeur', |
content : 'Contenu', |
rel : 'Rel', |
rev : 'Rev', |
hreflang : 'Href lang', |
general_props : 'Général', |
advanced_props : 'Avancé', |
delta_width : 0, |
delta_height : 0 |
}); |
/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/langs/en.js |
---|
New file |
0,0 → 1,92 |
// UK lang variables |
tinyMCE.addToLang('fullpage',{ |
title : 'Document properties', |
desc : 'Document properties', |
meta_tab : 'General', |
appearance_tab : 'Appearance', |
advanced_tab : 'Advanced', |
meta_props : 'Meta information', |
langprops : 'Language and encoding', |
meta_title : 'Title', |
meta_keywords : 'Keywords', |
meta_description : 'Description', |
meta_robots : 'Robots', |
doctypes : 'Doctype', |
langcode : 'Language code', |
langdir : 'Language direction', |
ltr : 'Left to right', |
rtl : 'Right to left', |
xml_pi : 'XML declaration', |
encoding : 'Character encoding', |
appearance_bgprops : 'Background properties', |
appearance_marginprops : 'Body margins', |
appearance_linkprops : 'Link colors', |
appearance_textprops : 'Text properties', |
bgcolor : 'Background color', |
bgimage : 'Background image', |
left_margin : 'Left margin', |
right_margin : 'Right margin', |
top_margin : 'Top margin', |
bottom_margin : 'Bottom margin', |
text_color : 'Text color', |
font_size : 'Font size', |
font_face : 'Font face', |
link_color : 'Link color', |
hover_color : 'Hover color', |
visited_color : 'Visited color', |
active_color : 'Active color', |
textcolor : 'Color', |
fontsize : 'Font size', |
fontface : 'Font family', |
meta_index_follow : 'Index and follow the links', |
meta_index_nofollow : 'Index and don\'t follow the links', |
meta_noindex_follow : 'Do not index but follow the links', |
meta_noindex_nofollow : 'Do not index and don\'t follow the links', |
appearance_style : 'Stylesheet and style properties', |
stylesheet : 'Stylesheet', |
style : 'Style', |
author : 'Author', |
copyright : 'Copyright', |
add : 'Add new element', |
remove : 'Remove selected element', |
moveup : 'Move selected element up', |
movedown : 'Move selected element down', |
head_elements : 'Head elements', |
info : 'Information', |
info_text : '', |
add_title : 'Title element', |
add_meta : 'Meta element', |
add_script : 'Script element', |
add_style : 'Style element', |
add_link : 'Link element', |
add_base : 'Base element', |
add_comment : 'Comment node', |
title_element : 'Title element', |
script_element : 'Script element', |
style_element : 'Style element', |
base_element : 'Base element', |
link_element : 'Link element', |
meta_element : 'Meta element', |
comment_element : 'Comment', |
src : 'Src', |
language : 'Language', |
href : 'Href', |
target : 'Target', |
rel : 'Rel', |
type : 'Type', |
charset : 'Charset', |
defer : 'Defer', |
media : 'Media', |
properties : 'Properties', |
name : 'Name', |
value : 'Value', |
content : 'Content', |
rel : 'Rel', |
rev : 'Rev', |
hreflang : 'Href lang', |
general_props : 'General', |
advanced_props : 'Advanced', |
delta_width : 0, |
delta_height : 0 |
}); |
/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/images/add.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/images/add.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/images/move_up.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/images/move_up.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/images/move_down.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/images/move_down.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/images/remove.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/images/remove.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/images/fullpage.gif |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/branches/v4.0/wikini/maj_wikini/tools/templates/themes/default/javascripts/tiny_mce/plugins/fullpage/images/fullpage.gif |
---|
New file |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |