Sha256: b5588218c473492999ade2de0747bbaa755fabbf24f623bb983ff290567117e4

Contents?: true

Size: 1.5 KB

Versions: 97

Compression:

Stored size: 1.5 KB

Contents

<%# Adapted from "fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl" -%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css"/>
<script src="/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js"></script>
<script type="text/javascript">
var suggs = new Array();
var words = new Array();
var textinputs = new Array();
var error;

<%# START speller_pages results -%>

textinputs[0] = decodeURIComponent('<%= @textinputs %>') ;
words[0] = [];
suggs[0] = [];

<% (0 ... @suggestions.length).each do |i| %>
words[0][<%= i %>] = '<%= @suggestions[i][0] %>'
suggs[0][<%= i %>] = [<%= @suggestions[i][1] %>]
<% end %>

<%# END speller_pages results -%>

var wordWindowObj = new wordWindow();
wordWindowObj.originalSpellings = words;
wordWindowObj.suggestions = suggs;
wordWindowObj.textInputs = textinputs;


function init_spell() {
	// check if any error occured during server-side processing
	if( error ) {
		alert( error );
	} else {
		// call the init_spell() function in the parent frameset
		if (parent.frames.length) {
			parent.init_spell( wordWindowObj );
		} else {
			error = "This page was loaded outside of a frameset. ";
			error += "It might not display properly";
			alert( error );
		}
	}
}

</script>

</head>
<body onLoad="init_spell();">

<script type="text/javascript">
wordWindowObj.writeBody();
</script>

</body>
</html>

Version data entries

97 entries across 97 versions & 2 rubygems

Version Path
six-updater-web-0.24.15 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.24.14 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.24.13 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.24.12 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.24.11 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.24.10 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.24.9 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.24.8 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.24.7 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.24.6 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.24.5 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.24.4 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.24.3 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.24.2 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.24.1 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.24.0 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.23.7 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.23.6 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.23.5 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml
six-updater-web-0.23.4 lib/six-updater-web/vendor/plugins/goldberg/app/views/goldberg/content_pages/fck_speller_pages.rhtml