Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 1030)
+++ trunk/CHANGELOG	(revision 1031)
@@ -12,6 +12,7 @@
 
 ------------------------------------- 2.8.0 -------------------------------------
 04-July-2009 Matthias Gallas
+!	Changed Template from FCKEditor plugin WBModules to .htt
 +	Added Droplets plugin to FCKEditor (ticket #737) (Big Thanks to vizmotion)
 03-July-2009 Matthias Gallas
 +	Fixed IE Bug in Wrapper modul (ticket #736)
Index: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/wbmodules.html
===================================================================
--- trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/wbmodules.html	(revision 1030)
+++ trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/wbmodules.html	(nonexistent)
@@ -1,102 +0,0 @@
-<!-- BEGIN main_block -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<html>
-	<head>
-		<title>WB Link - Insert Website Baker Link</title>
-		<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}">
-		<meta content="noindex, nofollow" name="robots">
-		<script type="text/javascript" src="fckwbmodules.js"></script>
-		<script type="text/javascript">
-		<!--
-			var oEditor			= window.parent.InnerDialogLoaded(); 
-			var FCK				= oEditor.FCK; 
-			var FCKLang			= oEditor.FCKLang ;
-			var FCKConfig		= oEditor.FCKConfig ;
-			//var FCKCMSCCMSModules	= oEditor.FCKCMSModules; 
-			 
-			// oLink: The actual selected link in the editor.
-			var oLink = FCK.Selection.MoveToAncestorNode( 'A' ) ;
-			if ( oLink )
-				FCK.Selection.SelectNode( oLink ) ;
-	
-			window.onload = function ()	{ 
-				// First of all, translates the dialog box texts.
-				oEditor.FCKLanguageManager.TranslatePage(document);
-				
-				LoadSelected();							//See function below 
-				window.parent.SetOkButton( true );		//Show the "Ok" button. 
-				
-			} 
-			 
-			//If an anchor (A) object is currently selected, load the properties into the dialog 
-			function LoadSelected()	{
-				var sSelected;
-				
-				if ( oEditor.FCKBrowserInfo.IsGecko ) {
-					sSelected = FCK.EditorWindow.getSelection();
-				} else {
-					sSelected = FCK.EditorDocument.selection.createRange().text;
-				}
-
-				if ( sSelected == "" ) {
-					alert( FCKLang.WBModulesErrSelection );
-					window.parent.Cancel();
-				}
-
-			}
-
-			//Code that runs after the OK button is clicked 
-			function Ok() {
-				//Validate is option is selected
-				var oPageList = document.getElementById( 'cmbPages' ) ;
-				if(oPageList.selectedIndex == -1) {
-					alert( FCKLang.WBModulesErrPageSelect );
-					return false;
-				}
-				
-				var oTagLink = document.getElementById( 'chkTaglink' );
-				
-				var sPageId = oPageList[oPageList.selectedIndex].value;
-				oLink = oEditor.FCK.CreateLink( sPageId ) ;
-				// the following line was commented out as it creates an error message in some browser (e.g. IE)
-				// even Firefox seems not to make use of the title so we remove this option for know (doc)
-				// SetAttribute( oLink, 'title', document.getElementById( 'txtTitle' ).value ) ;
-			return true;
-
-			} 
-			
-		//-->
-		</script>
-	</head>
-			
-	<body scroll="no" style="overflow:hidden;">
-		 <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"> 
-		 	<tr> 
-				<td>
-					<table width="100%">
-						<tr>
-							<td colspan="2"><span fckLang="WBModuleslblPageSelection">Select a WB Page to link to:</span>&nbsp;</td>
-						</tr>
-						<tr>
-							<td colspan="2">
-								<select id="cmbPages" style="WIDTH: 100%" size="14" name="cmbPages">
-									<!-- BEGIN page_list_block -->
-									<option value="{LINK}"{SELECTED}>{TITLE}</option>
-									<!-- END page_list_block -->
-								</select>
-							</td>
-						</tr>
-						<!-- commented out as this option will not work in all browsers (doc)
-						<tr>
-							<td nowrap><span fckLang="WBModuleslblTitle">Title</span>&nbsp;</td>
-							<td width="100%" style="align:right;"><input id="txtTitle" style="WIDTH: 98%" type="text" name="txtTitle"></td>
-						</tr>
-						-->
-					</table>
-				</td>
-			</tr>
-		</table>
-		
-	</body>
-</html> 
-<!-- END main_block -->
\ No newline at end of file
Index: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/wbmodules.htt
===================================================================
--- trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/wbmodules.htt	(nonexistent)
+++ trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/wbmodules.htt	(revision 1031)
@@ -0,0 +1,102 @@
+<!-- BEGIN main_block -->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+	<head>
+		<title>WB Link - Insert Website Baker Link</title>
+		<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}">
+		<meta content="noindex, nofollow" name="robots">
+		<script type="text/javascript" src="fckwbmodules.js"></script>
+		<script type="text/javascript">
+		<!--
+			var oEditor			= window.parent.InnerDialogLoaded(); 
+			var FCK				= oEditor.FCK; 
+			var FCKLang			= oEditor.FCKLang ;
+			var FCKConfig		= oEditor.FCKConfig ;
+			//var FCKCMSCCMSModules	= oEditor.FCKCMSModules; 
+			 
+			// oLink: The actual selected link in the editor.
+			var oLink = FCK.Selection.MoveToAncestorNode( 'A' ) ;
+			if ( oLink )
+				FCK.Selection.SelectNode( oLink ) ;
+	
+			window.onload = function ()	{ 
+				// First of all, translates the dialog box texts.
+				oEditor.FCKLanguageManager.TranslatePage(document);
+				
+				LoadSelected();							//See function below 
+				window.parent.SetOkButton( true );		//Show the "Ok" button. 
+				
+			} 
+			 
+			//If an anchor (A) object is currently selected, load the properties into the dialog 
+			function LoadSelected()	{
+				var sSelected;
+				
+				if ( oEditor.FCKBrowserInfo.IsGecko ) {
+					sSelected = FCK.EditorWindow.getSelection();
+				} else {
+					sSelected = FCK.EditorDocument.selection.createRange().text;
+				}
+
+				if ( sSelected == "" ) {
+					alert( FCKLang.WBModulesErrSelection );
+					window.parent.Cancel();
+				}
+
+			}
+
+			//Code that runs after the OK button is clicked 
+			function Ok() {
+				//Validate is option is selected
+				var oPageList = document.getElementById( 'cmbPages' ) ;
+				if(oPageList.selectedIndex == -1) {
+					alert( FCKLang.WBModulesErrPageSelect );
+					return false;
+				}
+				
+				var oTagLink = document.getElementById( 'chkTaglink' );
+				
+				var sPageId = oPageList[oPageList.selectedIndex].value;
+				oLink = oEditor.FCK.CreateLink( sPageId ) ;
+				// the following line was commented out as it creates an error message in some browser (e.g. IE)
+				// even Firefox seems not to make use of the title so we remove this option for know (doc)
+				// SetAttribute( oLink, 'title', document.getElementById( 'txtTitle' ).value ) ;
+			return true;
+
+			} 
+			
+		//-->
+		</script>
+	</head>
+			
+	<body scroll="no" style="overflow:hidden;">
+		 <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0"> 
+		 	<tr> 
+				<td>
+					<table width="100%">
+						<tr>
+							<td colspan="2"><span fckLang="WBModuleslblPageSelection">Select a WB Page to link to:</span>&nbsp;</td>
+						</tr>
+						<tr>
+							<td colspan="2">
+								<select id="cmbPages" style="WIDTH: 100%" size="14" name="cmbPages">
+									<!-- BEGIN page_list_block -->
+									<option value="{LINK}"{SELECTED}>{TITLE}</option>
+									<!-- END page_list_block -->
+								</select>
+							</td>
+						</tr>
+						<!-- commented out as this option will not work in all browsers (doc)
+						<tr>
+							<td nowrap><span fckLang="WBModuleslblTitle">Title</span>&nbsp;</td>
+							<td width="100%" style="align:right;"><input id="txtTitle" style="WIDTH: 98%" type="text" name="txtTitle"></td>
+						</tr>
+						-->
+					</table>
+				</td>
+			</tr>
+		</table>
+		
+	</body>
+</html> 
+<!-- END main_block -->
\ No newline at end of file

