Эх сурвалжийг харах

[svn r11090] clean import image popup in WCAG editor

Patrick Vandermaesen 18 жил өмнө
parent
commit
9eeb5b484f

+ 2 - 14
main/admin/configure_homepage.php

@@ -1,4 +1,4 @@
-<?php // $Id: configure_homepage.php 11061 2007-02-06 13:43:07Z pvandermaesen $
+<?php // $Id: configure_homepage.php 11090 2007-02-09 15:59:01Z pvandermaesen $
 /*
 ==============================================================================
 	Dokeos - elearning and course management software
@@ -712,22 +712,10 @@ if($action == 'edit_news'){
 	if (api_get_setting('wcag_anysurfer_public_pages')=='true') {
 		
 		?>
-		<script type="text/javascript">
-			function OpenFileBrowser( url, width, height )
-			{
-
-				var sOptions = "toolbar=no,status=no,resizable=yes,dependent=yes" ;
-				sOptions += ",width=" + width ;
-				sOptions += ",height=" + height ;
-			
-				window.open( url, 'FCKBrowseWindow', sOptions ) ;
-			}
-		</script>
-
+		<script type="text/javascript" src="<?php echo(api_get_path(REL_PATH).'main/inc/lib/fckeditor/editor/plugins/ImageManagerStandalone/generic_dialog_common.js')?>" />
 		<?php
 		
 		echo WCAG_Rendering::create_xhtml($open);
-		//echo ('<a href="http://localhost/dokeos/dokeos/main/inc/lib/fckeditor/editor/plugins/ImageManager/manager.php?uploadPath=\" target="_blank">image</a>');
 		
 	} else {
 		$oFCKeditor = new FCKeditor($name) ;