summaryrefslogtreecommitdiff
path: root/httemplate/elements/fckeditor/editor/dialog/fck_smiley.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/fckeditor/editor/dialog/fck_smiley.html')
-rw-r--r--httemplate/elements/fckeditor/editor/dialog/fck_smiley.html16
1 files changed, 5 insertions, 11 deletions
diff --git a/httemplate/elements/fckeditor/editor/dialog/fck_smiley.html b/httemplate/elements/fckeditor/editor/dialog/fck_smiley.html
index ba3a302..c8efd0c 100644
--- a/httemplate/elements/fckeditor/editor/dialog/fck_smiley.html
+++ b/httemplate/elements/fckeditor/editor/dialog/fck_smiley.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<!--
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
- * Copyright (C) 2003-2010 Frederico Caldeira Knabben
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
@@ -33,25 +33,19 @@
cursor: hand;
}
</style>
- <script src="common/fck_dialog_common.js" type="text/javascript"></script>
<script type="text/javascript">
-var dialog = window.parent ;
-var oEditor = dialog.InnerDialogLoaded() ;
+var oEditor = window.parent.InnerDialogLoaded() ;
window.onload = function ()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
-
- dialog.SetAutoSize( true ) ;
}
function InsertSmiley( url )
{
- oEditor.FCKUndo.SaveUndoStep() ;
-
- var oImg = oEditor.FCK.InsertElement( 'img' ) ;
+ var oImg = oEditor.FCK.CreateElement( 'IMG' ) ;
oImg.src = url ;
oImg.setAttribute( '_fcksavedurl', url ) ;
@@ -60,7 +54,7 @@ function InsertSmiley( url )
// everything before closing.
document.body.innerHTML = '' ;
- dialog.Cancel() ;
+ window.parent.Cancel() ;
}
function over(td)
@@ -74,7 +68,7 @@ function out(td)
}
</script>
</head>
-<body style="overflow: hidden">
+<body scroll="no">
<table cellpadding="2" cellspacing="2" align="center" border="0" width="100%" height="100%">
<script type="text/javascript">