Property changes on: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/wbmodules.htt
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fckwbmodules.js
===================================================================
--- trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fckwbmodules.js	(revision 1030)
+++ trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fckwbmodules.js	(revision 1031)

Property changes on: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fckwbmodules.js
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/ru.js
===================================================================
--- trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/ru.js	(revision 1030)
+++ trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/ru.js	(revision 1031)
@@ -4,4 +4,4 @@
 FCKLang.WBModulesErrSelection		= 'Пожалуйста выделите ссылающийся текст' ;
 FCKLang.WBModulesErrPageSelect		= 'Выберите страницу чтобы сделать ссылку' ;
 FCKLang.WBModuleslblPageSelection	= 'Выберите страницу для ссылки:';
-FCKLang.WBModuleslblTitle		= 'Заголовок';
+FCKLang.WBModuleslblTitle		= 'Заголовок';
\ No newline at end of file

Property changes on: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/ru.js
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/de.js
===================================================================
--- trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/de.js	(revision 1030)
+++ trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/de.js	(revision 1031)

Property changes on: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/de.js
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/nl.js
===================================================================
--- trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/nl.js	(revision 1030)
+++ trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/nl.js	(revision 1031)
@@ -4,4 +4,4 @@
 FCKLang.WBModulesErrSelection		= 'Eerst een selectie maken voordat u een link wilt toevoegen' ;
 FCKLang.WBModulesErrPageSelect		= 'Eerst een pagina selecteren als u een link wilt creeren' ;
 FCKLang.WBModuleslblPageSelection	= 'Selecteer een WB Pagina om te linken:';
-FCKLang.WBModuleslblTitle		= 'Titel';
+FCKLang.WBModuleslblTitle		= 'Titel';
\ No newline at end of file

Property changes on: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/nl.js
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/en.js
===================================================================
--- trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/en.js	(revision 1030)
+++ trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/en.js	(revision 1031)
@@ -4,4 +4,4 @@
 FCKLang.WBModulesErrSelection		= 'Please select a text in order to create a (internal) link' ;
 FCKLang.WBModulesErrPageSelect		= 'Please select a page in order to create a link' ;
 FCKLang.WBModuleslblPageSelection	= 'Select a WB Page to link to:';
-FCKLang.WBModuleslblTitle		= 'Title';
+FCKLang.WBModuleslblTitle		= 'Title';
\ No newline at end of file

Property changes on: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/en.js
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/index.php
===================================================================
--- trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/index.php	(revision 1030)
+++ trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/index.php	(revision 1031)
@@ -1,6 +1,6 @@
 <?php
 
-// $Id: index.php 662 2008-02-03 07:27:52Z Ruebenwurzel $
+// $Id$
 
 /*
 

Property changes on: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/lang/index.php
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fck_wbmodules.php
===================================================================
--- trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fck_wbmodules.php	(revision 1030)
+++ trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fck_wbmodules.php	(revision 1031)
@@ -5,7 +5,7 @@
 /*
 
  Website Baker Project <http://www.websitebaker.org/>
- Copyright (C) 2004-2008, Ryan Djurovich
+ Copyright (C) 2004-2009, Ryan Djurovich
 
  Website Baker is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
@@ -32,7 +32,7 @@
 
 // Setup the template
 $template = new Template(WB_PATH.'/modules/fckeditor/fckeditor/editor/plugins/WBModules');
-$template->set_file('page', 'wbmodules.html');
+$template->set_file('page', 'wbmodules.htt');
 $template->set_block('page', 'main_block', 'main');
 
 // Function to generate page list
Index: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fckwbmodules.css
===================================================================
--- trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fckwbmodules.css	(revision 1030)
+++ trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fckwbmodules.css	(revision 1031)
@@ -32,4 +32,4 @@
 	background-color:#FFFFCC;
 	opacity: 0.8;
 	filter:alpha(opacity=80);
-}
+}
\ No newline at end of file

Property changes on: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fckwbmodules.css
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fckplugin.js
===================================================================
--- trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fckplugin.js	(revision 1030)
+++ trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fckplugin.js	(revision 1031)

Property changes on: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fckplugin.js
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/index.php
===================================================================
--- trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/index.php	(revision 1030)
+++ trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/index.php	(revision 1031)
@@ -1,11 +1,11 @@
 <?php
 
-// $Id: index.php 662 2008-02-03 07:27:52Z Ruebenwurzel $
+// $Id$
 
 /*
 
  Website Baker Project <http://www.websitebaker.org/>
- Copyright (C) 2004-2008, Ryan Djurovich
+ Copyright (C) 2004-2009, Ryan Djurovich
 
  Website Baker is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by

Property changes on: trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/index.php
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
