[pLog-svn] r5156 - in plog/trunk: . bin-devel class/action class/action/admin class/cache/Cache_Lite class/controller class/dao class/dao/userdata class/data class/data/captcha class/data/validator class/data/validator/rules class/gallery/dao class/gallery/resizers class/mail/phpmailer class/net class/net/xmlrpc class/plugin class/summary/view class/template/smarty class/template/smarty/internals class/template/smarty/plugins class/test/tests/data class/test/tests/data/validator class/test/tests/net/xmlrpc class/view class/view/admin class/view/admin/chooser js js/tinymce js/tinymce/plugins/directionality js/tinymce/plugins/emotions js/tinymce/plugins/fullscreen js/tinymce/plugins/fullscreen/css js/tinymce/plugins/inlinepopups js/tinymce/plugins/insertdatetime js/tinymce/plugins/insertvideo/langs js/tinymce/plugins/more js/tinymce/plugins/table js/tinymce/plugins/table/jscripts js/tinymce/plugins/table/langs js/ui locale locale/admin locale/unported styles templates/LifeType templates/LifeType/en_UK templates/admin templates/admin/chooser templates/standard templates/summary templates/wizard tools

oscar at devel.lifetype.net oscar at devel.lifetype.net
Thu Mar 22 09:18:29 EDT 2007


Author: oscar
Date: 2007-03-22 09:18:28 -0400 (Thu, 22 Mar 2007)
New Revision: 5156

Added:
   plog/trunk/class/action/admin/adminchangeblogstatusaction.class.php
   plog/trunk/class/action/admin/adminchangeuserstatusaction.class.php
   plog/trunk/class/data/validator/floatvalidator.class.php
   plog/trunk/class/data/validator/rules/floatrule.class.php
   plog/trunk/class/test/tests/data/validator/httpurlvalidator_test.class.php
   plog/trunk/js/tinymce/plugins/fullscreen/css/page.css
   plog/trunk/js/tinymce/plugins/fullscreen/fullscreen.htm
   plog/trunk/locale/admin/locale_de_DE.php
   plog/trunk/locale/admin/locale_fr_FR.php
   plog/trunk/locale/admin/locale_it_IT.php
   plog/trunk/locale/admin/locale_nl_NL.php
   plog/trunk/locale/admin/locale_zh_CN.php
   plog/trunk/locale/admin/locale_zh_TW.php
   plog/trunk/locale/locale_de_DE.php
   plog/trunk/locale/locale_fr_FR.php
   plog/trunk/locale/locale_it_IT.php
   plog/trunk/locale/locale_nl_NL.php
   plog/trunk/locale/locale_zh_CN.php
   plog/trunk/locale/locale_zh_TW.php
   plog/trunk/tools/updatedbschema.php
Removed:
   plog/trunk/debug.php
   plog/trunk/js/rico/
   plog/trunk/locale/unported/locale_de_DE.php
   plog/trunk/locale/unported/locale_nl_NL.php
   plog/trunk/locale/unported/locale_zh_CN.php
   plog/trunk/locale/unported/locale_zh_TW.php
   plog/trunk/locale/unsupport/
   plog/trunk/styles/admin-ff.css
   plog/trunk/templates/admin/.directory
Modified:
   plog/trunk/bin-devel/build-svn.sh
   plog/trunk/class/action/addcommentaction.class.php
   plog/trunk/class/action/admin/adminaddblogtemplateaction.class.php
   plog/trunk/class/action/admin/adminaddbloguseraction.class.php
   plog/trunk/class/action/admin/adminaddresourceaction.class.php
   plog/trunk/class/action/admin/adminaddtemplateaction.class.php
   plog/trunk/class/action/admin/admincleanupaction.class.php
   plog/trunk/class/action/admin/admindeletebloguserpermissionsaction.class.php
   plog/trunk/class/action/admin/admindeletecommentaction.class.php
   plog/trunk/class/action/admin/admindeletegalleryitemsaction.class.php
   plog/trunk/class/action/admin/adminloginaction.class.php
   plog/trunk/class/action/admin/adminnewresourceaction.class.php
   plog/trunk/class/action/admin/adminupdatepluginsettingsaction.class.php
   plog/trunk/class/action/admin/adminupdatepostaction.class.php
   plog/trunk/class/action/viewarticleaction.class.php
   plog/trunk/class/action/viewresourceaction.class.php
   plog/trunk/class/cache/Cache_Lite/Lite.php
   plog/trunk/class/controller/admincontrollermap.properties.php
   plog/trunk/class/dao/articlecomments.class.php
   plog/trunk/class/dao/articles.class.php
   plog/trunk/class/dao/blogs.class.php
   plog/trunk/class/dao/commentscommon.class.php
   plog/trunk/class/dao/purgedata.class.php
   plog/trunk/class/dao/userdata/lifetypeuserdataprovider.class.php
   plog/trunk/class/data/captcha/captcha.class.php
   plog/trunk/class/data/textfilter.class.php
   plog/trunk/class/data/validator/httpurlvalidator.class.php
   plog/trunk/class/data/validator/rules/urlformatrule.class.php
   plog/trunk/class/gallery/dao/galleryresourcestorage.class.php
   plog/trunk/class/gallery/resizers/galleryimagemagickresizer.class.php
   plog/trunk/class/mail/phpmailer/class.phpmailer.php
   plog/trunk/class/net/modrewriterequestgenerator.class.php
   plog/trunk/class/net/xmlrpc/xmlrpcserver.class.php
   plog/trunk/class/plugin/eventlist.properties.php
   plog/trunk/class/plugin/pluginbase.class.php
   plog/trunk/class/summary/view/summarybloglistview.class.php
   plog/trunk/class/summary/view/summarycachedview.class.php
   plog/trunk/class/summary/view/summarypostlistview.class.php
   plog/trunk/class/summary/view/summaryview.class.php
   plog/trunk/class/template/smarty/Config_File.class.php
   plog/trunk/class/template/smarty/Smarty.class.php
   plog/trunk/class/template/smarty/Smarty_Compiler.class.php
   plog/trunk/class/template/smarty/internals/core.write_compiled_include.php
   plog/trunk/class/template/smarty/internals/core.write_file.php
   plog/trunk/class/template/smarty/plugins/function.html_select_date.php
   plog/trunk/class/template/smarty/plugins/modifier.capitalize.php
   plog/trunk/class/template/smarty/plugins/modifier.date_format.php
   plog/trunk/class/template/smarty/plugins/modifier.truncate.php
   plog/trunk/class/test/tests/data/textfilter_test.class.php
   plog/trunk/class/test/tests/net/xmlrpc/xmlrpcserver_test.class.php
   plog/trunk/class/view/admin/admineditpostview.class.php
   plog/trunk/class/view/admin/chooser/adminsimpleresourceslistview.class.php
   plog/trunk/class/view/viewarticleview.class.php
   plog/trunk/js/tinymce/plugins/directionality/editor_plugin.js
   plog/trunk/js/tinymce/plugins/directionality/editor_plugin_src.js
   plog/trunk/js/tinymce/plugins/emotions/editor_plugin.js
   plog/trunk/js/tinymce/plugins/emotions/editor_plugin_src.js
   plog/trunk/js/tinymce/plugins/fullscreen/editor_plugin.js
   plog/trunk/js/tinymce/plugins/fullscreen/editor_plugin_src.js
   plog/trunk/js/tinymce/plugins/inlinepopups/editor_plugin.js
   plog/trunk/js/tinymce/plugins/inlinepopups/editor_plugin_src.js
   plog/trunk/js/tinymce/plugins/insertdatetime/editor_plugin.js
   plog/trunk/js/tinymce/plugins/insertdatetime/editor_plugin_src.js
   plog/trunk/js/tinymce/plugins/insertvideo/langs/en.js
   plog/trunk/js/tinymce/plugins/more/editor_plugin.js
   plog/trunk/js/tinymce/plugins/table/editor_plugin.js
   plog/trunk/js/tinymce/plugins/table/editor_plugin_src.js
   plog/trunk/js/tinymce/plugins/table/jscripts/table.js
   plog/trunk/js/tinymce/plugins/table/langs/en.js
   plog/trunk/js/tinymce/plugins/table/table.htm
   plog/trunk/js/tinymce/tiny_mce.js
   plog/trunk/js/tinymce/tiny_mce_src.js
   plog/trunk/js/ui/forms.js
   plog/trunk/js/ui/plogui.js
   plog/trunk/locale/admin/locale_ca_ES.php
   plog/trunk/locale/admin/locale_en_UK.php
   plog/trunk/locale/admin/locale_es_ES.php
   plog/trunk/locale/locale_ca_ES.php
   plog/trunk/locale/locale_en_UK.php
   plog/trunk/locale/locale_es_ES.php
   plog/trunk/styles/admin.css
   plog/trunk/styles/wizard.css
   plog/trunk/templates/LifeType/en_UK/strings.txt
   plog/trunk/templates/LifeType/panel.template
   plog/trunk/templates/LifeType/post.template
   plog/trunk/templates/LifeType/postandcomments.template
   plog/trunk/templates/admin/chooser/resourcelist.template
   plog/trunk/templates/admin/chooser/siteblogschooser.template
   plog/trunk/templates/admin/cleanup.template
   plog/trunk/templates/admin/dashboard.template
   plog/trunk/templates/admin/default.template
   plog/trunk/templates/admin/editpost.template
   plog/trunk/templates/admin/globalsettings_bayesian.template
   plog/trunk/templates/admin/globalsettings_general.template
   plog/trunk/templates/admin/globalsettings_url.template
   plog/trunk/templates/admin/header.template
   plog/trunk/templates/admin/newlink.template
   plog/trunk/templates/admin/newpost.template
   plog/trunk/templates/admin/registerblog.template
   plog/trunk/templates/admin/simpleerror.template
   plog/trunk/templates/admin/simplefooter.template
   plog/trunk/templates/admin/simpleheader.template
   plog/trunk/templates/admin/siteblogs.template
   plog/trunk/templates/admin/siteusers.template
   plog/trunk/templates/standard/footer.template
   plog/trunk/templates/standard/screenshot.jpg
   plog/trunk/templates/summary/header.template
   plog/trunk/templates/summary/index.template
   plog/trunk/templates/summary/post.template
   plog/trunk/templates/summary/registerstep2.template
   plog/trunk/templates/summary/userprofile.template
   plog/trunk/templates/wizard/checks.template
   plog/trunk/templates/wizard/footer.template
   plog/trunk/templates/wizard/step1.template
   plog/trunk/templates/wizard/step3.template
   plog/trunk/templates/wizard/step4.template
   plog/trunk/wizard.php
Log:
Merge from the lifetype-1.2 branch to HEAD, revisions 4901 to HEAD


Modified: plog/trunk/bin-devel/build-svn.sh
===================================================================
--- plog/trunk/bin-devel/build-svn.sh	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/bin-devel/build-svn.sh	2007-03-22 13:18:28 UTC (rev 5156)
@@ -23,7 +23,7 @@
 # can be used here
 #
 
-TOREMOVE="include_files release/ locale/old/ templates/standard-with-plugins/ templates/grey-sf/ templates/default templates/plogworld templates/lifetype bin-devel/ docs-devel/ class/gallery/getid3/module.archive.rar.php class/gallery/getid3/module.archive.szip.php class/gallery/getid3/module.audio-video.bink.php class/gallery/getid3/module.audio-video.matroska.php class/gallery/getid3/module.audio-video.nsv.php class/gallery/getid3/module.audio.avr.php class/gallery/getid3/module.audio.bonk.php class/gallery/getid3/module.audio.la.php class/gallery/getid3/module.audio.lpac.php class/gallery/getid3/module.audio.monkey.php class/gallery/getid3/module.audio.optimfrog.php class/gallery/getid3/module.audio.rkau.php class/gallery/getid3/module.audio.shorten.php class/gallery/getid3/module.audio.tta.php class/gallery/getid3/module.audio.voc.php class/gallery/getid3/module.audio.vqf.php class/gallery/getid3/module.graphic.bmp.php class/gallery/getid3/module.graphpc.pcd.php class/gallery/getid3/module.misc.exe.php class/gallery/getid3/module.misc.iso.php class/gallery/getid3/extension.cache.dbm.php class/gallery/getid3/extension.cache.mysql.php class/gallery/getid3/write.apetag.php class/gallery/getid3/write.id3v1.php class/gallery/getid3/write.id3v2.php class/gallery/getid3/write.lyrics3.php class/gallery/getid3/write.metaflac.php class/gallery/getid3/write.php class/gallery/getid3/write.real.php class/gallery/getid3/write.vorbiscomment.php dbperf.php locale/locale_en_US.php *.xcode tools/ locale/locale_it_IT.php runtests.php"
+TOREMOVE="include_files release/ locale/old/ templates/standard-with-plugins/ templates/grey-sf/ templates/plogworld templates/lifetype bin-devel/ docs-devel/ class/gallery/getid3/module.archive.rar.php class/gallery/getid3/module.archive.szip.php class/gallery/getid3/module.audio-video.bink.php class/gallery/getid3/module.audio-video.matroska.php class/gallery/getid3/module.audio-video.nsv.php class/gallery/getid3/module.audio.avr.php class/gallery/getid3/module.audio.bonk.php class/gallery/getid3/module.audio.la.php class/gallery/getid3/module.audio.lpac.php class/gallery/getid3/module.audio.monkey.php class/gallery/getid3/module.audio.optimfrog.php class/gallery/getid3/module.audio.rkau.php class/gallery/getid3/module.audio.shorten.php class/gallery/getid3/module.audio.tta.php class/gallery/getid3/module.audio.voc.php class/gallery/getid3/module.audio.vqf.php class/gallery/getid3/module.graphic.bmp.php class/gallery/getid3/module.graphpc.pcd.php class/gallery/getid3/module.misc.exe.php class/gallery/getid3/module.misc.iso.php class/gallery/getid3/extension.cache.dbm.php class/gallery/getid3/extension.cache.mysql.php class/gallery/getid3/write.apetag.php class/gallery/getid3/write.id3v1.php class/gallery/getid3/write.id3v2.php class/gallery/getid3/write.lyrics3.php class/gallery/getid3/write.metaflac.php class/gallery/getid3/write.php class/gallery/getid3/write.real.php class/gallery/getid3/write.vorbiscomment.php dbperf.php *.xcode tools/ runtests.php"
 
 #
 # helper functions to print things in different colors
@@ -110,6 +110,9 @@
 # copy the generic config file and remove the dist/ folder since it is not needed
 message "Copying the generic config.properties.file..."
 cp -f $WORKDIR/release/config.properties.php.dist $WORKDIR/config/config.properties.php
+cp -f $WORKDIR/release/logging.properties.php.dist $WORKDIR/config/logging.properties.php
+cp -f $WORKDIR/release/cache.properties.php.dist $WORKDIR/config/cache.properties.php
+cp -f $WORKDIR/release/userdata.properties.php.dist $WORKDIR/config/userdata.properties.php
 rm -rf $WORKDIR/dist
 
 # finally, update the version.php file

Modified: plog/trunk/class/action/addcommentaction.class.php
===================================================================
--- plog/trunk/class/action/addcommentaction.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/action/addcommentaction.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -153,6 +153,8 @@
             // the database, plus this last one
             $articles = new Articles();
             $article  = $articles->getBlogArticle( $this->_articleId, $this->_blogInfo->getId());
+			
+			$this->notifyEvent( EVENT_POST_LOADED, Array( "article" => &$article ));
 
             // check if the user wanted to receive comments for this article
             // or not...
@@ -162,8 +164,6 @@
                  $this->setCommonData();
                  return false;
             }
-			
-			$this->notifyEvent( EVENT_POST_LOADED, Array( "article" => &$article ));
 
         	// we have already checked all the data, so we are sure that everything's in place
             $comments = new ArticleComments();
@@ -183,6 +183,8 @@
 			if( $this->_userInfo ) {
 				// ...and if so, save the user data in the UserComment object
 				$comment->setUser( $this->_userInfo );
+			} else {
+				$comment->setUserId( 0 );
 			}
 
 			// fire an event

Modified: plog/trunk/class/action/admin/adminaddblogtemplateaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddblogtemplateaction.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/action/admin/adminaddblogtemplateaction.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -154,13 +154,13 @@
             $templateSandbox = new TemplateSandbox();
             $valid = $templateSandbox->checkTemplateFolder( $templateName, $ts->getBlogBaseTemplateFolder( $this->_blogInfo->getId()));
 			if( $valid < 0 ) {
-				$this->_errorMessage = $this->_locale->pr( 'error_installing_template', $templateName ).': '.AdminAddTemplateAction::_checkTemplateSandboxResult( $valid ).'<br/>';
+				$this->_errorMessage .= $this->_locale->pr( 'error_installing_template', $templateName ).': '.AdminAddTemplateAction::_checkTemplateSandboxResult( $valid ).'<br/>';
 				$result = false;
 			}
             else {
             	// otherwise, we can add it without problems
             	$ts->addTemplate( $templateName, $this->_blogInfo->getId());
-	            $this->_successMessage =  $this->_locale->pr( "template_installed_ok", $templateName );
+	            $this->_successMessage .=  $this->_locale->pr( "template_installed_ok", $templateName )."<br/>";
 	            $result = true;
             }
 

Modified: plog/trunk/class/action/admin/adminaddbloguseraction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddbloguseraction.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/action/admin/adminaddbloguseraction.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -72,7 +72,7 @@
             $users = new Users();
             $userInfo = $users->getUserInfoFromUsername( $this->_newUsername );
             if( !$userInfo ) {
-            	$this->_view = new AdminTemplatedView( $this->_blogInfo, "addbloguser" );
+            	$this->_view = new AdminNewBlogUserView( $this->_blogInfo );
                 $this->_view->setErrorMessage( $this->_locale->pr("error_invalid_user"), $this->_newUsername );
 				$this->_form->setFieldValidationStatus( "newBlogUserName", false );
                 $this->setCommonData( true );
@@ -93,7 +93,7 @@
 			$this->notifyEvent( EVENT_PRE_USER_UPDATE, Array( "user" => &$userInfo ));
             if( !$res ) {
             	// there was an error adding the user to the blog
-            	$this->_view = new AdminTemplatedView( $this->_blogInfo, "addbloguser" );
+            	$this->_view = new AdminNewBlogUserView( $this->_blogInfo );
                 $this->_view->setErrorMessage( $this->_locale->pr("error_adding_user", $userInfo->getUsername()));
                 $this->setCommonData();
 

Modified: plog/trunk/class/action/admin/adminaddresourceaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddresourceaction.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/action/admin/adminaddresourceaction.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -10,6 +10,7 @@
 	lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
     lt_include( PLOG_CLASS_PATH."class/view/admin/chooser/adminsimpleresourceslistview.class.php" );
     lt_include( PLOG_CLASS_PATH."class/view/admin/chooser/adminuserpictureselectview.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
     lt_include( PLOG_CLASS_PATH."class/file/fileupload.class.php" );
 	lt_include( PLOG_CLASS_PATH."class/dao/locations.class.php" );
 
@@ -60,7 +61,17 @@
          * Carries out the specified action
          */
         function perform()
-        {
+        {	
+			// are resources enabled?
+			$config =& Config::getConfig();
+			if( !$config->getValue( "resources_enabled", true )) {
+            	$this->_view = new AdminResourcesListView( $this->_blogInfo );
+                $this->_view->setErrorMessage( $this->_locale->tr("error_resources_disabled"));
+                $this->setCommonData();
+            	return false;				
+			}
+	
+	
         	// fetch the information coming from the resource
         	$this->_description = Textfilter::filterAllHTML($this->_request->getValue( "resourceDescription" ));
             $this->_albumId     = $this->_request->getValue( "albumId" );

Modified: plog/trunk/class/action/admin/adminaddtemplateaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddtemplateaction.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/action/admin/adminaddtemplateaction.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -144,13 +144,13 @@
             $templateSandbox = new TemplateSandbox();
             $valid = $templateSandbox->checkTemplateFolder( $templateName, $ts->getBaseTemplateFolder());
             if( $valid < 0 ) {
-				$this->_errorMessage = $this->_locale->pr( 'error_installing_template', $templateName ).': '.$this->_checkTemplateSandboxResult( $valid ).'<br/>';
+				$this->_errorMessage .= $this->_locale->pr( 'error_installing_template', $templateName ).': '.$this->_checkTemplateSandboxResult( $valid ).'<br/>';
 				$result = false;
 			}
             else {
 				// otherwise, we can add it without problems
 				$ts->addTemplate( $templateName );
-            	$this->_successMessage = $this->_locale->pr( 'template_installed_ok', $templateName).'<br/>';
+            	$this->_successMessage .= $this->_locale->pr( 'template_installed_ok', $templateName).'<br/>';
             	$result = true;
             }
 

Copied: plog/trunk/class/action/admin/adminchangeblogstatusaction.class.php (from rev 5155, plog/branches/lifetype-1.2/class/action/admin/adminchangeblogstatusaction.class.php)
===================================================================
--- plog/trunk/class/action/admin/adminchangeblogstatusaction.class.php	                        (rev 0)
+++ plog/trunk/class/action/admin/adminchangeblogstatusaction.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,103 @@
+<?php
+
+	lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/view/admin/adminsiteblogslistview.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+
+    /**
+     * \ingroup Action
+     * @private
+     *
+     * Implements bulk changes of blogs
+     */
+    class AdminChangeBlogStatusAction extends AdminAction 
+	{
+
+        var $_postIds;
+        var $_postStatus;
+
+    	/**
+         * Constructor. If nothing else, it also has to call the constructor of the parent
+         * class, BlogAction with the same parameters
+         */
+        function AdminChangeBlogStatusAction( $actionInfo, $request )
+        {
+        	$this->AdminAction( $actionInfo, $request );
+			$this->registerFieldValidator( "blogIds", new ArrayValidator());
+			$this->registerFieldValidator( "blogStatus", new IntegerValidator() );
+			$view = new AdminSiteBlogsListView( $this->_blogInfo );
+			$view->setErrorMessage( $this->_locale->tr("error_incorrect_blog_id"));
+			$this->setValidationErrorView( $view );
+			
+			$this->requireAdminPermission( "update_site_blog" );	
+        }
+
+        /**
+         * Carries out the specified action
+         */
+        function _changeBlogsStatus()
+        {
+        	// Chanages the post status field by selection
+            $blogs = new Blogs();
+            $errorMessage = "";
+			$successMessage = "";
+			$totalOk = 0;
+			
+            foreach( $this->_blogIds as $blogId ) {
+            	// get the post
+                $blog = $blogs->getBlogInfo( $blogId );
+				
+				if( $blog ) {
+					// fire the event
+					$this->notifyEvent( EVENT_PRE_BLOG_UPDATE, Array( "blog" => &$blog ));
+					
+					// update the post status
+					$blog->setStatus( $this->_blogStatus );
+					$result = $blogs->updateBlog( $blog );
+					
+					if( !$result ) {
+						$errorMessage .= $this->_locale->pr("error_updating_blog", $blog->getBlog())."<br/>";
+					}
+					else {
+						$totalOk++;
+						if( $totalOk < 2 ) 
+							$successMessage .= $this->_locale->pr("blog_updated_ok", $blog->getBlog())."<br/>";
+						else
+							$successMessage = $this->_locale->pr("blogs_updated_ok", $totalOk );
+						// fire the post event
+						$this->notifyEvent( EVENT_POST_BLOG_UPDATE, Array( "article" => &$blog ));					
+					}
+				}
+				else {
+					$errorMessage .= $this->_locale->pr( "error_updating_blog2", $blogId )."<br/>";
+				}
+            }
+			
+			// clean up the cache
+			CacheControl::resetBlogCache( $this->_blogInfo->getId());
+
+			$this->_view = new AdminSiteBlogsListView( $this->_blogInfo );
+			if( $errorMessage != "" ) 
+				$this->_view->setErrorMessage( $errorMessage );
+			if( $successMessage != "" )
+				$this->_view->setSuccessMessage( $successMessage );
+				
+			$this->setCommonData();
+			
+            return true;
+        }
+		
+		function perform()
+		{
+			// prepare the parameters.. If there's only one category id, then add it to
+			// an array.
+			$this->_blogIds = $this->_request->getValue( "blogIds" );
+			$this->_blogStatus = $this->_request->getValue( "blogStatus" );
+				
+			$this->_changeBlogsStatus();
+		}
+    }
+?>
\ No newline at end of file

Copied: plog/trunk/class/action/admin/adminchangeuserstatusaction.class.php (from rev 5155, plog/branches/lifetype-1.2/class/action/admin/adminchangeuserstatusaction.class.php)
===================================================================
--- plog/trunk/class/action/admin/adminchangeuserstatusaction.class.php	                        (rev 0)
+++ plog/trunk/class/action/admin/adminchangeuserstatusaction.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,100 @@
+<?php
+
+	lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/view/admin/adminsiteuserslistview.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
+
+    /**
+     * \ingroup Action
+     * @private
+     *
+     * Implements bulk changes of users
+     */
+    class AdminChangeUserStatusAction extends AdminAction 
+	{
+
+        var $_postIds;
+        var $_postStatus;
+
+    	/**
+         * Constructor. If nothing else, it also has to call the constructor of the parent
+         * class, BlogAction with the same parameters
+         */
+        function AdminChangeUserStatusAction( $actionInfo, $request )
+        {
+        	$this->AdminAction( $actionInfo, $request );
+			$this->registerFieldValidator( "userIds", new ArrayValidator());
+			$this->registerFieldValidator( "userStatus", new IntegerValidator() );
+			$view = new AdminSiteUsersListView( $this->_blogInfo );
+			$view->setErrorMessage( $this->_locale->tr("error_incorrect_user"));
+			$this->setValidationErrorView( $view );
+			
+			$this->requireAdminPermission( "update_user" );	
+        }
+
+        /**
+         * Carries out the specified action
+         */
+        function _changeUserStatus()
+        {
+        	// Chanages the post status field by selection
+            $users = new Users();
+            $errorMessage = "";
+			$successMessage = "";
+			$totalOk = 0;
+			
+            foreach( $this->_userIds as $userId ) {
+            	// get the post
+                $user = $users->getUserInfoFromId( $userId );
+				
+				if( $user ) {
+					// fire the event
+					$this->notifyEvent( EVENT_PRE_USER_UPDATE, Array( "user" => &$user ));
+					
+					// update the post status
+					$user->setStatus( $this->_userStatus );
+					$result = $users->updateUser( $user );
+					
+					if( !$result ) {
+						$errorMessage .= $this->_locale->pr("error_updating_user", $user->getUsername())."<br/>";
+					}
+					else {
+						$totalOk++;
+						if( $totalOk < 2 ) 
+							$successMessage .= $this->_locale->pr("user_updated_ok", $user->getUsername())."<br/>";
+						else
+							$successMessage = $this->_locale->pr("users_updated_ok", $totalOk );
+						// fire the post event
+						$this->notifyEvent( EVENT_POST_BLOG_UPDATE, Array( "user" => &$user ));					
+					}
+				}
+				else {
+					$errorMessage .= $this->_locale->pr( "eror_updating_user2", $userId )."<br/>";
+				}
+            }
+			
+			$this->_view = new AdminSiteUsersListView( $this->_blogInfo );
+			if( $errorMessage != "" ) 
+				$this->_view->setErrorMessage( $errorMessage );
+			if( $successMessage != "" )
+				$this->_view->setSuccessMessage( $successMessage );
+				
+			$this->setCommonData();
+			
+            return true;
+        }
+		
+		function perform()
+		{
+			// prepare the parameters.. If there's only one category id, then add it to
+			// an array.
+			$this->_userIds = $this->_request->getValue( "userIds" );
+			$this->_userStatus = $this->_request->getValue( "userStatus" );
+				
+			$this->_changeUserStatus();
+		}
+    }
+?>
\ No newline at end of file

Modified: plog/trunk/class/action/admin/admincleanupaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admincleanupaction.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/action/admin/admincleanupaction.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -35,8 +35,10 @@
 				$this->_op = "cleanupBlogs";
 			elseif( $this->_request->getValue( "purgeTemp" ))
 				$this->_op = "cleanupTemp";
-
-			$this->_message = "";
+            else
+                $this->_op = "";
+            
+			$this->_message = '';
 			$this->_continue = false;
 			
 			$this->requireAdminPermission( "purge_data" );
@@ -50,7 +52,13 @@
 			include_once( PLOG_CLASS_PATH."class/dao/purgedata.class.php" );
 			
 			$purge = new PurgeData();
-			if( $purge->purgePosts() > 0 ) {				
+            $result = $purge->purgePosts();
+            if($result === false){
+				$this->_continue = false;
+				$this->_message = $this->_locale->tr( "purging_error" );
+                return false;
+            }
+			else if($result > 0 ) {
 				$this->_message = $this->_locale->tr( "purging_please_wait" );
 				// flags to indicate that we show refresh the page and continue at the given URL
 				$this->_continue = true;				
@@ -61,7 +69,7 @@
 				$this->_message = $this->_locale->tr( "posts_purged_ok" );
 			}
 			
-			return( true );
+			return true;
 		}
 
 		/**
@@ -72,11 +80,17 @@
 			include_once( PLOG_CLASS_PATH."class/dao/purgedata.class.php" );
 			
 			$purge = new PurgeData();
-			if( $purge->purgeUsers() > 0 ) {				
+			$result = $purge->purgeUsers();
+            if($result === false){
+				$this->_continue = false;
+				$this->_message = $this->_locale->tr( "purging_error" );
+                return false;
+            }
+			else if($result > 0){
 				$this->_message = $this->_locale->tr( "purging_please_wait" );
 				// flags to indicate that we show refresh the page and continue at the given URL
 				$this->_continue = true;				
-				$this->_url = "?op=doCleanUp&purgePosts=Purge";
+				$this->_url = "?op=doCleanUp&purgeUsers=Purge";
 			}
 			else {
 				$this->_continue = false;
@@ -94,7 +108,14 @@
 			include_once( PLOG_CLASS_PATH."class/dao/purgedata.class.php" );
 			
 			$purge = new PurgeData();
-			if( $purge->purgeBlogs() > 0 ) {				
+			$result = $purge->purgeBlogs();
+
+            if($result === false){
+				$this->_continue = false;
+				$this->_message = $this->_locale->tr( "purging_error" );
+                return false;
+            }
+            else if($result > 0 ) {
 				$this->_message = $this->_locale->tr( "purging_please_wait" );
 				// flags to indicate that we show refresh the page and continue at the given URL
 				$this->_continue = true;				
@@ -109,14 +130,20 @@
 		}
 
 		/**
-		 * cleans up spam comments. Returns true if successful or false otheriwse
+		 * cleans up spam comments. Returns true if successful or false otherwise
 		 */
 		function cleanupComments()
 		{
 			include_once( PLOG_CLASS_PATH."class/dao/purgedata.class.php" );
 			
 			$purge = new PurgeData();
-			if( $purge->purgeSpamComments() > 0 ) {				
+			$result = $purge->purgeSpamComments();
+            if($result === false){
+				$this->_continue = false;
+				$this->_message = $this->_locale->tr( "purging_error" );
+                return false;
+            }
+			else if($result > 0) {
 				$this->_message = $this->_locale->tr( "purging_please_wait" );
 				// flags to indicate that we show refresh the page and continue at the given URL
 				$this->_continue = true;				
@@ -130,14 +157,36 @@
 			return( true );
 		}
 		
+		/**
+		 * cleans up temp directory, excluding .htaccess and the .svn directory
+         *
+         * @return Returns true
+		 */
 		function cleanupTemp()
 		{
-			include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
+			lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
 			$config =& Config::getConfig();
 			$tmpFolder = $config->getValue( "temp_folder" );
 			$excludes = array('.htaccess', '.svn');
 			File::deleteDir( $tmpFolder, true, true, $excludes );
 			
+			// Iterate through all of the blogs, and give the 
+			// plugins a chance to regenerate any files that 
+			// were deleted
+			lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+
+			$blogs = new Blogs();
+        	$activeBlogs = $blogs->getAllBlogs( BLOG_STATUS_ACTIVE );
+            // Get the plugin manager
+            $plugMgr =& PluginManager::getPluginManager();
+
+        	foreach( $activeBlogs as $blogInfo ) {
+	            $plugMgr->setBlogInfo( $blogInfo);
+	            $plugMgr->loadPlugins( "admin" );
+	            // Send the EVENT_POST_ADMIN_PURGE_TEMP_FOLDER message
+	            $plugMgr->notifyEvent( EVENT_POST_ADMIN_PURGE_TEMP_FOLDER );            
+        	}
+			
 			$this->_message = $this->_locale->tr( "temp_folder_reset_ok" );
 			
 			return true ;
@@ -170,8 +219,14 @@
 
 			// create the view and see if there was a success message
 			$this->_view = new AdminTemplatedView( $this->_blogInfo, "cleanup" );
-			if( $result ) 
+			if( $result ) {
 				$this->_view->setSuccessMessage( $this->_message );
+        	}	
+            elseif ($this->_message != '') {
+				$this->_view->setErrorMessage( $this->_message );
+		    }
+		    
+		    
 			$this->_view->setValue( "continue", $this->_continue );
 			$this->_view->setValue( "dest", $this->_url );
 

Modified: plog/trunk/class/action/admin/admindeletebloguserpermissionsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletebloguserpermissionsaction.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/action/admin/admindeletebloguserpermissionsaction.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -59,10 +59,9 @@
 			$totalOk = 0;
 			
 			$perms = new Permissions();
-			$accessBlogPerm = $perms->getPermissionByName( "blog_access" );
 			
             foreach( $this->_userIds as $userId ) {
-            	$res = $userPermissions->revokePermission( $userId, $this->_blogInfo->getId(), $accessBlogPerm->getId());
+            	$res = $userPermissions->revokePermissions( $userId, $this->_blogInfo->getId());
                 $userInfo = $users->getUserInfoFromId( $userId );
                 if( $res ) {
 					$totalOk++;				

Modified: plog/trunk/class/action/admin/admindeletecommentaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletecommentaction.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/action/admin/admindeletecommentaction.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -103,17 +103,19 @@
 					
 					// check if the comment really belongs to this blog...
 					$article = $comment->getArticle();
+                    if(!($topic = $comment->getTopic()))
+                        $topic = $this->_locale->tr("comment_no_topic");
 					if( $article->getBlogId() != $this->_blogInfo->getId()) {
 						// if not, then we shouldn't be allowed to remove anything!						
-						$errorMessage .= $this->_locale->pr("error_deleting_comment", $comment->getTopic())."<br/>";
+						$errorMessage .= $this->_locale->pr("error_deleting_comment", $topic)."<br/>";
 					}
 					else {
 						if( !$comments->deleteComment( $commentId ))
-							$errorMessage .= $this->_locale->pr("error_deleting_comment", $comment->getTopic())."<br/>";
+							$errorMessage .= $this->_locale->pr("error_deleting_comment", $topic)."<br/>";
 						else {
 							$totalOk++;
 							if( $totalOk < 2 )
-								$successMessage .= $this->_locale->pr("comment_deleted_ok", $comment->getTopic())."<br/>";
+								$successMessage .= $this->_locale->pr("comment_deleted_ok", $topic)."<br/>";
 							else
 								$successMessage = $this->_locale->pr("comments_deleted_ok", $totalOk );
 							

Modified: plog/trunk/class/action/admin/admindeletegalleryitemsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletegalleryitemsaction.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/action/admin/admindeletegalleryitemsaction.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -128,7 +128,7 @@
 					}
 					else {
 						if( $album->getNumChildren() > 0 || $album->getNumResources() > 0 ) {
-							$this->_errorMessage .= $this->_locale->pr("error_album_has_children", $album->getName());
+							$this->_errorMessage .= $this->_locale->pr("error_album_has_children", $album->getName()."<br/>");
 						}
 						else {
 							$this->notifyEvent( EVENT_PRE_ALBUM_DELETE, Array( "album" => &$album ));

Modified: plog/trunk/class/action/admin/adminloginaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminloginaction.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/action/admin/adminloginaction.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -127,7 +127,7 @@
             	$session["SessionInfo"] = $sessionInfo;
             	HttpVars::setSession( $session );			
             	// and then continue...
-            	if( $this->_userInfo->hasPermissionByName( "new_post", $this->_blogInfo->getId()))
+            	if( $userInfo->hasPermissionByName( "new_post", $this->_blogInfo->getId()))
 					AdminController::setForwardAction( "newPost" );
 				else
 					AdminController::setForwardAction( "Manage" );

Modified: plog/trunk/class/action/admin/adminnewresourceaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminnewresourceaction.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/action/admin/adminnewresourceaction.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -4,6 +4,7 @@
 	lt_include( PLOG_CLASS_PATH."class/view/admin/adminnewresourceview.class.php" );
     lt_include( PLOG_CLASS_PATH."class/view/admin/adminnewalbumview.class.php" );	
     lt_include( PLOG_CLASS_PATH."class/view/admin/adminerrorview.class.php" );
+    lt_include( PLOG_CLASS_PATH."class/view/admin/adminresourceslistview.class.php" );
     lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );
 	lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
 
@@ -46,6 +47,15 @@
          */
         function perform()
         {
+			// are resources enabled?
+			$config =& Config::getConfig();
+			if( !$config->getValue( "resources_enabled", true )) {
+            	$this->_view = new AdminResourcesListView( $this->_blogInfo );
+                $this->_view->setErrorMessage( $this->_locale->tr("error_resources_disabled"));
+                $this->setCommonData();
+            	return false;				
+			}
+	
             // check that we have at least one album where to put our pictures
             $albums = new GalleryAlbums();
             $blogAlbums = $albums->getNestedAlbumList( $this->_blogInfo->getId());            

Modified: plog/trunk/class/action/admin/adminupdatepluginsettingsaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdatepluginsettingsaction.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/action/admin/adminupdatepluginsettingsaction.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -50,7 +50,8 @@
 			foreach( $this->pm->getPlugins() as $plugin ) {
 				foreach( $plugin->getPluginConfigurationKeys() as $key ) {
 					isset( $key["validator"] ) ? $validator = $key["validator"] : $validator = new EmptyValidator();
-					$this->registerFieldValidator( $key["name"], $validator );
+					isset( $key["allowEmpty"] ) ? $allowEmpty = $key["allowEmpty"] : $allowEmpty = false;
+					$this->registerFieldValidator( $key["name"], $validator, $allowEmpty );
 				}
 			}
 			

Modified: plog/trunk/class/action/admin/adminupdatepostaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdatepostaction.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/action/admin/adminupdatepostaction.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -106,7 +106,9 @@
 
              // if we got it, update some fields
             $post->setTopic( stripslashes($this->_postTopic));
-            $postText = $this->_postText.POST_EXTENDED_TEXT_MODIFIER.$this->_postExtendedText;
+            $postText = $this->_postText;
+            if($this->_postExtendedText)
+                $postText .= POST_EXTENDED_TEXT_MODIFIER.$this->_postExtendedText;
             $post->setText( stripslashes($postText));
             $post->setTopic( $this->_postTopic );
             $post->setText( $postText );

Modified: plog/trunk/class/action/viewarticleaction.class.php
===================================================================
--- plog/trunk/class/action/viewarticleaction.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/action/viewarticleaction.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -248,8 +248,9 @@
 			if( $commentsPerPage > $hardLimit ) $commentsPerPage = $hardLimit;						
 
 			$comments = new ArticleComments();
+            $order = $blogSettings->getValue( "comments_order", COMMENT_ORDER_NEWEST_FIRST );
 			$postComments = $comments->getPostComments( $article->getId(), 
-			                                            $order = COMMENT_ORDER_NEWEST_FIRST, 
+			                                            $order,
 			                                            COMMENT_STATUS_NONSPAM, 
 			                                            $this->_page, 
 			                                            $commentsPerPage );
@@ -262,10 +263,6 @@
 	                            $commentsPerPage );  // number of comments per page
 	        $this->_view->setValue( 'pager', $pager );
 	
-			// are comments allowed?			
-			$allowComments = ($blogSettings->getValue( "comments_enabled" ) && $article->getCommentsEnabled());
-			$this->_view->setValue( "allowComments", $allowComments );
-			
             $this->setCommonData();
 			
             // and return everything normal

Modified: plog/trunk/class/action/viewresourceaction.class.php
===================================================================
--- plog/trunk/class/action/viewresourceaction.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/action/viewresourceaction.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -27,7 +27,7 @@
 			$this->BlogAction( $actionInfo, $request );
 			
 			$this->registerFieldValidator( "resId", new IntegerValidator(), true );
-			$this->registerFieldValidator( "resouce", new StringValidator(), true );
+			$this->registerFieldValidator( "resource", new StringValidator(), true );
 			$this->registerFieldValidator( "albumId", new IntegerValidator(), true );
 			$this->registerFieldValidator( "albumName", new StringValidator(), true );
 			
@@ -135,4 +135,4 @@
             return true;
         }
     }
-?>
\ No newline at end of file
+?>

Modified: plog/trunk/class/cache/Cache_Lite/Lite.php
===================================================================
--- plog/trunk/class/cache/Cache_Lite/Lite.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/cache/Cache_Lite/Lite.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -535,7 +535,7 @@
     */
     function raiseError($msg, $code)
     {
-		lt_include( PLOG_CLASS_PATH."class/object/loggable.class.php" );	
+		lt_include( PLOG_CLASS_PATH."class/logger/loggermanager.class.php" );	
 		$log =& LoggerManager::getLogger();
         $log->error($msg, LOGGER_PRIO_ERROR);
     }

Modified: plog/trunk/class/controller/admincontrollermap.properties.php
===================================================================
--- plog/trunk/class/controller/admincontrollermap.properties.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/controller/admincontrollermap.properties.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -318,6 +318,10 @@
 	// global plugin settings
 	$actions["pluginSettings"] = "AdminPluginSettingsAction";
 	$actions["updatePluginSettings"] = "AdminUpdatePluginSettingsAction";	
+	// bulk update of blogs
+	$actions["changeBlogStatus"] = "AdminChangeBlogStatusAction";
+	// bulk update of users
+	$actions["changeUserStatus"] = "AdminChangeUserStatusAction";	
 	// location
 	$actions['locationChooser'] = 'AdminLocationChooserAction';
 	$actions['adminLocationDisplay'] = 'AdminLocationDisplayAction';

Modified: plog/trunk/class/dao/articlecomments.class.php
===================================================================
--- plog/trunk/class/dao/articlecomments.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/dao/articlecomments.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -63,6 +63,8 @@
         /**
          * removes all comments marked as spam from the database
          */
+        // TODO: CommentsCommon::purgeSpamComments doesn't exist,
+        // maybe copy it from purgedata.class.php?
         function purgeSpamComments()
         {
 			return( CommentsCommon::purgeSpamComments( COMMENT_TYPE_COMMENT ));

Modified: plog/trunk/class/dao/articles.class.php
===================================================================
--- plog/trunk/class/dao/articles.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/dao/articles.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -893,6 +893,7 @@
 		 */
 		function updateArticleText( $article )
 		{
+			lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
 			$filter = new Textfilter();
 
 			$query = "UPDATE ".$this->getPrefix()."articles_text SET ".
@@ -1107,12 +1108,6 @@
 				// update global article categories
 				$this->updateGlobalArticleCategoriesLink( $article );
 
-				lt_include( PLOG_CLASS_PATH."class/dao/recentarticles.class.php" );
-				RecentArticles::resetRecentArticlesCache( $blogId );                
-    	        $this->_cache->removeData( $blogId, CACHE_ARTICLESPERMONTH );
-        	    $this->_cache->removeData( $artId, CACHE_ARTICLES );                
-            }
-            else {
  				// update the blog counters
 				if( $article->getStatus() == POST_STATUS_PUBLISHED ) {            
 		            $blogs = new Blogs();
@@ -1120,7 +1115,14 @@
 	        	    $blogInfo->setTotalPosts( $blogInfo->getTotalPosts() - 1 );
 	            	$blogs->updateBlog( $blogInfo );
 	            }
- 
+
+	            // remove all related cache
+				lt_include( PLOG_CLASS_PATH."class/dao/recentarticles.class.php" );
+				RecentArticles::resetRecentArticlesCache( $blogId );                
+    	        $this->_cache->removeData( $blogId, CACHE_ARTICLESPERMONTH );
+        	    $this->_cache->removeData( $artId, CACHE_ARTICLES );                
+            }
+            else {
             	$article->setStatus( POST_STATUS_DELETED );
             	$this->updateArticle( $article );
             }
@@ -1138,7 +1140,7 @@
 		 */
 		function deleteArticleText( $articleId )
 		{
-			$query = "DELETE FROM ".$this->getPrefix()."articles_text WHERE article_id = ".Db::qstr( $articleId )."'";
+			$query = "DELETE FROM ".$this->getPrefix()."articles_text WHERE article_id = '".Db::qstr( $articleId )."'";
 			return( $this->Execute( $query ));
 		}
 

Modified: plog/trunk/class/dao/blogs.class.php
===================================================================
--- plog/trunk/class/dao/blogs.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/dao/blogs.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -314,6 +314,9 @@
 			// update blog categories
 			$blog = $this->getBlogInfo( $blogId );
 			$this->updateBlogCategoriesLink( $blog );	
+
+            // source class
+            lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
 	
 			// delete the blog template sets
 			$templateSets = new TemplateSets();

Modified: plog/trunk/class/dao/commentscommon.class.php
===================================================================
--- plog/trunk/class/dao/commentscommon.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/dao/commentscommon.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,9 +1,10 @@
 <?php
 
 	lt_include( PLOG_CLASS_PATH."class/dao/model.class.php" );
-	lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );	
 	lt_include( PLOG_CLASS_PATH."class/dao/articlecommentstatus.class.php" );
 	lt_include( PLOG_CLASS_PATH."class/dao/daocacheconstants.properties.php" ); 
+	lt_include( PLOG_CLASS_PATH."class/dao/usercomment.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/dao/trackback.class.php" );	
 
 	/** 
 	 * different orders that comments can have
@@ -81,8 +82,10 @@
 					$blog->setTotalTrackbacks($this->getNumItems( $this->getPrefix().'articles_comments', 
 																  'blog_id = '.$blog->getId().' AND type = '.$comment->getType()));					
 				}
+				lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );					
 				$articles = new Articles();
 				$articles->updateArticle( $article );
+				lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
 				$blogs = new Blogs();
 				$blogs->updateBlog( $blog );
 			}
@@ -419,6 +422,7 @@
 			}
 				
 			$comments = Array();
+			lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
 			$articles = new Articles();
 			while( $row = $result->FetchRow()) {
 				$comments[] = $this->mapRow( $row );

Modified: plog/trunk/class/dao/purgedata.class.php
===================================================================
--- plog/trunk/class/dao/purgedata.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/dao/purgedata.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,6 +1,6 @@
 <?php
 
-	include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
 	
 	define( "DEFAULT_PURGE_AMOUNT", 5 );
 
@@ -16,50 +16,48 @@
 		 */
 		function deleteBlogData( $blogId )
 		{
+			// delete the article categories
 			lt_include( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
-			
-			// delete the article categories
-			include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
 			$cats = new ArticleCategories();
 			$cats->deleteBlogCategories( $blogId );
 			// article notifications
-			include_once( PLOG_CLASS_PATH."class/dao/articlenotifications.class.php" );
+			lt_include( PLOG_CLASS_PATH."class/dao/articlenotifications.class.php" );
 			$notifications = new ArticleNotifications();
 			$notifications->deleteBlogNotifications( $blogId );			
 			// comments
-			include_once( PLOG_CLASS_PATH."class/dao/commentscommon.class.php" );
+			lt_include( PLOG_CLASS_PATH."class/dao/commentscommon.class.php" );
 			$comments = new CommentsCommon();
 			$comments->deleteBlogComments( $blogId );
 			// links
-			include_once( PLOG_CLASS_PATH."class/dao/mylinks.class.php" );			
+			lt_include( PLOG_CLASS_PATH."class/dao/mylinks.class.php" );			
 			$links = new MyLinks();
 			$links->deleteBlogMyLinks( $blogId );
 			// link categories
-			include_once( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
+			lt_include( PLOG_CLASS_PATH."class/dao/mylinkscategories.class.php" );
 			$links = new MyLinksCategories();
 			$links->deleteBlogMyLinksCategories( $blogId );
 			// referers
-			include_once( PLOG_CLASS_PATH."class/dao/referers.class.php" );			
+			lt_include( PLOG_CLASS_PATH."class/dao/referers.class.php" );			
 			$referers = new Referers();
 			$referers->deleteBlogReferers( $blogId );
 			// permissions
-			include_once( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );			
+			lt_include( PLOG_CLASS_PATH."class/dao/userpermissions.class.php" );			
 			$perms = new UserPermissions();
 			$perms->revokeBlogPermissions( $blogId );
 			// resources
-			include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
+			lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
 			$albums = new GalleryResources();
 			$albums->deleteUserResources( $blogId );
 			// albums
-			include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );			
+			lt_include( PLOG_CLASS_PATH."class/gallery/dao/galleryalbums.class.php" );			
 			$albums = new GalleryAlbums();
 			$albums->deleteUserAlbums( $blogId );						
 			// articles
-			include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+			lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
 			$articles = new Articles();
 			$articles->deleteBlogPosts( $blogId );
 			// the blog itself
-			include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
+			lt_include( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
 			$blogs = new Blogs();
 			$blogs->deleteBlog( $blogId );
 
@@ -81,8 +79,6 @@
         		$this->deleteBlogData( $blogId );
         	}
         	
-			// return how many we purged, and when this method returns '0', it means that there is nothing else
-			// left to be purged
         	return( count( $disabledBlogs ));
         }
 
@@ -90,8 +86,8 @@
 		 * Purge spam comments
 		 *
 		 * @param amount
-         * @return Returns 	how many we purged, and when this method returns '0', it means that there is nothing else
-	     * left to be purged
+         * @return Returns false on error, or else number of comments purged,
+         *   if 0, there is nothing left to purge
 	     */
 		function purgeSpamComments( $amount = DEFAULT_PURGE_AMOUNT )
 		{
@@ -118,6 +114,9 @@
 		
 		/**
 		 * Purge articles that have been marked as deleted
+         *
+         * @return Returns false on error, or else number of posts purged,
+         *   if 0, there is nothing left to purge
 		 *
 		 * @param amount
 		 */
@@ -133,11 +132,11 @@
 				return false;
 				
 			$deleted = 0;
-			$comments = new Articles();
+			$posts = new Articles();
 			
 			while( $row = $result->FetchRow()) {
 				// calling the method in the Articles class will take care of everything else
-				$comments->deleteArticle( $row["id"], $row["user_id"], $row["blog_id"], true );
+				$posts->deleteArticle( $row["id"], $row["user_id"], $row["blog_id"], true );
 				$deleted++;
 			}
 			
@@ -145,19 +144,22 @@
 		}
 		
 		/**
-		 * Purge users that have been marked as disabled. If these users own a blog, then the blog will also be removed
+		 * Purge users that have been marked as disabled. If these users own a
+         * blog, then the blog will also be removed
 		 *
+         * @return Returns number of users purged,
+         *   if 0, there is nothing left to purge
+		 *
 		 * @param amount
 		 */
 		function purgeUsers( $amount = DEFAULT_PURGE_AMOUNT )
 		{
 			lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
-			
+
 			$users = new Users();
 			$deleted = 0;
 			// get $amount more users...
-			$disabledUsers = $users->getAllUsers( USER_STATUS_DISABLED, "", 1, $amount );
-			
+			$disabledUsers = $users->getAllUsers( USER_STATUS_DISABLED, "", "", 1, $amount );
 			// and process them
 	        foreach( $disabledUsers as $user ) {
 	        	foreach( $user->getOwnBlogs() as $userBlog ) {					

Modified: plog/trunk/class/dao/userdata/lifetypeuserdataprovider.class.php
===================================================================
--- plog/trunk/class/dao/userdata/lifetypeuserdataprovider.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/dao/userdata/lifetypeuserdataprovider.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -262,10 +262,11 @@
     	        $perms = new UserPermissions();
         	    $perms->revokeUserPermissions( $userId );
         	    $this->_cache->removeData( $userId, CACHE_USERINFO );
-        	    $this->_cache->removeData( $user->getUsername(), CACHE_USERIDBYNAME );                        
+        	    $this->_cache->removeData( $user->getUsername(), CACHE_USERIDBYNAME );
+                return true;
             }
-            else
-            	return( false );
+            
+            return false;
         }  
         
         /**

Modified: plog/trunk/class/data/captcha/captcha.class.php
===================================================================
--- plog/trunk/class/data/captcha/captcha.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/data/captcha/captcha.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -55,8 +55,12 @@
 		 */
 		function Captcha()
 		{
+			lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
+			
+			$config =& Config::getConfig();
+			$this->cacheFolder = $config->getValue( "temp_folder", CAPTCHA_CACHE_FOLDER );
+			
 			$this->key = CAPTCHA_DEFAULT_KEY;
-			$this->cacheFolder = CAPTCHA_CACHE_FOLDER;
 			$this->expiredTime = CAPTCHA_DEFAULT_EXPIRATION_TIME;
 			$this->length = CAPTCHA_DEFAULT_CODE_LENGTH;
 		}
@@ -153,4 +157,4 @@
 			}
 		}
 	}
-?>
\ No newline at end of file
+?>

Modified: plog/trunk/class/data/textfilter.class.php
===================================================================
--- plog/trunk/class/data/textfilter.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/data/textfilter.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -233,14 +233,36 @@
 		 */
 		function htmlDecode( $htmlString, $quote_style = ENT_QUOTES )
 		{
-                // replace numeric entities
+            // replace numeric entities
             $htmlString = preg_replace('~&#x([0-9a-f]+);~ei', 'chr(hexdec("\\1"))', $htmlString);
             $htmlString = preg_replace('~&#([0-9]+);~e', 'chr(\\1)', $htmlString);
-                // replace literal entities
-            $trans_tbl = get_html_translation_table(HTML_ENTITIES);
-            $trans_tbl = array_flip($trans_tbl);
-            return strtr($htmlString, $trans_tbl);
-		}
+            // get the entity translation table from PHP (current encoding is ISO-8859-1)
+            $trans_table = get_html_translation_table( HTML_ENTITIES, $quote_style );
+            // when we want to decode the input string to normalized string, there are two factors 
+            // we need to take into consideration:
+            //  - Input string encoding
+            //  - MySQL default-character-set encoding
+            // No matter what input string encoding does, the normalized text saved to MySQL should 
+            // follow MySQL data validation. If we don't follow the constraint, then MySQL will raise 
+            // an error for us. (It only happend in MySQL5 strict mode)
+            // Therefore, we need to check the db_character_set in our config file to see we should
+            // use the UTF-8 translation table or ISO-8859-1 translation table
+            // This should fixed the CJK/UTF-8 characters break by Jon's original modification.
+            //
+            // If possible, I really hope we can accept UTF-8 encoding only, it will make our life easier.
+            require_once( PLOG_CLASS_PATH . "class/config/configfilestorage.class.php" );
+			$config = new ConfigFileStorage();
+			if( $config->getValue( 'db_character_set' ) == 'utf8' ) {
+				// Convert the ISO-8859-1 translation table to UTF-8
+				foreach ( $trans_table as $key => $value ){
+					$new_trans_table[$value] = utf8_encode( $key );
+				}
+			} else {
+				// Keep original ISO-8859-1 translation table, just flip it
+            	$new_trans_table = array_flip($trans_table);
+			}
+            return strtr( $htmlString, $new_trans_table );
+		} 
 		
 		/**
 		 * Normalizes the given text. By 'normalizing', it means removing all html markup from the text as well

Copied: plog/trunk/class/data/validator/floatvalidator.class.php (from rev 5155, plog/branches/lifetype-1.2/class/data/validator/floatvalidator.class.php)
===================================================================
--- plog/trunk/class/data/validator/floatvalidator.class.php	                        (rev 0)
+++ plog/trunk/class/data/validator/floatvalidator.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,27 @@
+<?php
+
+	lt_include( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
+
+    /**
+     * \ingroup Validator
+     *
+     * Checks that it is really a float value.
+     *
+     * @see IntRule
+     */
+    class FloatValidator extends Validator 
+    {
+		/**
+		 * Constructor.
+		 *
+		 * @param signed Whether to allow signed float or not.
+		 */
+    	function FloatValidator()
+        {
+        	$this->Validator();
+        	
+            lt_include( PLOG_CLASS_PATH."class/data/validator/rules/floatrule.class.php" );
+            $this->addRule( new FloatRule());
+        }
+    }
+?>
\ No newline at end of file

Modified: plog/trunk/class/data/validator/httpurlvalidator.class.php
===================================================================
--- plog/trunk/class/data/validator/httpurlvalidator.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/data/validator/httpurlvalidator.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,40 +1,20 @@
 <?php
 
 	lt_include( PLOG_CLASS_PATH."class/data/validator/validator.class.php" );
-	lt_include( PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php" );
-	lt_include( PLOG_CLASS_PATH."class/data/validator/rules/nonemptyrule.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/data/validator/rules/urlformatrule.class.php" );
 
     /**
      * \ingroup Validator
      *
      * Checks whether the string is a valid http/https url
      *
-     * @see NonEmptyRule
      */
     class HttpUrlValidator extends Validator 
     {
     	function HttpUrlValidator()
         {
-		    // trying to be RFC 1736 compatible, except where common
-			// usage goes against it, such as allowing unencoded 
-			// '~', '^', ' ', etc.
-
-			$prefix = "^([[:alnum:]\-\+\.]+)\://";
-			$ftp_login = "([[:alnum:]\.\-]+(\:[[:alnum:]\.&%\$\-]+)*@)*";
-			$ip_num = "(25[0-5]|2[0-4][0-9]|[0-1][0-9]{2}|[1-9][0-9]?)";
-			$ip_address = "($ip_num\.($ip_num|0)\.($ip_num|0)\.$ip_num)";
-			$tld = "(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|([[:alpha:]]{2}))";
-			$port = "(\:[[:digit:]]+)*";
-			$path = "(/($|[[:alnum:] \.\,\?\'\"\\\+^&%\$#\=~_\-]+))*";
-
-			// allow underscores, even though we shouldn't
-			$domain_part = "([[:alnum:]_\-]+\.)+";
-			
         	$this->Validator();
-			$this->addRule( new NonEmptyRule());
-        	$this->addRule( new RegExpRule("(" . $prefix . $ftp_login . "(" . $ip_address . "|localhost|(" .
-										         $domain_part . $tld . "))" . $port . ")?" . $path . "$",
-										   false ));
+			$this->addRule( new UrlFormatRule());
         }
     }
 ?>

Copied: plog/trunk/class/data/validator/rules/floatrule.class.php (from rev 5155, plog/branches/lifetype-1.2/class/data/validator/rules/floatrule.class.php)
===================================================================
--- plog/trunk/class/data/validator/rules/floatrule.class.php	                        (rev 0)
+++ plog/trunk/class/data/validator/rules/floatrule.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,42 @@
+<?php
+
+    lt_include(PLOG_CLASS_PATH."class/data/validator/rules/regexprule.class.php");
+
+    define( "FLOAT_RULE_REG_EXP", "^([+-]?[0-9][0-9.]*)|0$");
+    define( "ERROR_RULE_FLOAT_FORMAT_WRONG", "error_rule_float_format_wrong");
+
+    /**
+	 * \ingroup Validator_Rules
+	 *
+	 * Checks if the given value is an integer, not only in type but also in format.
+	 * It will return ERROR_RULE_INT_FORMAT_WRONG if the format is not correct
+     */
+    class FloatRule extends RegExpRule
+    {
+        /**
+         * Initialize the rule
+         */
+        function FloatRule()
+        {
+            $this->RegExpRule(FLOAT_RULE_REG_EXP, false);
+        }
+
+        /**
+		 * Returns true if the given value is an integer, or false otherwise. In case of error
+		 * it will also set the error code to ERROR_RULE_INT_FORMAT_WRONG
+         */
+        function validate($value)
+        {
+            if (parent::validate($value))
+            {
+                $this->_setError(false);
+                return true;
+            }
+            else
+            {
+                $this->_setError(ERROR_RULE_FLOAT_FORMAT_WRONG);
+                return false;
+            }
+        }
+    }
+?>
\ No newline at end of file

Modified: plog/trunk/class/data/validator/rules/urlformatrule.class.php
===================================================================
--- plog/trunk/class/data/validator/rules/urlformatrule.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/data/validator/rules/urlformatrule.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,532 +1,550 @@
 <?php
 
-    lt_include(PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
-    lt_include(PLOG_CLASS_PATH."class/net/dns.class.php");
-    lt_include(PLOG_CLASS_PATH."class/net/http/httpvars.class.php");
+lt_include(PLOG_CLASS_PATH."class/data/validator/rules/rule.class.php");
+lt_include(PLOG_CLASS_PATH."class/net/dns.class.php");
+lt_include(PLOG_CLASS_PATH."class/net/http/httpvars.class.php");
 
-   /**
-    * \ingroup Validator_Rules
-    *
-    * Checks that a given URL is valid.
-    *
-    * @copyright 2004Esben Maaløe esm-at-baseclassmodulweb.dk
-    * @authorEsben Maaløe esm-at-baseclassmodulweb.dk
-    * @license You are free to copy/modify this function to your hearts content
-    * However I ask that you return any improvements you make to me,
-    * and that you credit me in your sourcecode if you use it
-    * @version 0.21
-    */
-	class UrlFormatRule extends Rule
+define( "EW_OK", 1 );
+
+define( "EW_ERR_URL_INVALID_PROTOCOL", 10 );
+define( "EW_ERR_URL_INVALID_USER", 20 );
+define( "EW_ERR_URL_INVALID_PASSWORD", 30 );
+define( "EW_ERR_URL_INVALID_SERVER", 40 );
+define( "EW_ERR_URL_INVALID_TLD", 50 );
+define( "EW_ERR_URL_INVALID_PORT", 60 );
+define( "EW_ERR_URL_INVALID_RESOURCE", 70 );
+define( "EW_ERR_URL_INVALID_QUERYSTRING", 80 );
+define( "EW_ERR_URL_INVALID_ANCHOR", 100 );
+
+define( "EW_ERR_URL_MISSING_PROTOCOL", 110 );
+define( "EW_ERR_URL_MISSING_USER", 120 );
+define( "EW_ERR_URL_MISSING_PASSWORD", 130 );
+define( "EW_ERR_URL_MISSING_SERVER", 140 );
+define( "EW_ERR_URL_MISSING_TLD", 150 );
+define( "EW_ERR_URL_MISSING_PORT", 160 );
+define( "EW_ERR_URL_MISSING_RESOURCE", 170 );
+define( "EW_ERR_URL_MISSING_QUERYSTRING", 180 );
+define( "EW_ERR_URL_MISSING_ANCHOR", 190 );
+
+
+
+    /**
+     * \ingroup Validator_Rules
+     *
+     * Checks that a given URL is valid.
+     *
+     * @copyright 2004   Esben Maaløe esm-at-baseclass.modulweb.dk
+     * @author   Esben Maaløe esm-at-baseclass.modulweb.dk
+     * @license You are free to copy/modify this function to your hearts content
+     *          However I ask that you return any improvements you make to me,
+     *          and that you credit me in your sourcecode if you use it
+     * @version 0.24
+     * http://baseclass.modulweb.dk/urlvalidator/
+     */
+
+class UrlFormatRule extends Rule
+{
+    var $_options;
+
+    function UrlFormatRule( $options = Array())
 	{
-	
-		var $_options;
-
-		function UrlFormatRule( $options = Array())
-		{
-			$this->Rule();
-			
-			$this->_options = $options;
-		}
+        $this->Rule();
+        $this->_options = $options;
+    }
 		
-		function validate( $value )
-		{
-			$result = $this->_valURL( $value, $this->_options );
-			
-			return( $result['Result'] == EW_OK );
-		}
+    function validate( $value )
+	{
+        $result = $this->_ValURL( $value, $this->_options );
+        return( $result['Result'] == EW_OK );
+    }
 
-		function _ValURL($value, $options = Array())
-		{
-		$value = trim($value);
+    function _ValURL($value, $options = array())
+    {
+        $value = trim($value);
 
-		if (!$value)
-		return array('Result' => array(EW_ERR_URL_EMPTY_STRING), 'Value' => '');
+        if (!$value)
+            return array('Result' => array(EW_ERR_URL_EMPTY_STRING), 'Value' => '');
 
-		/* Set up default options */
-		$options = array_merge(array(/**/
-		'AllowedProtocols' => array(), /* array('http', 'https', etc...) always lcase! */
-		'AllowBracks' => true, /* Allow square brackets in the query string ? */
-		'Protocols' => array('http', 'https', 'ftp', 'mailto', 'file', 'news', 'gopher', 'telnet', 'nntp'), /**/
-		'AssumeProtocol' => false, /**/
-		), $options);
+            /* Set up default options */
+        $options = array_merge(array(/**/
+                                       /* array('http', 'https', etc.) always lcase! */
+                                   'AllowedProtocols' =>
+                                   array('http', 'https', 'ftp', 'mailto',
+                                         'file', 'news', 'gopher', 'telnet',
+                                         'nntp'),
+                                   'AllowBracks' => false, /* Allow square brackets in the query string ? */
+                                   'Protocols' => array('http', 'https', 'ftp', 'mailto', 'file', 'news', 'gopher', 'telnet', 'nntp'), /**/
+                                   'AssumeProtocol' => false, /**/
+                                   ), $options);
 
-		/* Setup default values for $options['Require]*/
-		@ $options['Require'] = array_merge(array(/**/
-		'Protocol' => false, /**/
-		'User' => false, /**/
-		'Password' => false, /**/
-		'Server' => true, /**/
-		'TLD' => true, /**/
-		'Port' => false, /**/
-		'Resource' => false, /**/
-		'QueryString' => false, /**/
-		'Anchor' => false, /**/
-		), $options['Require']);
+            /* Setup default values for $options['Require]*/
+        @ $options['Require'] = array_merge(array(/**/
+                                                'Protocol' => true, /**/
+                                                'User' => false, /**/
+                                                'Password' => false, /**/
+                                                'Server' => true, /**/
+                                                'TLD' => false, /**/
+                                                'Port' => false, /**/
+                                                'Resource' => false, /**/
+                                                'QueryString' => false, /**/
+                                                'Anchor' => false, /**/
+                                                ), $options['Require']);
 
-		/* Setup default values for $options['Forbid]*/
-		@ $options['Forbid'] = array_merge(array(/**/
-		'Protocol' => false, /**/
-		'User' => false, /**/
-		'Password' => false, /**/
-		'Server' => true, /**/
-		'TLD' => false, /**/
-		'Port' => false, /**/
-		'Resource' => false, /**/
-		'QueryString' => false, /**/
-		'Anchor' => false, /**/
-		), $options['Forbid']);
+            /* Setup default values for $options['Forbid]*/
+        @ $options['Forbid'] = array_merge(array(/**/
+                                               'Protocol' => false, /**/
+                                               'User' => false, /**/
+                                               'Password' => false, /**/
+                                               'Server' => false, /**/
+                                               'TLD' => false, /**/
+                                               'Port' => false, /**/
+                                               'Resource' => false, /**/
+                                               'QueryString' => false, /**/
+                                               'Anchor' => false, /**/
+                                               ), $options['Forbid']);
 
-		/* Create a container for the URL parts*/
-		$url = array(/**/
-		'Protocol' => '', /**/
-		'User' => '', /**/
-		'Password' => '', /**/
-		'Server' => '', /**/
-		'Port' => '', /**/
-		'Resource' => '', /**/
-		'TLD' => '', /**/
-		'QueryString' => '', /**/
-		'Anchor' => '');
+            /* Create a container for the URL parts*/
+        $url = array(/**/
+            'Protocol' => '', /**/
+            'User' => '', /**/
+            'Password' => '', /**/
+            'Server' => '', /**/
+            'Port' => '', /**/
+            'Resource' => '', /**/
+            'TLD' => '', /**/
+            'QueryString' => '', /**/
+            'Anchor' => '');
 
-		/* Setup errorcodes for invalid elements */
-		$errCodeInvalid = array(/**/
-		'Protocol' => EW_ERR_URL_INVALID_PROTOCOL, /**/
-		'User' => EW_ERR_URL_INVALID_USER, /**/
-		'Password' => EW_ERR_URL_INVALID_PASSWORD, /**/
-		'Server' => EW_ERR_URL_INVALID_SERVER, /**/
-		'TLD' => EW_ERR_URL_INVALID_TLD, /**/
-		'Port' => EW_ERR_URL_INVALID_PORT, /**/
-		'Resource' => EW_ERR_URL_INVALID_RESOURCE, /**/
-		'QueryString' => EW_ERR_URL_INVALID_QUERYSTRING, /**/
-		'Anchor' => EW_ERR_URL_INVALID_ANCHOR);
+            /* Setup errorcodes for invalid elements */
+        $errCodeInvalid = array(/**/
+            'Protocol' => EW_ERR_URL_INVALID_PROTOCOL, /**/
+            'User' => EW_ERR_URL_INVALID_USER, /**/
+            'Password' => EW_ERR_URL_INVALID_PASSWORD, /**/
+            'Server' => EW_ERR_URL_INVALID_SERVER, /**/
+            'TLD' => EW_ERR_URL_INVALID_TLD, /**/
+            'Port' => EW_ERR_URL_INVALID_PORT, /**/
+            'Resource' => EW_ERR_URL_INVALID_RESOURCE, /**/
+            'QueryString' => EW_ERR_URL_INVALID_QUERYSTRING, /**/
+            'Anchor' => EW_ERR_URL_INVALID_ANCHOR);
 
-		/* Setup errorcodes for missing elements */
-		$errCodeMissing = array(/**/
-		'Protocol' => EW_ERR_URL_MISSING_PROTOCOL, /**/
-		'User' => EW_ERR_URL_MISSING_USER, /**/
-		'Password' => EW_ERR_URL_MISSING_PASSWORD, /**/
-		'Server' => EW_ERR_URL_MISSING_SERVER, /**/
-		'TLD' => EW_ERR_URL_MISSING_TLD, /**/
-		'Port' => EW_ERR_URL_MISSING_PORT, /**/
-		'Resource' => EW_ERR_URL_MISSING_RESOURCE, /**/
-		'QueryString' => EW_ERR_URL_MISSING_QUERYSTRING, /**/
-		'Anchor' => EW_ERR_URL_MISSING_ANCHOR);
+            /* Setup errorcodes for missing elements */
+        $errCodeMissing = array(/**/
+            'Protocol' => EW_ERR_URL_MISSING_PROTOCOL, /**/
+            'User' => EW_ERR_URL_MISSING_USER, /**/
+            'Password' => EW_ERR_URL_MISSING_PASSWORD, /**/
+            'Server' => EW_ERR_URL_MISSING_SERVER, /**/
+            'TLD' => EW_ERR_URL_MISSING_TLD, /**/
+            'Port' => EW_ERR_URL_MISSING_PORT, /**/
+            'Resource' => EW_ERR_URL_MISSING_RESOURCE, /**/
+            'QueryString' => EW_ERR_URL_MISSING_QUERYSTRING, /**/
+            'Anchor' => EW_ERR_URL_MISSING_ANCHOR);
 
-		/* set up some needed vars */
-		extract($options);
-		$errArr = array();
-		$tmpValue = $value;
-		$lcValue = strtolower($value);
+            /* set up some needed vars */
+        extract($options);
+        $errArr = array();
+        $tmpValue = $value;
+        $lcValue = strtolower($value);
 
-		/**
-		* Split the url into it's subparts
-		*/
+            /**
+             * Split the url into it's subparts
+             */
 
-		foreach ($Protocols as $key => $protocol)
-		{
-		if (strpos($lcValue, "$protocol:") === 0)
-		{
-		$tmp = explode(':', $tmpValue, 2);
-		$url['Protocol'] = $tmp[0];
-		$tmpValue = $tmp[1];
+        foreach ($Protocols as $key => $protocol)
+        {
+            if (strpos($lcValue, "$protocol:") === 0)
+            {
+                $tmp = explode(':', $tmpValue, 2);
+                $url['Protocol'] = $tmp[0];
+                $tmpValue = $tmp[1];
 
-		if ($url['Protocol'] == 'mailto' || $url['Protocol'] == 'news')
-		{
+                if ($url['Protocol'] == 'mailto' || $url['Protocol'] == 'news')
+                {
 
-		/* Check for % that are NOT an escape sequence */
-		if (preg_match('/%[^a-f0-9]/i', $tmpValue) || preg_match("/^[^a-z0-9;&=+$,_.!*'()%~-]/i", $tmpValue))
-		{
-		$errArr[EW_ERR_URL_INVALID_PROTOCOL] = EW_ERR_URL_INVALID_PROTOCOL;
-		}
-		}
-		else
-		{
-		if (!(strpos($tmpValue, '//') === 0))
-		{
-		$errArr[EW_ERR_URL_INVALID_PROTOCOL] = EW_ERR_URL_INVALID_PROTOCOL;
-		}
-		else
-		{
-		$tmpValue = substr($tmpValue, 2);
-		}
-		}
-		}
-		}
+                        /* Check for % that is NOT an escape sequence */
+                    if (preg_match('/%[^a-f0-9]/i', $tmpValue) || preg_match("/^[^a-z0-9;&=+$,_.!*'()%~-]/i", $tmpValue))
+                    {
+                        $errArr[EW_ERR_URL_INVALID_PROTOCOL] = EW_ERR_URL_INVALID_PROTOCOL;
+                    }
+                }
+                else
+                {
+                    if (!(strpos($tmpValue, '//') === 0))
+                    {
+                        $errArr[EW_ERR_URL_INVALID_PROTOCOL] = EW_ERR_URL_INVALID_PROTOCOL;
+                    }
+                    else
+                    {
+                        $tmpValue = substr($tmpValue, 2);
+                    }
+                }
+            }
+        }
 
-		if (!$url['Protocol'])
-		{
-		if (strpos(strtolower($tmpValue), ('mailto:')) === 0 || strpos(strtolower($tmpValue), ('news:')) === 0)
-		$tmp = ':';
-		else
-		$tmp = '://';
+        if (!$url['Protocol'])
+        {
+            if (strpos(strtolower($tmpValue), ('mailto:')) === 0 || strpos(strtolower($tmpValue), ('news:')) === 0)
+                $tmp = ':';
+            else
+                $tmp = '://';
 
-		$tmp = explode($tmp, $tmpValue, 2);
-		if (count($tmp) == 2)
-		{
-		$url['Protocol'] = strtolower($tmp[0]);
-		$tmpValue = $tmp[1];
-		}
-		}
+            $tmp = explode($tmp, $tmpValue, 2);
+            if (count($tmp) == 2)
+            {
+                $url['Protocol'] = strtolower($tmp[0]);
+                $tmpValue = $tmp[1];
+            }
+        }
 
-		$tmp = explode('?', $tmpValue);
+        $tmp = explode('?', $tmpValue);
 
-		if (count($tmp) > 1)
-		{
-		$tmpValue = $tmp[0];
-		$url['QueryString'] = $tmp[1];
+        if (count($tmp) > 1)
+        {
+            $tmpValue = $tmp[0];
+            $url['QueryString'] = $tmp[1];
 
-		$tmp = explode('#', $url['QueryString']);
-		if (count($tmp) > 1)
-		{
-		$url['QueryString'] = $tmp[0];
-		$url['Anchor'] = $tmp[1];
-		}
-		}
-		else
-		{
-		$tmp = explode('#', $tmpValue);
-		if (count($tmp) > 1)
-		{
-		$tmpValue = $tmp[0];
-		$url['Anchor'] = $tmp[1];
-		}
-		}
+            $tmp = explode('#', $url['QueryString']);
+            if (count($tmp) > 1)
+            {
+                $url['QueryString'] = $tmp[0];
+                $url['Anchor'] = $tmp[1];
+            }
+        }
+        else
+        {
+            $tmp = explode('#', $tmpValue);
+            if (count($tmp) > 1)
+            {
+                $tmpValue = $tmp[0];
+                $url['Anchor'] = $tmp[1];
+            }
+        }
 
-		$tmp = explode('/', $tmpValue, 2);
-		if (count($tmp) > 1)
-		{
-		$url['Server'] = strtolower($tmp[0]);
-		$url['Resource'] = $tmp[1];
-		}
-		else
-		{
-		$url['Server'] = strtolower($tmpValue);
-		}
+        $tmp = explode('/', $tmpValue, 2);
+        if (count($tmp) > 1)
+        {
+            $url['Server'] = strtolower($tmp[0]);
+            $url['Resource'] = $tmp[1];
+        }
+        else
+        {
+            $url['Server'] = strtolower($tmpValue);
+        }
 
-		/* User / password */
-		$tmp = explode('@', $url['Server']);
-		if (count($tmp) > 1)
-		{
-		$url['User'] = $tmp[0];
-		$url['Server'] = $tmp[1];
+            /* User / password */
+        $tmp = explode('@', $url['Server']);
+        if (count($tmp) > 1)
+        {
+            $url['User'] = $tmp[0];
+            $url['Server'] = $tmp[1];
 
-		if ($url['User'])
-		{
-		$tmp = explode(':', $url['User']);
-		if (count($tmp) > 1)
-		{
-		$url['User'] = $tmp[0];
-		$url['Password'] = $tmp[1];
-		}
-		}
-		}
+            if ($url['User'])
+            {
+                $tmp = explode(':', $url['User']);
+                if (count($tmp) > 1)
+                {
+                    $url['User'] = $tmp[0];
+                    $url['Password'] = $tmp[1];
+                }
+            }
+        }
 
-		$tmp = explode(':', $url['Server'], 2);
-		if (count($tmp) > 1)
-		{
-		if ($tmp[0])
-		{
-		$url['Server'] = $tmp[0];
-		$url['Port'] = $tmp[1];
+        $tmp = explode(':', $url['Server'], 2);
+        if (count($tmp) > 1)
+        {
+            if ($tmp[0])
+            {
+                $url['Server'] = $tmp[0];
+                $url['Port'] = $tmp[1];
 
-		}
-		}
+            }
+        }
 
-		if (!$url['Protocol'] && !$url['Password'] && in_array(strtolower($url['User']), array('mail', 'news')))
-		{
-		$url['Protocol'] = strtolower($url['User']);
-		$url['User'] = '';
+        if (!$url['Protocol'] && !$url['Password'] && in_array(strtolower($url['User']), array('mail', 'news')))
+        {
+            $url['Protocol'] = strtolower($url['User']);
+            $url['User'] = '';
 
-		}
+        }
 
-		if ($url['Protocol'] == 'mailto' && $url['Server'] && !$url['User'])
-		{
-		$url['User'] = $url['Server'];
-		$url['Server'] = '';
-		}
+        if ($url['Protocol'] == 'mailto' && $url['Server'] && !$url['User'])
+        {
+            $url['User'] = $url['Server'];
+            $url['Server'] = '';
+        }
 
-		/**
-		* Validate the different subparts
-		*/
+            /**
+             * Validate the different subparts
+             */
 
-		/* Check the protocol */
-		if ($url['Protocol'])
-		{
-		$url['Protocol'] = preg_replace("/[^a-z0-9+-.]/", '', $url['Protocol']);
+            /* Check the protocol */
+        if ($url['Protocol'])
+        {
+            $tmp = preg_replace("/[^a-z0-9+-.]/", '', $url['Protocol']);
 
-		if (count($options['AllowedProtocols']))
-		if (!in_array($url['Protocol'], $options['AllowedProtocols']))
-		$errArr[EW_ERR_URL_INVALID_PROTOCOL] = EW_ERR_URL_INVALID_PROTOCOL;
+            if ($tmp != $url['Protocol'])
+            {
+                $errArr[EW_ERR_URL_INVALID_PROTOCOL] = EW_ERR_URL_INVALID_PROTOCOL;
+            }
 
-		if (preg_match('/^[a-z][a-z0-9+-.]*$/', $url['Protocol']) === false)
-		{
-		$errArr[EW_ERR_URL_INVALID_PROTOCOL] = EW_ERR_URL_INVALID_PROTOCOL;
-		}
-		}
+            if (count($options['AllowedProtocols']))
+                if (!in_array($url['Protocol'], $options['AllowedProtocols']))
+                    $errArr[EW_ERR_URL_INVALID_PROTOCOL] = EW_ERR_URL_INVALID_PROTOCOL;
 
-		/* check userinfo */
-		if ($url['User'])
-		{
-		/* Check for % that are NOT an escape sequence */
-		if (preg_match('/%[^a-f0-9]/i', $url['User']) || preg_match("/[^a-z0-9;&=+$,_.!~*'()%-]/i", $url ['User']))
-		{
-		$errArr[EW_ERR_URL_INVALID_USER] = EW_ERR_URL_INVALID_USER;
-		$url['User'] = urlencode(urldecode($url['User']));
-		}
-		}
-		if ($url['Password'])
-		{
-		/* Check for % that are NOT an escape sequence */
-		if (preg_match('/%[^a-f0-9]/i', $url['Password']) || preg_match("/[^a-z0-9;&=+$,_.!~*'()%-]/i", $url ['Password']))
-		{
-		$errArr[EW_ERR_URL_INVALID_PASSWORD] = EW_ERR_URL_INVALID_PASSWORD;
-		}
-		$url['Password'] = urlencode(urldecode($url['Password']));
-		}
+        }
 
-		//userinfo= *( unreserved | escaped |
-		//";" | ":" | "&" | "=" | "+" | "$" | "," )
-		//unreserved= alphanum | mark
-		//mark= "-" | "_" | "." | "!" | "~" | "*" | "'" |
-		//"(" | ")"
+            /* check userinfo */
+        if ($url['User'])
+        {
+                /* Check for % that is NOT an escape sequence */
+            if (preg_match('/%[^a-f0-9]/i', $url['User']) || preg_match("/[^a-z0-9;&=+$,_.!~*'()%-]/i", $url['User']))
+            {
+                $errArr[EW_ERR_URL_INVALID_USER] = EW_ERR_URL_INVALID_USER;
+                $url['User'] = urlencode(urldecode($url['User']));
+            }
+        }
+        if ($url['Password'])
+        {
+                /* Check for % that is NOT an escape sequence */
+            if (preg_match('/%[^a-f0-9]/i', $url['Password']) || preg_match("/[^a-z0-9;&=+$,_.!~*'()%-]/i", $url['Password']))
+            {
+                $errArr[EW_ERR_URL_INVALID_PASSWORD] = EW_ERR_URL_INVALID_PASSWORD;
+            }
+            $url['Password'] = urlencode(urldecode($url['Password']));
+        }
 
-		//escaped= "%" hex hex
-		/* Check if the server part is an ip */
-		if ($url['Server'])
-		{
-		if (!preg_match('/[^.0-9]/', $url['Server']))
-		{
-		$ServerIsIP = true;
+            //      userinfo      = *( unreserved | escaped |
+            //                         ";" | ":" | "&" | "=" | "+" | "$" | "," )
+            //      unreserved    = alphanum | mark
+            //      mark          = "-" | "_" | "." | "!" | "~" | "*" | "'" |
+            //                      "(" | ")"
 
-		$ipErr = false;
+            //      escaped       = "%" hex hex
+            /* Check if the server part is an ip */
+        if ($url['Server'])
+        {
+            if (!preg_match('/[^.0-9]/', $url['Server']))
+            {
+                $ServerIsIP = true;
 
-		$ipPart = explode('.', $url['Server']);
+                $ipErr = false;
 
-		if ($ipPart[0] > 224 || $ipPart[0] == 0)
-		{
-				die("1");
-		$errArr[EW_ERR_URL_INVALID_SERVER] = EW_ERR_URL_INVALID_SERVER;
-		}
-		else
-		{
-		for ($i = 1; $i < 4; $i ++)
-		{
-		$ipPart[$i] = (integer) $ipPart[$i];
-		if ($ipPart[$i] > 255) {
-		die("22");
-		$errArr[EW_ERR_URL_INVALID_SERVER] = EW_ERR_URL_INVALID_SERVER;
-		}
-		}
-		}
+                $ipPart = explode('.', $url['Server']);
 
-		/**
-		* @todo Implement checking for reserved class D and E, and
-		* other reserved addresses such as 0.0.0.0 or 255.255.255.255
-		* and ip-addresses where either the host or the network part 
-		* is all binary 0s or all binary 1s
-		* check:
-		* http://www.cisco.com/univercd/cc/td/doc/product/atm/l2020/2020r21x/planning/appndxa.htm#xtocid87496
-		*/
+                if ($ipPart[0] > 224 || $ipPart[0] == 0)
+                {
+                    $errArr[EW_ERR_URL_INVALID_SERVER] = EW_ERR_URL_INVALID_SERVER;
+                }
+                else
+                {
+                    for ($i = 1; $i < 4; $i ++)
+                    {
+                        $ipPart[$i] = (integer) $ipPart[$i];
+                        if ($ipPart[$i] > 255)
+                            $errArr[EW_ERR_URL_INVALID_SERVER] = EW_ERR_URL_INVALID_SERVER;
+                    }
+                }
 
-		$url['Server'] = join('.', $ipPart);
-		}
-		/* url is not an ip */
-		else
-		{
-		$ServerIsIP = false;
+                    /**
+                     * @todo Implement checking for reserved class D and E, and
+                     * other reserved addresses such as 0.0.0.0 or 255.255.255.255
+                     * and ip-addresses where either the host or the network part
+                     * is all binary 0s or all binary 1s
+                     * check:
+                     * http://www.cisco.com/univercd/cc/td/doc/product/atm/l2020/2020r21x/planning/appndxa.htm#xtocid87496
+                     */
 
-		/* Check for invalid chars */
-		$tmp = preg_replace('/[^a-z0-9-.]/', '', $url['Server']);
+                $url['Server'] = join('.', $ipPart);
+            }
+                /* url is not an ip */
+            else
+            {
+                $ServerIsIP = false;
 
-		if ($tmp != $url['Server'])
-		{
-		$url['Server'] = $tmp;
-		$errArr[EW_ERR_URL_INVALID_SERVER] = EW_ERR_URL_INVALID_SERVER;
-		die("2");
-		}
-		else
-		{
+                $serverParts = explode('.', $url['Server']);
 
-		$serverParts = explode('.', $url['Server']);
+                    /* check serverparts */
+                for ($i = 0; $i < count($serverParts); $i ++)
+                {
+                    $tmp = preg_replace('/[^a-z0-9-]/', '', $serverParts[$i]);
+                    
+                        /* Check if it is a top-level server */
+                    if ($i  && $i == count($serverParts) - 1)
+                        $tmp = preg_replace('/^[^a-z]/', '', $tmp);
+                    else
+                        $tmp = preg_replace('/^[^a-z0-9]/', '', $serverParts[$i]);
+                    
+                    $tmp = preg_replace('/[^a-z0-9]$/', '', $tmp);
 
-		if (count($serverParts) > 1)
-		$url['TLD'] = array_pop($serverParts);
-		else
-		$url['TLD'] = '';
+                    if ($serverParts[$i] == '' || $tmp != $serverParts[$i])
+                    {
+                        if ($tmp != '')
+                            $serverParts[$i] = $tmp;
+                        else
+                            unset($serverParts[$i]);
 
-		/* check serverparts */
-		for ($i = 0; $i < count($serverParts); $i ++)
-		{
-		/* check that the first and last chars are alphanum */
-		if (strlen($serverParts[$i]) > 1)
-		$rgx = '/^[a-z0-9].*[a-z0-9]$/';
-		else
-		$rgx = '/[a-z0-9]/';
+                        $errArr[EW_ERR_URL_INVALID_SERVER] = EW_ERR_URL_INVALID_SERVER;
 
-		if (!preg_match($rgx, $serverParts[$i]))
-		{
-		$errArr[EW_ERR_URL_INVALID_SERVER] = EW_ERR_URL_INVALID_SERVER;
-		die("3");
-		break;
-		}
-		}
+                    }
+                }
 
-		/* check TLD */
-		if ($url['TLD'])
-		{
-		if (strlen($url['TLD']) > 1)
-		$rgx = '/^[a-z].*[a-z0-9]$/';
-		else
-		$rgx = '/^[a-z0-9]$/';
+                if (count($serverParts) < 2)
+                {
+                    if ($Require['TLD'])
+                    {
+                        $errArr[EW_ERR_URL_MISSING_TLD] = EW_ERR_URL_MISSING_TLD;
+                    }
+                }
+                else
+                {
 
-		if (!preg_match($rgx, $url['TLD'])) {
-		$errArr[EW_ERR_URL_INVALID_SERVER] = EW_ERR_URL_INVALID_SERVER;
-		die("4");
-		}
-		}
-		elseif ($Require['TLD'])
-		{
-		$errArr[EW_ERR_URL_MISSING_TLD] = EW_ERR_URL_MISSING_TLD;
-		}
-		}
-		}
-		}
+                    $url['TLD'] = $serverParts[count($serverParts) - 1];
+                }
 
-		/* Check the Port */
-		if ($url['Port'])
-		{
-		$tmp = (integer) $url['Port'];
-		if ($url['Port'] != (string) $tmp)
-		{
-		$errArr[EW_ERR_URL_INVALID_PORT] = EW_ERR_URL_INVALID_PORT;
+                $url['Server'] = join('.', $serverParts);
+            }
+        }
 
-		$url['Port'] = '';
-		}
-		else
-		{
-		$url['Port'] = $tmp;
-		if ($url['Port'] > 65535)
-		$errArr[EW_ERR_URL_INVALID_PORT] = EW_ERR_URL_INVALID_PORT;
-		}
+            /* Check the Port */
+        if ($url['Port'])
+        {
+            $tmp = (integer) $url['Port'];
+            if ($url['Port'] != (string) $tmp)
+            {
+                $errArr[EW_ERR_URL_INVALID_PORT] = EW_ERR_URL_INVALID_PORT;
 
-		}
+                $url['Port'] = '';
+            }
+            else
+            {
+                $url['Port'] = $tmp;
+                if ($url['Port'] > 65535)
+                    $errArr[EW_ERR_URL_INVALID_PORT] = EW_ERR_URL_INVALID_PORT;
+            }
 
-		/* Check the resource */
-		//path= [ abs_path | opaque_part ]
-		//path_segments = segment *( "/" segment )
-		//segment= *pchar *( ";" param )
-		//param= *pchar
-		//pchar= unreserved | escaped |
-		//":" | "@" | "&" | "=" | "+" | "$" | ","
+        }
 
-		if ($url['Resource'])
-		{
-		$resourceParts = explode('/', $url['Resource']);
+            /* Check the resource */
+            //path          = [ abs_path | opaque_part ]
+            //path_segments = segment *( "/" segment )
+            //segment       = *pchar *( ";" param )
+            //param         = *pchar
+            //pchar         = unreserved | escaped |
+            //                ":" | "@" | "&" | "=" | "+" | "$" | ","
 
-		if ($resourceParts[count($resourceParts) - 1] == '')
-		array_pop($resourceParts);
+        if ($url['Resource'])
+        {
+            $resourceParts = explode('/', $url['Resource']);
 
-		if ($resourceParts[0] == '')
-		unset($resourceParts[0]);
+            if ($resourceParts[count($resourceParts) - 1] == '')
+                array_pop($resourceParts);
 
-		foreach ($resourceParts as $key => $part)
-		{
-		if ($part == '')
-		{
-		$errArr[EW_ERR_URL_INVALID_RESOURCE] = EW_ERR_URL_INVALID_RESOURCE;
-		unset($resourceParts[$key]);
-		}
+            if ($resourceParts[0] == '')
+                unset($resourceParts[0]);
 
-		/* Check for % that are NOT an escape sequence || invalid chars*/
-		elseif (preg_match('/%[^a-f0-9]/i', $part) || preg_match("/[^@a-z0-9_.!~*'()$+&,%:=;?-]/i", $part))
-		{
-		$errArr[EW_ERR_URL_INVALID_RESOURCE] = EW_ERR_URL_INVALID_RESOURCE;
-		$resourceParts[$key] = urlencode(urldecode($part));
-		}
+            foreach ($resourceParts as $key => $part)
+            {
+                if ($part == '')
+                {
+                    $errArr[EW_ERR_URL_INVALID_RESOURCE] = EW_ERR_URL_INVALID_RESOURCE;
+                    unset($resourceParts[$key]);
+                }
 
-		/* check for invalid chars */
+                    /* Check for % that is NOT an escape sequence || invalid chars*/
+                elseif (preg_match('/%[^a-f0-9]/i', $part) || preg_match("/[^@a-z0-9_.!~*'()$+&,%:=;?-]/i", $part))
+                {
+                    $errArr[EW_ERR_URL_INVALID_RESOURCE] = EW_ERR_URL_INVALID_RESOURCE;
+                    $resourceParts[$key] = urlencode(urldecode($part));
+                }
 
-		}
-		$url['Resource'] = join('/', $resourceParts);
-		}
+                    /* check for invalid chars */
 
-		if ($url['QueryString'])
-		{
-		if (preg_match('/%[^a-f0-9][a-f0-9]?/i', $url['QueryString']) || //
-		preg_match("/[^a-z0-9-_.!~*'()%;\/?:@&=+$,]/i", $url['QueryString']))
-		{
-		$errArr[EW_ERR_URL_INVALID_QUERYSTRING] = EW_ERR_URL_INVALID_QUERYSTRING;
-		$url['QueryString'] = $url['QueryString'];
-		}
+            }
+            $url['Resource'] = join('/', $resourceParts);
+        }
 
-		}
-		if ($url['Anchor'])
-		{
-		if (preg_match('/%[^a-f0-9][a-f0-9]?/i', $url['Anchor']) || //
-		preg_match("/[^a-z0-9-_.!~*'()%;\/?:@&=+$,]/i", $url['Anchor']))
-		{
-		$errArr[EW_ERR_URL_INVALID_Anchor] = EW_ERR_URL_INVALID_Anchor;
-		$url['Anchor'] = $url['Anchor'];
-		}
+        if ($url['QueryString'])
+        {
 
-		}
-		foreach ($url as $partName => $notused)
-		{
-		if ($partName == 'TLD' && $ServerIsIP)
-		continue;
+                /* Check for % NOT part of an escape sequence || invalid chars */
+            $tmp = $options['AllowBracks'] ? /**/
+                "^a-z0-9_.!~*'()%;\/?:@&=+$,\[\]-" : /**/
+                "^a-z0-9_.!~*'()%;\/?:@&=+$,-"; /**/
 
-		if ($Require[$partName] && !$url[$partName])
-		$errArr[$errCodeMissing[$partName]] = $errCodeMissing[$partName];
+            if (preg_match('/%[^a-f0-9]/i', $url['QueryString']) || preg_match("/[$tmp]+/i", $url['QueryString']))
+            {
+                $errArr[EW_ERR_URL_INVALID_QUERYSTRING] = EW_ERR_URL_INVALID_QUERYSTRING;
+                $url['QueryString'] = $url['QueryString'];
+            }
 
-		if ($Forbid[$partName] && $url[$partName])
-		$errArr[$errCodeMissing[$partName]] = $errCodeInvalid[$partName];
-		}
+        }
+        if ($url['Anchor'])
+        {
+            if (preg_match('/%[^a-f0-9][a-f0-9]?/i', $url['Anchor']) || //
+                preg_match("/[^a-z0-9-_.!~*'()%;\/?:@&=+$,]/i", $url['Anchor']))
+            {
+                $errArr[EW_ERR_URL_INVALID_ANCHOR] = EW_ERR_URL_INVALID_ANCHOR;
+                $url['Anchor'] = $url['Anchor'];
+            }
 
-		/* Construct an estimate of what the value should've been */
-		if ($options['AssumeProtocol'] && !$url['Protocol'] && ($url['Server'] || (!$url['Server'] && !$url['Resource'])))
-		$url['Protocol'] = $options['AssumeProtocol'];
+        }
+        foreach ($url as $partName => $notused)
+        {
+            if ($partName == 'TLD' && $ServerIsIP)
+                continue;
 
-		$value = $url['Protocol'];
+            if ($Require[$partName] && !$url[$partName])
+                $errArr[$errCodeMissing[$partName]] = $errCodeMissing[$partName];
 
-		if ($url['Protocol'])
-		{
-		if ($url['Protocol'] == 'mailto' | $url['Protocol'] == 'mailto')
-		$value.= ':';
-		else
-		$value.= '://';
-		}
+            if ($Forbid[$partName] && $url[$partName])
+                $errArr[$errCodeMissing[$partName]] = $errCodeInvalid[$partName];
+        }
 
-		if ($url['User'])
-		{
-		if ($url['Password'])
-		$value.= "{$url['User']}:{$url['Password']}";
-		else
-		$value.= "{$url['User']}";
+            /* Construct an estimate of what the value should've been */
+        if ($options['AssumeProtocol'] && !$url['Protocol'] && ($url['Server'] || (!$url['Server'] && !$url['Resource'])))
+            $url['Protocol'] = $options['AssumeProtocol'];
 
-		if ($url['Server'])
-		$value.= '@';
-		}
+        $value = $url['Protocol'];
 
-		$value.= $url['Server'];
+        if ($url['Protocol'])
+        {
+            if ($url['Protocol'] == 'mailto' | $url['Protocol'] == 'mailto')
+                $value.= ':';
+            else
+                $value.= '://';
+        }
 
-		if ($url['Port'])
-		$value.= ":{$url['Port']}";
+        if ($url['User'])
+        {
+            if ($url['Password'])
+                $value.= "{$url['User']}:{$url['Password']}";
+            else
+                $value.= "{$url['User']}";
 
-		if ($url['Server'] && $url['Resource'])
-		$value.= "/";
+            if ($url['Server'])
+                $value.= '@';
+        }
 
-		$value.= $url['Resource'];
+        $value.= $url['Server'];
 
-		if ($url['QueryString'])
-		$value.= "?{$url['QueryString']}";
+        if ($url['Port'])
+            $value.= ":{$url['Port']}";
 
-		if ($url['Anchor'])
-		$value.= "#{$url['Anchor']}";
+        if ($url['Server'] && $url['Resource'])
+            $value.= "/";
 
-		$r = array('Result' => count($errArr) ? $errArr : EW_OK, 'Value' => $value, 'URLParts' => $url);
+        $value.= $url['Resource'];
 
-		return $r;
+        if ($url['QueryString'])
+            $value.= "?{$url['QueryString']}";
 
-		}
-	}
+        if ($url['Anchor'])
+            $value.= "#{$url['Anchor']}";
+
+        $r = array('Result' => count($errArr) ? $errArr : EW_OK, 'Value' => $value, 'URLParts' => $url);
+
+        return $r;
+
+    }
+
+}
 ?>

Modified: plog/trunk/class/gallery/dao/galleryresourcestorage.class.php
===================================================================
--- plog/trunk/class/gallery/dao/galleryresourcestorage.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/gallery/dao/galleryresourcestorage.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -337,12 +337,12 @@
 				// and now if preview images are available, remove them too!
 				if( $resource->hasPreview()) {
 					// delete the small thumbnail
-					$previewFile = $resource->getPreviewFileName();
+					$previewFile = $this->getPreviewsFolder( $resource->getOwnerId()).$resource->getPreviewFileName();
 					if( File::isReadable( $previewFile ))
 						File::delete( $previewFile );
 						
 					// and the medium-sized thumbnail
-					$medPreviewFile = $resource->getMediumSizePreviewFileName();
+					$medPreviewFile = $this->getMediumSizePreviewsFolder( $resource->getOwnerId()).$resource->getMediumSizePreviewFileName();
 					if( File::isReadable( $medPreviewFile ))
 						File::delete( $medPreviewFile );
 				}

Modified: plog/trunk/class/gallery/resizers/galleryimagemagickresizer.class.php
===================================================================
--- plog/trunk/class/gallery/resizers/galleryimagemagickresizer.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/gallery/resizers/galleryimagemagickresizer.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -34,9 +34,10 @@
             $config =& Config::getConfig();
             $convertPath = $config->getValue( "path_to_convert", DEFAULT_PATH_TO_CONVERT );
                 // run the command
-            $command = $convertPath." -geometry ".$width."x".$height." ".$this->_image." ".$outFile;
+            $command = $convertPath." -geometry ".$width."x".$height." \"".$this->_image."\" \"".$outFile."\"";
+
             $cmdOutput = system($command, $retval);
-            
+
                 // check if there was an error creating the thubmnail
             if($cmdOutput === FALSE || $retval )
             	return false;

Modified: plog/trunk/class/mail/phpmailer/class.phpmailer.php
===================================================================
--- plog/trunk/class/mail/phpmailer/class.phpmailer.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/mail/phpmailer/class.phpmailer.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -457,7 +457,7 @@
      * @return bool
      */
     function SmtpSend($header, $body) {
-        lt_include($this->PluginDir . "class.smtp.php");
+        include_once($this->PluginDir . "class.smtp.php");
         $error = "";
         $bad_rcpt = array();
 
@@ -1496,4 +1496,4 @@
     }
 }
 
-?>
\ No newline at end of file
+?>

Modified: plog/trunk/class/net/modrewriterequestgenerator.class.php
===================================================================
--- plog/trunk/class/net/modrewriterequestgenerator.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/net/modrewriterequestgenerator.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -286,6 +286,30 @@
         }
 
         /**
+         * Returns the link to a resource
+         *
+         * @param album Generates the correct link to fetch a resource
+         */
+        function resourceLink( $resource )
+        {
+            $blogId = $this->_blogInfo->getId();
+            $ownerId = $resource->getOwnerId();
+            
+            if ( $blogId != $ownerId ) {
+            	$blogId = $ownerId;
+            	$blogs =& new Blogs();
+				$blogInfo = $blogs->getBlogInfo($blogId);
+				$blogShortName = $blogInfo->getBlog();
+			} else {
+				$blogShortName = $this->_blogInfo->getBlog();
+			}
+            
+            $resourceLink = $this->getBaseUrl().'/'.$blogId.'_'.StringUtils::text2url( $blogShortName ).'/resources/'.rawurlencode($resource->getFileName()).'.html';
+
+            return $resourceLink;
+        }
+
+        /**
          * Given an album, generates a link to its parent. Must be implemented by child classes to generate
          * a valid URL.
          *

Modified: plog/trunk/class/net/xmlrpc/xmlrpcserver.class.php
===================================================================
--- plog/trunk/class/net/xmlrpc/xmlrpcserver.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/net/xmlrpc/xmlrpcserver.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -41,6 +41,7 @@
 			            "metaWeblog.getRecentPosts" => "this:metaWeblogGetRecentPosts",
 			            "metaWeblog.getCategories"  => "this:metaWeblogGetCategories",
 			            "metaWeblog.newMediaObject" => "this:metaWeblogNewMediaObject",	
+			            "metaWeblog.getUsersBlogs"  => "this:getUsersBlogs",
 			            "mt.getCategoryList"        => "this:mtGetCategoryList",
 			            "mt.supportedTextFilters"   => "this:mtSupportedTextFilters", 
 			            "mt.getPostCategories"      => "this:mtGetPostCategories",

Modified: plog/trunk/class/plugin/eventlist.properties.php
===================================================================
--- plog/trunk/class/plugin/eventlist.properties.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/plugin/eventlist.properties.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -186,4 +186,5 @@
 	define( "EVENT_PRE_DELETE_PERMISSION", ++$eventValue );
 	define( "EVENT_POST_DELETE_PERMISSION", ++$eventValue );
     define( "EVENT_PROCESS_BLOG_ADMIN_TEMPLATE_OUTPUT", ++$eventValue );
+    define( "EVENT_POST_ADMIN_PURGE_TEMP_FOLDER", ++$eventValue );
 ?>
\ No newline at end of file

Modified: plog/trunk/class/plugin/pluginbase.class.php
===================================================================
--- plog/trunk/class/plugin/pluginbase.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/plugin/pluginbase.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -99,6 +99,9 @@
     	function PluginBase( $source = "" )
         {
         	$this->source = $source;
+            if($this->source == "admin")
+                lt_include( PLOG_CLASS_PATH."class/template/menu/menu.class.php" );
+                
         }
 
         /**

Modified: plog/trunk/class/summary/view/summarybloglistview.class.php
===================================================================
--- plog/trunk/class/summary/view/summarybloglistview.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/summary/view/summarybloglistview.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -6,7 +6,6 @@
     lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
 	lt_include( PLOG_CLASS_PATH."class/summary/dao/summarystats.class.php" );
     lt_include( PLOG_CLASS_PATH."class/dao/blogcategories.class.php" ); 	
-	include_once( PLOG_CLASS_PATH."class/summary/net/summaryrequestgenerator.class.php" );    
 	
 	/**
 	 * shows a paged list of blogs
@@ -86,9 +85,6 @@
 			$this->setValue( "min", $min );
 			$this->setValue( "step", $step );
 
-			// summary request generator
-			$this->setValue( "url", new SummaryRequestGenerator());			
-		
 			// let the parent view do its job
 			parent::render();
 		}

Modified: plog/trunk/class/summary/view/summarycachedview.class.php
===================================================================
--- plog/trunk/class/summary/view/summarycachedview.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/summary/view/summarycachedview.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -96,7 +96,11 @@
 			$this->_params->setValue( "locale", $this->_locale);
 			$this->_params->setValue( "rss", new RssParser());
 			$this->_params->setValue( "baseurl", $baseurl);
-			$this->_template->assign( $this->_params->getAsArray());
+
+            lt_include( PLOG_CLASS_PATH."class/summary/net/summaryrequestgenerator.class.php" );
+            $this->_params->setValue( "url", new SummaryRequestGenerator());
+
+            $this->_template->assign( $this->_params->getAsArray());
 			print $this->_template->fetch( $this->_viewId );
 		}
 

Modified: plog/trunk/class/summary/view/summarypostlistview.class.php
===================================================================
--- plog/trunk/class/summary/view/summarypostlistview.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/summary/view/summarypostlistview.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -6,7 +6,6 @@
     lt_include( PLOG_CLASS_PATH."class/data/pager/pager.class.php" );
     lt_include( PLOG_CLASS_PATH."class/config/config.class.php" );
 	lt_include( PLOG_CLASS_PATH."class/summary/dao/summarystats.class.php" );
-	include_once( PLOG_CLASS_PATH."class/summary/net/summaryrequestgenerator.class.php" );	
 	
 	/**
 	 * shows a paged list of blogs
@@ -88,8 +87,6 @@
 			$this->setValue( "min", $min );
 			$this->setValue( "step", $step );
 					
-			$this->setValue( "url", new SummaryRequestGenerator());
-			
 			// let the parent view do its job
 			parent::render();
 		}

Modified: plog/trunk/class/summary/view/summaryview.class.php
===================================================================
--- plog/trunk/class/summary/view/summaryview.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/summary/view/summaryview.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -53,6 +53,9 @@
             $this->_params->setValue( "locale", $this->_locale );
 			$this->_params->setValue( "baseurl", $baseurl);
 			$this->_params->setValue( "serviceName", $config->getValue( "summary_service_name" ));			
+            lt_include( PLOG_CLASS_PATH."class/summary/net/summaryrequestgenerator.class.php" );
+            $this->_params->setValue( "url", new SummaryRequestGenerator());
+
             $template->assign( $this->_params->getAsArray());
             print $template->fetch();
         }

Modified: plog/trunk/class/template/smarty/Config_File.class.php
===================================================================
--- plog/trunk/class/template/smarty/Config_File.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/template/smarty/Config_File.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -18,14 +18,14 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
  * @link http://smarty.php.net/
- * @version 2.6.16
+ * @version 2.6.18
  * @copyright Copyright: 2001-2005 New Digital Group, Inc.
  * @author Andrei Zmievski <andrei at php.net>
  * @access public
  * @package Smarty
  */
 
-/* $Id: Config_File.class.php,v 1.86 2006/11/30 17:01:28 mohrt Exp $ */
+/* $Id: Config_File.class.php,v 1.88 2007/03/06 10:40:06 messju Exp $ */
 
 /**
  * Config file reading class

Modified: plog/trunk/class/template/smarty/Smarty.class.php
===================================================================
--- plog/trunk/class/template/smarty/Smarty.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/template/smarty/Smarty.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -27,10 +27,10 @@
  * @author Monte Ohrt <monte at ohrt dot com>
  * @author Andrei Zmievski <andrei at php.net>
  * @package Smarty
- * @version 2.6.16
+ * @version 2.6.18
  */
 
-/* $Id: Smarty.class.php,v 1.526 2006/11/30 17:01:28 mohrt Exp $ */
+/* $Id: Smarty.class.php,v 1.528 2007/03/06 10:40:06 messju Exp $ */
 
 /**
  * DIR_SEP isn't used anymore, but third party apps might
@@ -464,7 +464,7 @@
      *
      * @var string
      */
-    var $_version              = '2.6.16';
+    var $_version              = '2.6.18';
 
     /**
      * current template inclusion depth

Modified: plog/trunk/class/template/smarty/Smarty_Compiler.class.php
===================================================================
--- plog/trunk/class/template/smarty/Smarty_Compiler.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/template/smarty/Smarty_Compiler.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -21,12 +21,12 @@
  * @link http://smarty.php.net/
  * @author Monte Ohrt <monte at ohrt dot com>
  * @author Andrei Zmievski <andrei at php.net>
- * @version 2.6.16
+ * @version 2.6.18
  * @copyright 2001-2005 New Digital Group, Inc.
  * @package Smarty
  */
 
-/* $Id: Smarty_Compiler.class.php,v 1.386 2006/11/30 17:01:28 mohrt Exp $ */
+/* $Id: Smarty_Compiler.class.php,v 1.395 2007/03/06 10:40:06 messju Exp $ */
 
 /**
  * Template compiling class
@@ -240,9 +240,6 @@
         $ldq = preg_quote($this->left_delimiter, '~');
         $rdq = preg_quote($this->right_delimiter, '~');
 
-        /* un-hide hidden xml open tags  */
-        $source_content = preg_replace("~<({$ldq}(.*?){$rdq})[?]~s", '< \\1', $source_content);
-
         // run template source through prefilter functions
         if (count($this->_plugins['prefilter']) > 0) {
             foreach ($this->_plugins['prefilter'] as $filter_name => $prefilter) {
@@ -281,7 +278,7 @@
         /* loop through text blocks */
         for ($curr_tb = 0, $for_max = count($text_blocks); $curr_tb < $for_max; $curr_tb++) {
             /* match anything resembling php tags */
-            if (preg_match_all('~(<\?(?:\w+|=)?|\?>|language\s*=\s*[\"\']?php[\"\']?)~is', $text_blocks[$curr_tb], $sp_match)) {
+            if (preg_match_all('~(<\?(?:\w+|=)?|\?>|language\s*=\s*[\"\']?\s*php\s*[\"\']?)~is', $text_blocks[$curr_tb], $sp_match)) {
                 /* replace tags with placeholders to prevent recursive replacements */
                 $sp_match[1] = array_unique($sp_match[1]);
                 usort($sp_match[1], '_smarty_sort_length');
@@ -307,7 +304,7 @@
                 }
             }
         }
-
+        
         /* Compile the template tags into PHP code. */
         $compiled_tags = array();
         for ($i = 0, $for_max = count($template_tags); $i < $for_max; $i++) {
@@ -352,17 +349,30 @@
             }
         }
         $compiled_content = '';
-
+        
+        $tag_guard = '%%%SMARTYOTG' . md5(uniqid(rand(), true)) . '%%%';
+        
         /* Interleave the compiled contents and text blocks to get the final result. */
         for ($i = 0, $for_max = count($compiled_tags); $i < $for_max; $i++) {
             if ($compiled_tags[$i] == '') {
                 // tag result empty, remove first newline from following text block
                 $text_blocks[$i+1] = preg_replace('~^(\r\n|\r|\n)~', '', $text_blocks[$i+1]);
             }
-            $compiled_content .= $text_blocks[$i].$compiled_tags[$i];
+            // replace legit PHP tags with placeholder
+            $text_blocks[$i] = str_replace('<?', $tag_guard, $text_blocks[$i]);
+            $compiled_tags[$i] = str_replace('<?', $tag_guard, $compiled_tags[$i]);
+            
+            $compiled_content .= $text_blocks[$i] . $compiled_tags[$i];
         }
-        $compiled_content .= $text_blocks[$i];
+        $compiled_content .= str_replace('<?', $tag_guard, $text_blocks[$i]);
 
+        // escape php tags created by interleaving
+        $compiled_content = str_replace('<?', "<?php echo '<?' ?>\n", $compiled_content);
+        $compiled_content = preg_replace("~(?<!')language\s*=\s*[\"\']?\s*php\s*[\"\']?~", "<?php echo 'language=php' ?>\n", $compiled_content);
+
+        // recover legit tags
+        $compiled_content = str_replace($tag_guard, '<?', $compiled_content); 
+        
         // remove \n from the end of the file, if any
         if (strlen($compiled_content) && (substr($compiled_content, -1) == "\n") ) {
             $compiled_content = substr($compiled_content, 0, -1);
@@ -372,9 +382,6 @@
             $compiled_content = "<?php \$this->_cache_serials['".$this->_cache_include."'] = '".$this->_cache_serial."'; ?>" . $compiled_content;
         }
 
-        // remove unnecessary close/open tags
-        $compiled_content = preg_replace('~\?>\n?<\?php~', '', $compiled_content);
-
         // run compiled template through postfilter functions
         if (count($this->_plugins['postfilter']) > 0) {
             foreach ($this->_plugins['postfilter'] as $filter_name => $postfilter) {
@@ -2223,9 +2230,9 @@
         if ($_cacheable
             || 0<$this->_cacheable_state++) return '';
         if (!isset($this->_cache_serial)) $this->_cache_serial = md5(uniqid('Smarty'));
-        $_ret = 'if ($this->caching && !$this->_cache_including) { echo \'{nocache:'
+        $_ret = 'if ($this->caching && !$this->_cache_including): echo \'{nocache:'
             . $this->_cache_serial . '#' . $this->_nocache_count
-            . '}\'; };';
+            . '}\'; endif;';
         return $_ret;
     }
 
@@ -2240,9 +2247,9 @@
         $_cacheable = !isset($this->_plugins[$type][$name]) || $this->_plugins[$type][$name][4];
         if ($_cacheable
             || --$this->_cacheable_state>0) return '';
-        return 'if ($this->caching && !$this->_cache_including) { echo \'{/nocache:'
+        return 'if ($this->caching && !$this->_cache_including): echo \'{/nocache:'
             . $this->_cache_serial . '#' . ($this->_nocache_count++)
-            . '}\'; };';
+            . '}\'; endif;';
     }
 
 

Modified: plog/trunk/class/template/smarty/internals/core.write_compiled_include.php
===================================================================
--- plog/trunk/class/template/smarty/internals/core.write_compiled_include.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/template/smarty/internals/core.write_compiled_include.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -15,12 +15,12 @@
 
 function smarty_core_write_compiled_include($params, &$smarty)
 {
-    $_tag_start = 'if \(\$this->caching && \!\$this->_cache_including\) \{ echo \'\{nocache\:('.$params['cache_serial'].')#(\d+)\}\'; \};';
-    $_tag_end   = 'if \(\$this->caching && \!\$this->_cache_including\) \{ echo \'\{/nocache\:(\\2)#(\\3)\}\'; \};';
+    $_tag_start = 'if \(\$this->caching && \!\$this->_cache_including\)\: echo \'\{nocache\:('.$params['cache_serial'].')#(\d+)\}\'; endif;';
+    $_tag_end   = 'if \(\$this->caching && \!\$this->_cache_including\)\: echo \'\{/nocache\:(\\2)#(\\3)\}\'; endif;';
 
     preg_match_all('!('.$_tag_start.'(.*)'.$_tag_end.')!Us',
                    $params['compiled_content'], $_match_source, PREG_SET_ORDER);
-
+    
     // no nocache-parts found: done
     if (count($_match_source)==0) return;
 

Modified: plog/trunk/class/template/smarty/internals/core.write_file.php
===================================================================
--- plog/trunk/class/template/smarty/internals/core.write_file.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/template/smarty/internals/core.write_file.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -37,11 +37,11 @@
     fwrite($fd, $params['contents']);
     fclose($fd);
 
-    if (PHP_OS == 'Windows' || !@rename($_tmp_file, $params['filename'])) {
+    if (DIRECTORY_SEPARATOR == '\\' || !@rename($_tmp_file, $params['filename'])) {
         // On platforms and filesystems that cannot overwrite with rename() 
         // delete the file before renaming it -- because windows always suffers
         // this, it is short-circuited to avoid the initial rename() attempt
-        @unlink($params['filename']);
+        if( file_exists( $params['filename'])) @unlink($params['filename']);
         @rename($_tmp_file, $params['filename']);
     }
     @chmod($params['filename'], $smarty->_file_perms);

Modified: plog/trunk/class/template/smarty/plugins/function.html_select_date.php
===================================================================
--- plog/trunk/class/template/smarty/plugins/function.html_select_date.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/template/smarty/plugins/function.html_select_date.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -178,7 +178,9 @@
 
     $html_result = $month_result = $day_result = $year_result = "";
 
+    $field_separator_count = -1;
     if ($display_months) {
+    	$field_separator_count++;
         $month_names = array();
         $month_values = array();
         if(isset($month_empty)) {
@@ -216,6 +218,7 @@
     }
 
     if ($display_days) {
+    	$field_separator_count++;
         $days = array();
         if (isset($day_empty)) {
             $days[''] = $day_empty;
@@ -251,6 +254,7 @@
     }
 
     if ($display_years) {
+    	$field_separator_count++;
         if (null !== $field_array){
             $year_name = $field_array . '[' . $prefix . 'Year]';
         } else {
@@ -314,7 +318,7 @@
                 break;
         }
         // Add the field seperator
-        if($i != 2) {
+        if($i < $field_separator_count) {
             $html_result .= $field_separator;
         }
     }

Modified: plog/trunk/class/template/smarty/plugins/modifier.capitalize.php
===================================================================
--- plog/trunk/class/template/smarty/plugins/modifier.capitalize.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/template/smarty/plugins/modifier.capitalize.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -20,13 +20,8 @@
  */
 function smarty_modifier_capitalize($string, $uc_digits = false)
 {
-    //smarty_modifier_capitalize_ucfirst(null, $uc_digits);
-    //return preg_replace_callback('!\'?\b\w(\w|\')*\b!', 'smarty_modifier_capitalize_ucfirst', $string);
-
-	// Fix for Mantis issue http://bugs.lifetype.net/view.php?id=1183
-	// Characters such as 'ç' are used as words separators instead of being considered as characters
-	// so a word such as 'retroenllaços' becomes 'RetroenllaçOs'
-	return( ucwords( $string ));
+    smarty_modifier_capitalize_ucfirst(null, $uc_digits);
+    return preg_replace_callback('!\'?\b\w(\w|\')*\b!', 'smarty_modifier_capitalize_ucfirst', $string);
 }
 
 function smarty_modifier_capitalize_ucfirst($string, $uc_digits = null)
@@ -44,4 +39,5 @@
         return $string[0];
 }
 
+
 ?>

Modified: plog/trunk/class/template/smarty/plugins/modifier.date_format.php
===================================================================
--- plog/trunk/class/template/smarty/plugins/modifier.date_format.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/template/smarty/plugins/modifier.date_format.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -8,7 +8,7 @@
 /**
  * Include the {@link shared.make_timestamp.php} plugin
  */
-require_once $smarty->_get_plugin_filepath('shared','make_timestamp');
+require_once $smarty->_get_plugin_filepath('shared', 'make_timestamp');
 /**
  * Smarty date_format modifier plugin
  *
@@ -28,22 +28,29 @@
  * @return string|void
  * @uses smarty_make_timestamp()
  */
-function smarty_modifier_date_format($string, $format="%b %e, %Y", $default_date=null)
+function smarty_modifier_date_format($string, $format = '%b %e, %Y', $default_date = '')
 {
-    if (substr(PHP_OS,0,3) == 'WIN') {
-        $hours = strftime('%I', $string);
-        $short_hours = ( $hours < 10 ) ? substr( $hours, -1) : $hours; 
-        $_win_from = array ('%e',  '%T',       '%D',        '%l');
-        $_win_to   = array ('%#d', '%H:%M:%S', '%m/%d/%y',  $short_hours);
-        $format = str_replace($_win_from, $_win_to, $format);
-    }
-    if($string != '') {
-        return strftime($format, smarty_make_timestamp($string));
-    } elseif (isset($default_date) && $default_date != '') {
-        return strftime($format, smarty_make_timestamp($default_date));
+    if ($string != '') {
+        $timestamp = smarty_make_timestamp($string);
+    } elseif ($default_date != '') {
+        $timestamp = smarty_make_timestamp($default_date);
     } else {
         return;
     }
+    if (DIRECTORY_SEPARATOR == '\\') {
+        $_win_from = array('%D',       '%h', '%n', '%r',          '%R',    '%t', '%T');
+        $_win_to   = array('%m/%d/%y', '%b', "\n", '%I:%M:%S %p', '%H:%M', "\t", '%H:%M:%S');
+        if (strpos($format, '%e') !== false) {
+            $_win_from[] = '%e';
+            $_win_to[]   = sprintf('%\' 2d', date('j', $timestamp));
+        }
+        if (strpos($format, '%l') !== false) {
+            $_win_from[] = '%l';
+            $_win_to[]   = sprintf('%\' 2d', date('h', $timestamp));
+        }
+        $format = str_replace($_win_from, $_win_to, $format);
+    }
+    return strftime($format, $timestamp);
 }
 
 /* vim: set expandtab: */

Modified: plog/trunk/class/template/smarty/plugins/modifier.truncate.php
===================================================================
--- plog/trunk/class/template/smarty/plugins/modifier.truncate.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/template/smarty/plugins/modifier.truncate.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -31,12 +31,12 @@
         return '';
 
     if (strlen($string) > $length) {
-        $length -= strlen($etc);
+        $length -= min($length, strlen($etc));
         if (!$break_words && !$middle) {
             $string = preg_replace('/\s+?(\S+)?$/', '', substr($string, 0, $length+1));
         }
         if(!$middle) {
-            return substr($string, 0, $length).$etc;
+            return substr($string, 0, $length) . $etc;
         } else {
             return substr($string, 0, $length/2) . $etc . substr($string, -$length/2);
         }

Modified: plog/trunk/class/test/tests/data/textfilter_test.class.php
===================================================================
--- plog/trunk/class/test/tests/data/textfilter_test.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/test/tests/data/textfilter_test.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -59,10 +59,10 @@
 				"test blog" => "test{$sep}blog",
 				"test-blog" => "test{$sep}blog",
 				"test_blog" => "test{$sep}blog",
-				"test.blog" => "test{$sep}blog",
+				"test.blog" => "test.blog",
 				"??test//blog" => "testblog",
 				"==================test blog" => "test{$sep}blog",
-				"this.has.dots_and-hyphens----and   spaces		    " => "this{$sep}has{$sep}dots{$sep}and{$sep}hyphens{$sep}{$sep}{$sep}{$sep}and{$sep}spaces{$sep}"
+				"this.has.dots_and-hyphens----and   spaces		    " => "this.has.dots{$sep}and{$sep}hyphens{$sep}{$sep}{$sep}{$sep}and{$sep}spaces"
 			);
 			
 			foreach( $tests as $input => $output ) {
@@ -70,5 +70,27 @@
 				$this->assertEquals( $output, $result, "input was: $input" );
 			}
 		}
+		
+		/**
+		 * tests the htmlDecode() method
+		 */
+		function testHtmlDecode()
+		{
+			// array with strings and the expected result, the key is the
+			// input and the value is the expected output, add more if needed
+			$tests = Array(
+				"&amp;" => "&",
+				"test" => "test",
+				"&aacute;&eacute;" => "áé",
+				"&auml;&Uuml;" => "äÜ"
+			);
+			
+			foreach( $tests as $input => $output ) {
+				// check that the input is equal to the output after processing it with TextFilter::htmlDecode
+				$this->assertEquals( $output, TextFilter::htmlDecode( $input ), "Error htmlDecode()-ing string: $input" );
+				// and that htmlDecode and filterHTMLEntities are really the opposite of each other
+				$this->assertEquals( $output, Textfilter::htmlDecode( TextFilter::filterHTMLEntities( $output )));
+			}
+		}
 	}
 ?>
\ No newline at end of file

Copied: plog/trunk/class/test/tests/data/validator/httpurlvalidator_test.class.php (from rev 5155, plog/branches/lifetype-1.2/class/test/tests/data/validator/httpurlvalidator_test.class.php)
===================================================================
--- plog/trunk/class/test/tests/data/validator/httpurlvalidator_test.class.php	                        (rev 0)
+++ plog/trunk/class/test/tests/data/validator/httpurlvalidator_test.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,65 @@
+<?php
+
+	lt_include( PLOG_CLASS_PATH."class/test/helpers/lifetypetestcase.class.php" );
+	lt_include( PLOG_CLASS_PATH."class/data/validator/httpurlvalidator.class.php" );
+
+	/**
+	 * \ingroup Test
+	 *
+	 * Test cases for the HttpUrlValidator_Test class
+	 */
+	class HttpUrlValidator_Test extends LifeTypeTestCase
+	{
+		var $r;
+		
+		function setUp()
+		{
+			$this->v = new HttpUrlValidator();
+		}
+		
+		function testValidUrls()
+		{
+			$urls = Array(
+				"http://www.lifetype.net",
+				"http://www.lifetype.net/index.php?op=Default&blogId=3",
+				"http://www.lifetype.net/#anchortest",
+				"http://localhost/",
+				"http://127.22.45.44",
+				"http://user:password@www.server.com",
+				"http://user@23.44.22.12:8050/my/very/long/server/folder/.with.several.dots",
+				"http://www.fi",
+                "https://www.microsoft.com",
+                "ftp://jondaley:password@lala.net/asd/qwe/../",
+                "mailto:jondaley at test.com",
+                "http://surprisingly/%20valid.too",
+				"http://crazy.that.this.is.valid.too/index.php&param1=value&param2&param3",
+				"http://and.me.too/index.php?param1?param2?param3",
+				"http://user@password@server.com",
+			);
+			
+			foreach( $urls as $url ) {
+				$this->assertTrue( $this->v->validate( $url ), "URL $url did not validate, although it is a valid one!" );
+			}
+		}
+		
+		function testInvalidUrls()
+		{
+			$urls = Array(
+				"http://",
+				"http://www.....com",
+				"htttp://www.server.com",
+                    // we don't check for valid email addresses
+                    // "mailto:jonda at ley@test.com",
+                "http:notvalid.com",
+                "http:///////////////canthaveconsecutiveslashesinresource.com",
+                "http:notvalid.com/",
+                "httzp:notvalid.com/",
+                "http:/notvalid.com/",
+			);
+			
+			foreach( $urls as $url ) {
+				$this->assertFalse( $this->v->validate( $url ), "URL $url was validated, although it is an invalid one!" );
+			}			
+		}
+	}
+?>
\ No newline at end of file

Modified: plog/trunk/class/test/tests/net/xmlrpc/xmlrpcserver_test.class.php
===================================================================
--- plog/trunk/class/test/tests/net/xmlrpc/xmlrpcserver_test.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/test/tests/net/xmlrpc/xmlrpcserver_test.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -101,7 +101,7 @@
 		/**
 		 * test the blogger.newPost method call
 		 */
-		function _testBloggerNewPost()
+		function testBloggerNewPost()
 		{
 			$c = new IXR_Client( $this->url );
 			$res = $c->query( "blogger.newPost", 
@@ -201,7 +201,7 @@
 		/**
 		 * test the blogger.getUserInfo method cal
 		 */
-		function _testBloggerGetUserInfo()
+		function testBloggerGetUserInfo()
 		{
 			$c = new IXR_Client( $this->url );
 			$res = $c->query( "blogger.getUserInfo", 
@@ -228,7 +228,7 @@
 		/**
 		 * test the blogger.getUserInfo method call
 		 */
-		function _testBloggerGetUsersBlogs()
+		function testBloggerGetUsersBlogs()
 		{
 			$c = new IXR_Client( $this->url );
 			$res = $c->query( "blogger.getUsersBlogs", 
@@ -253,9 +253,36 @@
 		}		
 		
 		/**
+		 * test the metaWeblog.getUsersBlogs method call
+		 */
+		function testMetaweblogGetUsersBlogs()
+		{
+			$c = new IXR_Client( $this->url );
+			$res = $c->query( "metaWeblog.getUsersBlogs", 
+			           "appkey", 
+					   $this->owner->getUsername(), 
+					   "password" );
+					
+			// see that the call was successful
+			$this->assertTrue( $res, "Unable to query ".$this->url." with method blogger.getUsersBlogs" );
+			
+			// and check the data in the response
+			$blogs = $c->getResponse();
+			// there should be only one blog			
+			$this->assertEquals( $this->blog->getId(), $blogs[0]["blogid"] );
+			$this->assertEquals( $this->blog->getBlog(), $blogs[0]["blogName"] );
+			$url = $this->blog->getBlogRequestGenerator();
+			$this->assertEquals( $url->blogLink(), $blogs[0]["url"] );			
+
+			// get the response and see that it has the right encoding
+			$this->assertTrue( $this->checkResponseEncoding( $c->message->rawmessage, $this->blog ), 
+			                   "The blog encoding and the response of the XMLRPC request did not match!" );			
+		}		
+		
+		/**
 		 * test the blogger.editPost method call
 		 */
-		function _testBloggerEditPost()
+		function testBloggerEditPost()
 		{
 			// create a new post first
 			$article = new Article(
@@ -333,7 +360,7 @@
 		/**
 		 * Test case the blogger.deletePost method call
 		 */
-		function _testBloggerDeletePost()
+		function testBloggerDeletePost()
 		{
 			// create a new post first
 			$article = new Article(
@@ -378,7 +405,7 @@
 		/**
 		 * test case for blogger.getRecentPosts
 		 */
-		function _testBloggerGetRecentPosts()
+		function testBloggerGetRecentPosts()
 		{
 			// create a new post first
 			$article = new Article(
@@ -433,7 +460,7 @@
 		/**
 		 * test case for blogger.getPost
 		 */
-		function _testBloggerGetPost()
+		function testBloggerGetPost()
 		{
 			// create a new post first
 			$article = new Article(
@@ -650,7 +677,7 @@
 		/** 
 		 * test case for the metaWeblog.getPost method call
 		 */
-		function _testMetaWeblogGetPost()
+		function testMetaWeblogGetPost()
 		{
 			// create a new post first
 			$article = new Article(
@@ -727,7 +754,7 @@
 			// and now compare that the returned values match with what we expected
 			$this->assertEquals( $this->owner->getId(), $response["userid"], "The user id of the article does not match" );
 			$this->assertEquals( "topic", $response["title"], "The topic of the post does not match" );
-			$this->assertEquals( "Intro text" . POST_EXTENDED_TEXT_MODIFIER . "Extended text", $response["description"], "The text of the article does not match" );
+			$this->assertEquals( "Intro text", $response["description"], "The text of the article does not match" );
 			$this->assertEquals( $article->getId(), $response["postid"] );
 			$url = $this->blog->getBlogRequestGenerator();
 			$this->assertEquals( $url->postLink( $article ), $response["link"], "The post permalink does not match" );
@@ -807,7 +834,7 @@
 		/** 
 		 * Test the metaWeblog.getCategories
 		 */
-		function _testMetaWeblogGetCategories()
+		function testMetaWeblogGetCategories()
 		{
 			// make the method call
 			$c = new IXR_Client( $this->url );
@@ -838,7 +865,7 @@
 			                   "The blog encoding and the response of the XMLRPC request did not match!" );			
 		}
 		
-		function _testMTGetCategoryList()
+		function testMTGetCategoryList()
 		{
 			// make the method call
 			$c = new IXR_Client( $this->url );
@@ -866,7 +893,7 @@
 			                   "The blog encoding and the response of the XMLRPC request did not match!" );			
 		}
 		
-		function _testMetaWeblogGetRecentPosts()
+		function testMetaWeblogGetRecentPosts()
 		{
 			// create a new post first
 			$article = new Article(
@@ -919,7 +946,7 @@
 		}
 		
 		
-        function _testMTSupportedTextFilters()
+        function testMTSupportedTextFilters()
 		{
 			// make the method call
 			$c = new IXR_Client( $this->url );
@@ -935,7 +962,7 @@
 									
 		}
 		
-		function _testMTGetPostCategories()
+		function testMTGetPostCategories()
 		{
 			// create a new post first
 			$article = new Article(
@@ -981,7 +1008,7 @@
 		}
 
 		
-		function _testMTSetPostCategories()
+		function testMTSetPostCategories()
 		{
 			// create a new post first, with no category
 			$article = new Article(

Modified: plog/trunk/class/view/admin/admineditpostview.class.php
===================================================================
--- plog/trunk/class/view/admin/admineditpostview.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/view/admin/admineditpostview.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -50,8 +50,7 @@
 	            
 	            // set information about the post itself into the view
 	            $this->setValue( "postTopic", $this->_article->getTopic());
-	            $this->setValue( "postText", preg_replace('/(&amp;|&)/', '&amp;', $this->_article->getText( POST_EXTENDED_TEXT_MODIFIER )));
-			//$this->setValue( "postText", $this->_article->getText( POST_EXTENDED_TEXT_MODIFIER ));
+                $this->setValue( "postText", $this->_article->getText( false ));
 	            $this->setValue( "postSlug", $this->_article->getPostSlug());
 	            $this->setValue( "postId", $this->_article->getId());
 	            if( $this->_article->getCommentsEnabled())

Modified: plog/trunk/class/view/admin/chooser/adminsimpleresourceslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/chooser/adminsimpleresourceslistview.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/view/admin/chooser/adminsimpleresourceslistview.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -25,6 +25,10 @@
             $this->setValue( "blogname", StringUtils::text2url( $this->_blogInfo->getBlog() )); 			
             $this->setValue( "requestformat", $config->getValue( "request_format_mode"));
             $this->setValue( "baseurl", $config->getValue( "base_url" ));
+
+			// whether resources are enabled or not
+			$this->setValue( "resources_enabled", $config->getValue( "resources_enabled", true ));
+			
             $destination = $this->getValue( "destination" );			
 			// check if htmlarea is enabled
 			$blogSettings = $this->_blogInfo->getSettings();

Modified: plog/trunk/class/view/viewarticleview.class.php
===================================================================
--- plog/trunk/class/view/viewarticleview.class.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/class/view/viewarticleview.class.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -78,6 +78,11 @@
             //$this->setValue( 'comments', $article->getComments());
             $this->setValue( 'user', $article->getUser());
             $this->setValue( 'trackbacks', $article->getTrackbacks());
+
+			// are comments allowed?
+			$blogSettings = $this->_blogInfo->getSettings();
+			$allowComments = ($blogSettings->getValue( "comments_enabled" ) && $article->getCommentsEnabled());
+			$this->setValue( "allowComments", $allowComments );
             
             // render the main view
             parent::render();		

Deleted: plog/trunk/debug.php
===================================================================
--- plog/trunk/debug.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/debug.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,149 +0,0 @@
-<?php
-
-	lt_include( PLOG_CLASS_PATH."class/logger/loggermanager.class.php" );
-
-	/**
-     * Very stupid function that will hopefully replace all my
-     * impossible-to-find-prints-in-22000-lines of code :P
-     *
-     * @param $params Whatever you'd like to print
-     */
-
-     /**
-      * set this to 'false' to disable all debugging output
-      */
-	define( "DEBUG_ENABLED", true );
-
-    // activate debug channels, set DEBUG_CHANNELS to the channels you
-    // want to see in your debug.log
-    define( "DEBUG_CHANNEL_CONFIG", 1 );
-    define( "DEBUG_CHANNEL_CACHE",  2 );
-    define( "DEBUG_CHANNEL_SQL",    4 );
-
-    define( "DEBUG_CHANNELS",       DEBUG_CHANNEL_CACHE +
-                                    DEBUG_CHANNEL_SQL );
-
-	
-	function _debug( $params )
-	{
-		$log = LoggerManager::getLogger();
-		$log->debug( $params );
-	}
-
-	function __debug( $params )
-    {
-    	if( DEBUG_ENABLED ) {
-			if( function_exists("debug_backtrace")) {
-        		$info = debug_backtrace();
-            	$last = $info[0];
-				$line = $last["file"].":".$last["line"];
-				if( is_array($params) || is_object($params)) {
-					print($line.":");
-					print table_var_dump($params);
-					print("<br/>");
-				}
-				else 
-					print($line.":".$params."<br/>");
-        	}
-            else {
-            	print($params."<br/>");
-            }
-        }
-
-        return true;
-    }
-	
-	/**
-	 * see copyright below! 
-	 * this should help in debugging purposes...
-	 */ 
-	///////////////////////////////////////////////////////////////
-	/// tableVarDump() by James Heinrich <info at silisoftware.com> //
-	//        available at http://www.silisoftware.com          ///
-	///////////////////////////////////////////////////////////////
-	//                                                           //
-	// Requires:                                                 //
-	//   PHP 3.0.7 (or higher)                                   //
-	//                                                           //
-	//                                                           //
-	//         This code is released under the GNU GPL:          //
-	//           http://www.gnu.org/copyleft/gpl.html            //
-	//                                                           //
-	//      +---------------------------------------------+      //
-	//      | If you do use this code somewhere, send me  |      //
-	//      | an email and tell me how/where you used it. |      //
-	//      +---------------------------------------------+      //
-	//                                                           //
-	///////////////////////////////////////////////////////////////
-	///                                                          //
-	// v1.0.1 - September 19, 2003                               //
-	//   * Bugfix: included missing string_var_dump() function   //
-	//     (thanks Andrei Verovski)                              //
-	//                                                           //
-	// v1.0.0 - May 8, 2003                                      //
-	//   * initial public release                                //
-	//                                                          ///
-	///////////////////////////////////////////////////////////////
-
-	function table_var_dump($variable) {
-		$returnstring = '';
-		switch (gettype($variable)) {
-			case 'array':
-				$returnstring .= '<TABLE BORDER="1" CELLSPACING="0" CELLPADDING="2">';
-				foreach ($variable as $key => $value) {
-					$returnstring .= '<TR><TD VALIGN="TOP"><B>'.str_replace("\x00", ' ', $key).'</B></TD>';
-					$returnstring .= '<TD VALIGN="TOP">'.gettype($value);
-					if (is_array($value)) {
-						$returnstring .= '&nbsp;('.count($value).')';
-					} elseif (is_string($value)) {
-						$returnstring .= '&nbsp;('.strlen($value).')';
-					}
-					$returnstring .= '</TD><TD>'.table_var_dump($value).'</TD></TR>';
-				}
-				$returnstring .= '</TABLE>';
-				break;
-
-			case 'boolean':
-				$returnstring .= ($variable ? 'TRUE' : 'FALSE');
-				break;
-
-			case 'integer':
-			case 'double':
-			case 'float':
-				$returnstring .= $variable;
-				break;
-
-			case 'object':
-			case 'null':
-				$returnstring .= string_var_dump($variable);
-				break;
-
-			case 'string':
-				$variable = str_replace("\x00", ' ', $variable);
-				$varlen = strlen($variable);
-				for ($i = 0; $i < $varlen; $i++) {
-					if (ereg('['.chr(0x0A).chr(0x0D).' -;0-9A-Za-z]', $variable{$i})) {
-						$returnstring .= $variable{$i};
-					} else {
-						$returnstring .= '&#'.str_pad(ord($variable{$i}), 3, '0', STR_PAD_LEFT).';';
-					}
-				}
-				$returnstring = nl2br($returnstring);
-				break;
-
-			default:
-				$returnstring .= nl2br(htmlspecialchars(str_replace("\x00", ' ', $variable)));
-				break;
-		}
-		return $returnstring;
-	}
-
-
-	function string_var_dump($variable) {
-		ob_start();
-		var_dump($variable);
-		$dumpedvariable = ob_get_contents();
-		ob_end_clean();
-		return $dumpedvariable;
-	}	
-?>

Modified: plog/trunk/js/tinymce/plugins/directionality/editor_plugin.js
===================================================================
--- plog/trunk/js/tinymce/plugins/directionality/editor_plugin.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/plugins/directionality/editor_plugin.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1 +1 @@
-tinyMCE.importPluginLanguagePack('directionality');var TinyMCE_DirectionalityPlugin={getInfo:function(){return{longname:'Directionality',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_directionality.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"ltr":return tinyMCE.getButtonHTML(cn,'lang_directionality_ltr_desc','{$pluginurl}/images/ltr.gif','mceDirectionLTR');case"rtl":return tinyMCE.getButtonHTML(cn,'lang_directionality_rtl_desc','{$pluginurl}/images/rtl.gif','mceDirectionRTL')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceDirectionLTR":var inst=tinyMCE.getInstanceById(editor_id);var elm=tinyMCE.getParentElement(inst.getFocusElement(),"p,div,td,h1,h2,h3,h4,h5,h6,pre,address");if(elm)elm.setAttribute("dir","ltr");tinyMCE.triggerNodeChange(false);return true;case"mceDirectionRTL":var inst=tinyMCE.getInstanceById(editor_id);var elm=tinyMCE.getParentElement(inst.getFocusElement(),"p,div,td,h1,h2,h3,h4,h5,h6,pre,address");if(elm)elm.setAttribute("dir","rtl");tinyMCE.triggerNodeChange(false);return true}return false},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){function getAttrib(elm,name){return elm.getAttribute(name)?elm.getAttribute(name):""}if(node==null)return;var elm=tinyMCE.getParentElement(node,"p,div,td,h1,h2,h3,h4,h5,h6,pre,address");if(!elm){tinyMCE.switchClass(editor_id+'_ltr','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_rtl','mceButtonDisabled');return true}tinyMCE.switchClass(editor_id+'_ltr','mceButtonNormal');tinyMCE.switchClass(editor_id+'_rtl','mceButtonNormal');var dir=getAttrib(elm,"dir");if(dir=="ltr"||dir=="")tinyMCE.switchClass(editor_id+'_ltr','mceButtonSelected');else tinyMCE.switchClass(editor_id+'_rtl','mceButtonSelected');return true}};tinyMCE.addPlugin("directionality",TinyMCE_DirectionalityPlugin);
\ No newline at end of file
+tinyMCE.importPluginLanguagePack('directionality');var TinyMCE_DirectionalityPlugin={getInfo:function(){return{longname:'Directionality',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/directionality',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"ltr":return tinyMCE.getButtonHTML(cn,'lang_directionality_ltr_desc','{$pluginurl}/images/ltr.gif','mceDirectionLTR');case"rtl":return tinyMCE.getButtonHTML(cn,'lang_directionality_rtl_desc','{$pluginurl}/images/rtl.gif','mceDirectionRTL')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceDirectionLTR":var inst=tinyMCE.getInstanceById(editor_id);var elm=tinyMCE.getParentElement(inst.getFocusElement(),"p,div,td,h1,h2,h3,h4,h5,h6,pre,address");if(elm)elm.setAttribute("dir","ltr");tinyMCE.triggerNodeChange(false);return true;case"mceDirectionRTL":var inst=tinyMCE.getInstanceById(editor_id);var elm=tinyMCE.getParentElement(inst.getFocusElement(),"p,div,td,h1,h2,h3,h4,h5,h6,pre,address");if(elm)elm.setAttribute("dir","rtl");tinyMCE.triggerNodeChange(false);return true}return false},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){function getAttrib(elm,name){return elm.getAttribute(name)?elm.getAttribute(name):""}if(node==null)return;var elm=tinyMCE.getParentElement(node,"p,div,td,h1,h2,h3,h4,h5,h6,pre,address");if(!elm){tinyMCE.switchClass(editor_id+'_ltr','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_rtl','mceButtonDisabled');return true}tinyMCE.switchClass(editor_id+'_ltr','mceButtonNormal');tinyMCE.switchClass(editor_id+'_rtl','mceButtonNormal');var dir=getAttrib(elm,"dir");if(dir=="ltr"||dir=="")tinyMCE.switchClass(editor_id+'_ltr','mceButtonSelected');else tinyMCE.switchClass(editor_id+'_rtl','mceButtonSelected');return true}};tinyMCE.addPlugin("directionality",TinyMCE_DirectionalityPlugin);
\ No newline at end of file

Modified: plog/trunk/js/tinymce/plugins/directionality/editor_plugin_src.js
===================================================================
--- plog/trunk/js/tinymce/plugins/directionality/editor_plugin_src.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/plugins/directionality/editor_plugin_src.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,8 +1,8 @@
 /**
- * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ * $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $
  *
  * @author Moxiecode
- * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.
  */
 
 /* Import plugin specific language pack */
@@ -14,7 +14,7 @@
 			longname : 'Directionality',
 			author : 'Moxiecode Systems AB',
 			authorurl : 'http://tinymce.moxiecode.com',
-			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_directionality.html',
+			infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/directionality',
 			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
 		};
 	},

Modified: plog/trunk/js/tinymce/plugins/emotions/editor_plugin.js
===================================================================
--- plog/trunk/js/tinymce/plugins/emotions/editor_plugin.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/plugins/emotions/editor_plugin.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1 +1 @@
-tinyMCE.importPluginLanguagePack('emotions');var TinyMCE_EmotionsPlugin={getInfo:function(){return{longname:'Emotions',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_emotions.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"emotions":return tinyMCE.getButtonHTML(cn,'lang_emotions_desc','{$pluginurl}/images/emotions.gif','mceEmotion')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceEmotion":var template=new Array();template['file']='../../plugins/emotions/emotions.htm';template['width']=160;template['height']=160;template['width']+=tinyMCE.getLang('lang_emotions_delta_width',0);template['height']+=tinyMCE.getLang('lang_emotions_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true}return false}};tinyMCE.addPlugin('emotions',TinyMCE_EmotionsPlugin);
\ No newline at end of file
+tinyMCE.importPluginLanguagePack('emotions');var TinyMCE_EmotionsPlugin={getInfo:function(){return{longname:'Emotions',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/emotions',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"emotions":return tinyMCE.getButtonHTML(cn,'lang_emotions_desc','{$pluginurl}/images/emotions.gif','mceEmotion')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceEmotion":var template=new Array();template['file']='../../plugins/emotions/emotions.htm';template['width']=250;template['height']=160;template['width']+=tinyMCE.getLang('lang_emotions_delta_width',0);template['height']+=tinyMCE.getLang('lang_emotions_delta_height',0);tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true}return false}};tinyMCE.addPlugin('emotions',TinyMCE_EmotionsPlugin);
\ No newline at end of file

Modified: plog/trunk/js/tinymce/plugins/emotions/editor_plugin_src.js
===================================================================
--- plog/trunk/js/tinymce/plugins/emotions/editor_plugin_src.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/plugins/emotions/editor_plugin_src.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,8 +1,8 @@
 /**
- * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ * $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $
  *
  * @author Moxiecode
- * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.
  */
 
 /* Import plugin specific language pack */
@@ -15,7 +15,7 @@
 			longname : 'Emotions',
 			author : 'Moxiecode Systems AB',
 			authorurl : 'http://tinymce.moxiecode.com',
-			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_emotions.html',
+			infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/emotions',
 			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
 		};
 	},
@@ -42,7 +42,7 @@
 				var template = new Array();
 
 				template['file'] = '../../plugins/emotions/emotions.htm'; // Relative to theme
-				template['width'] = 160;
+				template['width'] = 250;
 				template['height'] = 160;
 
 				// Language specific width and height addons

Copied: plog/trunk/js/tinymce/plugins/fullscreen/css/page.css (from rev 5155, plog/branches/lifetype-1.2/js/tinymce/plugins/fullscreen/css/page.css)
===================================================================
--- plog/trunk/js/tinymce/plugins/fullscreen/css/page.css	                        (rev 0)
+++ plog/trunk/js/tinymce/plugins/fullscreen/css/page.css	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,21 @@
+/* This class restores all CSS properties to that absolute positioning of fullscreen mode is correct */
+.mceFullscreenPos {
+	display: block !important;
+	position: static !important;
+	left: 0 !important;
+	top: 0 !important;
+	bottom: auto !important;
+	right: auto !important;
+	width: auto !important;
+	height: auto !important;
+	margin: 0 !important;
+	padding: 0 !important;
+	border: 0 !important;
+	overflow: visible;
+	z-index: 1 !important;
+	clear: both;
+}
+
+body.mceFullscreen {
+	overflow: hidden !important;
+}

Modified: plog/trunk/js/tinymce/plugins/fullscreen/editor_plugin.js
===================================================================
--- plog/trunk/js/tinymce/plugins/fullscreen/editor_plugin.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/plugins/fullscreen/editor_plugin.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1 +1 @@
-tinyMCE.importPluginLanguagePack('fullscreen');var TinyMCE_FullScreenPlugin={getInfo:function(){return{longname:'Fullscreen',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_fullscreen.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){if(!tinyMCE.settings['fullscreen_skip_plugin_css'])tinyMCE.importCSS(inst.getDoc(),tinyMCE.baseURL+"/plugins/fullscreen/css/content.css")},getControlHTML:function(cn){switch(cn){case"fullscreen":return tinyMCE.getButtonHTML(cn,'lang_fullscreen_desc','{$pluginurl}/images/fullscreen.gif','mceFullScreen')}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceFullScreen":this._toggleFullscreen(tinyMCE.getInstanceById(editor_id));return true}return false},_toggleFullscreen:function(inst){var ds=inst.getData('fullscreen'),editorContainer,tableElm,iframe,vp,cw,cd,re,w,h,si;cw=inst.getContainerWin();cd=cw.document;editorContainer=cd.getElementById(inst.editorId+'_parent');tableElm=editorContainer.firstChild;iframe=inst.iframeElement;re=cd.getElementById(inst.editorId+'_resize');if(!ds.enabled){ds.parents=[];tinyMCE.getParentNode(tableElm.parentNode,function(n){var st=n.style;if(n.nodeType==1&&st){if(n.nodeName=='BODY')return true;ds.parents.push({el:n,position:st.position,left:st.left,top:st.top,right:st.right,bottom:st.bottom,width:st.width,height:st.height,margin:st.margin,padding:st.padding,border:st.border});st.position='static';st.left=st.top=st.margin=st.padding=st.border='0';st.width=st.height=st.right=st.bottom='auto'}return false});ds.oldOverflow=cd.body.style.overflow;cd.body.style.overflow='hidden';if(re)re.style.display='none';vp=tinyMCE.getViewPort(cw);ds.oldWidth=iframe.style.width?iframe.style.width:iframe.offsetWidth;ds.oldHeight=iframe.style.height?iframe.style.height:iframe.offsetHeight;ds.oldTWidth=tableElm.style.width?tableElm.style.width:tableElm.offsetWidth;ds.oldTHeight=tableElm.style.height?tableElm.style.height:tableElm.offsetHeight;if(ds.oldWidth&&ds.oldWidth.indexOf)ds.oldTWidth=ds.oldWidth.indexOf('%')!=-1?ds.oldWidth:ds.oldTWidth;tableElm.style.position='absolute';tableElm.style.zIndex=1000;tableElm.style.left=tableElm.style.top='0';tableElm.style.width=vp.width+'px';tableElm.style.height=vp.height+'px';if(tinyMCE.isRealIE){iframe.style.width=vp.width+'px';iframe.style.height=vp.height+'px';w=iframe.parentNode.clientWidth-(tableElm.offsetWidth-vp.width);h=iframe.parentNode.clientHeight-(tableElm.offsetHeight-vp.height)}else{w=iframe.parentNode.clientWidth;h=iframe.parentNode.clientHeight}iframe.style.width=w+"px";iframe.style.height=h+"px";tinyMCE.selectElements(cd,'SELECT,INPUT,BUTTON,TEXTAREA',function(n){tinyMCE.addCSSClass(n,'mceItemFullScreenHidden');return false});tinyMCE.switchClass(inst.editorId+'_fullscreen','mceButtonSelected');ds.enabled=true}else{si=0;tinyMCE.getParentNode(tableElm.parentNode,function(n){var st=n.style,s=ds.parents[si++];if(n.nodeName=='BODY')return true;if(st){st.position=s.position;st.left=s.left;st.top=s.top;st.bottom=s.bottom;st.right=s.right;st.width=s.width;st.height=s.height;st.margin=s.margin;st.padding=s.padding;st.border=s.border}});ds.parents=[];cd.body.style.overflow=ds.oldOverflow?ds.oldOverflow:'';if(re&&tinyMCE.getParam("theme_advanced_resizing",false))re.style.display='block';tableElm.style.position='static';tableElm.style.zIndex='';tableElm.style.width='';tableElm.style.height='';tableElm.style.width=ds.oldTWidth?ds.oldTWidth:'';tableElm.style.height=ds.oldTHeight?ds.oldTHeight:'';iframe.style.width=ds.oldWidth?ds.oldWidth:'';iframe.style.height=ds.oldHeight?ds.oldHeight:'';tinyMCE.selectElements(cd,'SELECT,INPUT,BUTTON,TEXTAREA',function(n){tinyMCE.removeCSSClass(n,'mceItemFullScreenHidden');return false});tinyMCE.switchClass(inst.editorId+'_fullscreen','mceButtonNormal');ds.enabled=false}}};tinyMCE.addPlugin("fullscreen",TinyMCE_FullScreenPlugin);
\ No newline at end of file
+tinyMCE.importPluginLanguagePack('fullscreen');var TinyMCE_FullScreenPlugin={getInfo:function(){return{longname:'Fullscreen',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullscreen',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){if(!tinyMCE.settings['fullscreen_skip_plugin_css'])tinyMCE.importCSS(inst.getContainerWin().document,tinyMCE.baseURL+"/plugins/fullscreen/css/page.css")},getControlHTML:function(cn){switch(cn){case"fullscreen":return tinyMCE.getButtonHTML(cn,'lang_fullscreen_desc','{$pluginurl}/images/fullscreen.gif','mceFullScreen')}return""},execCommand:function(editor_id,element,command,user_interface,value){var inst;switch(command){case"mceFullScreen":inst=tinyMCE.getInstanceById(editor_id);if(tinyMCE.getParam('fullscreen_new_window'))this._toggleFullscreenWin(inst);else this._toggleFullscreen(inst);return true}return false},_toggleFullscreenWin:function(inst){if(tinyMCE.getParam('fullscreen_is_enabled')){window.opener.tinyMCE.execInstanceCommand(tinyMCE.getParam('fullscreen_editor_id'),'mceSetContent',false,tinyMCE.getContent(inst.editorId));top.close()}else{tinyMCE.setWindowArg('editor_id',inst.editorId);var win=window.open(tinyMCE.baseURL+"/plugins/fullscreen/fullscreen.htm","mceFullScreenPopup","fullscreen=yes,menubar=no,toolbar=no,scrollbars=no,resizable=yes,left=0,top=0,width="+screen.availWidth+",height="+screen.availHeight);try{win.resizeTo(screen.availWidth,screen.availHeight)}catch(e){}}},_toggleFullscreen:function(inst){var ds=inst.getData('fullscreen'),editorContainer,tableElm,iframe,vp,cw,cd,re,w,h,si,blo,delta=0,cell,row,fcml,bcml;cw=inst.getContainerWin();cd=cw.document;editorContainer=cd.getElementById(inst.editorId+'_parent');tableElm=editorContainer.firstChild;iframe=inst.iframeElement;re=cd.getElementById(inst.editorId+'_resize');blo=document.getElementById('mce_fullscreen_blocker');fcm=new TinyMCE_Layer(inst.editorId+'_fcMenu');fcml=new TinyMCE_Layer(inst.editorId+'_fcMenu');bcml=new TinyMCE_Layer(inst.editorId+'_bcMenu');if(fcml.exists()&&fcml.isVisible()){tinyMCE.switchClass(inst.editorId+'_forecolor','mceMenuButton');fcml.hide()}if(bcml.exists()&&bcml.isVisible()){tinyMCE.switchClass(inst.editorId+'_backcolor','mceMenuButton');bcml.hide()}if(!ds.enabled){if(inst.toolbarElement){delta+=inst.toolbarElement.offsetHeight;cell=tableElm.tBodies[0].insertRow(0).insertCell(-1);cell.className='mceToolbarTop';cell.nowrap=true;ds.oldToolbarParent=inst.toolbarElement.parentNode;ds.toolbarHolder=document.createTextNode('...');cell.appendChild(ds.oldToolbarParent.replaceChild(ds.toolbarHolder,inst.toolbarElement))}ds.parents=[];vp=tinyMCE.getViewPort(cw);ds.scrollX=vp.left;ds.scrollY=vp.top;if(!tinyMCE.isOpera)tinyMCE.addCSSClass(cd.body,'mceFullscreen');tinyMCE.getParentNode(tableElm.parentNode,function(n){if(n.nodeName=='BODY')return true;if(n.nodeType==1)tinyMCE.addCSSClass(n,'mceFullscreenPos');return false});if(re)re.style.display='none';vp=tinyMCE.getViewPort(cw);ds.oldWidth=iframe.style.width?iframe.style.width:iframe.offsetWidth;ds.oldHeight=iframe.style.height?iframe.style.height:iframe.offsetHeight;ds.oldTWidth=tableElm.style.width?tableElm.style.width:tableElm.offsetWidth;ds.oldTHeight=tableElm.style.height?tableElm.style.height:tableElm.offsetHeight;if(ds.oldWidth&&ds.oldWidth.indexOf)ds.oldTWidth=ds.oldWidth.indexOf('%')!=-1?ds.oldWidth:ds.oldTWidth;if(!blo&&tinyMCE.isRealIE){blo=tinyMCE.createTag(document,'iframe',{id:'mce_fullscreen_blocker',src:'about:blank',frameBorder:0,width:vp.width,height:vp.height,style:'display: block; position: absolute; left: 0; top: 0; z-index: 999; margin: 0; padding: 0;'});document.body.appendChild(blo)}tableElm.style.position='absolute';tableElm.style.zIndex=1000;tableElm.style.left=tableElm.style.top='0';tableElm.style.width=vp.width+'px';tableElm.style.height=vp.height+'px';if(tinyMCE.isRealIE){iframe.style.width=vp.width+'px';iframe.style.height=vp.height+'px';w=iframe.parentNode.clientWidth-(tableElm.offsetWidth-vp.width);h=iframe.parentNode.clientHeight-(tableElm.offsetHeight-vp.height)}else{w=iframe.parentNode.clientWidth;h=iframe.parentNode.clientHeight}iframe.style.width=w+"px";iframe.style.height=(h+delta)+"px";tinyMCE.switchClass(inst.editorId+'_fullscreen','mceButtonSelected');ds.enabled=true;inst.useCSS=false}else{if(inst.toolbarElement){row=inst.toolbarElement.parentNode.parentNode;row.parentNode.removeChild(row);ds.oldToolbarParent.replaceChild(inst.toolbarElement,ds.toolbarHolder);ds.oldToolbarParent=null;ds.toolbarHolder=null}if(blo)blo.parentNode.removeChild(blo);si=0;tinyMCE.getParentNode(tableElm.parentNode,function(n){if(n.nodeName=='BODY')return true;if(n.nodeType==1)tinyMCE.removeCSSClass(n,'mceFullscreenPos')});if(re&&tinyMCE.getParam("theme_advanced_resizing",false))re.style.display='block';tableElm.style.position='static';tableElm.style.zIndex='';tableElm.style.width='';tableElm.style.height='';tableElm.style.width=ds.oldTWidth?ds.oldTWidth:'';tableElm.style.height=ds.oldTHeight?ds.oldTHeight:'';iframe.style.width=ds.oldWidth?ds.oldWidth:'';iframe.style.height=ds.oldHeight?ds.oldHeight:'';tinyMCE.switchClass(inst.editorId+'_fullscreen','mceButtonNormal');ds.enabled=false;tinyMCE.removeCSSClass(cd.body,'mceFullscreen');cw.scrollTo(ds.scrollX,ds.scrollY);inst.useCSS=false}},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){if(tinyMCE.getParam('fullscreen_is_enabled'))tinyMCE.switchClass(editor_id+'_fullscreen','mceButtonSelected');return true}};tinyMCE.addPlugin("fullscreen",TinyMCE_FullScreenPlugin);
\ No newline at end of file

Modified: plog/trunk/js/tinymce/plugins/fullscreen/editor_plugin_src.js
===================================================================
--- plog/trunk/js/tinymce/plugins/fullscreen/editor_plugin_src.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/plugins/fullscreen/editor_plugin_src.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,8 +1,8 @@
 /**
- * $Id: editor_plugin_src.js 128 2006-10-22 19:55:28Z spocke $
+ * $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $
  *
  * @author Moxiecode
- * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.
  */
 
 /* Import plugin specific language pack */
@@ -14,14 +14,14 @@
 			longname : 'Fullscreen',
 			author : 'Moxiecode Systems AB',
 			authorurl : 'http://tinymce.moxiecode.com',
-			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_fullscreen.html',
+			infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullscreen',
 			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
 		};
 	},
 
 	initInstance : function(inst) {
 		if (!tinyMCE.settings['fullscreen_skip_plugin_css'])
-			tinyMCE.importCSS(inst.getDoc(), tinyMCE.baseURL + "/plugins/fullscreen/css/content.css");
+			tinyMCE.importCSS(inst.getContainerWin().document, tinyMCE.baseURL + "/plugins/fullscreen/css/page.css");
 	},
 
 	getControlHTML : function(cn) {
@@ -34,10 +34,18 @@
 	},
 
 	execCommand : function(editor_id, element, command, user_interface, value) {
+		var inst;
+
 		// Handle commands
 		switch (command) {
 			case "mceFullScreen":
-				this._toggleFullscreen(tinyMCE.getInstanceById(editor_id));
+				inst = tinyMCE.getInstanceById(editor_id);
+
+				if (tinyMCE.getParam('fullscreen_new_window'))
+					this._toggleFullscreenWin(inst);
+				else
+					this._toggleFullscreen(inst);
+
 				return true;
 		}
 
@@ -45,8 +53,21 @@
 		return false;
 	},
 
+	_toggleFullscreenWin : function(inst) {
+		if (tinyMCE.getParam('fullscreen_is_enabled')) {
+			// In fullscreen mode
+			window.opener.tinyMCE.execInstanceCommand(tinyMCE.getParam('fullscreen_editor_id'), 'mceSetContent', false, tinyMCE.getContent(inst.editorId));
+			top.close();
+		} else {
+			tinyMCE.setWindowArg('editor_id', inst.editorId);
+
+			var win = window.open(tinyMCE.baseURL + "/plugins/fullscreen/fullscreen.htm", "mceFullScreenPopup", "fullscreen=yes,menubar=no,toolbar=no,scrollbars=no,resizable=yes,left=0,top=0,width=" + screen.availWidth + ",height=" + screen.availHeight);
+			try { win.resizeTo(screen.availWidth, screen.availHeight); } catch (e) {}
+		}
+	},
+
 	_toggleFullscreen : function(inst) {
-		var ds = inst.getData('fullscreen'), editorContainer, tableElm, iframe, vp, cw, cd, re, w, h, si;
+		var ds = inst.getData('fullscreen'), editorContainer, tableElm, iframe, vp, cw, cd, re, w, h, si, blo, delta = 0, cell, row, fcml, bcml;
 
 		cw = inst.getContainerWin();
 		cd = cw.document;
@@ -54,42 +75,56 @@
 		tableElm = editorContainer.firstChild;
 		iframe = inst.iframeElement;
 		re = cd.getElementById(inst.editorId + '_resize');
+		blo = document.getElementById('mce_fullscreen_blocker');
+		fcm = new TinyMCE_Layer(inst.editorId + '_fcMenu');
+		fcml = new TinyMCE_Layer(inst.editorId + '_fcMenu');
+		bcml = new TinyMCE_Layer(inst.editorId + '_bcMenu');
 
+		if (fcml.exists() && fcml.isVisible()) {
+			tinyMCE.switchClass(inst.editorId + '_forecolor', 'mceMenuButton');
+			fcml.hide();
+		}
+
+		if (bcml.exists() && bcml.isVisible()) {
+			tinyMCE.switchClass(inst.editorId + '_backcolor', 'mceMenuButton');
+			bcml.hide();
+		}
+
 		if (!ds.enabled) {
+			// Handle External Toolbar
+			if (inst.toolbarElement) {
+				delta += inst.toolbarElement.offsetHeight;
+
+				cell = tableElm.tBodies[0].insertRow(0).insertCell(-1);
+				cell.className = 'mceToolbarTop';
+				cell.nowrap = true;
+
+				ds.oldToolbarParent = inst.toolbarElement.parentNode;
+				ds.toolbarHolder = document.createTextNode('...');
+
+				cell.appendChild(ds.oldToolbarParent.replaceChild(ds.toolbarHolder, inst.toolbarElement));
+			}
+
 			ds.parents = [];
 
-			tinyMCE.getParentNode(tableElm.parentNode, function (n) {
-				var st = n.style;
+			vp = tinyMCE.getViewPort(cw);
+			ds.scrollX = vp.left;
+			ds.scrollY = vp.top;
 
-				if (n.nodeType == 1 && st) {
-					if (n.nodeName == 'BODY')
-						return true;
+			// Opera has a bug restoring scrollbars
+			if (!tinyMCE.isOpera)
+				tinyMCE.addCSSClass(cd.body, 'mceFullscreen');
 
-					ds.parents.push({
-						el : n,
-						position : st.position,
-						left : st.left,
-						top : st.top,
-						right : st.right,
-						bottom : st.bottom,
-						width : st.width,
-						height : st.height,
-						margin : st.margin,
-						padding : st.padding,
-						border : st.border
-					});
+			tinyMCE.getParentNode(tableElm.parentNode, function (n) {
+				if (n.nodeName == 'BODY')
+					return true;
 
-					st.position = 'static';
-					st.left = st.top = st.margin = st.padding = st.border = '0';
-					st.width = st.height = st.right = st.bottom = 'auto';
-				}
+				if (n.nodeType == 1)
+					tinyMCE.addCSSClass(n, 'mceFullscreenPos');
 
 				return false;
 			});
 
-			ds.oldOverflow = cd.body.style.overflow;
-			cd.body.style.overflow = 'hidden';
-
 			if (re)
 				re.style.display = 'none';
 
@@ -104,6 +139,11 @@
 			if (ds.oldWidth && ds.oldWidth.indexOf)
 				ds.oldTWidth = ds.oldWidth.indexOf('%') != -1 ? ds.oldWidth : ds.oldTWidth;
 
+			if (!blo && tinyMCE.isRealIE) {
+				blo = tinyMCE.createTag(document, 'iframe', {id : 'mce_fullscreen_blocker', src : 'about:blank', frameBorder : 0, width : vp.width, height : vp.height, style : 'display: block; position: absolute; left: 0; top: 0; z-index: 999; margin: 0; padding: 0;'});
+				document.body.appendChild(blo);
+			}
+
 			tableElm.style.position = 'absolute';
 			tableElm.style.zIndex = 1000;
 			tableElm.style.left = tableElm.style.top = '0';
@@ -124,42 +164,37 @@
 			}
 
 			iframe.style.width = w + "px";
-			iframe.style.height = h + "px";
+			iframe.style.height = (h+delta) + "px";
 
-			tinyMCE.selectElements(cd, 'SELECT,INPUT,BUTTON,TEXTAREA', function (n) {
-				tinyMCE.addCSSClass(n, 'mceItemFullScreenHidden');
-
-				return false;
-			});
-
 			tinyMCE.switchClass(inst.editorId + '_fullscreen', 'mceButtonSelected');
 			ds.enabled = true;
+
+			inst.useCSS = false;
 		} else {
+			// Handle External Toolbar
+			if (inst.toolbarElement) {
+				row = inst.toolbarElement.parentNode.parentNode;
+
+				row.parentNode.removeChild(row);
+
+				ds.oldToolbarParent.replaceChild(inst.toolbarElement, ds.toolbarHolder);
+
+				ds.oldToolbarParent = null;
+				ds.toolbarHolder = null;
+			}
+
+			if (blo)
+				blo.parentNode.removeChild(blo);
+
 			si = 0;
 			tinyMCE.getParentNode(tableElm.parentNode, function (n) {
-				var st = n.style, s = ds.parents[si++];
-
 				if (n.nodeName == 'BODY')
 					return true;
 
-				if (st) {
-					st.position = s.position;
-					st.left = s.left;
-					st.top = s.top;
-					st.bottom = s.bottom;
-					st.right = s.right;
-					st.width = s.width;
-					st.height = s.height;
-					st.margin = s.margin;
-					st.padding = s.padding;
-					st.border = s.border;
-				}
+				if (n.nodeType == 1)
+					tinyMCE.removeCSSClass(n, 'mceFullscreenPos');
 			});
 
-			ds.parents = [];
-
-			cd.body.style.overflow = ds.oldOverflow ? ds.oldOverflow : '';
-
 			if (re && tinyMCE.getParam("theme_advanced_resizing", false))
 				re.style.display = 'block';
 
@@ -174,15 +209,21 @@
 			iframe.style.width = ds.oldWidth ? ds.oldWidth : '';
 			iframe.style.height = ds.oldHeight ? ds.oldHeight : '';
 
-			tinyMCE.selectElements(cd, 'SELECT,INPUT,BUTTON,TEXTAREA', function (n) {
-				tinyMCE.removeCSSClass(n, 'mceItemFullScreenHidden');
+			tinyMCE.switchClass(inst.editorId + '_fullscreen', 'mceButtonNormal');
+			ds.enabled = false;
 
-				return false;
-			});
+			tinyMCE.removeCSSClass(cd.body, 'mceFullscreen');
+			cw.scrollTo(ds.scrollX, ds.scrollY);
 
-			tinyMCE.switchClass(inst.editorId + '_fullscreen', 'mceButtonNormal');
-			ds.enabled = false;
+			inst.useCSS = false;
 		}
+	},
+
+	handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
+		if (tinyMCE.getParam('fullscreen_is_enabled'))
+			tinyMCE.switchClass(editor_id + '_fullscreen', 'mceButtonSelected');
+
+		return true;
 	}
 };
 

Copied: plog/trunk/js/tinymce/plugins/fullscreen/fullscreen.htm (from rev 5155, plog/branches/lifetype-1.2/js/tinymce/plugins/fullscreen/fullscreen.htm)
===================================================================
--- plog/trunk/js/tinymce/plugins/fullscreen/fullscreen.htm	                        (rev 0)
+++ plog/trunk/js/tinymce/plugins/fullscreen/fullscreen.htm	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,91 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_fullscreen_title}</title>
+	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+	<script language="javascript" type="text/javascript" src="../../tiny_mce.js"></script>
+	<script language="javascript" type="text/javascript">
+		function patchCallback(settings, key) {
+			if (settings[key])
+				settings[key] = "window.opener." + settings[key];
+		}
+
+		var settings = new Array();
+
+		// Clone array
+		for (var name in window.opener.tinyMCE.settings)
+			settings[name] = window.opener.tinyMCE.settings[name];
+
+		// Override options for fullscreen
+		for (var name in window.opener.tinyMCE.settings.fullscreen_settings)
+			settings[name] = window.opener.tinyMCE.settings.fullscreen_settings[name];
+
+		// Patch callbacks, make them point to window.opener
+		patchCallback(settings, 'urlconverter_callback');
+		patchCallback(settings, 'insertlink_callback');
+		patchCallback(settings, 'insertimage_callback');
+		patchCallback(settings, 'setupcontent_callback');
+		patchCallback(settings, 'save_callback');
+		patchCallback(settings, 'onchange_callback');
+		patchCallback(settings, 'init_instance_callback');
+		patchCallback(settings, 'file_browser_callback');
+		patchCallback(settings, 'cleanup_callback');
+		patchCallback(settings, 'execcommand_callback');
+		patchCallback(settings, 'oninit');
+
+		// Set options
+		settings['mode'] = 'exact';
+		settings['elements'] = 'fullscreenarea';
+		settings['ask'] = false;
+		settings['setupcontent_callback'] = 'setupContent';
+		settings['fullscreen_is_enabled'] = true;
+		settings['fullscreen_editor_id'] = window.opener.tinyMCE.getWindowArg("editor_id");
+		settings['theme_advanced_resizing'] = false;
+
+		// Init
+		tinyMCE.init(settings);
+		tinyMCE.documentBasePath = window.opener.tinyMCE.documentBasePath;
+
+		function setupContent(editor_id, body, doc) {
+			var inst = tinyMCE.getInstanceById(editor_id);
+			var content = window.opener.tinyMCE.getContent(tinyMCE.getParam('fullscreen_editor_id'));
+
+			// Setup title
+			var divElm = document.createElement("div");
+			divElm.innerHTML = tinyMCELang['lang_fullscreen_title'];
+			document.title = divElm.innerHTML;
+
+			// Get content
+			inst.execCommand('mceSetContent', false, content);
+		}
+
+		function unloadHandler(e) {
+			moveContent();
+		}
+
+		function moveContent() {
+			var doc = tinyMCE.isMSIE ? window.frames['mce_editor_0'].window.document : document.getElementById('mce_editor_0').contentDocument;
+			window.opener.tinyMCE.setInnerHTML(window.opener.tinyMCE.selectedInstance.getBody(), doc.body.innerHTML);
+		}
+
+		// Add onunload
+		tinyMCE.addEvent(window, "beforeunload", unloadHandler);
+
+		function doParentSubmit() {
+			moveContent();
+
+			if (window.opener.tinyMCE.selectedInstance.formElement.form)
+				window.opener.tinyMCE.selectedInstance.formElement.form.submit();
+
+			window.close();
+
+			return false;
+		}
+	</script>
+	<base target="_self" />
+</head>
+<body style="margin: 0; overflow: hidden; height: 100%" scrolling="no" scroll="no">
+<form onsubmit="doParentSubmit();" style="height: 100%">
+<textarea id="fullscreenarea" style="width: 100%; height: 100%"></textarea>
+</form>
+</body>
+</html>

Modified: plog/trunk/js/tinymce/plugins/inlinepopups/editor_plugin.js
===================================================================
--- plog/trunk/js/tinymce/plugins/inlinepopups/editor_plugin.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/plugins/inlinepopups/editor_plugin.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1 +1 @@
-var TinyMCE_InlinePopupsPlugin={getInfo:function(){return{longname:'Inline Popups',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_inlinepopups.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}}};tinyMCE.addPlugin("inlinepopups",TinyMCE_InlinePopupsPlugin);TinyMCE_Engine.prototype.orgOpenWindow=TinyMCE_Engine.prototype.openWindow;TinyMCE_Engine.prototype.openWindow=function(template,args){if(args['inline']!="yes"||tinyMCE.isOpera||tinyMCE.getParam("plugins").indexOf('inlinepopups')==-1){mcWindows.selectedWindow=null;args['mce_inside_iframe']=false;this.orgOpenWindow(template,args);return}var url,resizable,scrollbars;args['mce_inside_iframe']=true;tinyMCE.windowArgs=args;if(template['file'].charAt(0)!='/'&&template['file'].indexOf('://')==-1)url=tinyMCE.baseURL+"/themes/"+tinyMCE.getParam("theme")+"/"+template['file'];else url=template['file'];if(!(width=parseInt(template['width'])))width=320;if(!(height=parseInt(template['height'])))height=200;resizable=(args&&args['resizable'])?args['resizable']:"no";scrollbars=(args&&args['scrollbars'])?args['scrollbars']:"no";height+=18;for(var name in args){if(typeof(args[name])=='function')continue;url=tinyMCE.replaceVar(url,name,escape(args[name]))}var elm=document.getElementById(this.selectedInstance.editorId+'_parent');var pos=tinyMCE.getAbsPosition(elm);pos.absLeft+=Math.round((elm.firstChild.clientWidth/ 2) - (width /2));pos.absTop+=Math.round((elm.firstChild.clientHeight/ 2) - (height /2));mcWindows.open(url,mcWindows.idCounter++,"modal=yes,width="+width+",height="+height+",resizable="+resizable+",scrollbars="+scrollbars+",statusbar="+resizable+",left="+pos.absLeft+",top="+pos.absTop)};TinyMCE_Engine.prototype.orgCloseWindow=TinyMCE_Engine.prototype.closeWindow;TinyMCE_Engine.prototype.closeWindow=function(win){if(mcWindows.selectedWindow!=null)mcWindows.selectedWindow.close();else this.orgCloseWindow(win)};TinyMCE_Engine.prototype.setWindowTitle=function(win_ref,title){for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(typeof(win)=='function')continue;if(win_ref.name==win.id+"_iframe")window.frames[win.id+"_iframe"].document.getElementById(win.id+'_title').innerHTML=title}};function TinyMCE_Windows(){this.settings=new Array();this.windows=new Array();this.isMSIE=(navigator.appName=="Microsoft Internet Explorer");this.isGecko=navigator.userAgent.indexOf('Gecko')!=-1;this.isSafari=navigator.userAgent.indexOf('Safari')!=-1;this.isMac=navigator.userAgent.indexOf('Mac')!=-1;this.isMSIE5_0=this.isMSIE&&(navigator.userAgent.indexOf('MSIE 5.0')!=-1);this.action="none";this.selectedWindow=null;this.lastSelectedWindow=null;this.zindex=100;this.mouseDownScreenX=0;this.mouseDownScreenY=0;this.mouseDownLayerX=0;this.mouseDownLayerY=0;this.mouseDownWidth=0;this.mouseDownHeight=0;this.idCounter=0};TinyMCE_Windows.prototype.init=function(settings){this.settings=settings;if(this.isMSIE)this.addEvent(document,"mousemove",mcWindows.eventDispatcher);else this.addEvent(window,"mousemove",mcWindows.eventDispatcher);this.addEvent(document,"mouseup",mcWindows.eventDispatcher);this.doc=document};TinyMCE_Windows.prototype.getParam=function(name,default_value){var value=null;value=(typeof(this.settings[name])=="undefined")?default_value:this.settings[name];if(value=="true"||value=="false")return(value=="true");return value};TinyMCE_Windows.prototype.eventDispatcher=function(e){e=typeof(e)=="undefined"?window.event:e;if(mcWindows.selectedWindow==null)return;if(mcWindows.isGecko&&e.type=="mousedown"){var elm=e.currentTarget;for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(win.headElement==elm||win.resizeElement==elm){win.focus();break}}}switch(e.type){case"mousemove":mcWindows.selectedWindow.onMouseMove(e);break;case"mouseup":mcWindows.selectedWindow.onMouseUp(e);break;case"mousedown":mcWindows.selectedWindow.onMouseDown(e);break;case"focus":mcWindows.selectedWindow.onFocus(e);break}};TinyMCE_Windows.prototype.addEvent=function(obj,name,handler){if(this.isMSIE)obj.attachEvent("on"+name,handler);else obj.addEventListener(name,handler,true)};TinyMCE_Windows.prototype.cancelEvent=function(e){if(this.isMSIE){e.returnValue=false;e.cancelBubble=true}else e.preventDefault()};TinyMCE_Windows.prototype.parseFeatures=function(opts){opts=opts.toLowerCase();opts=opts.replace(/;/g,",");opts=opts.replace(/[^0-9a-z=,]/g,"");var optionChunks=opts.split(',');var options=new Array();options['left']="10";options['top']="10";options['width']="300";options['height']="300";options['resizable']="yes";options['minimizable']="yes";options['maximizable']="yes";options['close']="yes";options['movable']="yes";options['statusbar']="yes";options['scrollbars']="auto";options['modal']="no";if(opts=="")return options;for(var i=0;i<optionChunks.length;i++){var parts=optionChunks[i].split('=');if(parts.length==2)options[parts[0]]=parts[1]}options['left']=parseInt(options['left']);options['top']=parseInt(options['top']);options['width']=parseInt(options['width']);options['height']=parseInt(options['height']);return options};TinyMCE_Windows.prototype.open=function(url,name,features){this.lastSelectedWindow=this.selectedWindow;var win=new TinyMCE_Window();var winDiv,html="",id;var imgPath=this.getParam("images_path");features=this.parseFeatures(features);id="mcWindow_"+name;win.deltaHeight=18;if(features['statusbar']=="yes"){win.deltaHeight+=13;if(this.isMSIE)win.deltaHeight+=1}width=parseInt(features['width']);height=parseInt(features['height'])-win.deltaHeight;if(this.isMSIE)width-=2;win.id=id;win.url=url;win.name=name;win.features=features;this.windows[name]=win;iframeWidth=width;iframeHeight=height;html+='<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';html+='<html>';html+='<head>';html+='<title>Wrapper iframe</title>';html+='<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">';html+='<link href="'+this.getParam("css_file")+'" rel="stylesheet" type="text/css" />';html+='</head>';html+='<body onload="parent.mcWindows.onLoad(\''+name+'\');">';html+='<div id="'+id+'_container" class="mceWindow">';html+='<div id="'+id+'_head" class="mceWindowHead" onmousedown="parent.mcWindows.windows[\''+name+'\'].focus();">';html+='  <div id="'+id+'_title" class="mceWindowTitle"';html+='  onselectstart="return false;" unselectable="on" style="-moz-user-select: none !important;"></div>';html+='    <div class="mceWindowHeadTools">';html+='      <a href="javascript:parent.mcWindows.windows[\''+name+'\'].close();" target="_self" onmousedown="return false;" class="mceWindowClose"><img border="0" src="'+imgPath+'/window_close.gif" /></a>';html+='    </div>';html+='</div><div id="'+id+'_body" class="mceWindowBody" style="width: '+width+'px; height: '+height+'px;">';html+='<iframe id="'+id+'_iframe" name="'+id+'_iframe" frameborder="0" width="'+iframeWidth+'" height="'+iframeHeight+'" src="'+url+'" class="mceWindowBodyIframe" scrolling="'+features['scrollbars']+'"></iframe></div>';if(features['statusbar']=="yes"){html+='<div id="'+id+'_statusbar" class="mceWindowStatusbar" onmousedown="parent.mcWindows.windows[\''+name+'\'].focus();">';if(features['resizable']=="yes"){if(this.isGecko)html+='<div id="'+id+'_resize" class="mceWindowResize"><div style="background-image: url(\''+imgPath+'/window_resize.gif\'); width: 12px; height: 12px;"></div></div>';else html+='<div id="'+id+'_resize" class="mceWindowResize"><img onmousedown="parent.mcWindows.windows[\''+name+'\'].focus();" border="0" src="'+imgPath+'/window_resize.gif" /></div>'}html+='</div>'}html+='</div>';html+='</body>';html+='</html>';this.createFloatingIFrame(id,features['left'],features['top'],features['width'],features['height'],html)};TinyMCE_Windows.prototype.setDocumentLock=function(state){if(state){var elm=document.getElementById('mcWindowEventBlocker');if(elm==null){elm=document.createElement("div");elm.id="mcWindowEventBlocker";elm.style.position="absolute";elm.style.left="0";elm.style.top="0";document.body.appendChild(elm)}elm.style.display="none";var imgPath=this.getParam("images_path");var width=document.body.clientWidth;var height=document.body.clientHeight;elm.style.width=width;elm.style.height=height;elm.innerHTML='<img src="'+imgPath+'/spacer.gif" width="'+width+'" height="'+height+'" />';elm.style.zIndex=mcWindows.zindex-1;elm.style.display="block"}else{var elm=document.getElementById('mcWindowEventBlocker');if(mcWindows.windows.length==0)elm.parentNode.removeChild(elm);else elm.style.zIndex=mcWindows.zindex-1}};TinyMCE_Windows.prototype.onLoad=function(name){var win=mcWindows.windows[name];var id="mcWindow_"+name;var wrapperIframe=window.frames[id+"_iframe"].frames[0];var wrapperDoc=window.frames[id+"_iframe"].document;var doc=window.frames[id+"_iframe"].document;var winDiv=document.getElementById("mcWindow_"+name+"_div");var realIframe=window.frames[id+"_iframe"].frames[0];win.id="mcWindow_"+name;win.winElement=winDiv;win.bodyElement=doc.getElementById(id+'_body');win.iframeElement=doc.getElementById(id+'_iframe');win.headElement=doc.getElementById(id+'_head');win.titleElement=doc.getElementById(id+'_title');win.resizeElement=doc.getElementById(id+'_resize');win.containerElement=doc.getElementById(id+'_container');win.left=win.features['left'];win.top=win.features['top'];win.frame=window.frames[id+'_iframe'].frames[0];win.wrapperFrame=window.frames[id+'_iframe'];win.wrapperIFrameElement=document.getElementById(id+"_iframe");mcWindows.addEvent(win.headElement,"mousedown",mcWindows.eventDispatcher);if(win.resizeElement!=null)mcWindows.addEvent(win.resizeElement,"mousedown",mcWindows.eventDispatcher);if(mcWindows.isMSIE){mcWindows.addEvent(realIframe.document,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe.document,"mouseup",mcWindows.eventDispatcher)}else{mcWindows.addEvent(realIframe,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe,"mouseup",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe,"focus",mcWindows.eventDispatcher)}for(var i=0;i<window.frames.length;i++){if(!window.frames[i]._hasMouseHandlers){if(mcWindows.isMSIE){mcWindows.addEvent(window.frames[i].document,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(window.frames[i].document,"mouseup",mcWindows.eventDispatcher)}else{mcWindows.addEvent(window.frames[i],"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(window.frames[i],"mouseup",mcWindows.eventDispatcher)}window.frames[i]._hasMouseHandlers=true}}if(mcWindows.isMSIE){mcWindows.addEvent(win.frame.document,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(win.frame.document,"mouseup",mcWindows.eventDispatcher)}else{mcWindows.addEvent(win.frame,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(win.frame,"mouseup",mcWindows.eventDispatcher);mcWindows.addEvent(win.frame,"focus",mcWindows.eventDispatcher)}var func=this.getParam("on_open_window","");if(func!="")eval(func+"(win);");win.focus();if(win.features['modal']=="yes")mcWindows.setDocumentLock(true)};TinyMCE_Windows.prototype.createFloatingIFrame=function(id_prefix,left,top,width,height,html){var iframe=document.createElement("iframe");var div=document.createElement("div"),doc;width=parseInt(width);height=parseInt(height)+1;div.setAttribute("id",id_prefix+"_div");div.setAttribute("width",width);div.setAttribute("height",(height));div.style.position="absolute";div.style.left=left+"px";div.style.top=top+"px";div.style.width=width+"px";div.style.height=(height)+"px";div.style.backgroundColor="white";div.style.display="none";if(this.isGecko){iframeWidth=width+2;iframeHeight=height+2}else{iframeWidth=width;iframeHeight=height+1}iframe.setAttribute("id",id_prefix+"_iframe");iframe.setAttribute("name",id_prefix+"_iframe");iframe.setAttribute("border","0");iframe.setAttribute("frameBorder","0");iframe.setAttribute("marginWidth","0");iframe.setAttribute("marginHeight","0");iframe.setAttribute("leftMargin","0");iframe.setAttribute("topMargin","0");iframe.setAttribute("width",iframeWidth);iframe.setAttribute("height",iframeHeight);iframe.setAttribute("scrolling","no");iframe.style.width=iframeWidth+"px";iframe.style.height=iframeHeight+"px";iframe.style.backgroundColor="white";div.appendChild(iframe);document.body.appendChild(div);div.innerHTML=div.innerHTML;if(this.isSafari){window.setTimeout(function(){var doc=window.frames[id_prefix+'_iframe'].document;doc.open();doc.write(html);doc.close()},10)}else{doc=window.frames[id_prefix+'_iframe'].window.document;doc.open();doc.write(html);doc.close()}div.style.display="block";return div};function TinyMCE_Window(){};TinyMCE_Window.prototype.focus=function(){if(this!=mcWindows.selectedWindow){this.winElement.style.zIndex=++mcWindows.zindex;mcWindows.lastSelectedWindow=mcWindows.selectedWindow;mcWindows.selectedWindow=this}};TinyMCE_Window.prototype.minimize=function(){};TinyMCE_Window.prototype.maximize=function(){};TinyMCE_Window.prototype.startResize=function(){mcWindows.action="resize"};TinyMCE_Window.prototype.startMove=function(e){mcWindows.action="move"};TinyMCE_Window.prototype.close=function(){if(this.frame&&this.frame['tinyMCEPopup'])this.frame['tinyMCEPopup'].restoreSelection();if(mcWindows.lastSelectedWindow!=null)mcWindows.lastSelectedWindow.focus();var mcWindowsNew=new Array();for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(typeof(win)=='function')continue;if(win.name!=this.name)mcWindowsNew[n]=win}mcWindows.windows=mcWindowsNew;var e=mcWindows.doc.getElementById(this.id+"_iframe");e.parentNode.removeChild(e);var e=mcWindows.doc.getElementById(this.id+"_div");e.parentNode.removeChild(e);mcWindows.setDocumentLock(false)};TinyMCE_Window.prototype.onMouseMove=function(e){var scrollX=0;var scrollY=0;var dx=e.screenX-mcWindows.mouseDownScreenX;var dy=e.screenY-mcWindows.mouseDownScreenY;switch(mcWindows.action){case"resize":width=mcWindows.mouseDownWidth+(e.screenX-mcWindows.mouseDownScreenX);height=mcWindows.mouseDownHeight+(e.screenY-mcWindows.mouseDownScreenY);width=width<100?100:width;height=height<100?100:height;this.wrapperIFrameElement.style.width=width+2;this.wrapperIFrameElement.style.height=height+2;this.wrapperIFrameElement.width=width+2;this.wrapperIFrameElement.height=height+2;this.winElement.style.width=width;this.winElement.style.height=height;height=height-this.deltaHeight;this.containerElement.style.width=width;this.iframeElement.style.width=width;this.iframeElement.style.height=height;this.bodyElement.style.width=width;this.bodyElement.style.height=height;this.headElement.style.width=width;mcWindows.cancelEvent(e);break;case"move":this.left=mcWindows.mouseDownLayerX+(e.screenX-mcWindows.mouseDownScreenX);this.top=mcWindows.mouseDownLayerY+(e.screenY-mcWindows.mouseDownScreenY);this.winElement.style.left=this.left+"px";this.winElement.style.top=this.top+"px";mcWindows.cancelEvent(e);break}};function debug(msg){document.getElementById('debug').value+=msg+"\n"}TinyMCE_Window.prototype.onMouseUp=function(e){mcWindows.action="none"};TinyMCE_Window.prototype.onFocus=function(e){var winRef=e.currentTarget;for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(typeof(win)=='function')continue;if(winRef.name==win.id+"_iframe"){win.focus();return}}};TinyMCE_Window.prototype.onMouseDown=function(e){var elm=mcWindows.isMSIE?this.wrapperFrame.event.srcElement:e.target;var scrollX=0;var scrollY=0;mcWindows.mouseDownScreenX=e.screenX;mcWindows.mouseDownScreenY=e.screenY;mcWindows.mouseDownLayerX=this.left;mcWindows.mouseDownLayerY=this.top;mcWindows.mouseDownWidth=parseInt(this.winElement.style.width);mcWindows.mouseDownHeight=parseInt(this.winElement.style.height);if(this.resizeElement!=null&&elm==this.resizeElement.firstChild)this.startResize(e);else this.startMove(e);mcWindows.cancelEvent(e)};var mcWindows=new TinyMCE_Windows();mcWindows.init({images_path:tinyMCE.baseURL+"/plugins/inlinepopups/images",css_file:tinyMCE.baseURL+"/plugins/inlinepopups/css/inlinepopup.css"});
\ No newline at end of file
+var TinyMCE_InlinePopupsPlugin={getInfo:function(){return{longname:'Inline Popups',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/inlinepopups',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}}};tinyMCE.addPlugin("inlinepopups",TinyMCE_InlinePopupsPlugin);TinyMCE_Engine.prototype.orgOpenWindow=TinyMCE_Engine.prototype.openWindow;TinyMCE_Engine.prototype.orgCloseWindow=TinyMCE_Engine.prototype.closeWindow;TinyMCE_Engine.prototype.openWindow=function(template,args){if(args['inline']!="yes"||tinyMCE.isOpera||tinyMCE.getParam("plugins").indexOf('inlinepopups')==-1){mcWindows.selectedWindow=null;args['mce_inside_iframe']=false;this.orgOpenWindow(template,args);return}var url,resizable,scrollbars;args['mce_inside_iframe']=true;tinyMCE.windowArgs=args;if(template['file'].charAt(0)!='/'&&template['file'].indexOf('://')==-1)url=tinyMCE.baseURL+"/themes/"+tinyMCE.getParam("theme")+"/"+template['file'];else url=template['file'];if(!(width=parseInt(template['width'])))width=320;if(!(height=parseInt(template['height'])))height=200;if(!(minWidth=parseInt(template['minWidth'])))minWidth=100;if(!(minHeight=parseInt(template['minHeight'])))minHeight=100;resizable=(args&&args['resizable'])?args['resizable']:"no";scrollbars=(args&&args['scrollbars'])?args['scrollbars']:"no";height+=18;for(var name in args){if(typeof(args[name])=='function')continue;url=tinyMCE.replaceVar(url,name,escape(args[name]))}var elm=document.getElementById(this.selectedInstance.editorId+'_parent');if(tinyMCE.hasPlugin('fullscreen')&&this.selectedInstance.getData('fullscreen').enabled)pos={absLeft:0,absTop:0};else pos=tinyMCE.getAbsPosition(elm);pos.absLeft+=Math.round((elm.firstChild.clientWidth/ 2) - (width /2));pos.absTop+=Math.round((elm.firstChild.clientHeight/ 2) - (height /2));mcWindows.open(url,mcWindows.idCounter++,"modal=yes,width="+width+",height="+height+",resizable="+resizable+",scrollbars="+scrollbars+",statusbar="+resizable+",left="+pos.absLeft+",top="+pos.absTop+",minWidth="+minWidth+",minHeight="+minHeight)};TinyMCE_Engine.prototype.closeWindow=function(win){var gotit=false,n,w;for(n in mcWindows.windows){w=mcWindows.windows[n];if(typeof(w)=='function')continue;if(win.name==w.id+'_iframe'){w.close();gotit=true}}if(!gotit)this.orgCloseWindow(win);tinyMCE.selectedInstance.getWin().focus()};TinyMCE_Engine.prototype.setWindowTitle=function(win_ref,title){for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(typeof(win)=='function')continue;if(win_ref.name==win.id+"_iframe")window.frames[win.id+"_iframe"].document.getElementById(win.id+'_title').innerHTML=title}};function TinyMCE_Windows(){this.settings=new Array();this.windows=new Array();this.isMSIE=(navigator.appName=="Microsoft Internet Explorer");this.isGecko=navigator.userAgent.indexOf('Gecko')!=-1;this.isSafari=navigator.userAgent.indexOf('Safari')!=-1;this.isMac=navigator.userAgent.indexOf('Mac')!=-1;this.isMSIE5_0=this.isMSIE&&(navigator.userAgent.indexOf('MSIE 5.0')!=-1);this.action="none";this.selectedWindow=null;this.lastSelectedWindow=null;this.zindex=1001;this.mouseDownScreenX=0;this.mouseDownScreenY=0;this.mouseDownLayerX=0;this.mouseDownLayerY=0;this.mouseDownWidth=0;this.mouseDownHeight=0;this.idCounter=0};TinyMCE_Windows.prototype.init=function(settings){this.settings=settings;if(this.isMSIE)this.addEvent(document,"mousemove",mcWindows.eventDispatcher);else this.addEvent(window,"mousemove",mcWindows.eventDispatcher);this.addEvent(document,"mouseup",mcWindows.eventDispatcher);this.addEvent(window,"resize",mcWindows.eventDispatcher);this.addEvent(document,"scroll",mcWindows.eventDispatcher);this.doc=document};TinyMCE_Windows.prototype.getBounds=function(){if(!this.bounds){var vp=tinyMCE.getViewPort(window);var top,left,bottom,right,docEl=this.doc.documentElement;top=vp.top;left=vp.left;bottom=vp.height+top-2;right=vp.width+left-22;this.bounds=[left,top,right,bottom]}return this.bounds};TinyMCE_Windows.prototype.clampBoxPosition=function(x,y,w,h,minW,minH){var bounds=this.getBounds();x=Math.max(bounds[0],Math.min(bounds[2],x+w)-w);y=Math.max(bounds[1],Math.min(bounds[3],y+h)-h);return this.clampBoxSize(x,y,w,h,minW,minH)};TinyMCE_Windows.prototype.clampBoxSize=function(x,y,w,h,minW,minH){var bounds=this.getBounds();return[x,y,Math.max(minW,Math.min(bounds[2],x+w)-x),Math.max(minH,Math.min(bounds[3],y+h)-y)]};TinyMCE_Windows.prototype.getParam=function(name,default_value){var value=null;value=(typeof(this.settings[name])=="undefined")?default_value:this.settings[name];if(value=="true"||value=="false")return(value=="true");return value};TinyMCE_Windows.prototype.eventDispatcher=function(e){e=typeof(e)=="undefined"?window.event:e;if(mcWindows.selectedWindow==null)return;if(mcWindows.isGecko&&e.type=="mousedown"){var elm=e.currentTarget;for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(win.headElement==elm||win.resizeElement==elm){win.focus();break}}}switch(e.type){case"mousemove":mcWindows.selectedWindow.onMouseMove(e);break;case"mouseup":mcWindows.selectedWindow.onMouseUp(e);break;case"mousedown":mcWindows.selectedWindow.onMouseDown(e);break;case"focus":mcWindows.selectedWindow.onFocus(e);break;case"scroll":case"resize":if(mcWindows.clampUpdateTimeout)clearTimeout(mcWindows.clampUpdateTimeout);mcWindows.clampEventType=e.type;mcWindows.clampUpdateTimeout=setTimeout(function(){mcWindows.updateClamping()},100);break}};TinyMCE_Windows.prototype.updateClamping=function(){var clamp,oversize,etype=mcWindows.clampEventType;this.bounds=null;this.clampUpdateTimeout=null;for(var n in this.windows){win=this.windows[n];if(typeof(win)=='function'||!win.winElement)continue;clamp=mcWindows.clampBoxPosition(win.left,win.top,win.winElement.scrollWidth,win.winElement.scrollHeight,win.features.minWidth,win.features.minHeight);oversize=(clamp[2]!=win.winElement.scrollWidth||clamp[3]!=win.winElement.scrollHeight)?true:false;if(!oversize||win.features.resizable=="yes"||etype!="scroll")win.moveTo(clamp[0],clamp[1]);if(oversize&&win.features.resizable=="yes")win.resizeTo(clamp[2],clamp[3])}};TinyMCE_Windows.prototype.addEvent=function(obj,name,handler){if(this.isMSIE)obj.attachEvent("on"+name,handler);else obj.addEventListener(name,handler,false)};TinyMCE_Windows.prototype.cancelEvent=function(e){if(this.isMSIE){e.returnValue=false;e.cancelBubble=true}else e.preventDefault()};TinyMCE_Windows.prototype.parseFeatures=function(opts){opts=opts.toLowerCase();opts=opts.replace(/;/g,",");opts=opts.replace(/[^0-9a-z=,]/g,"");var optionChunks=opts.split(',');var options=new Array();options['left']="10";options['top']="10";options['width']="300";options['height']="300";options['minwidth']="100";options['minheight']="100";options['resizable']="yes";options['minimizable']="yes";options['maximizable']="yes";options['close']="yes";options['movable']="yes";options['statusbar']="yes";options['scrollbars']="auto";options['modal']="no";if(opts=="")return options;for(var i=0;i<optionChunks.length;i++){var parts=optionChunks[i].split('=');if(parts.length==2)options[parts[0]]=parts[1]}options['left']=parseInt(options['left']);options['top']=parseInt(options['top']);options['width']=parseInt(options['width']);options['height']=parseInt(options['height']);options['minWidth']=parseInt(options['minwidth']);options['minHeight']=parseInt(options['minheight']);return options};TinyMCE_Windows.prototype.open=function(url,name,features){this.lastSelectedWindow=this.selectedWindow;var win=new TinyMCE_Window();var winDiv,html="",id;var imgPath=this.getParam("images_path");features=this.parseFeatures(features);var clamp=mcWindows.clampBoxPosition(features['left'],features['top'],features['width'],features['height'],features['minWidth'],features['minHeight']);features['left']=clamp[0];features['top']=clamp[1];if(features['resizable']=="yes"){features['width']=clamp[2];features['height']=clamp[3]}id="mcWindow_"+name;win.deltaHeight=18;if(features['statusbar']=="yes"){win.deltaHeight+=13;if(this.isMSIE)win.deltaHeight+=1}width=parseInt(features['width']);height=parseInt(features['height'])-win.deltaHeight;if(this.isMSIE)width-=2;win.id=id;win.url=url;win.name=name;win.features=features;this.windows[name]=win;iframeWidth=width;iframeHeight=height;html+='<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';html+='<html>';html+='<head>';html+='<title>Wrapper iframe</title>';html+='<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">';html+='<link href="'+this.getParam("css_file")+'" rel="stylesheet" type="text/css" />';html+='</head>';html+='<body onload="parent.mcWindows.onLoad(\''+name+'\');">';html+='<div id="'+id+'_container" class="mceWindow">';html+='<div id="'+id+'_head" class="mceWindowHead" onmousedown="parent.mcWindows.windows[\''+name+'\'].focus();">';html+='  <div id="'+id+'_title" class="mceWindowTitle"';html+='  onselectstart="return false;" unselectable="on" style="-moz-user-select: none !important;"></div>';html+='    <div class="mceWindowHeadTools">';html+='      <a href="javascript:parent.mcWindows.windows[\''+name+'\'].close();" target="_self" onmousedown="return false;" class="mceWindowClose"><img border="0" src="'+imgPath+'/window_close.gif" /></a>';if(features['resizable']=="yes"&&features['maximizable']=="yes")html+='      <a href="javascript:parent.mcWindows.windows[\''+name+'\'].maximize();" target="_self" onmousedown="return false;" class="mceWindowMaximize"><img border="0" src="'+imgPath+'/window_maximize.gif" /></a>';html+='    </div>';html+='</div><div id="'+id+'_body" class="mceWindowBody" style="width: '+width+'px; height: '+height+'px;">';html+='<iframe id="'+id+'_iframe" name="'+id+'_iframe" frameborder="0" width="'+iframeWidth+'" height="'+iframeHeight+'" src="'+url+'" class="mceWindowBodyIframe" scrolling="'+features['scrollbars']+'"></iframe></div>';if(features['statusbar']=="yes"){html+='<div id="'+id+'_statusbar" class="mceWindowStatusbar" onmousedown="parent.mcWindows.windows[\''+name+'\'].focus();">';if(features['resizable']=="yes"){if(this.isGecko)html+='<div id="'+id+'_resize" class="mceWindowResize"><div style="background-image: url(\''+imgPath+'/window_resize.gif\'); width: 12px; height: 12px;"></div></div>';else html+='<div id="'+id+'_resize" class="mceWindowResize"><img onmousedown="parent.mcWindows.windows[\''+name+'\'].focus();" border="0" src="'+imgPath+'/window_resize.gif" /></div>'}html+='</div>'}html+='</div>';html+='</body>';html+='</html>';this.createFloatingIFrame(id,features['left'],features['top'],features['width'],features['height'],html)};TinyMCE_Windows.prototype.setDocumentLock=function(state){var elm=document.getElementById('mcWindowEventBlocker');if(state){if(elm==null){elm=document.createElement("div");elm.id="mcWindowEventBlocker";elm.style.position="absolute";elm.style.left="0";elm.style.top="0";document.body.appendChild(elm)}elm.style.display="none";var imgPath=this.getParam("images_path");var width=document.body.clientWidth;var height=document.body.clientHeight;elm.style.width=width;elm.style.height=height;elm.innerHTML='<img src="'+imgPath+'/spacer.gif" width="'+width+'" height="'+height+'" />';elm.style.zIndex=mcWindows.zindex-1;elm.style.display="block"}else if(elm!=null){if(mcWindows.windows.length==0)elm.parentNode.removeChild(elm);else elm.style.zIndex=mcWindows.zindex-1}};TinyMCE_Windows.prototype.onLoad=function(name){var win=mcWindows.windows[name];var id="mcWindow_"+name;var wrapperIframe=window.frames[id+"_iframe"].frames[0];var wrapperDoc=window.frames[id+"_iframe"].document;var doc=window.frames[id+"_iframe"].document;var winDiv=document.getElementById("mcWindow_"+name+"_div");var realIframe=window.frames[id+"_iframe"].frames[0];win.id="mcWindow_"+name;win.winElement=winDiv;win.bodyElement=doc.getElementById(id+'_body');win.iframeElement=doc.getElementById(id+'_iframe');win.headElement=doc.getElementById(id+'_head');win.titleElement=doc.getElementById(id+'_title');win.resizeElement=doc.getElementById(id+'_resize');win.containerElement=doc.getElementById(id+'_container');win.left=win.features['left'];win.top=win.features['top'];win.frame=window.frames[id+'_iframe'].frames[0];win.wrapperFrame=window.frames[id+'_iframe'];win.wrapperIFrameElement=document.getElementById(id+"_iframe");mcWindows.addEvent(win.headElement,"mousedown",mcWindows.eventDispatcher);if(win.resizeElement!=null)mcWindows.addEvent(win.resizeElement,"mousedown",mcWindows.eventDispatcher);if(mcWindows.isMSIE){mcWindows.addEvent(realIframe.document,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe.document,"mouseup",mcWindows.eventDispatcher)}else{mcWindows.addEvent(realIframe,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe,"mouseup",mcWindows.eventDispatcher);mcWindows.addEvent(realIframe,"focus",mcWindows.eventDispatcher)}for(var i=0;i<window.frames.length;i++){if(!window.frames[i]._hasMouseHandlers){if(mcWindows.isMSIE){mcWindows.addEvent(window.frames[i].document,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(window.frames[i].document,"mouseup",mcWindows.eventDispatcher)}else{mcWindows.addEvent(window.frames[i],"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(window.frames[i],"mouseup",mcWindows.eventDispatcher)}window.frames[i]._hasMouseHandlers=true}}if(mcWindows.isMSIE){mcWindows.addEvent(win.frame.document,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(win.frame.document,"mouseup",mcWindows.eventDispatcher)}else{mcWindows.addEvent(win.frame,"mousemove",mcWindows.eventDispatcher);mcWindows.addEvent(win.frame,"mouseup",mcWindows.eventDispatcher);mcWindows.addEvent(win.frame,"focus",mcWindows.eventDispatcher)}var func=this.getParam("on_open_window","");if(func!="")eval(func+"(win);");win.focus();if(win.features['modal']=="yes")mcWindows.setDocumentLock(true)};TinyMCE_Windows.prototype.createFloatingIFrame=function(id_prefix,left,top,width,height,html){var iframe=document.createElement("iframe");var div=document.createElement("div"),doc;width=parseInt(width);height=parseInt(height)+1;div.setAttribute("id",id_prefix+"_div");div.setAttribute("width",width);div.setAttribute("height",(height));div.style.position="absolute";div.style.left=left+"px";div.style.top=top+"px";div.style.width=width+"px";div.style.height=(height)+"px";div.style.backgroundColor="white";div.style.display="none";if(this.isGecko){iframeWidth=width+2;iframeHeight=height+2}else{iframeWidth=width;iframeHeight=height+1}iframe.setAttribute("id",id_prefix+"_iframe");iframe.setAttribute("name",id_prefix+"_iframe");iframe.setAttribute("border","0");iframe.setAttribute("frameBorder","0");iframe.setAttribute("marginWidth","0");iframe.setAttribute("marginHeight","0");iframe.setAttribute("leftMargin","0");iframe.setAttribute("topMargin","0");iframe.setAttribute("width",iframeWidth);iframe.setAttribute("height",iframeHeight);iframe.setAttribute("scrolling","no");iframe.style.width=iframeWidth+"px";iframe.style.height=iframeHeight+"px";iframe.style.backgroundColor="white";div.appendChild(iframe);document.body.appendChild(div);div.innerHTML=div.innerHTML;if(this.isSafari){window.setTimeout(function(){var doc=window.frames[id_prefix+'_iframe'].document;doc.open();doc.write(html);doc.close()},10)}else{doc=window.frames[id_prefix+'_iframe'].window.document;doc.open();doc.write(html);doc.close()}div.style.display="block";return div};function TinyMCE_Window(){};TinyMCE_Window.prototype.focus=function(){if(this!=mcWindows.selectedWindow){this.winElement.style.zIndex=++mcWindows.zindex;mcWindows.lastSelectedWindow=mcWindows.selectedWindow;mcWindows.selectedWindow=this}};TinyMCE_Window.prototype.minimize=function(){};TinyMCE_Window.prototype.maximize=function(){if(this.restoreSize){this.moveTo(this.restoreSize[0],this.restoreSize[1]);this.resizeTo(this.restoreSize[2],this.restoreSize[3]);this.updateClamping();this.restoreSize=null}else{var bounds=mcWindows.getBounds();this.restoreSize=[this.left,this.top,this.winElement.scrollWidth,this.winElement.scrollHeight];this.moveTo(bounds[0],bounds[1]);this.resizeTo(bounds[2]-bounds[0],bounds[3]-bounds[1])}};TinyMCE_Window.prototype.startResize=function(){mcWindows.action="resize"};TinyMCE_Window.prototype.startMove=function(e){mcWindows.action="move"};TinyMCE_Window.prototype.close=function(){if(this.frame&&this.frame['tinyMCEPopup'])this.frame['tinyMCEPopup'].restoreSelection();if(mcWindows.lastSelectedWindow!=null)mcWindows.lastSelectedWindow.focus();var mcWindowsNew=new Array();for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(typeof(win)=='function')continue;if(win.name!=this.name)mcWindowsNew[n]=win}mcWindows.windows=mcWindowsNew;var e=mcWindows.doc.getElementById(this.id+"_iframe");e.parentNode.removeChild(e);var e=mcWindows.doc.getElementById(this.id+"_div");e.parentNode.removeChild(e);mcWindows.setDocumentLock(false)};TinyMCE_Window.prototype.onMouseMove=function(e){var clamp;var dx=e.screenX-mcWindows.mouseDownScreenX;var dy=e.screenY-mcWindows.mouseDownScreenY;switch(mcWindows.action){case"resize":clamp=mcWindows.clampBoxSize(this.left,this.top,mcWindows.mouseDownWidth+(e.screenX-mcWindows.mouseDownScreenX),mcWindows.mouseDownHeight+(e.screenY-mcWindows.mouseDownScreenY),this.features.minWidth,this.features.minHeight);this.resizeTo(clamp[2],clamp[3]);mcWindows.cancelEvent(e);break;case"move":this.left=mcWindows.mouseDownLayerX+(e.screenX-mcWindows.mouseDownScreenX);this.top=mcWindows.mouseDownLayerY+(e.screenY-mcWindows.mouseDownScreenY);this.updateClamping();mcWindows.cancelEvent(e);break}};TinyMCE_Window.prototype.moveTo=function(x,y){this.left=x;this.top=y;this.winElement.style.left=this.left+"px";this.winElement.style.top=this.top+"px"};TinyMCE_Window.prototype.resizeTo=function(width,height){this.wrapperIFrameElement.style.width=(width+2)+'px';this.wrapperIFrameElement.style.height=(height+2)+'px';this.wrapperIFrameElement.width=width+2;this.wrapperIFrameElement.height=height+2;this.winElement.style.width=width+'px';this.winElement.style.height=height+'px';height=height-this.deltaHeight;this.containerElement.style.width=width+'px';this.iframeElement.style.width=width+'px';this.iframeElement.style.height=height+'px';this.bodyElement.style.width=width+'px';this.bodyElement.style.height=height+'px';this.headElement.style.width=width+'px';};TinyMCE_Window.prototype.updateClamping=function(){var clamp,oversize;clamp=mcWindows.clampBoxPosition(this.left,this.top,this.winElement.scrollWidth,this.winElement.scrollHeight,this.features.minWidth,this.features.minHeight);oversize=(clamp[2]!=this.winElement.scrollWidth||clamp[3]!=this.winElement.scrollHeight)?true:false;this.moveTo(clamp[0],clamp[1]);if(this.features.resizable=="yes"&&oversize)this.resizeTo(clamp[2],clamp[3])};function debug(msg){document.getElementById('debug').value+=msg+"\n"}TinyMCE_Window.prototype.onMouseUp=function(e){mcWindows.action="none"};TinyMCE_Window.prototype.onFocus=function(e){var winRef=e.currentTarget;for(var n in mcWindows.windows){var win=mcWindows.windows[n];if(typeof(win)=='function')continue;if(winRef.name==win.id+"_iframe"){win.focus();return}}};TinyMCE_Window.prototype.onMouseDown=function(e){var elm=mcWindows.isMSIE?this.wrapperFrame.event.srcElement:e.target;mcWindows.mouseDownScreenX=e.screenX;mcWindows.mouseDownScreenY=e.screenY;mcWindows.mouseDownLayerX=this.left;mcWindows.mouseDownLayerY=this.top;mcWindows.mouseDownWidth=parseInt(this.winElement.style.width);mcWindows.mouseDownHeight=parseInt(this.winElement.style.height);if(this.resizeElement!=null&&elm==this.resizeElement.firstChild)this.startResize(e);else this.startMove(e);mcWindows.cancelEvent(e)};var mcWindows=new TinyMCE_Windows();mcWindows.init({images_path:tinyMCE.baseURL+"/plugins/inlinepopups/images",css_file:tinyMCE.baseURL+"/plugins/inlinepopups/css/inlinepopup.css"});
\ No newline at end of file

Modified: plog/trunk/js/tinymce/plugins/inlinepopups/editor_plugin_src.js
===================================================================
--- plog/trunk/js/tinymce/plugins/inlinepopups/editor_plugin_src.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/plugins/inlinepopups/editor_plugin_src.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,660 +1,814 @@
-/**
- * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
- *
- * Moxiecode DHTML Windows script.
- *
- * @author Moxiecode
- * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
- */
-
-// Patch openWindow, closeWindow TinyMCE functions
-
-var TinyMCE_InlinePopupsPlugin = {
-	getInfo : function() {
-		return {
-			longname : 'Inline Popups',
-			author : 'Moxiecode Systems AB',
-			authorurl : 'http://tinymce.moxiecode.com',
-			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_inlinepopups.html',
-			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
-		};
-	}
-};
-
-tinyMCE.addPlugin("inlinepopups", TinyMCE_InlinePopupsPlugin);
-
-// Patch openWindow, closeWindow TinyMCE functions
-
-TinyMCE_Engine.prototype.orgOpenWindow = TinyMCE_Engine.prototype.openWindow;
-
-TinyMCE_Engine.prototype.openWindow = function(template, args) {
-	// Does the caller support inline
-	if (args['inline'] != "yes" || tinyMCE.isOpera || tinyMCE.getParam("plugins").indexOf('inlinepopups') == -1) {
-		mcWindows.selectedWindow = null;
-		args['mce_inside_iframe'] = false;
-		this.orgOpenWindow(template, args);
-		return;
-	}
-
-	var url, resizable, scrollbars;
-
-	args['mce_inside_iframe'] = true;
-	tinyMCE.windowArgs = args;
-
-	if (template['file'].charAt(0) != '/' && template['file'].indexOf('://') == -1)
-		url = tinyMCE.baseURL + "/themes/" + tinyMCE.getParam("theme") + "/" + template['file'];
-	else
-		url = template['file'];
-
-	if (!(width = parseInt(template['width'])))
-		width = 320;
-
-	if (!(height = parseInt(template['height'])))
-		height = 200;
-
-	resizable = (args && args['resizable']) ? args['resizable'] : "no";
-	scrollbars = (args && args['scrollbars']) ? args['scrollbars'] : "no";
-
-	height += 18;
-
-	// Replace all args as variables in URL
-	for (var name in args) {
-		if (typeof(args[name]) == 'function')
-			continue;
-
-		url = tinyMCE.replaceVar(url, name, escape(args[name]));
-	}
-
-	var elm = document.getElementById(this.selectedInstance.editorId + '_parent');
-	var pos = tinyMCE.getAbsPosition(elm);
-
-	// Center div in editor area
-	pos.absLeft += Math.round((elm.firstChild.clientWidth / 2) - (width / 2));
-	pos.absTop += Math.round((elm.firstChild.clientHeight / 2) - (height / 2));
-
-	mcWindows.open(url, mcWindows.idCounter++, "modal=yes,width=" + width+ ",height=" + height + ",resizable=" + resizable + ",scrollbars=" + scrollbars + ",statusbar=" + resizable + ",left=" + pos.absLeft + ",top=" + pos.absTop);
-};
-
-TinyMCE_Engine.prototype.orgCloseWindow = TinyMCE_Engine.prototype.closeWindow;
-
-TinyMCE_Engine.prototype.closeWindow = function(win) {
-	if (mcWindows.selectedWindow != null)
-		mcWindows.selectedWindow.close();
-	else
-		this.orgCloseWindow(win);
-};
-
-TinyMCE_Engine.prototype.setWindowTitle = function(win_ref, title) {
-	for (var n in mcWindows.windows) {
-		var win = mcWindows.windows[n];
-		if (typeof(win) == 'function')
-			continue;
-
-		if (win_ref.name == win.id + "_iframe")
-			window.frames[win.id + "_iframe"].document.getElementById(win.id + '_title').innerHTML = title;
-	}
-};
-
-// * * * * * TinyMCE_Windows classes below
-
-// Windows handler
-function TinyMCE_Windows() {
-	this.settings = new Array();
-	this.windows = new Array();
-	this.isMSIE = (navigator.appName == "Microsoft Internet Explorer");
-	this.isGecko = navigator.userAgent.indexOf('Gecko') != -1;
-	this.isSafari = navigator.userAgent.indexOf('Safari') != -1;
-	this.isMac = navigator.userAgent.indexOf('Mac') != -1;
-	this.isMSIE5_0 = this.isMSIE && (navigator.userAgent.indexOf('MSIE 5.0') != -1);
-	this.action = "none";
-	this.selectedWindow = null;
-	this.lastSelectedWindow = null;
-	this.zindex = 100;
-	this.mouseDownScreenX = 0;
-	this.mouseDownScreenY = 0;
-	this.mouseDownLayerX = 0;
-	this.mouseDownLayerY = 0;
-	this.mouseDownWidth = 0;
-	this.mouseDownHeight = 0;
-	this.idCounter = 0;
-};
-
-TinyMCE_Windows.prototype.init = function(settings) {
-	this.settings = settings;
-
-	if (this.isMSIE)
-		this.addEvent(document, "mousemove", mcWindows.eventDispatcher);
-	else
-		this.addEvent(window, "mousemove", mcWindows.eventDispatcher);
-
-	this.addEvent(document, "mouseup", mcWindows.eventDispatcher);
-
-	this.doc = document;
-};
-
-TinyMCE_Windows.prototype.getParam = function(name, default_value) {
-	var value = null;
-
-	value = (typeof(this.settings[name]) == "undefined") ? default_value : this.settings[name];
-
-	// Fix bool values
-	if (value == "true" || value == "false")
-		return (value == "true");
-
-	return value;
-};
-
-TinyMCE_Windows.prototype.eventDispatcher = function(e) {
-	e = typeof(e) == "undefined" ? window.event : e;
-
-	if (mcWindows.selectedWindow == null)
-		return;
-
-	// Switch focus
-	if (mcWindows.isGecko && e.type == "mousedown") {
-		var elm = e.currentTarget;
-
-		for (var n in mcWindows.windows) {
-			var win = mcWindows.windows[n];
-
-			if (win.headElement == elm || win.resizeElement == elm) {
-				win.focus();
-				break;
-			}
-		}
-	}
-
-	switch (e.type) {
-		case "mousemove":
-			mcWindows.selectedWindow.onMouseMove(e);
-			break;
-
-		case "mouseup":
-			mcWindows.selectedWindow.onMouseUp(e);
-			break;
-
-		case "mousedown":
-			mcWindows.selectedWindow.onMouseDown(e);
-			break;
-
-		case "focus":
-			mcWindows.selectedWindow.onFocus(e);
-			break;
-	}
-};
-
-TinyMCE_Windows.prototype.addEvent = function(obj, name, handler) {
-	if (this.isMSIE)
-		obj.attachEvent("on" + name, handler);
-	else
-		obj.addEventListener(name, handler, true);
-};
-
-TinyMCE_Windows.prototype.cancelEvent = function(e) {
-	if (this.isMSIE) {
-		e.returnValue = false;
-		e.cancelBubble = true;
-	} else
-		e.preventDefault();
-};
-
-TinyMCE_Windows.prototype.parseFeatures = function(opts) {
-	// Cleanup the options
-	opts = opts.toLowerCase();
-	opts = opts.replace(/;/g, ",");
-	opts = opts.replace(/[^0-9a-z=,]/g, "");
-
-	var optionChunks = opts.split(',');
-	var options = new Array();
-
-	options['left'] = "10";
-	options['top'] = "10";
-	options['width'] = "300";
-	options['height'] = "300";
-	options['resizable'] = "yes";
-	options['minimizable'] = "yes";
-	options['maximizable'] = "yes";
-	options['close'] = "yes";
-	options['movable'] = "yes";
-	options['statusbar'] = "yes";
-	options['scrollbars'] = "auto";
-	options['modal'] = "no";
-
-	if (opts == "")
-		return options;
-
-	for (var i=0; i<optionChunks.length; i++) {
-		var parts = optionChunks[i].split('=');
-
-		if (parts.length == 2)
-			options[parts[0]] = parts[1];
-	}
-
-	options['left'] = parseInt(options['left']);
-	options['top'] = parseInt(options['top']);
-	options['width'] = parseInt(options['width']);
-	options['height'] = parseInt(options['height']);
-
-	return options;
-};
-
-TinyMCE_Windows.prototype.open = function(url, name, features) {
-	this.lastSelectedWindow = this.selectedWindow;
-
-	var win = new TinyMCE_Window();
-	var winDiv, html = "", id;
-	var imgPath = this.getParam("images_path");
-
-	features = this.parseFeatures(features);
-
-	// Create div
-	id = "mcWindow_" + name;
-	win.deltaHeight = 18;
-
-	if (features['statusbar'] == "yes") {
-		win.deltaHeight += 13;
-
-		if (this.isMSIE)
-			win.deltaHeight += 1;
-	}
-
-	width = parseInt(features['width']);
-	height = parseInt(features['height'])-win.deltaHeight;
-
-	if (this.isMSIE)
-		width -= 2;
-
-	// Setup first part of window
-	win.id = id;
-	win.url = url;
-	win.name = name;
-	win.features = features;
-	this.windows[name] = win;
-
-	iframeWidth = width;
-	iframeHeight = height;
-
-	// Create inner content
-	html += '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';
-	html += '<html>';
-	html += '<head>';
-	html += '<title>Wrapper iframe</title>';
-	html += '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">';
-	html += '<link href="' + this.getParam("css_file") + '" rel="stylesheet" type="text/css" />';
-	html += '</head>';
-	html += '<body onload="parent.mcWindows.onLoad(\'' + name + '\');">';
-
-	html += '<div id="' + id + '_container" class="mceWindow">';
-	html += '<div id="' + id + '_head" class="mceWindowHead" onmousedown="parent.mcWindows.windows[\'' + name + '\'].focus();">';
-	html += '  <div id="' + id + '_title" class="mceWindowTitle"';
-	html += '  onselectstart="return false;" unselectable="on" style="-moz-user-select: none !important;"></div>';
-	html += '    <div class="mceWindowHeadTools">';
-	html += '      <a href="javascript:parent.mcWindows.windows[\'' + name + '\'].close();" target="_self" onmousedown="return false;" class="mceWindowClose"><img border="0" src="' + imgPath + '/window_close.gif" /></a>';
-//	html += '      <a href="javascript:mcWindows.windows[\'' + name + '\'].maximize();" target="_self" onmousedown="return false;" class="mceWindowMaximize"></a>';
-//	html += '      <a href="javascript:mcWindows.windows[\'' + name + '\'].minimize();" target="_self" onmousedown="return false;" class="mceWindowMinimize"></a>';
-	html += '    </div>';
-	html += '</div><div id="' + id + '_body" class="mceWindowBody" style="width: ' + width + 'px; height: ' + height + 'px;">';
-	html += '<iframe id="' + id + '_iframe" name="' + id + '_iframe" frameborder="0" width="' + iframeWidth + '" height="' + iframeHeight + '" src="' + url + '" class="mceWindowBodyIframe" scrolling="' + features['scrollbars'] + '"></iframe></div>';
-
-	if (features['statusbar'] == "yes") {
-		html += '<div id="' + id + '_statusbar" class="mceWindowStatusbar" onmousedown="parent.mcWindows.windows[\'' + name + '\'].focus();">';
-
-		if (features['resizable'] == "yes") {
-			if (this.isGecko)
-				html += '<div id="' + id + '_resize" class="mceWindowResize"><div style="background-image: url(\'' + imgPath + '/window_resize.gif\'); width: 12px; height: 12px;"></div></div>';
-			else
-				html += '<div id="' + id + '_resize" class="mceWindowResize"><img onmousedown="parent.mcWindows.windows[\'' + name + '\'].focus();" border="0" src="' + imgPath + '/window_resize.gif" /></div>';
-		}
-
-		html += '</div>';
-	}
-
-	html += '</div>';
-
-	html += '</body>';
-	html += '</html>';
-
-	// Create iframe
-	this.createFloatingIFrame(id, features['left'], features['top'], features['width'], features['height'], html);
-};
-
-// Blocks the document events by placing a image over the whole document
-TinyMCE_Windows.prototype.setDocumentLock = function(state) {
-	if (state) {
-		var elm = document.getElementById('mcWindowEventBlocker');
-		if (elm == null) {
-			elm = document.createElement("div");
-
-			elm.id = "mcWindowEventBlocker";
-			elm.style.position = "absolute";
-			elm.style.left = "0";
-			elm.style.top = "0";
-
-			document.body.appendChild(elm);
-		}
-
-		elm.style.display = "none";
-
-		var imgPath = this.getParam("images_path");
-		var width = document.body.clientWidth;
-		var height = document.body.clientHeight;
-
-		elm.style.width = width;
-		elm.style.height = height;
-		elm.innerHTML = '<img src="' + imgPath + '/spacer.gif" width="' + width + '" height="' + height + '" />';
-
-		elm.style.zIndex = mcWindows.zindex-1;
-		elm.style.display = "block";
-	} else {
-		var elm = document.getElementById('mcWindowEventBlocker');
-
-		if (mcWindows.windows.length == 0)
-			elm.parentNode.removeChild(elm);
-		else
-			elm.style.zIndex = mcWindows.zindex-1;
-	}
-};
-
-// Gets called when wrapper iframe is initialized
-TinyMCE_Windows.prototype.onLoad = function(name) {
-	var win = mcWindows.windows[name];
-	var id = "mcWindow_" + name;
-	var wrapperIframe = window.frames[id + "_iframe"].frames[0];
-	var wrapperDoc = window.frames[id + "_iframe"].document;
-	var doc = window.frames[id + "_iframe"].document;
-	var winDiv = document.getElementById("mcWindow_" + name + "_div");
-	var realIframe = window.frames[id + "_iframe"].frames[0];
-
-	// Set window data
-	win.id = "mcWindow_" + name;
-	win.winElement = winDiv;
-	win.bodyElement = doc.getElementById(id + '_body');
-	win.iframeElement = doc.getElementById(id + '_iframe');
-	win.headElement = doc.getElementById(id + '_head');
-	win.titleElement = doc.getElementById(id + '_title');
-	win.resizeElement = doc.getElementById(id + '_resize');
-	win.containerElement = doc.getElementById(id + '_container');
-	win.left = win.features['left'];
-	win.top = win.features['top'];
-	win.frame = window.frames[id + '_iframe'].frames[0];
-	win.wrapperFrame = window.frames[id + '_iframe'];
-	win.wrapperIFrameElement = document.getElementById(id + "_iframe");
-
-	// Add event handlers
-	mcWindows.addEvent(win.headElement, "mousedown", mcWindows.eventDispatcher);
-
-	if (win.resizeElement != null)
-		mcWindows.addEvent(win.resizeElement, "mousedown", mcWindows.eventDispatcher);
-
-	if (mcWindows.isMSIE) {
-		mcWindows.addEvent(realIframe.document, "mousemove", mcWindows.eventDispatcher);
-		mcWindows.addEvent(realIframe.document, "mouseup", mcWindows.eventDispatcher);
-	} else {
-		mcWindows.addEvent(realIframe, "mousemove", mcWindows.eventDispatcher);
-		mcWindows.addEvent(realIframe, "mouseup", mcWindows.eventDispatcher);
-		mcWindows.addEvent(realIframe, "focus", mcWindows.eventDispatcher);
-	}
-
-	for (var i=0; i<window.frames.length; i++) {
-		if (!window.frames[i]._hasMouseHandlers) {
-			if (mcWindows.isMSIE) {
-				mcWindows.addEvent(window.frames[i].document, "mousemove", mcWindows.eventDispatcher);
-				mcWindows.addEvent(window.frames[i].document, "mouseup", mcWindows.eventDispatcher);
-			} else {
-				mcWindows.addEvent(window.frames[i], "mousemove", mcWindows.eventDispatcher);
-				mcWindows.addEvent(window.frames[i], "mouseup", mcWindows.eventDispatcher);
-			}
-
-			window.frames[i]._hasMouseHandlers = true;
-		}
-	}
-
-	if (mcWindows.isMSIE) {
-		mcWindows.addEvent(win.frame.document, "mousemove", mcWindows.eventDispatcher);
-		mcWindows.addEvent(win.frame.document, "mouseup", mcWindows.eventDispatcher);
-	} else {
-		mcWindows.addEvent(win.frame, "mousemove", mcWindows.eventDispatcher);
-		mcWindows.addEvent(win.frame, "mouseup", mcWindows.eventDispatcher);
-		mcWindows.addEvent(win.frame, "focus", mcWindows.eventDispatcher);
-	}
-
-	// Dispatch open window event
-	var func = this.getParam("on_open_window", "");
-	if (func != "")
-		eval(func + "(win);");
-
-	win.focus();
-
-	if (win.features['modal'] == "yes")
-		mcWindows.setDocumentLock(true);
-};
-
-TinyMCE_Windows.prototype.createFloatingIFrame = function(id_prefix, left, top, width, height, html) {
-	var iframe = document.createElement("iframe");
-	var div = document.createElement("div"), doc;
-
-	width = parseInt(width);
-	height = parseInt(height)+1;
-
-	// Create wrapper div
-	div.setAttribute("id", id_prefix + "_div");
-	div.setAttribute("width", width);
-	div.setAttribute("height", (height));
-	div.style.position = "absolute";
-	div.style.left = left + "px";
-	div.style.top = top + "px";
-	div.style.width = width + "px";
-	div.style.height = (height) + "px";
-	div.style.backgroundColor = "white";
-	div.style.display = "none";
-
-	if (this.isGecko) {
-		iframeWidth = width + 2;
-		iframeHeight = height + 2;
-	} else {
-		iframeWidth = width;
-		iframeHeight = height + 1;
-	}
-
-	// Create iframe
-	iframe.setAttribute("id", id_prefix + "_iframe");
-	iframe.setAttribute("name", id_prefix + "_iframe");
-	iframe.setAttribute("border", "0");
-	iframe.setAttribute("frameBorder", "0");
-	iframe.setAttribute("marginWidth", "0");
-	iframe.setAttribute("marginHeight", "0");
-	iframe.setAttribute("leftMargin", "0");
-	iframe.setAttribute("topMargin", "0");
-	iframe.setAttribute("width", iframeWidth);
-	iframe.setAttribute("height", iframeHeight);
-//	iframe.setAttribute("src", "../jscripts/tiny_mce/blank.htm");
-	// iframe.setAttribute("allowtransparency", "false");
-	iframe.setAttribute("scrolling", "no");
-	iframe.style.width = iframeWidth + "px";
-	iframe.style.height = iframeHeight + "px";
-	iframe.style.backgroundColor = "white";
-	div.appendChild(iframe);
-
-	document.body.appendChild(div);
-
-	// Fixed MSIE 5.0 issue
-	div.innerHTML = div.innerHTML;
-
-	if (this.isSafari) {
-		// Give Safari some time to setup
-		window.setTimeout(function() {
-			var doc = window.frames[id_prefix + '_iframe'].document;
-			doc.open();
-			doc.write(html);
-			doc.close();
-		}, 10);
-	} else {
-		doc = window.frames[id_prefix + '_iframe'].window.document;
-		doc.open();
-		doc.write(html);
-		doc.close();
-	}
-
-	div.style.display = "block";
-
-	return div;
-};
-
-// Window instance
-function TinyMCE_Window() {
-};
-
-TinyMCE_Window.prototype.focus = function() {
-	if (this != mcWindows.selectedWindow) {
-		this.winElement.style.zIndex = ++mcWindows.zindex;
-		mcWindows.lastSelectedWindow = mcWindows.selectedWindow;
-		mcWindows.selectedWindow = this;
-	}
-};
-
-TinyMCE_Window.prototype.minimize = function() {
-};
-
-TinyMCE_Window.prototype.maximize = function() {
-	
-};
-
-TinyMCE_Window.prototype.startResize = function() {
-	mcWindows.action = "resize";
-};
-
-TinyMCE_Window.prototype.startMove = function(e) {
-	mcWindows.action = "move";
-};
-
-TinyMCE_Window.prototype.close = function() {
-	if (this.frame && this.frame['tinyMCEPopup'])
-		this.frame['tinyMCEPopup'].restoreSelection();
-
-	if (mcWindows.lastSelectedWindow != null)
-		mcWindows.lastSelectedWindow.focus();
-
-	var mcWindowsNew = new Array();
-	for (var n in mcWindows.windows) {
-		var win = mcWindows.windows[n];
-		if (typeof(win) == 'function')
-			continue;
-
-		if (win.name != this.name)
-			mcWindowsNew[n] = win;
-	}
-
-	mcWindows.windows = mcWindowsNew;
-
-//	alert(mcWindows.doc.getElementById(this.id + "_iframe"));
-
-	var e = mcWindows.doc.getElementById(this.id + "_iframe");
-	e.parentNode.removeChild(e);
-
-	var e = mcWindows.doc.getElementById(this.id + "_div");
-	e.parentNode.removeChild(e);
-
-	mcWindows.setDocumentLock(false);
-};
-
-TinyMCE_Window.prototype.onMouseMove = function(e) {
-	var scrollX = 0;//this.doc.body.scrollLeft;
-	var scrollY = 0;//this.doc.body.scrollTop;
-
-	// Calculate real X, Y
-	var dx = e.screenX - mcWindows.mouseDownScreenX;
-	var dy = e.screenY - mcWindows.mouseDownScreenY;
-
-	switch (mcWindows.action) {
-		case "resize":
-			width = mcWindows.mouseDownWidth + (e.screenX - mcWindows.mouseDownScreenX);
-			height = mcWindows.mouseDownHeight + (e.screenY - mcWindows.mouseDownScreenY);
-
-			width = width < 100 ? 100 : width;
-			height = height < 100 ? 100 : height;
-
-			this.wrapperIFrameElement.style.width = width+2;
-			this.wrapperIFrameElement.style.height = height+2;
-			this.wrapperIFrameElement.width = width+2;
-			this.wrapperIFrameElement.height = height+2;
-			this.winElement.style.width = width;
-			this.winElement.style.height = height;
-
-			height = height - this.deltaHeight;
-
-			this.containerElement.style.width = width;
-
-			this.iframeElement.style.width = width;
-			this.iframeElement.style.height = height;
-			this.bodyElement.style.width = width;
-			this.bodyElement.style.height = height;
-			this.headElement.style.width = width;
-			//this.statusElement.style.width = width;
-
-			mcWindows.cancelEvent(e);
-			break;
-
-		case "move":
-			this.left = mcWindows.mouseDownLayerX + (e.screenX - mcWindows.mouseDownScreenX);
-			this.top = mcWindows.mouseDownLayerY + (e.screenY - mcWindows.mouseDownScreenY);
-			this.winElement.style.left = this.left + "px";
-			this.winElement.style.top = this.top + "px";
-
-			mcWindows.cancelEvent(e);
-			break;
-	}
-};
-
-function debug(msg) {
-	document.getElementById('debug').value += msg + "\n";
-}
-
-TinyMCE_Window.prototype.onMouseUp = function(e) {
-	mcWindows.action = "none";
-};
-
-TinyMCE_Window.prototype.onFocus = function(e) {
-	// Gecko only handler
-	var winRef = e.currentTarget;
-
-	for (var n in mcWindows.windows) {
-		var win = mcWindows.windows[n];
-		if (typeof(win) == 'function')
-			continue;
-
-		if (winRef.name == win.id + "_iframe") {
-			win.focus();
-			return;
-		}
-	}
-};
-
-TinyMCE_Window.prototype.onMouseDown = function(e) {
-	var elm = mcWindows.isMSIE ? this.wrapperFrame.event.srcElement : e.target;
-
-	var scrollX = 0;//this.doc.body.scrollLeft;
-	var scrollY = 0;//this.doc.body.scrollTop;
-
-	mcWindows.mouseDownScreenX = e.screenX;
-	mcWindows.mouseDownScreenY = e.screenY;
-	mcWindows.mouseDownLayerX = this.left;
-	mcWindows.mouseDownLayerY = this.top;
-	mcWindows.mouseDownWidth = parseInt(this.winElement.style.width);
-	mcWindows.mouseDownHeight = parseInt(this.winElement.style.height);
-
-	if (this.resizeElement != null && elm == this.resizeElement.firstChild)
-		this.startResize(e);
-	else
-		this.startMove(e);
-
-	mcWindows.cancelEvent(e);
-};
-
-// Global instance
-var mcWindows = new TinyMCE_Windows();
-
-// Initialize windows
-mcWindows.init({
-	images_path : tinyMCE.baseURL + "/plugins/inlinepopups/images",
-	css_file : tinyMCE.baseURL + "/plugins/inlinepopups/css/inlinepopup.css"
-});
+/**
+ * $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $
+ *
+ * Moxiecode DHTML Windows script.
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.
+ */
+
+// Patch openWindow, closeWindow TinyMCE functions
+
+var TinyMCE_InlinePopupsPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Inline Popups',
+			author : 'Moxiecode Systems AB',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/inlinepopups',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	}
+};
+
+tinyMCE.addPlugin("inlinepopups", TinyMCE_InlinePopupsPlugin);
+
+// Patch openWindow, closeWindow TinyMCE functions
+
+TinyMCE_Engine.prototype.orgOpenWindow = TinyMCE_Engine.prototype.openWindow;
+TinyMCE_Engine.prototype.orgCloseWindow = TinyMCE_Engine.prototype.closeWindow;
+
+TinyMCE_Engine.prototype.openWindow = function(template, args) {
+	// Does the caller support inline
+	if (args['inline'] != "yes" || tinyMCE.isOpera || tinyMCE.getParam("plugins").indexOf('inlinepopups') == -1) {
+		mcWindows.selectedWindow = null;
+		args['mce_inside_iframe'] = false;
+		this.orgOpenWindow(template, args);
+		return;
+	}
+
+	var url, resizable, scrollbars;
+
+	args['mce_inside_iframe'] = true;
+	tinyMCE.windowArgs = args;
+
+	if (template['file'].charAt(0) != '/' && template['file'].indexOf('://') == -1)
+		url = tinyMCE.baseURL + "/themes/" + tinyMCE.getParam("theme") + "/" + template['file'];
+	else
+		url = template['file'];
+
+	if (!(width = parseInt(template['width'])))
+		width = 320;
+
+	if (!(height = parseInt(template['height'])))
+		height = 200;
+
+	if (!(minWidth = parseInt(template['minWidth'])))
+		minWidth = 100;
+
+	if (!(minHeight = parseInt(template['minHeight'])))
+		minHeight = 100;
+
+	resizable = (args && args['resizable']) ? args['resizable'] : "no";
+	scrollbars = (args && args['scrollbars']) ? args['scrollbars'] : "no";
+
+	height += 18;
+
+	// Replace all args as variables in URL
+	for (var name in args) {
+		if (typeof(args[name]) == 'function')
+			continue;
+
+		url = tinyMCE.replaceVar(url, name, escape(args[name]));
+	}
+
+	var elm = document.getElementById(this.selectedInstance.editorId + '_parent');
+
+	if (tinyMCE.hasPlugin('fullscreen') && this.selectedInstance.getData('fullscreen').enabled)
+		pos = { absLeft: 0, absTop: 0 };
+	else
+		pos = tinyMCE.getAbsPosition(elm);
+
+	// Center div in editor area
+	pos.absLeft += Math.round((elm.firstChild.clientWidth / 2) - (width / 2));
+	pos.absTop += Math.round((elm.firstChild.clientHeight / 2) - (height / 2));
+
+	mcWindows.open(url, mcWindows.idCounter++, "modal=yes,width=" + width+ ",height=" + height + ",resizable=" + resizable + ",scrollbars=" + scrollbars + ",statusbar=" + resizable + ",left=" + pos.absLeft + ",top=" + pos.absTop + ",minWidth=" + minWidth + ",minHeight=" + minHeight );
+};
+
+TinyMCE_Engine.prototype.closeWindow = function(win) {
+	var gotit = false, n, w;
+	for (n in mcWindows.windows) {
+		w = mcWindows.windows[n];
+		if (typeof(w) == 'function') continue;
+		if (win.name == w.id + '_iframe') {
+			w.close();
+			gotit = true;
+		}
+	}
+	if (!gotit)
+		this.orgCloseWindow(win);
+
+	tinyMCE.selectedInstance.getWin().focus(); 
+};
+
+TinyMCE_Engine.prototype.setWindowTitle = function(win_ref, title) {
+	for (var n in mcWindows.windows) {
+		var win = mcWindows.windows[n];
+		if (typeof(win) == 'function')
+			continue;
+
+		if (win_ref.name == win.id + "_iframe")
+			window.frames[win.id + "_iframe"].document.getElementById(win.id + '_title').innerHTML = title;
+	}
+};
+
+// * * * * * TinyMCE_Windows classes below
+
+// Windows handler
+function TinyMCE_Windows() {
+	this.settings = new Array();
+	this.windows = new Array();
+	this.isMSIE = (navigator.appName == "Microsoft Internet Explorer");
+	this.isGecko = navigator.userAgent.indexOf('Gecko') != -1;
+	this.isSafari = navigator.userAgent.indexOf('Safari') != -1;
+	this.isMac = navigator.userAgent.indexOf('Mac') != -1;
+	this.isMSIE5_0 = this.isMSIE && (navigator.userAgent.indexOf('MSIE 5.0') != -1);
+	this.action = "none";
+	this.selectedWindow = null;
+	this.lastSelectedWindow = null;
+	this.zindex = 1001;
+	this.mouseDownScreenX = 0;
+	this.mouseDownScreenY = 0;
+	this.mouseDownLayerX = 0;
+	this.mouseDownLayerY = 0;
+	this.mouseDownWidth = 0;
+	this.mouseDownHeight = 0;
+	this.idCounter = 0;
+};
+
+TinyMCE_Windows.prototype.init = function(settings) {
+	this.settings = settings;
+
+	if (this.isMSIE)
+		this.addEvent(document, "mousemove", mcWindows.eventDispatcher);
+	else
+		this.addEvent(window, "mousemove", mcWindows.eventDispatcher);
+
+	this.addEvent(document, "mouseup", mcWindows.eventDispatcher);
+
+	this.addEvent(window, "resize", mcWindows.eventDispatcher);
+	this.addEvent(document, "scroll", mcWindows.eventDispatcher);
+
+	this.doc = document;
+};
+
+TinyMCE_Windows.prototype.getBounds = function() {
+	if (!this.bounds) {
+		var vp = tinyMCE.getViewPort(window);
+		var top, left, bottom, right, docEl = this.doc.documentElement;
+
+		top    = vp.top;
+		left   = vp.left;
+		bottom = vp.height + top - 2;
+		right  = vp.width  + left - 22; // TODO this number is platform dependant
+		// x1, y1, x2, y2
+		this.bounds = [left, top, right, bottom];
+	}
+	return this.bounds;
+};
+
+TinyMCE_Windows.prototype.clampBoxPosition = function(x, y, w, h, minW, minH) {
+	var bounds = this.getBounds();
+
+	x = Math.max(bounds[0], Math.min(bounds[2], x + w) - w);
+	y = Math.max(bounds[1], Math.min(bounds[3], y + h) - h);
+
+	return this.clampBoxSize(x, y, w, h, minW, minH);
+};
+
+TinyMCE_Windows.prototype.clampBoxSize = function(x, y, w, h, minW, minH) {
+	var bounds = this.getBounds();
+
+	return [
+		x, y,
+		Math.max(minW, Math.min(bounds[2], x + w) - x),
+		Math.max(minH, Math.min(bounds[3], y + h) - y)
+	];
+};
+
+TinyMCE_Windows.prototype.getParam = function(name, default_value) {
+	var value = null;
+
+	value = (typeof(this.settings[name]) == "undefined") ? default_value : this.settings[name];
+
+	// Fix bool values
+	if (value == "true" || value == "false")
+		return (value == "true");
+
+	return value;
+};
+
+TinyMCE_Windows.prototype.eventDispatcher = function(e) {
+	e = typeof(e) == "undefined" ? window.event : e;
+
+	if (mcWindows.selectedWindow == null)
+		return;
+
+	// Switch focus
+	if (mcWindows.isGecko && e.type == "mousedown") {
+		var elm = e.currentTarget;
+
+		for (var n in mcWindows.windows) {
+			var win = mcWindows.windows[n];
+
+			if (win.headElement == elm || win.resizeElement == elm) {
+				win.focus();
+				break;
+			}
+		}
+	}
+
+	switch (e.type) {
+		case "mousemove":
+			mcWindows.selectedWindow.onMouseMove(e);
+			break;
+
+		case "mouseup":
+			mcWindows.selectedWindow.onMouseUp(e);
+			break;
+
+		case "mousedown":
+			mcWindows.selectedWindow.onMouseDown(e);
+			break;
+
+		case "focus":
+			mcWindows.selectedWindow.onFocus(e);
+			break;
+		case "scroll":
+		case "resize":
+			if (mcWindows.clampUpdateTimeout)
+				clearTimeout(mcWindows.clampUpdateTimeout);
+			mcWindows.clampEventType = e.type;
+			mcWindows.clampUpdateTimeout =
+				setTimeout(function () {mcWindows.updateClamping()}, 100);
+			break;
+	}
+};
+
+TinyMCE_Windows.prototype.updateClamping = function () {
+	var clamp, oversize, etype = mcWindows.clampEventType;
+
+	this.bounds = null; // Recalc window bounds on resize/scroll
+	this.clampUpdateTimeout = null;
+
+	for (var n in this.windows) {
+		win = this.windows[n];
+		if (typeof(win) == 'function' || ! win.winElement) continue;
+
+		clamp = mcWindows.clampBoxPosition(
+			win.left, win.top,
+			win.winElement.scrollWidth,
+			win.winElement.scrollHeight,
+			win.features.minWidth,
+			win.features.minHeight
+		);
+		oversize = (
+			clamp[2] != win.winElement.scrollWidth ||
+			clamp[3] != win.winElement.scrollHeight
+		) ? true : false;
+
+		if (!oversize || win.features.resizable == "yes" || etype != "scroll")
+			win.moveTo(clamp[0], clamp[1]);
+		if (oversize && win.features.resizable == "yes")
+			win.resizeTo(clamp[2], clamp[3]);
+	}
+};
+
+TinyMCE_Windows.prototype.addEvent = function(obj, name, handler) {
+	if (this.isMSIE)
+		obj.attachEvent("on" + name, handler);
+	else
+		obj.addEventListener(name, handler, false);
+};
+
+TinyMCE_Windows.prototype.cancelEvent = function(e) {
+	if (this.isMSIE) {
+		e.returnValue = false;
+		e.cancelBubble = true;
+	} else
+		e.preventDefault();
+};
+
+TinyMCE_Windows.prototype.parseFeatures = function(opts) {
+	// Cleanup the options
+	opts = opts.toLowerCase();
+	opts = opts.replace(/;/g, ",");
+	opts = opts.replace(/[^0-9a-z=,]/g, "");
+
+	var optionChunks = opts.split(',');
+	var options = new Array();
+
+	options['left'] = "10";
+	options['top'] = "10";
+	options['width'] = "300";
+	options['height'] = "300";
+	options['minwidth'] = "100";
+	options['minheight'] = "100";
+	options['resizable'] = "yes";
+	options['minimizable'] = "yes";
+	options['maximizable'] = "yes";
+	options['close'] = "yes";
+	options['movable'] = "yes";
+	options['statusbar'] = "yes";
+	options['scrollbars'] = "auto";
+	options['modal'] = "no";
+
+	if (opts == "")
+		return options;
+
+	for (var i=0; i<optionChunks.length; i++) {
+		var parts = optionChunks[i].split('=');
+
+		if (parts.length == 2)
+			options[parts[0]] = parts[1];
+	}
+
+	options['left'] = parseInt(options['left']);
+	options['top'] = parseInt(options['top']);
+	options['width'] = parseInt(options['width']);
+	options['height'] = parseInt(options['height']);
+	options['minWidth'] = parseInt(options['minwidth']);
+	options['minHeight'] = parseInt(options['minheight']);
+
+	return options;
+};
+
+TinyMCE_Windows.prototype.open = function(url, name, features) {
+	this.lastSelectedWindow = this.selectedWindow;
+
+	var win = new TinyMCE_Window();
+	var winDiv, html = "", id;
+	var imgPath = this.getParam("images_path");
+
+	features = this.parseFeatures(features);
+
+	// Clamp specified dimensions
+	var clamp = mcWindows.clampBoxPosition(
+		features['left'], features['top'],
+		features['width'], features['height'],
+		features['minWidth'], features['minHeight']
+	);
+
+	features['left'] = clamp[0];
+	features['top'] = clamp[1];
+
+	if (features['resizable'] == "yes") {
+		features['width'] = clamp[2];
+		features['height'] = clamp[3];
+	}
+
+	// Create div
+	id = "mcWindow_" + name;
+	win.deltaHeight = 18;
+
+	if (features['statusbar'] == "yes") {
+		win.deltaHeight += 13;
+
+		if (this.isMSIE)
+			win.deltaHeight += 1;
+	}
+
+	width = parseInt(features['width']);
+	height = parseInt(features['height'])-win.deltaHeight;
+
+	if (this.isMSIE)
+		width -= 2;
+
+	// Setup first part of window
+	win.id = id;
+	win.url = url;
+	win.name = name;
+	win.features = features;
+	this.windows[name] = win;
+
+	iframeWidth = width;
+	iframeHeight = height;
+
+	// Create inner content
+	html += '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">';
+	html += '<html>';
+	html += '<head>';
+	html += '<title>Wrapper iframe</title>';
+	html += '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">';
+	html += '<link href="' + this.getParam("css_file") + '" rel="stylesheet" type="text/css" />';
+	html += '</head>';
+	html += '<body onload="parent.mcWindows.onLoad(\'' + name + '\');">';
+
+	html += '<div id="' + id + '_container" class="mceWindow">';
+	html += '<div id="' + id + '_head" class="mceWindowHead" onmousedown="parent.mcWindows.windows[\'' + name + '\'].focus();">';
+	html += '  <div id="' + id + '_title" class="mceWindowTitle"';
+	html += '  onselectstart="return false;" unselectable="on" style="-moz-user-select: none !important;"></div>';
+	html += '    <div class="mceWindowHeadTools">';
+	html += '      <a href="javascript:parent.mcWindows.windows[\'' + name + '\'].close();" target="_self" onmousedown="return false;" class="mceWindowClose"><img border="0" src="' + imgPath + '/window_close.gif" /></a>';
+	if (features['resizable'] == "yes" && features['maximizable'] == "yes")
+		html += '      <a href="javascript:parent.mcWindows.windows[\'' + name + '\'].maximize();" target="_self" onmousedown="return false;" class="mceWindowMaximize"><img border="0" src="' + imgPath + '/window_maximize.gif" /></a>';
+	// html += '      <a href="javascript:mcWindows.windows[\'' + name + '\'].minimize();" target="_self" onmousedown="return false;" class="mceWindowMinimize"></a>';
+	html += '    </div>';
+	html += '</div><div id="' + id + '_body" class="mceWindowBody" style="width: ' + width + 'px; height: ' + height + 'px;">';
+	html += '<iframe id="' + id + '_iframe" name="' + id + '_iframe" frameborder="0" width="' + iframeWidth + '" height="' + iframeHeight + '" src="' + url + '" class="mceWindowBodyIframe" scrolling="' + features['scrollbars'] + '"></iframe></div>';
+
+	if (features['statusbar'] == "yes") {
+		html += '<div id="' + id + '_statusbar" class="mceWindowStatusbar" onmousedown="parent.mcWindows.windows[\'' + name + '\'].focus();">';
+
+		if (features['resizable'] == "yes") {
+			if (this.isGecko)
+				html += '<div id="' + id + '_resize" class="mceWindowResize"><div style="background-image: url(\'' + imgPath + '/window_resize.gif\'); width: 12px; height: 12px;"></div></div>';
+			else
+				html += '<div id="' + id + '_resize" class="mceWindowResize"><img onmousedown="parent.mcWindows.windows[\'' + name + '\'].focus();" border="0" src="' + imgPath + '/window_resize.gif" /></div>';
+		}
+
+		html += '</div>';
+	}
+
+	html += '</div>';
+
+	html += '</body>';
+	html += '</html>';
+
+	// Create iframe
+	this.createFloatingIFrame(id, features['left'], features['top'], features['width'], features['height'], html);
+};
+
+// Blocks the document events by placing a image over the whole document
+TinyMCE_Windows.prototype.setDocumentLock = function(state) {
+	var elm = document.getElementById('mcWindowEventBlocker');
+
+	if (state) {
+		if (elm == null) {
+			elm = document.createElement("div");
+
+			elm.id = "mcWindowEventBlocker";
+			elm.style.position = "absolute";
+			elm.style.left = "0";
+			elm.style.top = "0";
+
+			document.body.appendChild(elm);
+		}
+
+		elm.style.display = "none";
+
+		var imgPath = this.getParam("images_path");
+		var width = document.body.clientWidth;
+		var height = document.body.clientHeight;
+
+		elm.style.width = width;
+		elm.style.height = height;
+		elm.innerHTML = '<img src="' + imgPath + '/spacer.gif" width="' + width + '" height="' + height + '" />';
+
+		elm.style.zIndex = mcWindows.zindex-1;
+		elm.style.display = "block";
+	} else if (elm != null) {
+		if (mcWindows.windows.length == 0)
+			elm.parentNode.removeChild(elm);
+		else
+			elm.style.zIndex = mcWindows.zindex-1;
+	}
+};
+
+// Gets called when wrapper iframe is initialized
+TinyMCE_Windows.prototype.onLoad = function(name) {
+	var win = mcWindows.windows[name];
+	var id = "mcWindow_" + name;
+	var wrapperIframe = window.frames[id + "_iframe"].frames[0];
+	var wrapperDoc = window.frames[id + "_iframe"].document;
+	var doc = window.frames[id + "_iframe"].document;
+	var winDiv = document.getElementById("mcWindow_" + name + "_div");
+	var realIframe = window.frames[id + "_iframe"].frames[0];
+
+	// Set window data
+	win.id = "mcWindow_" + name;
+	win.winElement = winDiv;
+	win.bodyElement = doc.getElementById(id + '_body');
+	win.iframeElement = doc.getElementById(id + '_iframe');
+	win.headElement = doc.getElementById(id + '_head');
+	win.titleElement = doc.getElementById(id + '_title');
+	win.resizeElement = doc.getElementById(id + '_resize');
+	win.containerElement = doc.getElementById(id + '_container');
+	win.left = win.features['left'];
+	win.top = win.features['top'];
+	win.frame = window.frames[id + '_iframe'].frames[0];
+	win.wrapperFrame = window.frames[id + '_iframe'];
+	win.wrapperIFrameElement = document.getElementById(id + "_iframe");
+
+	// Add event handlers
+	mcWindows.addEvent(win.headElement, "mousedown", mcWindows.eventDispatcher);
+
+	if (win.resizeElement != null)
+		mcWindows.addEvent(win.resizeElement, "mousedown", mcWindows.eventDispatcher);
+
+	if (mcWindows.isMSIE) {
+		mcWindows.addEvent(realIframe.document, "mousemove", mcWindows.eventDispatcher);
+		mcWindows.addEvent(realIframe.document, "mouseup", mcWindows.eventDispatcher);
+	} else {
+		mcWindows.addEvent(realIframe, "mousemove", mcWindows.eventDispatcher);
+		mcWindows.addEvent(realIframe, "mouseup", mcWindows.eventDispatcher);
+		mcWindows.addEvent(realIframe, "focus", mcWindows.eventDispatcher);
+	}
+
+	for (var i=0; i<window.frames.length; i++) {
+		if (!window.frames[i]._hasMouseHandlers) {
+			if (mcWindows.isMSIE) {
+				mcWindows.addEvent(window.frames[i].document, "mousemove", mcWindows.eventDispatcher);
+				mcWindows.addEvent(window.frames[i].document, "mouseup", mcWindows.eventDispatcher);
+			} else {
+				mcWindows.addEvent(window.frames[i], "mousemove", mcWindows.eventDispatcher);
+				mcWindows.addEvent(window.frames[i], "mouseup", mcWindows.eventDispatcher);
+			}
+
+			window.frames[i]._hasMouseHandlers = true;
+		}
+	}
+
+	if (mcWindows.isMSIE) {
+		mcWindows.addEvent(win.frame.document, "mousemove", mcWindows.eventDispatcher);
+		mcWindows.addEvent(win.frame.document, "mouseup", mcWindows.eventDispatcher);
+	} else {
+		mcWindows.addEvent(win.frame, "mousemove", mcWindows.eventDispatcher);
+		mcWindows.addEvent(win.frame, "mouseup", mcWindows.eventDispatcher);
+		mcWindows.addEvent(win.frame, "focus", mcWindows.eventDispatcher);
+	}
+
+	// Dispatch open window event
+	var func = this.getParam("on_open_window", "");
+	if (func != "")
+		eval(func + "(win);");
+
+	win.focus();
+
+	if (win.features['modal'] == "yes")
+		mcWindows.setDocumentLock(true);
+};
+
+TinyMCE_Windows.prototype.createFloatingIFrame = function(id_prefix, left, top, width, height, html) {
+	var iframe = document.createElement("iframe");
+	var div = document.createElement("div"), doc;
+
+	width = parseInt(width);
+	height = parseInt(height)+1;
+
+	// Create wrapper div
+	div.setAttribute("id", id_prefix + "_div");
+	div.setAttribute("width", width);
+	div.setAttribute("height", (height));
+	div.style.position = "absolute";
+
+	div.style.left = left + "px";
+	div.style.top = top + "px";
+	div.style.width = width + "px";
+	div.style.height = (height) + "px";
+	div.style.backgroundColor = "white";
+	div.style.display = "none";
+
+	if (this.isGecko) {
+		iframeWidth = width + 2;
+		iframeHeight = height + 2;
+	} else {
+		iframeWidth = width;
+		iframeHeight = height + 1;
+	}
+
+	// Create iframe
+	iframe.setAttribute("id", id_prefix + "_iframe");
+	iframe.setAttribute("name", id_prefix + "_iframe");
+	iframe.setAttribute("border", "0");
+	iframe.setAttribute("frameBorder", "0");
+	iframe.setAttribute("marginWidth", "0");
+	iframe.setAttribute("marginHeight", "0");
+	iframe.setAttribute("leftMargin", "0");
+	iframe.setAttribute("topMargin", "0");
+	iframe.setAttribute("width", iframeWidth);
+	iframe.setAttribute("height", iframeHeight);
+	// iframe.setAttribute("src", "../jscripts/tiny_mce/blank.htm");
+	// iframe.setAttribute("allowtransparency", "false");
+	iframe.setAttribute("scrolling", "no");
+	iframe.style.width = iframeWidth + "px";
+	iframe.style.height = iframeHeight + "px";
+	iframe.style.backgroundColor = "white";
+	div.appendChild(iframe);
+
+	document.body.appendChild(div);
+
+	// Fixed MSIE 5.0 issue
+	div.innerHTML = div.innerHTML;
+
+	if (this.isSafari) {
+		// Give Safari some time to setup
+		window.setTimeout(function() {
+			var doc = window.frames[id_prefix + '_iframe'].document;
+			doc.open();
+			doc.write(html);
+			doc.close();
+		}, 10);
+	} else {
+		doc = window.frames[id_prefix + '_iframe'].window.document;
+		doc.open();
+		doc.write(html);
+		doc.close();
+	}
+
+	div.style.display = "block";
+
+	return div;
+};
+
+// Window instance
+function TinyMCE_Window() {
+};
+
+TinyMCE_Window.prototype.focus = function() {
+	if (this != mcWindows.selectedWindow) {
+		this.winElement.style.zIndex = ++mcWindows.zindex;
+		mcWindows.lastSelectedWindow = mcWindows.selectedWindow;
+		mcWindows.selectedWindow = this;
+	}
+};
+
+TinyMCE_Window.prototype.minimize = function() {
+};
+
+TinyMCE_Window.prototype.maximize = function() {
+	if (this.restoreSize) {
+		this.moveTo(this.restoreSize[0], this.restoreSize[1]);
+		this.resizeTo(this.restoreSize[2], this.restoreSize[3]);
+		this.updateClamping();
+		this.restoreSize = null;
+	} else {
+		var bounds = mcWindows.getBounds();
+		this.restoreSize = [
+			this.left, this.top,
+			this.winElement.scrollWidth,
+			this.winElement.scrollHeight
+		];
+		this.moveTo(bounds[0], bounds[1]);
+		this.resizeTo(
+			bounds[2] - bounds[0],
+			bounds[3] - bounds[1]
+		);
+	}
+};
+
+TinyMCE_Window.prototype.startResize = function() {
+	mcWindows.action = "resize";
+};
+
+TinyMCE_Window.prototype.startMove = function(e) {
+	mcWindows.action = "move";
+};
+
+TinyMCE_Window.prototype.close = function() {
+	if (this.frame && this.frame['tinyMCEPopup'])
+		this.frame['tinyMCEPopup'].restoreSelection();
+
+	if (mcWindows.lastSelectedWindow != null)
+		mcWindows.lastSelectedWindow.focus();
+
+	var mcWindowsNew = new Array();
+	for (var n in mcWindows.windows) {
+		var win = mcWindows.windows[n];
+		if (typeof(win) == 'function')
+			continue;
+
+		if (win.name != this.name)
+			mcWindowsNew[n] = win;
+	}
+
+	mcWindows.windows = mcWindowsNew;
+
+	// alert(mcWindows.doc.getElementById(this.id + "_iframe"));
+
+	var e = mcWindows.doc.getElementById(this.id + "_iframe");
+	e.parentNode.removeChild(e);
+
+	var e = mcWindows.doc.getElementById(this.id + "_div");
+	e.parentNode.removeChild(e);
+
+	mcWindows.setDocumentLock(false);
+};
+
+TinyMCE_Window.prototype.onMouseMove = function(e) {
+	var clamp;
+	// Calculate real X, Y
+	var dx = e.screenX - mcWindows.mouseDownScreenX;
+	var dy = e.screenY - mcWindows.mouseDownScreenY;
+
+	switch (mcWindows.action) {
+		case "resize":
+			clamp = mcWindows.clampBoxSize(
+				this.left, this.top,
+				mcWindows.mouseDownWidth + (e.screenX - mcWindows.mouseDownScreenX),
+				mcWindows.mouseDownHeight + (e.screenY - mcWindows.mouseDownScreenY),
+				this.features.minWidth, this.features.minHeight
+			);
+
+			this.resizeTo(clamp[2], clamp[3]);
+
+			mcWindows.cancelEvent(e);
+			break;
+
+		case "move":
+			this.left = mcWindows.mouseDownLayerX + (e.screenX - mcWindows.mouseDownScreenX);
+			this.top = mcWindows.mouseDownLayerY + (e.screenY - mcWindows.mouseDownScreenY);
+			this.updateClamping();
+
+			mcWindows.cancelEvent(e);
+			break;
+	}
+};
+
+TinyMCE_Window.prototype.moveTo = function (x, y) {
+	this.left = x;
+	this.top = y;
+
+	this.winElement.style.left = this.left + "px";
+	this.winElement.style.top = this.top + "px";
+};
+
+TinyMCE_Window.prototype.resizeTo = function (width, height) {
+	this.wrapperIFrameElement.style.width = (width+2) + 'px';
+	this.wrapperIFrameElement.style.height = (height+2) + 'px';
+	this.wrapperIFrameElement.width = width+2;
+	this.wrapperIFrameElement.height = height+2;
+	this.winElement.style.width = width + 'px';
+	this.winElement.style.height = height + 'px';
+
+	height = height - this.deltaHeight;
+
+	this.containerElement.style.width = width + 'px';
+	this.iframeElement.style.width = width + 'px';
+	this.iframeElement.style.height = height + 'px';
+	this.bodyElement.style.width = width + 'px';
+	this.bodyElement.style.height = height + 'px';
+	this.headElement.style.width = width + 'px';
+	//this.statusElement.style.width = width + 'px';
+};
+
+TinyMCE_Window.prototype.updateClamping = function () {
+	var clamp, oversize;
+
+	clamp = mcWindows.clampBoxPosition(
+		this.left, this.top,
+		this.winElement.scrollWidth,
+		this.winElement.scrollHeight,
+		this.features.minWidth, this.features.minHeight
+	);
+	oversize = (
+		clamp[2] != this.winElement.scrollWidth ||
+		clamp[3] != this.winElement.scrollHeight
+	) ? true : false;
+
+	this.moveTo(clamp[0], clamp[1]);
+	if (this.features.resizable == "yes" && oversize)
+		this.resizeTo(clamp[2], clamp[3]);
+};
+
+function debug(msg) {
+	document.getElementById('debug').value += msg + "\n";
+}
+
+TinyMCE_Window.prototype.onMouseUp = function(e) {
+	mcWindows.action = "none";
+};
+
+TinyMCE_Window.prototype.onFocus = function(e) {
+	// Gecko only handler
+	var winRef = e.currentTarget;
+
+	for (var n in mcWindows.windows) {
+		var win = mcWindows.windows[n];
+		if (typeof(win) == 'function')
+			continue;
+
+		if (winRef.name == win.id + "_iframe") {
+			win.focus();
+			return;
+		}
+	}
+};
+
+TinyMCE_Window.prototype.onMouseDown = function(e) {
+	var elm = mcWindows.isMSIE ? this.wrapperFrame.event.srcElement : e.target;
+
+	mcWindows.mouseDownScreenX = e.screenX;
+	mcWindows.mouseDownScreenY = e.screenY;
+	mcWindows.mouseDownLayerX = this.left;
+	mcWindows.mouseDownLayerY = this.top;
+	mcWindows.mouseDownWidth = parseInt(this.winElement.style.width);
+	mcWindows.mouseDownHeight = parseInt(this.winElement.style.height);
+
+	if (this.resizeElement != null && elm == this.resizeElement.firstChild)
+		this.startResize(e);
+	else
+		this.startMove(e);
+
+	mcWindows.cancelEvent(e);
+};
+
+// Global instance
+var mcWindows = new TinyMCE_Windows();
+
+// Initialize windows
+mcWindows.init({
+	images_path : tinyMCE.baseURL + "/plugins/inlinepopups/images",
+	css_file : tinyMCE.baseURL + "/plugins/inlinepopups/css/inlinepopup.css"
+});

Modified: plog/trunk/js/tinymce/plugins/insertdatetime/editor_plugin.js
===================================================================
--- plog/trunk/js/tinymce/plugins/insertdatetime/editor_plugin.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/plugins/insertdatetime/editor_plugin.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1 +1 @@
-tinyMCE.importPluginLanguagePack('insertdatetime');var TinyMCE_InsertDateTimePlugin={getInfo:function(){return{longname:'Insert date/time',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_insertdatetime.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"insertdate":return tinyMCE.getButtonHTML(cn,'lang_insertdate_desc','{$pluginurl}/images/insertdate.gif','mceInsertDate');case"inserttime":return tinyMCE.getButtonHTML(cn,'lang_inserttime_desc','{$pluginurl}/images/inserttime.gif','mceInsertTime')}return""},execCommand:function(editor_id,element,command,user_interface,value){function addZeros(value,len){value=""+value;if(value.length<len){for(var i=0;i<(len-value.length);i++)value="0"+value}return value}function getDateTime(d,fmt){fmt=fmt.replace("%D","%m/%d/%y");fmt=fmt.replace("%r","%I:%M:%S %p");fmt=fmt.replace("%Y",""+d.getFullYear());fmt=fmt.replace("%y",""+d.getYear());fmt=fmt.replace("%m",addZeros(d.getMonth()+1,2));fmt=fmt.replace("%d",addZeros(d.getDate(),2));fmt=fmt.replace("%H",""+addZeros(d.getHours(),2));fmt=fmt.replace("%M",""+addZeros(d.getMinutes(),2));fmt=fmt.replace("%S",""+addZeros(d.getSeconds(),2));fmt=fmt.replace("%I",""+((d.getHours()+11)%12+1));fmt=fmt.replace("%p",""+(d.getHours()<12?"AM":"PM"));fmt=fmt.replace("%B",""+tinyMCE.getLang("lang_inserttime_months_long")[d.getMonth()]);fmt=fmt.replace("%b",""+tinyMCE.getLang("lang_inserttime_months_short")[d.getMonth()]);fmt=fmt.replace("%A",""+tinyMCE.getLang("lang_inserttime_day_long")[d.getDay()]);fmt=fmt.replace("%a",""+tinyMCE.getLang("lang_inserttime_day_short")[d.getDay()]);fmt=fmt.replace("%%","%");return fmt}switch(command){case"mceInsertDate":tinyMCE.execInstanceCommand(editor_id,'mceInsertContent',false,getDateTime(new Date(),tinyMCE.getParam("plugin_insertdate_dateFormat",tinyMCE.getLang('lang_insertdate_def_fmt'))));return true;case"mceInsertTime":tinyMCE.execInstanceCommand(editor_id,'mceInsertContent',false,getDateTime(new Date(),tinyMCE.getParam("plugin_insertdate_timeFormat",tinyMCE.getLang('lang_inserttime_def_fmt'))));return true}return false}};tinyMCE.addPlugin("insertdatetime",TinyMCE_InsertDateTimePlugin);
\ No newline at end of file
+tinyMCE.importPluginLanguagePack('insertdatetime');var TinyMCE_InsertDateTimePlugin={getInfo:function(){return{longname:'Insert date/time',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/insertdatetime',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"insertdate":return tinyMCE.getButtonHTML(cn,'lang_insertdate_desc','{$pluginurl}/images/insertdate.gif','mceInsertDate');case"inserttime":return tinyMCE.getButtonHTML(cn,'lang_inserttime_desc','{$pluginurl}/images/inserttime.gif','mceInsertTime')}return""},execCommand:function(editor_id,element,command,user_interface,value){function addZeros(value,len){value=""+value;if(value.length<len){for(var i=0;i<(len-value.length);i++)value="0"+value}return value}function getDateTime(d,fmt){fmt=fmt.replace("%D","%m/%d/%y");fmt=fmt.replace("%r","%I:%M:%S %p");fmt=fmt.replace("%Y",""+d.getFullYear());fmt=fmt.replace("%y",""+d.getYear());fmt=fmt.replace("%m",addZeros(d.getMonth()+1,2));fmt=fmt.replace("%d",addZeros(d.getDate(),2));fmt=fmt.replace("%H",""+addZeros(d.getHours(),2));fmt=fmt.replace("%M",""+addZeros(d.getMinutes(),2));fmt=fmt.replace("%S",""+addZeros(d.getSeconds(),2));fmt=fmt.replace("%I",""+((d.getHours()+11)%12+1));fmt=fmt.replace("%p",""+(d.getHours()<12?"AM":"PM"));fmt=fmt.replace("%B",""+tinyMCE.getLang("lang_inserttime_months_long")[d.getMonth()]);fmt=fmt.replace("%b",""+tinyMCE.getLang("lang_inserttime_months_short")[d.getMonth()]);fmt=fmt.replace("%A",""+tinyMCE.getLang("lang_inserttime_day_long")[d.getDay()]);fmt=fmt.replace("%a",""+tinyMCE.getLang("lang_inserttime_day_short")[d.getDay()]);fmt=fmt.replace("%%","%");return fmt}switch(command){case"mceInsertDate":tinyMCE.execInstanceCommand(editor_id,'mceInsertContent',false,getDateTime(new Date(),tinyMCE.getParam("plugin_insertdate_dateFormat",tinyMCE.getLang('lang_insertdate_def_fmt'))));return true;case"mceInsertTime":tinyMCE.execInstanceCommand(editor_id,'mceInsertContent',false,getDateTime(new Date(),tinyMCE.getParam("plugin_insertdate_timeFormat",tinyMCE.getLang('lang_inserttime_def_fmt'))));return true}return false}};tinyMCE.addPlugin("insertdatetime",TinyMCE_InsertDateTimePlugin);
\ No newline at end of file

Modified: plog/trunk/js/tinymce/plugins/insertdatetime/editor_plugin_src.js
===================================================================
--- plog/trunk/js/tinymce/plugins/insertdatetime/editor_plugin_src.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/plugins/insertdatetime/editor_plugin_src.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,8 +1,8 @@
 /**
- * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ * $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $
  *
  * @author Moxiecode
- * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.
  */
 
 /* Import plugin specific language pack */
@@ -14,7 +14,7 @@
 			longname : 'Insert date/time',
 			author : 'Moxiecode Systems AB',
 			authorurl : 'http://tinymce.moxiecode.com',
-			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_insertdatetime.html',
+			infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/insertdatetime',
 			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
 		};
 	},

Modified: plog/trunk/js/tinymce/plugins/insertvideo/langs/en.js
===================================================================
--- plog/trunk/js/tinymce/plugins/insertvideo/langs/en.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/plugins/insertvideo/langs/en.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,5 @@
+// UK lang variables
+
+tinyMCE.addToLang('',{
+lang_insertvideo_desc : 'Insert Video'
+});

Modified: plog/trunk/js/tinymce/plugins/more/editor_plugin.js
===================================================================
--- plog/trunk/js/tinymce/plugins/more/editor_plugin.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/plugins/more/editor_plugin.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -40,7 +40,7 @@
         var whiteSpaceRegExp = new RegExp('^[ \n\r\t]+', 'g');
 
         if (attribute_string == null || attribute_string.length < 2)
-		return null;
+            return null;
 
         withInName = withInValue = false;
 
@@ -113,7 +113,7 @@
                      + 'alt="'+altMore+'" title="'+altMore+'" '
                      + 'class="mce_plugin_more_more" '
                      + 'name="mce_plugin_more_more" />';
-              tinyMCE.execCommand("mceInsertContent", true, html);
+              tinyMCE.execCommand("mceInsertRawHTML", false, html);
               tinyMCE.switchClass(editor_id + '_more', 
                                   'mceButtonSelected');
            }

Modified: plog/trunk/js/tinymce/plugins/table/editor_plugin.js
===================================================================
--- plog/trunk/js/tinymce/plugins/table/editor_plugin.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/plugins/table/editor_plugin.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1 +1 @@
-tinyMCE.importPluginLanguagePack('table');var TinyMCE_TablePlugin={getInfo:function(){return{longname:'Tables',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_table.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){if(tinyMCE.isGecko){var doc=inst.getDoc();tinyMCE.addEvent(doc,"mouseup",TinyMCE_TablePlugin._mouseDownHandler)}inst.tableRowClipboard=null},getControlHTML:function(control_name){var controls=new Array(['table','table.gif','lang_table_desc','mceInsertTable',true],['delete_table','table_delete.gif','lang_table_del','mceTableDelete'],['delete_col','table_delete_col.gif','lang_table_delete_col_desc','mceTableDeleteCol'],['delete_row','table_delete_row.gif','lang_table_delete_row_desc','mceTableDeleteRow'],['col_after','table_insert_col_after.gif','lang_table_col_after_desc','mceTableInsertColAfter'],['col_before','table_insert_col_before.gif','lang_table_col_before_desc','mceTableInsertColBefore'],['row_after','table_insert_row_after.gif','lang_table_row_after_desc','mceTableInsertRowAfter'],['row_before','table_insert_row_before.gif','lang_table_row_before_desc','mceTableInsertRowBefore'],['row_props','table_row_props.gif','lang_table_row_desc','mceTableRowProps',true],['cell_props','table_cell_props.gif','lang_table_cell_desc','mceTableCellProps',true],['split_cells','table_split_cells.gif','lang_table_split_cells_desc','mceTableSplitCells',true],['merge_cells','table_merge_cells.gif','lang_table_merge_cells_desc','mceTableMergeCells',true]);for(var i=0;i<controls.length;i++){var but=controls[i];var cmd='tinyMCE.execInstanceCommand(\'{$editor_id}\',\''+but[3]+'\', '+(but.length>4?but[4]:false)+(but.length>5?', \''+but[5]+'\'':'')+');return false;';if(but[0]==control_name)return tinyMCE.getButtonHTML(control_name,but[2],'{$pluginurl}/images/'+but[1],but[3],(but.length>4?but[4]:false))}if(control_name=="tablecontrols"){var html="";html+=tinyMCE.getControlHTML("table");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("row_props");html+=tinyMCE.getControlHTML("cell_props");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("row_before");html+=tinyMCE.getControlHTML("row_after");html+=tinyMCE.getControlHTML("delete_row");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("col_before");html+=tinyMCE.getControlHTML("col_after");html+=tinyMCE.getControlHTML("delete_col");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("split_cells");html+=tinyMCE.getControlHTML("merge_cells");return html}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceInsertTable":case"mceTableRowProps":case"mceTableCellProps":case"mceTableSplitCells":case"mceTableMergeCells":case"mceTableInsertRowBefore":case"mceTableInsertRowAfter":case"mceTableDeleteRow":case"mceTableInsertColBefore":case"mceTableInsertColAfter":case"mceTableDeleteCol":case"mceTableCutRow":case"mceTableCopyRow":case"mceTablePasteRowBefore":case"mceTablePasteRowAfter":case"mceTableDelete":var inst=tinyMCE.getInstanceById(editor_id);inst.execCommand('mceBeginUndoLevel');TinyMCE_TablePlugin._doExecCommand(editor_id,element,command,user_interface,value);inst.execCommand('mceEndUndoLevel');return true}return false},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){var colspan="1",rowspan="1",tdElm;var inst=tinyMCE.getInstanceById(editor_id);tinyMCE.switchClass(editor_id+'_table','mceButtonNormal');tinyMCE.switchClass(editor_id+'_delete_table','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_row_props','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_cell_props','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_row_before','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_row_after','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_delete_row','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_col_before','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_col_after','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_delete_col','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_split_cells','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_merge_cells','mceButtonDisabled');if(tdElm=tinyMCE.getParentElement(node,"td,th")){tinyMCE.switchClass(editor_id+'_cell_props','mceButtonSelected');tinyMCE.switchClass(editor_id+'_delete_table','mceButtonNormal');tinyMCE.switchClass(editor_id+'_row_before','mceButtonNormal');tinyMCE.switchClass(editor_id+'_row_after','mceButtonNormal');tinyMCE.switchClass(editor_id+'_delete_row','mceButtonNormal');tinyMCE.switchClass(editor_id+'_col_before','mceButtonNormal');tinyMCE.switchClass(editor_id+'_col_after','mceButtonNormal');tinyMCE.switchClass(editor_id+'_delete_col','mceButtonNormal');colspan=tinyMCE.getAttrib(tdElm,"colspan");rowspan=tinyMCE.getAttrib(tdElm,"rowspan");colspan=colspan==""?"1":colspan;rowspan=rowspan==""?"1":rowspan;if(colspan!="1"||rowspan!="1")tinyMCE.switchClass(editor_id+'_split_cells','mceButtonNormal')}if(tinyMCE.getParentElement(node,"tr"))tinyMCE.switchClass(editor_id+'_row_props','mceButtonSelected');if(tinyMCE.getParentElement(node,"table")){tinyMCE.switchClass(editor_id+'_table','mceButtonSelected');tinyMCE.switchClass(editor_id+'_merge_cells','mceButtonNormal')}},_mouseDownHandler:function(e){var elm=tinyMCE.isMSIE?event.srcElement:e.target;var focusElm=tinyMCE.selectedInstance.getFocusElement();if(elm.nodeName=="BODY"&&(focusElm.nodeName=="TD"||focusElm.nodeName=="TH"||(focusElm.parentNode&&focusElm.parentNode.nodeName=="TD")||(focusElm.parentNode&&focusElm.parentNode.nodeName=="TH"))){window.setTimeout(function(){var tableElm=tinyMCE.getParentElement(focusElm,"table");tinyMCE.handleVisualAid(tableElm,true,tinyMCE.settings['visual'],tinyMCE.selectedInstance)},10)}},_doExecCommand:function(editor_id,element,command,user_interface,value){var inst=tinyMCE.getInstanceById(editor_id);var focusElm=inst.getFocusElement();var trElm=tinyMCE.getParentElement(focusElm,"tr");var tdElm=tinyMCE.getParentElement(focusElm,"td,th");var tableElm=tinyMCE.getParentElement(focusElm,"table");var doc=inst.contentWindow.document;var tableBorder=tableElm?tableElm.getAttribute("border"):"";if(trElm&&tdElm==null)tdElm=trElm.cells[0];function inArray(ar,v){for(var i=0;i<ar.length;i++){if(ar[i].length>0&&inArray(ar[i],v))return true;if(ar[i]==v)return true}return false}function makeTD(){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;"}function getColRowSpan(td){var colspan=tinyMCE.getAttrib(td,"colspan");var rowspan=tinyMCE.getAttrib(td,"rowspan");colspan=colspan==""?1:parseInt(colspan);rowspan=rowspan==""?1:parseInt(rowspan);return{colspan:colspan,rowspan:rowspan}}function getCellPos(grid,td){var x,y;for(y=0;y<grid.length;y++){for(x=0;x<grid[y].length;x++){if(grid[y][x]==td)return{cellindex:x,rowindex:y}}}return null}function getCell(grid,row,col){if(grid[row]&&grid[row][col])return grid[row][col];return null}function getTableGrid(table){var grid=new Array(),rows=table.rows,x,y,td,sd,xstart,x2,y2;for(y=0;y<rows.length;y++){for(x=0;x<rows[y].cells.length;x++){td=rows[y].cells[x];sd=getColRowSpan(td);for(xstart=x;grid[y]&&grid[y][xstart];xstart++);for(y2=y;y2<y+sd['rowspan'];y2++){if(!grid[y2])grid[y2]=new Array();for(x2=xstart;x2<xstart+sd['colspan'];x2++)grid[y2][x2]=td}}}return grid}function trimRow(table,tr,td,new_tr){var grid=getTableGrid(table),cpos=getCellPos(grid,td);var cells,lastElm;if(new_tr.cells.length!=tr.childNodes.length){cells=tr.childNodes;lastElm=null;for(var x=0;td=getCell(grid,cpos.rowindex,x);x++){var remove=true;var sd=getColRowSpan(td);if(inArray(cells,td)){new_tr.childNodes[x]._delete=true}else if((lastElm==null||td!=lastElm)&&sd.colspan>1){for(var i=x;i<x+td.colSpan;i++)new_tr.childNodes[i]._delete=true}if((lastElm==null||td!=lastElm)&&sd.rowspan>1)td.rowSpan=sd.rowspan+1;lastElm=td}deleteMarked(tableElm)}}function prevElm(node,name){while((node=node.previousSibling)!=null){if(node.nodeName==name)return node}return null}function nextElm(node,names){var namesAr=names.split(',');while((node=node.nextSibling)!=null){for(var i=0;i<namesAr.length;i++){if(node.nodeName.toLowerCase()==namesAr[i].toLowerCase())return node}}return null}function deleteMarked(tbl){if(tbl.rows==0)return;var tr=tbl.rows[0];do{var next=nextElm(tr,"TR");if(tr._delete){tr.parentNode.removeChild(tr);continue}var td=tr.cells[0];if(td.cells>1){do{var nexttd=nextElm(td,"TD,TH");if(td._delete)td.parentNode.removeChild(td)}while((td=nexttd)!=null)}}while((tr=next)!=null)}function addRows(td_elm,tr_elm,rowspan){td_elm.rowSpan=1;var trNext=nextElm(tr_elm,"TR");for(var i=1;i<rowspan&&trNext;i++){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";if(tinyMCE.isMSIE)trNext.insertBefore(newTD,trNext.cells(td_elm.cellIndex));else trNext.insertBefore(newTD,trNext.cells[td_elm.cellIndex]);trNext=nextElm(trNext,"TR")}}function copyRow(doc,table,tr){var grid=getTableGrid(table);var newTR=tr.cloneNode(false);var cpos=getCellPos(grid,tr.cells[0]);var lastCell=null;var tableBorder=tinyMCE.getAttrib(table,"border");var tdElm=null;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){var newTD=null;if(lastCell!=tdElm){for(var i=0;i<tr.cells.length;i++){if(tdElm==tr.cells[i]){newTD=tdElm.cloneNode(true);break}}}if(newTD==null){newTD=doc.createElement("td");newTD.innerHTML="&nbsp;"}newTD.colSpan=1;newTD.rowSpan=1;newTR.appendChild(newTD);lastCell=tdElm}return newTR}switch(command){case"mceTableRowProps":if(trElm==null)return true;if(user_interface){var template=new Array();template['file']='../../plugins/table/row.htm';template['width']=380;template['height']=295;template['width']+=tinyMCE.getLang('lang_table_rowprops_delta_width',0);template['height']+=tinyMCE.getLang('lang_table_rowprops_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes"})}return true;case"mceTableCellProps":if(tdElm==null)return true;if(user_interface){var template=new Array();template['file']='../../plugins/table/cell.htm';template['width']=380;template['height']=295;template['width']+=tinyMCE.getLang('lang_table_cellprops_delta_width',0);template['height']+=tinyMCE.getLang('lang_table_cellprops_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes"})}return true;case"mceInsertTable":if(user_interface){var template=new Array();template['file']='../../plugins/table/table.htm';template['width']=380;template['height']=295;template['width']+=tinyMCE.getLang('lang_table_table_delta_width',0);template['height']+=tinyMCE.getLang('lang_table_table_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes",action:value})}return true;case"mceTableDelete":var table=tinyMCE.getParentElement(inst.getFocusElement(),"table");if(table){table.parentNode.removeChild(table);inst.repaint()}return true;case"mceTableSplitCells":case"mceTableMergeCells":case"mceTableInsertRowBefore":case"mceTableInsertRowAfter":case"mceTableDeleteRow":case"mceTableInsertColBefore":case"mceTableInsertColAfter":case"mceTableDeleteCol":case"mceTableCutRow":case"mceTableCopyRow":case"mceTablePasteRowBefore":case"mceTablePasteRowAfter":if(!tableElm)return true;if(trElm&&tableElm!=trElm.parentNode)tableElm=trElm.parentNode;if(tableElm&&trElm){switch(command){case"mceTableCutRow":if(!trElm||!tdElm)return true;inst.tableRowClipboard=copyRow(doc,tableElm,trElm);inst.execCommand("mceTableDeleteRow");break;case"mceTableCopyRow":if(!trElm||!tdElm)return true;inst.tableRowClipboard=copyRow(doc,tableElm,trElm);break;case"mceTablePasteRowBefore":if(!trElm||!tdElm)return true;var newTR=inst.tableRowClipboard.cloneNode(true);var prevTR=prevElm(trElm,"TR");if(prevTR!=null)trimRow(tableElm,prevTR,prevTR.cells[0],newTR);trElm.parentNode.insertBefore(newTR,trElm);break;case"mceTablePasteRowAfter":if(!trElm||!tdElm)return true;var nextTR=nextElm(trElm,"TR");var newTR=inst.tableRowClipboard.cloneNode(true);trimRow(tableElm,trElm,tdElm,newTR);if(nextTR==null)trElm.parentNode.appendChild(newTR);else nextTR.parentNode.insertBefore(newTR,nextTR);break;case"mceTableInsertRowBefore":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var newTR=doc.createElement("tr");var lastTDElm=null;cpos.rowindex--;if(cpos.rowindex<0)cpos.rowindex=0;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['rowspan']==1){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";newTD.colSpan=tdElm.colSpan;newTR.appendChild(newTD)}else tdElm.rowSpan=sd['rowspan']+1;lastTDElm=tdElm}}trElm.parentNode.insertBefore(newTR,trElm);grid=getTableGrid(tableElm);inst.selection.selectNode(getCell(grid,cpos.rowindex+1,cpos.cellindex),tinyMCE.isGecko,true);break;case"mceTableInsertRowAfter":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var newTR=doc.createElement("tr");var lastTDElm=null;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['rowspan']==1){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";newTD.colSpan=tdElm.colSpan;newTR.appendChild(newTD)}else tdElm.rowSpan=sd['rowspan']+1;lastTDElm=tdElm}}if(newTR.hasChildNodes()){var nextTR=nextElm(trElm,"TR");if(nextTR)nextTR.parentNode.insertBefore(newTR,nextTR);else tableElm.appendChild(newTR)}grid=getTableGrid(tableElm);inst.selection.selectNode(getCell(grid,cpos.rowindex,cpos.cellindex),tinyMCE.isGecko,true);break;case"mceTableDeleteRow":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);if(grid.length==1){tableElm=tinyMCE.getParentElement(tableElm,"table");tableElm.parentNode.removeChild(tableElm);return true}var cells=trElm.cells;var nextTR=nextElm(trElm,"TR");for(var x=0;x<cells.length;x++){if(cells[x].rowSpan>1){var newTD=cells[x].cloneNode(true);var sd=getColRowSpan(cells[x]);newTD.rowSpan=sd.rowspan-1;var nextTD=nextTR.cells[x];if(nextTD==null)nextTR.appendChild(newTD);else nextTR.insertBefore(newTD,nextTD)}}var lastTDElm=null;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd.rowspan>1){tdElm.rowSpan=sd.rowspan-1}else{trElm=tdElm.parentNode;if(trElm.parentNode)trElm._delete=true}lastTDElm=tdElm}}deleteMarked(tableElm);cpos.rowindex--;if(cpos.rowindex<0)cpos.rowindex=0;grid=getTableGrid(tableElm);inst.selection.selectNode(getCell(grid,cpos.rowindex,0),tinyMCE.isGecko,true);break;case"mceTableInsertColBefore":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']==1){var newTD=doc.createElement(tdElm.nodeName);newTD.innerHTML="&nbsp;";newTD.rowSpan=tdElm.rowSpan;tdElm.parentNode.insertBefore(newTD,tdElm)}else tdElm.colSpan++;lastTDElm=tdElm}}grid=getTableGrid(tableElm);inst.selection.selectNode(getCell(grid,cpos.rowindex,cpos.cellindex+1),tinyMCE.isGecko,true);break;case"mceTableInsertColAfter":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']==1){var newTD=doc.createElement(tdElm.nodeName);newTD.innerHTML="&nbsp;";newTD.rowSpan=tdElm.rowSpan;var nextTD=nextElm(tdElm,"TD,TH");if(nextTD==null)tdElm.parentNode.appendChild(newTD);else nextTD.parentNode.insertBefore(newTD,nextTD)}else tdElm.colSpan++;lastTDElm=tdElm}}grid=getTableGrid(tableElm);inst.selection.selectNode(getCell(grid,cpos.rowindex,cpos.cellindex),tinyMCE.isGecko,true);break;case"mceTableDeleteCol":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;if(grid.length>1&&grid[0].length<=1){tableElm=tinyMCE.getParentElement(tableElm,"table");tableElm.parentNode.removeChild(tableElm);return true}for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']>1)tdElm.colSpan=sd['colspan']-1;else{if(tdElm.parentNode)tdElm.parentNode.removeChild(tdElm)}lastTDElm=tdElm}}cpos.cellindex--;if(cpos.cellindex<0)cpos.cellindex=0;grid=getTableGrid(tableElm);inst.selection.selectNode(getCell(grid,cpos.rowindex,0),tinyMCE.isGecko,true);break;case"mceTableSplitCells":if(!trElm||!tdElm)return true;var spandata=getColRowSpan(tdElm);var colspan=spandata["colspan"];var rowspan=spandata["rowspan"];if(colspan>1||rowspan>1){tdElm.colSpan=1;for(var i=1;i<colspan;i++){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";trElm.insertBefore(newTD,nextElm(tdElm,"TD,TH"));if(rowspan>1)addRows(newTD,trElm,rowspan)}addRows(tdElm,trElm,rowspan)}tableElm=tinyMCE.getParentElement(inst.getFocusElement(),"table");break;case"mceTableMergeCells":var rows=new Array();var sel=inst.getSel();var grid=getTableGrid(tableElm);if(tinyMCE.isMSIE||sel.rangeCount==1){if(user_interface){var template=new Array();var sp=getColRowSpan(tdElm);template['file']='../../plugins/table/merge_cells.htm';template['width']=250;template['height']=105+(tinyMCE.isNS7?25:0);template['width']+=tinyMCE.getLang('lang_table_merge_cells_delta_width',0);template['height']+=tinyMCE.getLang('lang_table_merge_cells_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes",action:"update",numcols:sp.colspan,numrows:sp.rowspan});return true}else{var numRows=parseInt(value['numrows']);var numCols=parseInt(value['numcols']);var cpos=getCellPos(grid,tdElm);if((""+numRows)=="NaN")numRows=1;if((""+numCols)=="NaN")numCols=1;var tRows=tableElm.rows;for(var y=cpos.rowindex;y<grid.length;y++){var rowCells=new Array();for(var x=cpos.cellindex;x<grid[y].length;x++){var td=getCell(grid,y,x);if(td&&!inArray(rows,td)&&!inArray(rowCells,td)){var cp=getCellPos(grid,td);if(cp.cellindex<cpos.cellindex+numCols&&cp.rowindex<cpos.rowindex+numRows)rowCells[rowCells.length]=td}}if(rowCells.length>0)rows[rows.length]=rowCells}}}else{var cells=new Array();var sel=inst.getSel();var lastTR=null;var curRow=null;var x1=-1,y1=-1,x2,y2;if(sel.rangeCount<2)return true;for(var i=0;i<sel.rangeCount;i++){var rng=sel.getRangeAt(i);var tdElm=rng.startContainer.childNodes[rng.startOffset];if(!tdElm)break;if(tdElm.nodeName=="TD")cells[cells.length]=tdElm}var tRows=tableElm.rows;for(var y=0;y<tRows.length;y++){var rowCells=new Array();for(var x=0;x<tRows[y].cells.length;x++){var td=tRows[y].cells[x];for(var i=0;i<cells.length;i++){if(td==cells[i]){rowCells[rowCells.length]=td}}}if(rowCells.length>0)rows[rows.length]=rowCells}var curRow=new Array();var lastTR=null;for(var y=0;y<grid.length;y++){for(var x=0;x<grid[y].length;x++){grid[y][x]._selected=false;for(var i=0;i<cells.length;i++){if(grid[y][x]==cells[i]){if(x1==-1){x1=x;y1=y}x2=x;y2=y;grid[y][x]._selected=true}}}}for(var y=y1;y<=y2;y++){for(var x=x1;x<=x2;x++){if(!grid[y][x]._selected){alert("Invalid selection for merge.");return true}}}}var rowSpan=1,colSpan=1;var lastRowSpan=-1;for(var y=0;y<rows.length;y++){var rowColSpan=0;for(var x=0;x<rows[y].length;x++){var sd=getColRowSpan(rows[y][x]);rowColSpan+=sd['colspan'];if(lastRowSpan!=-1&&sd['rowspan']!=lastRowSpan){alert("Invalid selection for merge.");return true}lastRowSpan=sd['rowspan']}if(rowColSpan>colSpan)colSpan=rowColSpan;lastRowSpan=-1}var lastColSpan=-1;for(var x=0;x<rows[0].length;x++){var colRowSpan=0;for(var y=0;y<rows.length;y++){var sd=getColRowSpan(rows[y][x]);colRowSpan+=sd['rowspan'];if(lastColSpan!=-1&&sd['colspan']!=lastColSpan){alert("Invalid selection for merge.");return true}lastColSpan=sd['colspan']}if(colRowSpan>rowSpan)rowSpan=colRowSpan;lastColSpan=-1}tdElm=rows[0][0];tdElm.rowSpan=rowSpan;tdElm.colSpan=colSpan;for(var y=0;y<rows.length;y++){for(var x=0;x<rows[y].length;x++){var html=rows[y][x].innerHTML;var chk=tinyMCE.regexpReplace(html,"[ \t\r\n]","");if(chk!="<br/>"&&chk!="<br>"&&chk!="&nbsp;"&&(x+y>0))tdElm.innerHTML+=html;if(rows[y][x]!=tdElm&&!rows[y][x]._deleted){var cpos=getCellPos(grid,rows[y][x]);var tr=rows[y][x].parentNode;tr.removeChild(rows[y][x]);rows[y][x]._deleted=true;if(!tr.hasChildNodes()){tr.parentNode.removeChild(tr);var lastCell=null;for(var x=0;cellElm=getCell(grid,cpos.rowindex,x);x++){if(cellElm!=lastCell&&cellElm.rowSpan>1)cellElm.rowSpan--;lastCell=cellElm}if(tdElm.rowSpan>1)tdElm.rowSpan--}}}}break}tableElm=tinyMCE.getParentElement(inst.getFocusElement(),"table");tinyMCE.handleVisualAid(tableElm,true,tinyMCE.settings['visual'],tinyMCE.selectedInstance);tinyMCE.triggerNodeChange();inst.repaint()}return true}return false}};tinyMCE.addPlugin("table",TinyMCE_TablePlugin);
\ No newline at end of file
+tinyMCE.importPluginLanguagePack('table');var TinyMCE_TablePlugin={getInfo:function(){return{longname:'Tables',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/table',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},initInstance:function(inst){if(tinyMCE.isGecko){var doc=inst.getDoc();tinyMCE.addEvent(doc,"mouseup",TinyMCE_TablePlugin._mouseDownHandler)}inst.tableRowClipboard=null},getControlHTML:function(control_name){var controls=new Array(['table','table.gif','lang_table_desc','mceInsertTable',true],['delete_table','table_delete.gif','lang_table_del','mceTableDelete'],['delete_col','table_delete_col.gif','lang_table_delete_col_desc','mceTableDeleteCol'],['delete_row','table_delete_row.gif','lang_table_delete_row_desc','mceTableDeleteRow'],['col_after','table_insert_col_after.gif','lang_table_col_after_desc','mceTableInsertColAfter'],['col_before','table_insert_col_before.gif','lang_table_col_before_desc','mceTableInsertColBefore'],['row_after','table_insert_row_after.gif','lang_table_row_after_desc','mceTableInsertRowAfter'],['row_before','table_insert_row_before.gif','lang_table_row_before_desc','mceTableInsertRowBefore'],['row_props','table_row_props.gif','lang_table_row_desc','mceTableRowProps',true],['cell_props','table_cell_props.gif','lang_table_cell_desc','mceTableCellProps',true],['split_cells','table_split_cells.gif','lang_table_split_cells_desc','mceTableSplitCells',true],['merge_cells','table_merge_cells.gif','lang_table_merge_cells_desc','mceTableMergeCells',true]);for(var i=0;i<controls.length;i++){var but=controls[i];var cmd='tinyMCE.execInstanceCommand(\'{$editor_id}\',\''+but[3]+'\', '+(but.length>4?but[4]:false)+(but.length>5?', \''+but[5]+'\'':'')+');return false;';if(but[0]==control_name)return tinyMCE.getButtonHTML(control_name,but[2],'{$pluginurl}/images/'+but[1],but[3],(but.length>4?but[4]:false))}if(control_name=="tablecontrols"){var html="";html+=tinyMCE.getControlHTML("table");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("row_props");html+=tinyMCE.getControlHTML("cell_props");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("row_before");html+=tinyMCE.getControlHTML("row_after");html+=tinyMCE.getControlHTML("delete_row");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("col_before");html+=tinyMCE.getControlHTML("col_after");html+=tinyMCE.getControlHTML("delete_col");html+=tinyMCE.getControlHTML("separator");html+=tinyMCE.getControlHTML("split_cells");html+=tinyMCE.getControlHTML("merge_cells");return html}return""},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceInsertTable":case"mceTableRowProps":case"mceTableCellProps":case"mceTableSplitCells":case"mceTableMergeCells":case"mceTableInsertRowBefore":case"mceTableInsertRowAfter":case"mceTableDeleteRow":case"mceTableInsertColBefore":case"mceTableInsertColAfter":case"mceTableDeleteCol":case"mceTableCutRow":case"mceTableCopyRow":case"mceTablePasteRowBefore":case"mceTablePasteRowAfter":case"mceTableDelete":var inst=tinyMCE.getInstanceById(editor_id);inst.execCommand('mceBeginUndoLevel');TinyMCE_TablePlugin._doExecCommand(editor_id,element,command,user_interface,value);inst.execCommand('mceEndUndoLevel');return true}return false},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){var colspan="1",rowspan="1",tdElm;var inst=tinyMCE.getInstanceById(editor_id);tinyMCE.switchClass(editor_id+'_table','mceButtonNormal');tinyMCE.switchClass(editor_id+'_delete_table','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_row_props','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_cell_props','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_row_before','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_row_after','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_delete_row','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_col_before','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_col_after','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_delete_col','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_split_cells','mceButtonDisabled');tinyMCE.switchClass(editor_id+'_merge_cells','mceButtonDisabled');if(tdElm=tinyMCE.getParentElement(node,"td,th")){tinyMCE.switchClass(editor_id+'_cell_props','mceButtonSelected');tinyMCE.switchClass(editor_id+'_delete_table','mceButtonNormal');tinyMCE.switchClass(editor_id+'_row_before','mceButtonNormal');tinyMCE.switchClass(editor_id+'_row_after','mceButtonNormal');tinyMCE.switchClass(editor_id+'_delete_row','mceButtonNormal');tinyMCE.switchClass(editor_id+'_col_before','mceButtonNormal');tinyMCE.switchClass(editor_id+'_col_after','mceButtonNormal');tinyMCE.switchClass(editor_id+'_delete_col','mceButtonNormal');colspan=tinyMCE.getAttrib(tdElm,"colspan");rowspan=tinyMCE.getAttrib(tdElm,"rowspan");colspan=colspan==""?"1":colspan;rowspan=rowspan==""?"1":rowspan;if(colspan!="1"||rowspan!="1")tinyMCE.switchClass(editor_id+'_split_cells','mceButtonNormal')}if(tinyMCE.getParentElement(node,"tr"))tinyMCE.switchClass(editor_id+'_row_props','mceButtonSelected');if(tinyMCE.getParentElement(node,"table")){tinyMCE.switchClass(editor_id+'_table','mceButtonSelected');tinyMCE.switchClass(editor_id+'_merge_cells','mceButtonNormal')}},_mouseDownHandler:function(e){var elm=tinyMCE.isMSIE?event.srcElement:e.target;var focusElm=tinyMCE.selectedInstance.getFocusElement();if(elm.nodeName=="BODY"&&(focusElm.nodeName=="TD"||focusElm.nodeName=="TH"||(focusElm.parentNode&&focusElm.parentNode.nodeName=="TD")||(focusElm.parentNode&&focusElm.parentNode.nodeName=="TH"))){window.setTimeout(function(){var tableElm=tinyMCE.getParentElement(focusElm,"table");tinyMCE.handleVisualAid(tableElm,true,tinyMCE.settings['visual'],tinyMCE.selectedInstance)},10)}},_doExecCommand:function(editor_id,element,command,user_interface,value){var inst=tinyMCE.getInstanceById(editor_id);var focusElm=inst.getFocusElement();var trElm=tinyMCE.getParentElement(focusElm,"tr");var tdElm=tinyMCE.getParentElement(focusElm,"td,th");var tableElm=tinyMCE.getParentElement(focusElm,"table");var doc=inst.contentWindow.document;var tableBorder=tableElm?tableElm.getAttribute("border"):"";if(trElm&&tdElm==null)tdElm=trElm.cells[0];function inArray(ar,v){for(var i=0;i<ar.length;i++){if(ar[i].length>0&&inArray(ar[i],v))return true;if(ar[i]==v)return true}return false}function makeTD(){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;"}function getColRowSpan(td){var colspan=tinyMCE.getAttrib(td,"colspan");var rowspan=tinyMCE.getAttrib(td,"rowspan");colspan=colspan==""?1:parseInt(colspan);rowspan=rowspan==""?1:parseInt(rowspan);return{colspan:colspan,rowspan:rowspan}}function getCellPos(grid,td){var x,y;for(y=0;y<grid.length;y++){for(x=0;x<grid[y].length;x++){if(grid[y][x]==td)return{cellindex:x,rowindex:y}}}return null}function getCell(grid,row,col){if(grid[row]&&grid[row][col])return grid[row][col];return null}function getTableGrid(table){var grid=new Array(),rows=table.rows,x,y,td,sd,xstart,x2,y2;for(y=0;y<rows.length;y++){for(x=0;x<rows[y].cells.length;x++){td=rows[y].cells[x];sd=getColRowSpan(td);for(xstart=x;grid[y]&&grid[y][xstart];xstart++);for(y2=y;y2<y+sd['rowspan'];y2++){if(!grid[y2])grid[y2]=new Array();for(x2=xstart;x2<xstart+sd['colspan'];x2++)grid[y2][x2]=td}}}return grid}function trimRow(table,tr,td,new_tr){var grid=getTableGrid(table),cpos=getCellPos(grid,td);var cells,lastElm;if(new_tr.cells.length!=tr.childNodes.length){cells=tr.childNodes;lastElm=null;for(var x=0;td=getCell(grid,cpos.rowindex,x);x++){var remove=true;var sd=getColRowSpan(td);if(inArray(cells,td)){new_tr.childNodes[x]._delete=true}else if((lastElm==null||td!=lastElm)&&sd.colspan>1){for(var i=x;i<x+td.colSpan;i++)new_tr.childNodes[i]._delete=true}if((lastElm==null||td!=lastElm)&&sd.rowspan>1)td.rowSpan=sd.rowspan+1;lastElm=td}deleteMarked(tableElm)}}function prevElm(node,name){while((node=node.previousSibling)!=null){if(node.nodeName==name)return node}return null}function nextElm(node,names){var namesAr=names.split(',');while((node=node.nextSibling)!=null){for(var i=0;i<namesAr.length;i++){if(node.nodeName.toLowerCase()==namesAr[i].toLowerCase())return node}}return null}function deleteMarked(tbl){if(tbl.rows==0)return;var tr=tbl.rows[0];do{var next=nextElm(tr,"TR");if(tr._delete){tr.parentNode.removeChild(tr);continue}var td=tr.cells[0];if(td.cells>1){do{var nexttd=nextElm(td,"TD,TH");if(td._delete)td.parentNode.removeChild(td)}while((td=nexttd)!=null)}}while((tr=next)!=null)}function addRows(td_elm,tr_elm,rowspan){td_elm.rowSpan=1;var trNext=nextElm(tr_elm,"TR");for(var i=1;i<rowspan&&trNext;i++){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";if(tinyMCE.isMSIE)trNext.insertBefore(newTD,trNext.cells(td_elm.cellIndex));else trNext.insertBefore(newTD,trNext.cells[td_elm.cellIndex]);trNext=nextElm(trNext,"TR")}}function copyRow(doc,table,tr){var grid=getTableGrid(table);var newTR=tr.cloneNode(false);var cpos=getCellPos(grid,tr.cells[0]);var lastCell=null;var tableBorder=tinyMCE.getAttrib(table,"border");var tdElm=null;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){var newTD=null;if(lastCell!=tdElm){for(var i=0;i<tr.cells.length;i++){if(tdElm==tr.cells[i]){newTD=tdElm.cloneNode(true);break}}}if(newTD==null){newTD=doc.createElement("td");newTD.innerHTML="&nbsp;"}newTD.colSpan=1;newTD.rowSpan=1;newTR.appendChild(newTD);lastCell=tdElm}return newTR}switch(command){case"mceTableRowProps":if(trElm==null)return true;if(user_interface){var template=new Array();template['file']='../../plugins/table/row.htm';template['width']=380;template['height']=295;template['width']+=tinyMCE.getLang('lang_table_rowprops_delta_width',0);template['height']+=tinyMCE.getLang('lang_table_rowprops_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes"})}return true;case"mceTableCellProps":if(tdElm==null)return true;if(user_interface){var template=new Array();template['file']='../../plugins/table/cell.htm';template['width']=380;template['height']=295;template['width']+=tinyMCE.getLang('lang_table_cellprops_delta_width',0);template['height']+=tinyMCE.getLang('lang_table_cellprops_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes"})}return true;case"mceInsertTable":if(user_interface){var template=new Array();template['file']='../../plugins/table/table.htm';template['width']=380;template['height']=295;template['width']+=tinyMCE.getLang('lang_table_table_delta_width',0);template['height']+=tinyMCE.getLang('lang_table_table_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes",action:value})}return true;case"mceTableDelete":var table=tinyMCE.getParentElement(inst.getFocusElement(),"table");if(table){table.parentNode.removeChild(table);inst.repaint()}return true;case"mceTableSplitCells":case"mceTableMergeCells":case"mceTableInsertRowBefore":case"mceTableInsertRowAfter":case"mceTableDeleteRow":case"mceTableInsertColBefore":case"mceTableInsertColAfter":case"mceTableDeleteCol":case"mceTableCutRow":case"mceTableCopyRow":case"mceTablePasteRowBefore":case"mceTablePasteRowAfter":if(!tableElm)return true;if(trElm&&tableElm!=trElm.parentNode)tableElm=trElm.parentNode;if(tableElm&&trElm){switch(command){case"mceTableCutRow":if(!trElm||!tdElm)return true;inst.tableRowClipboard=copyRow(doc,tableElm,trElm);inst.execCommand("mceTableDeleteRow");break;case"mceTableCopyRow":if(!trElm||!tdElm)return true;inst.tableRowClipboard=copyRow(doc,tableElm,trElm);break;case"mceTablePasteRowBefore":if(!trElm||!tdElm)return true;var newTR=inst.tableRowClipboard.cloneNode(true);var prevTR=prevElm(trElm,"TR");if(prevTR!=null)trimRow(tableElm,prevTR,prevTR.cells[0],newTR);trElm.parentNode.insertBefore(newTR,trElm);break;case"mceTablePasteRowAfter":if(!trElm||!tdElm)return true;var nextTR=nextElm(trElm,"TR");var newTR=inst.tableRowClipboard.cloneNode(true);trimRow(tableElm,trElm,tdElm,newTR);if(nextTR==null)trElm.parentNode.appendChild(newTR);else nextTR.parentNode.insertBefore(newTR,nextTR);break;case"mceTableInsertRowBefore":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var newTR=doc.createElement("tr");var lastTDElm=null;cpos.rowindex--;if(cpos.rowindex<0)cpos.rowindex=0;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['rowspan']==1){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";newTD.colSpan=tdElm.colSpan;newTR.appendChild(newTD)}else tdElm.rowSpan=sd['rowspan']+1;lastTDElm=tdElm}}trElm.parentNode.insertBefore(newTR,trElm);grid=getTableGrid(tableElm);inst.selection.selectNode(getCell(grid,cpos.rowindex+1,cpos.cellindex),tinyMCE.isGecko,true);break;case"mceTableInsertRowAfter":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var newTR=doc.createElement("tr");var lastTDElm=null;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['rowspan']==1){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";newTD.colSpan=tdElm.colSpan;newTR.appendChild(newTD)}else tdElm.rowSpan=sd['rowspan']+1;lastTDElm=tdElm}}if(newTR.hasChildNodes()){var nextTR=nextElm(trElm,"TR");if(nextTR)nextTR.parentNode.insertBefore(newTR,nextTR);else tableElm.appendChild(newTR)}grid=getTableGrid(tableElm);inst.selection.selectNode(getCell(grid,cpos.rowindex,cpos.cellindex),tinyMCE.isGecko,true);break;case"mceTableDeleteRow":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);if(grid.length==1){tableElm=tinyMCE.getParentElement(tableElm,"table");tableElm.parentNode.removeChild(tableElm);return true}var cells=trElm.cells;var nextTR=nextElm(trElm,"TR");for(var x=0;x<cells.length;x++){if(cells[x].rowSpan>1){var newTD=cells[x].cloneNode(true);var sd=getColRowSpan(cells[x]);newTD.rowSpan=sd.rowspan-1;var nextTD=nextTR.cells[x];if(nextTD==null)nextTR.appendChild(newTD);else nextTR.insertBefore(newTD,nextTD)}}var lastTDElm=null;for(var x=0;tdElm=getCell(grid,cpos.rowindex,x);x++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd.rowspan>1){tdElm.rowSpan=sd.rowspan-1}else{trElm=tdElm.parentNode;if(trElm.parentNode)trElm._delete=true}lastTDElm=tdElm}}deleteMarked(tableElm);cpos.rowindex--;if(cpos.rowindex<0)cpos.rowindex=0;grid=getTableGrid(tableElm);inst.selection.selectNode(getCell(grid,cpos.rowindex,0),tinyMCE.isGecko,true);break;case"mceTableInsertColBefore":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']==1){var newTD=doc.createElement(tdElm.nodeName);newTD.innerHTML="&nbsp;";newTD.rowSpan=tdElm.rowSpan;tdElm.parentNode.insertBefore(newTD,tdElm)}else tdElm.colSpan++;lastTDElm=tdElm}}grid=getTableGrid(tableElm);inst.selection.selectNode(getCell(grid,cpos.rowindex,cpos.cellindex+1),tinyMCE.isGecko,true);break;case"mceTableInsertColAfter":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']==1){var newTD=doc.createElement(tdElm.nodeName);newTD.innerHTML="&nbsp;";newTD.rowSpan=tdElm.rowSpan;var nextTD=nextElm(tdElm,"TD,TH");if(nextTD==null)tdElm.parentNode.appendChild(newTD);else nextTD.parentNode.insertBefore(newTD,nextTD)}else tdElm.colSpan++;lastTDElm=tdElm}}grid=getTableGrid(tableElm);inst.selection.selectNode(getCell(grid,cpos.rowindex,cpos.cellindex),tinyMCE.isGecko,true);break;case"mceTableDeleteCol":if(!trElm||!tdElm)return true;var grid=getTableGrid(tableElm);var cpos=getCellPos(grid,tdElm);var lastTDElm=null;if(grid.length>1&&grid[0].length<=1){tableElm=tinyMCE.getParentElement(tableElm,"table");tableElm.parentNode.removeChild(tableElm);return true}for(var y=0;tdElm=getCell(grid,y,cpos.cellindex);y++){if(tdElm!=lastTDElm){var sd=getColRowSpan(tdElm);if(sd['colspan']>1)tdElm.colSpan=sd['colspan']-1;else{if(tdElm.parentNode)tdElm.parentNode.removeChild(tdElm)}lastTDElm=tdElm}}cpos.cellindex--;if(cpos.cellindex<0)cpos.cellindex=0;grid=getTableGrid(tableElm);inst.selection.selectNode(getCell(grid,cpos.rowindex,0),tinyMCE.isGecko,true);break;case"mceTableSplitCells":if(!trElm||!tdElm)return true;var spandata=getColRowSpan(tdElm);var colspan=spandata["colspan"];var rowspan=spandata["rowspan"];if(colspan>1||rowspan>1){tdElm.colSpan=1;for(var i=1;i<colspan;i++){var newTD=doc.createElement("td");newTD.innerHTML="&nbsp;";trElm.insertBefore(newTD,nextElm(tdElm,"TD,TH"));if(rowspan>1)addRows(newTD,trElm,rowspan)}addRows(tdElm,trElm,rowspan)}tableElm=tinyMCE.getParentElement(inst.getFocusElement(),"table");break;case"mceTableMergeCells":var rows=new Array();var sel=inst.getSel();var grid=getTableGrid(tableElm);if(tinyMCE.isMSIE||sel.rangeCount==1){if(user_interface){var template=new Array();var sp=getColRowSpan(tdElm);template['file']='../../plugins/table/merge_cells.htm';template['width']=250;template['height']=105+(tinyMCE.isNS7?25:0);template['width']+=tinyMCE.getLang('lang_table_merge_cells_delta_width',0);template['height']+=tinyMCE.getLang('lang_table_merge_cells_delta_height',0);tinyMCE.openWindow(template,{editor_id:inst.editorId,inline:"yes",action:"update",numcols:sp.colspan,numrows:sp.rowspan});return true}else{var numRows=parseInt(value['numrows']);var numCols=parseInt(value['numcols']);var cpos=getCellPos(grid,tdElm);if((""+numRows)=="NaN")numRows=1;if((""+numCols)=="NaN")numCols=1;var tRows=tableElm.rows;for(var y=cpos.rowindex;y<grid.length;y++){var rowCells=new Array();for(var x=cpos.cellindex;x<grid[y].length;x++){var td=getCell(grid,y,x);if(td&&!inArray(rows,td)&&!inArray(rowCells,td)){var cp=getCellPos(grid,td);if(cp.cellindex<cpos.cellindex+numCols&&cp.rowindex<cpos.rowindex+numRows)rowCells[rowCells.length]=td}}if(rowCells.length>0)rows[rows.length]=rowCells}}}else{var cells=new Array();var sel=inst.getSel();var lastTR=null;var curRow=null;var x1=-1,y1=-1,x2,y2;if(sel.rangeCount<2)return true;for(var i=0;i<sel.rangeCount;i++){var rng=sel.getRangeAt(i);var tdElm=rng.startContainer.childNodes[rng.startOffset];if(!tdElm)break;if(tdElm.nodeName=="TD")cells[cells.length]=tdElm}var tRows=tableElm.rows;for(var y=0;y<tRows.length;y++){var rowCells=new Array();for(var x=0;x<tRows[y].cells.length;x++){var td=tRows[y].cells[x];for(var i=0;i<cells.length;i++){if(td==cells[i]){rowCells[rowCells.length]=td}}}if(rowCells.length>0)rows[rows.length]=rowCells}var curRow=new Array();var lastTR=null;for(var y=0;y<grid.length;y++){for(var x=0;x<grid[y].length;x++){grid[y][x]._selected=false;for(var i=0;i<cells.length;i++){if(grid[y][x]==cells[i]){if(x1==-1){x1=x;y1=y}x2=x;y2=y;grid[y][x]._selected=true}}}}for(var y=y1;y<=y2;y++){for(var x=x1;x<=x2;x++){if(!grid[y][x]._selected){alert("Invalid selection for merge.");return true}}}}var rowSpan=1,colSpan=1;var lastRowSpan=-1;for(var y=0;y<rows.length;y++){var rowColSpan=0;for(var x=0;x<rows[y].length;x++){var sd=getColRowSpan(rows[y][x]);rowColSpan+=sd['colspan'];if(lastRowSpan!=-1&&sd['rowspan']!=lastRowSpan){alert("Invalid selection for merge.");return true}lastRowSpan=sd['rowspan']}if(rowColSpan>colSpan)colSpan=rowColSpan;lastRowSpan=-1}var lastColSpan=-1;for(var x=0;x<rows[0].length;x++){var colRowSpan=0;for(var y=0;y<rows.length;y++){var sd=getColRowSpan(rows[y][x]);colRowSpan+=sd['rowspan'];if(lastColSpan!=-1&&sd['colspan']!=lastColSpan){alert("Invalid selection for merge.");return true}lastColSpan=sd['colspan']}if(colRowSpan>rowSpan)rowSpan=colRowSpan;lastColSpan=-1}tdElm=rows[0][0];tdElm.rowSpan=rowSpan;tdElm.colSpan=colSpan;for(var y=0;y<rows.length;y++){for(var x=0;x<rows[y].length;x++){var html=rows[y][x].innerHTML;var chk=tinyMCE.regexpReplace(html,"[ \t\r\n]","");if(chk!="<br/>"&&chk!="<br>"&&chk!="&nbsp;"&&(x+y>0))tdElm.innerHTML+=html;if(rows[y][x]!=tdElm&&!rows[y][x]._deleted){var cpos=getCellPos(grid,rows[y][x]);var tr=rows[y][x].parentNode;tr.removeChild(rows[y][x]);rows[y][x]._deleted=true;if(!tr.hasChildNodes()){tr.parentNode.removeChild(tr);var lastCell=null;for(var x=0;cellElm=getCell(grid,cpos.rowindex,x);x++){if(cellElm!=lastCell&&cellElm.rowSpan>1)cellElm.rowSpan--;lastCell=cellElm}if(tdElm.rowSpan>1)tdElm.rowSpan--}}}}break}tableElm=tinyMCE.getParentElement(inst.getFocusElement(),"table");tinyMCE.handleVisualAid(tableElm,true,tinyMCE.settings['visual'],tinyMCE.selectedInstance);tinyMCE.triggerNodeChange();inst.repaint()}return true}return false}};tinyMCE.addPlugin("table",TinyMCE_TablePlugin);
\ No newline at end of file

Modified: plog/trunk/js/tinymce/plugins/table/editor_plugin_src.js
===================================================================
--- plog/trunk/js/tinymce/plugins/table/editor_plugin_src.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/plugins/table/editor_plugin_src.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,8 +1,8 @@
 /**
- * $Id: editor_plugin_src.js 126 2006-10-22 16:19:55Z spocke $
+ * $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $
  *
  * @author Moxiecode
- * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.
  */
 
 /* Import plugin specific language pack */
@@ -14,7 +14,7 @@
 			longname : 'Tables',
 			author : 'Moxiecode Systems AB',
 			authorurl : 'http://tinymce.moxiecode.com',
-			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_table.html',
+			infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/table',
 			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
 		};
 	},

Modified: plog/trunk/js/tinymce/plugins/table/jscripts/table.js
===================================================================
--- plog/trunk/js/tinymce/plugins/table/jscripts/table.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/plugins/table/jscripts/table.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -3,8 +3,8 @@
 function insertTable() {
 	var formObj = document.forms[0];
 	var inst = tinyMCE.selectedInstance;
-	var cols = 2, rows = 2, border = 0, cellpadding = -1, cellspacing = -1, align, width, height, className;
-	var html = '';
+	var cols = 2, rows = 2, border = 0, cellpadding = -1, cellspacing = -1, align, width, height, className, caption;
+	var html = '', capEl;
 	var elm = tinyMCE.tableElm;
 	var cellLimit, rowLimit, colLimit;
 
@@ -33,6 +33,7 @@
 	dir = formObj.elements['dir'].value;
 	lang = formObj.elements['lang'].value;
 	background = formObj.elements['backgroundimage'].value;
+	caption = formObj.elements['caption'].checked;
 
 	cellLimit = tinyMCE.getParam('table_cell_limit', false);
 	rowLimit = tinyMCE.getParam('table_row_limit', false);
@@ -65,6 +66,17 @@
 		tinyMCE.setAttrib(elm, 'dir', dir);
 		tinyMCE.setAttrib(elm, 'lang', lang);
 
+		capEl = elm.getElementsByTagName('caption')[0];
+
+		if (capEl && !caption)
+			capEl.parentNode.removeChild(capEl);
+
+		if (!capEl && caption) {
+			capEl = elm.ownerDocument.createElement('caption');
+			capEl.innerHTML = '&nbsp;';
+			elm.insertBefore(capEl, elm.firstChild);
+		}
+
 		// Not inline styles
 		if (!tinyMCE.getParam("inline_styles"))
 			tinyMCE.setAttrib(elm, 'width', width, true);
@@ -132,9 +144,11 @@
 	html += makeAttrib('summary', summary);
 	html += makeAttrib('dir', dir);
 	html += makeAttrib('lang', lang);
-
 	html += '>';
 
+	if (caption)
+		html += '<caption>&nbsp;</caption>';
+
 	for (var y=0; y<rows; y++) {
 		html += "<tr>";
 
@@ -223,6 +237,7 @@
 		dir = tinyMCE.getAttrib(tinyMCE.tableElm, 'dir');
 		lang = tinyMCE.getAttrib(tinyMCE.tableElm, 'lang');
 		background = getStyle(elm, 'background', 'backgroundImage').replace(new RegExp("url\\('?([^']*)'?\\)", 'gi'), "$1");
+		formObj.caption.checked = tinyMCE.tableElm.getElementsByTagName('caption').length > 0;
 
 		orgTableWidth = width;
 		orgTableHeight = height;

Modified: plog/trunk/js/tinymce/plugins/table/langs/en.js
===================================================================
--- plog/trunk/js/tinymce/plugins/table/langs/en.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/plugins/table/langs/en.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -74,5 +74,6 @@
 col_limit : 'You\'ve exceeded the maximum number of columns of {$cols}.',
 row_limit : 'You\'ve exceeded the maximum number of rows of {$rows}.',
 cell_limit : 'You\'ve exceeded the maximum number of cells of {$cells}.',
-missing_scope: 'Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.'
+missing_scope: 'Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.',
+caption : 'Table caption'
 });

Modified: plog/trunk/js/tinymce/plugins/table/table.htm
===================================================================
--- plog/trunk/js/tinymce/plugins/table/table.htm	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/plugins/table/table.htm	2007-03-22 13:18:28 UTC (rev 5156)
@@ -60,6 +60,10 @@
 									<option value="" selected>{$lang_not_set}</option>
 								 </select></td>
 							  </tr>
+							  <tr>
+								<td class="column1"><label for="caption">{$lang_table_caption}</label></td> 
+								<td><input id="caption" name="caption" type="checkbox" value="true" /></td> 
+							  </tr>
 							</table>
 				</fieldset>
 			</div>

Modified: plog/trunk/js/tinymce/tiny_mce.js
===================================================================
--- plog/trunk/js/tinymce/tiny_mce.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/tiny_mce.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1 +1 @@
-function TinyMCE_Engine(){var ua;this.majorVersion="2";this.minorVersion="0.8";this.releaseDate="2006-10-23";this.instances=new Array();this.switchClassCache=new Array();this.windowArgs=new Array();this.loadedFiles=new Array();this.pendingFiles=new Array();this.loadingIndex=0;this.configs=new Array();this.currentConfig=0;this.eventHandlers=new Array();this.log=new Array();this.undoLevels=[];this.undoIndex=0;this.typingUndoIndex=-1;ua=navigator.userAgent;this.isMSIE=(navigator.appName=="Microsoft Internet Explorer");this.isMSIE5=this.isMSIE&&(ua.indexOf('MSIE 5')!=-1);this.isMSIE5_0=this.isMSIE&&(ua.indexOf('MSIE 5.0')!=-1);this.isMSIE7=this.isMSIE&&(ua.indexOf('MSIE 7')!=-1);this.isGecko=ua.indexOf('Gecko')!=-1;this.isSafari=ua.indexOf('Safari')!=-1;this.isOpera=ua.indexOf('Opera')!=-1;this.isMac=ua.indexOf('Mac')!=-1;this.isNS7=ua.indexOf('Netscape/7')!=-1;this.isNS71=ua.indexOf('Netscape/7.1')!=-1;this.dialogCounter=0;this.plugins=new Array();this.themes=new Array();this.menus=new Array();this.loadedPlugins=new Array();this.buttonMap=new Array();this.isLoaded=false;if(this.isOpera){this.isMSIE=true;this.isGecko=false;this.isSafari=false}this.isIE=this.isMSIE;this.isRealIE=this.isMSIE&&!this.isOpera;this.idCounter=0};TinyMCE_Engine.prototype={init:function(settings){var theme,nl,baseHREF="",i;if(this.isMSIE5_0)return;this.settings=settings;if(typeof(document.execCommand)=='undefined')return;if(!tinyMCE.baseURL){var elements=document.getElementsByTagName('script');nl=document.getElementsByTagName('base');for(i=0;i<nl.length;i++){if(nl[i].href)baseHREF=nl[i].href}for(var i=0;i<elements.length;i++){if(elements[i].src&&(elements[i].src.indexOf("tiny_mce.js")!=-1||elements[i].src.indexOf("tiny_mce_dev.js")!=-1||elements[i].src.indexOf("tiny_mce_src.js")!=-1||elements[i].src.indexOf("tiny_mce_gzip")!=-1)){var src=elements[i].src;tinyMCE.srcMode=(src.indexOf('_src')!=-1||src.indexOf('_dev')!=-1)?'_src':'';tinyMCE.gzipMode=src.indexOf('_gzip')!=-1;src=src.substring(0,src.lastIndexOf('/'));if(settings.exec_mode=="src"||settings.exec_mode=="normal")tinyMCE.srcMode=settings.exec_mode=="src"?'_src':'';if(baseHREF!=""&&src.indexOf('://')==-1)tinyMCE.baseURL=baseHREF+src;else tinyMCE.baseURL=src;break}}}this.documentBasePath=document.location.href;if(this.documentBasePath.indexOf('?')!=-1)this.documentBasePath=this.documentBasePath.substring(0,this.documentBasePath.indexOf('?'));this.documentURL=this.documentBasePath;this.documentBasePath=this.documentBasePath.substring(0,this.documentBasePath.lastIndexOf('/'));if(tinyMCE.baseURL.indexOf('://')==-1&&tinyMCE.baseURL.charAt(0)!='/'){tinyMCE.baseURL=this.documentBasePath+"/"+tinyMCE.baseURL}this._def("mode","none");this._def("theme","advanced");this._def("plugins","",true);this._def("language","en");this._def("docs_language",this.settings['language']);this._def("elements","");this._def("textarea_trigger","mce_editable");this._def("editor_selector","");this._def("editor_deselector","mceNoEditor");this._def("valid_elements","+a[id|style|rel|rev|charset|hreflang|dir|lang|tabindex|accesskey|type|name|href|target|title|class|onfocus|onblur|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup],-strong/-b[class|style],-em/-i[class|style],-strike[class|style],-u[class|style],#p[id|style|dir|class|align],-ol[class|style],-ul[class|style],-li[class|style],br,img[id|dir|lang|longdesc|usemap|style|class|src|onmouseover|onmouseout|border|alt=|title|hspace|vspace|width|height|align],-sub[style|class],-sup[style|class],-blockquote[dir|style],-table[border=0|cellspacing|cellpadding|width|height|class|align|summary|style|dir|id|lang|bgcolor|background|bordercolor],-tr[id|lang|dir|class|rowspan|width|height|align|valign|style|bgcolor|background|bordercolor],tbody[id|class],thead[id|class],tfoot[id|class],#td[id|lang|dir|class|colspan|rowspan|width|height|align|valign|style|bgcolor|background|bordercolor|scope],-th[id|lang|dir|class|colspan|rowspan|width|height|align|valign|style|scope],caption[id|lang|dir|class|style],-div[id|dir|class|align|style],-span[style|class|align],-pre[class|align|style],address[class|align|style],-h1[id|style|dir|class|align],-h2[id|style|dir|class|align],-h3[id|style|dir|class|align],-h4[id|style|dir|class|align],-h5[id|style|dir|class|align],-h6[id|style|dir|class|align],hr[class|style],-font[face|size|style|id|class|dir|color],dd[id|class|title|style|dir|lang],dl[id|class|title|style|dir|lang],dt[id|class|title|style|dir|lang],cite[title|id|class|style|dir|lang],abbr[title|id|class|style|dir|lang],acronym[title|id|class|style|dir|lang],del[title|id|class|style|dir|lang|datetime|cite],ins[title|id|class|style|dir|lang|datetime|cite]");this._def("extended_valid_elements","");this._def("invalid_elements","");this._def("encoding","");this._def("urlconverter_callback",tinyMCE.getParam("urlconvertor_callback","TinyMCE_Engine.prototype.convertURL"));this._def("save_callback","");this._def("debug",false);this._def("force_br_newlines",false);this._def("force_p_newlines",true);this._def("add_form_submit_trigger",true);this._def("relative_urls",true);this._def("remove_script_host",true);this._def("focus_alert",true);this._def("document_base_url",this.documentURL);this._def("visual",true);this._def("visual_table_class","mceVisualAid");this._def("setupcontent_callback","");this._def("fix_content_duplication",true);this._def("custom_undo_redo",true);this._def("custom_undo_redo_levels",-1);this._def("custom_undo_redo_keyboard_shortcuts",true);this._def("custom_undo_redo_restore_selection",true);this._def("custom_undo_redo_global",false);this._def("verify_html",true);this._def("apply_source_formatting",false);this._def("directionality","ltr");this._def("cleanup_on_startup",false);this._def("inline_styles",false);this._def("convert_newlines_to_brs",false);this._def("auto_reset_designmode",true);this._def("entities","39,#39,160,nbsp,161,iexcl,162,cent,163,pound,164,curren,165,yen,166,brvbar,167,sect,168,uml,169,copy,170,ordf,171,laquo,172,not,173,shy,174,reg,175,macr,176,deg,177,plusmn,178,sup2,179,sup3,180,acute,181,micro,182,para,183,middot,184,cedil,185,sup1,186,ordm,187,raquo,188,frac14,189,frac12,190,frac34,191,iquest,192,Agrave,193,Aacute,194,Acirc,195,Atilde,196,Auml,197,Aring,198,AElig,199,Ccedil,200,Egrave,201,Eacute,202,Ecirc,203,Euml,204,Igrave,205,Iacute,206,Icirc,207,Iuml,208,ETH,209,Ntilde,210,Ograve,211,Oacute,212,Ocirc,213,Otilde,214,Ouml,215,times,216,Oslash,217,Ugrave,218,Uacute,219,Ucirc,220,Uuml,221,Yacute,222,THORN,223,szlig,224,agrave,225,aacute,226,acirc,227,atilde,228,auml,229,aring,230,aelig,231,ccedil,232,egrave,233,eacute,234,ecirc,235,euml,236,igrave,237,iacute,238,icirc,239,iuml,240,eth,241,ntilde,242,ograve,243,oacute,244,ocirc,245,otilde,246,ouml,247,divide,248,oslash,249,ugrave,250,uacute,251,ucirc,252,uuml,253,yacute,254,thorn,255,yuml,402,fnof,913,Alpha,914,Beta,915,Gamma,916,Delta,917,Epsilon,918,Zeta,919,Eta,920,Theta,921,Iota,922,Kappa,923,Lambda,924,Mu,925,Nu,926,Xi,927,Omicron,928,Pi,929,Rho,931,Sigma,932,Tau,933,Upsilon,934,Phi,935,Chi,936,Psi,937,Omega,945,alpha,946,beta,947,gamma,948,delta,949,epsilon,950,zeta,951,eta,952,theta,953,iota,954,kappa,955,lambda,956,mu,957,nu,958,xi,959,omicron,960,pi,961,rho,962,sigmaf,963,sigma,964,tau,965,upsilon,966,phi,967,chi,968,psi,969,omega,977,thetasym,978,upsih,982,piv,8226,bull,8230,hellip,8242,prime,8243,Prime,8254,oline,8260,frasl,8472,weierp,8465,image,8476,real,8482,trade,8501,alefsym,8592,larr,8593,uarr,8594,rarr,8595,darr,8596,harr,8629,crarr,8656,lArr,8657,uArr,8658,rArr,8659,dArr,8660,hArr,8704,forall,8706,part,8707,exist,8709,empty,8711,nabla,8712,isin,8713,notin,8715,ni,8719,prod,8721,sum,8722,minus,8727,lowast,8730,radic,8733,prop,8734,infin,8736,ang,8743,and,8744,or,8745,cap,8746,cup,8747,int,8756,there4,8764,sim,8773,cong,8776,asymp,8800,ne,8801,equiv,8804,le,8805,ge,8834,sub,8835,sup,8836,nsub,8838,sube,8839,supe,8853,oplus,8855,otimes,8869,perp,8901,sdot,8968,lceil,8969,rceil,8970,lfloor,8971,rfloor,9001,lang,9002,rang,9674,loz,9824,spades,9827,clubs,9829,hearts,9830,diams,34,quot,38,amp,60,lt,62,gt,338,OElig,339,oelig,352,Scaron,353,scaron,376,Yuml,710,circ,732,tilde,8194,ensp,8195,emsp,8201,thinsp,8204,zwnj,8205,zwj,8206,lrm,8207,rlm,8211,ndash,8212,mdash,8216,lsquo,8217,rsquo,8218,sbquo,8220,ldquo,8221,rdquo,8222,bdquo,8224,dagger,8225,Dagger,8240,permil,8249,lsaquo,8250,rsaquo,8364,euro",true);this._def("entity_encoding","named");this._def("cleanup_callback","");this._def("add_unload_trigger",true);this._def("ask",false);this._def("nowrap",false);this._def("auto_resize",false);this._def("auto_focus",false);this._def("cleanup",true);this._def("remove_linebreaks",true);this._def("button_tile_map",false);this._def("submit_patch",true);this._def("browsers","msie,safari,gecko,opera",true);this._def("dialog_type","window");this._def("accessibility_warnings",true);this._def("accessibility_focus",true);this._def("merge_styles_invalid_parents","");this._def("force_hex_style_colors",true);this._def("trim_span_elements",true);this._def("convert_fonts_to_spans",false);this._def("doctype",'<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">');this._def("font_size_classes",'');this._def("font_size_style_values",'xx-small,x-small,small,medium,large,x-large,xx-large',true);this._def("event_elements",'a,img',true);this._def("convert_urls",true);this._def("table_inline_editing",false);this._def("object_resizing",true);this._def("custom_shortcuts",true);this._def("convert_on_click",false);this._def("content_css",'');this._def("fix_list_elements",false);this._def("fix_table_elements",false);this._def("strict_loading_mode",document.contentType=='application/xhtml+xml');this._def("hidden_tab_class",'');this._def("display_tab_class",'');this._def("gecko_spellcheck",false);if(this.isMSIE&&!this.isOpera)this.settings.strict_loading_mode=false;if(this.isMSIE&&this.settings['browsers'].indexOf('msie')==-1)return;if(this.isGecko&&this.settings['browsers'].indexOf('gecko')==-1)return;if(this.isSafari&&this.settings['browsers'].indexOf('safari')==-1)return;if(this.isOpera&&this.settings['browsers'].indexOf('opera')==-1)return;baseHREF=tinyMCE.settings['document_base_url'];var h=document.location.href;var p=h.indexOf('://');if(p>0&&document.location.protocol!="file:"){p=h.indexOf('/',p+3);h=h.substring(0,p);if(baseHREF.indexOf('://')==-1)baseHREF=h+baseHREF;tinyMCE.settings['document_base_url']=baseHREF;tinyMCE.settings['document_base_prefix']=h}if(baseHREF.indexOf('?')!=-1)baseHREF=baseHREF.substring(0,baseHREF.indexOf('?'));this.settings['base_href']=baseHREF.substring(0,baseHREF.lastIndexOf('/'))+"/";theme=this.settings['theme'];this.inlineStrict='A|BR|SPAN|BDO|MAP|OBJECT|IMG|TT|I|B|BIG|SMALL|EM|STRONG|DFN|CODE|Q|SAMP|KBD|VAR|CITE|ABBR|ACRONYM|SUB|SUP|#text|#comment';this.inlineTransitional='A|BR|SPAN|BDO|OBJECT|APPLET|IMG|MAP|IFRAME|TT|I|B|U|S|STRIKE|BIG|SMALL|FONT|BASEFONT|EM|STRONG|DFN|CODE|Q|SAMP|KBD|VAR|CITE|ABBR|ACRONYM|SUB|SUP|INPUT|SELECT|TEXTAREA|LABEL|BUTTON|#text|#comment';this.blockElms='H[1-6]|P|DIV|ADDRESS|PRE|FORM|TABLE|LI|OL|UL|TD|BLOCKQUOTE|CENTER|DL|DT|DD|DIR|FIELDSET|FORM|NOSCRIPT|NOFRAMES|MENU|ISINDEX|SAMP';this.blockRegExp=new RegExp("^("+this.blockElms+")$","i");this.posKeyCodes=new Array(13,45,36,35,33,34,37,38,39,40);this.uniqueURL='javascript:TINYMCE_UNIQUEURL();';this.uniqueTag='<div id="mceTMPElement" style="display: none">TMP</div>';this.callbacks=new Array('onInit','getInfo','getEditorTemplate','setupContent','onChange','onPageLoad','handleNodeChange','initInstance','execCommand','getControlHTML','handleEvent','cleanup');this.settings['theme_href']=tinyMCE.baseURL+"/themes/"+theme;if(!tinyMCE.isIE||tinyMCE.isOpera)this.settings['force_br_newlines']=false;if(tinyMCE.getParam("popups_css",false)){var cssPath=tinyMCE.getParam("popups_css","");if(cssPath.indexOf('://')==-1&&cssPath.charAt(0)!='/')this.settings['popups_css']=this.documentBasePath+"/"+cssPath;else this.settings['popups_css']=cssPath}else this.settings['popups_css']=tinyMCE.baseURL+"/themes/"+theme+"/css/editor_popup.css";if(tinyMCE.getParam("editor_css",false)){var cssPath=tinyMCE.getParam("editor_css","");if(cssPath.indexOf('://')==-1&&cssPath.charAt(0)!='/')this.settings['editor_css']=this.documentBasePath+"/"+cssPath;else this.settings['editor_css']=cssPath}else{if(this.settings.editor_css!='')this.settings['editor_css']=tinyMCE.baseURL+"/themes/"+theme+"/css/editor_ui.css"}if(tinyMCE.settings['debug']){var msg="Debug: \n";msg+="baseURL: "+this.baseURL+"\n";msg+="documentBasePath: "+this.documentBasePath+"\n";msg+="content_css: "+this.settings['content_css']+"\n";msg+="popups_css: "+this.settings['popups_css']+"\n";msg+="editor_css: "+this.settings['editor_css']+"\n";alert(msg)}if(this.configs.length==0){if(typeof(TinyMCECompressed)=="undefined"){tinyMCE.addEvent(window,"DOMContentLoaded",TinyMCE_Engine.prototype.onLoad);if(tinyMCE.isRealIE){if(document.body)tinyMCE.addEvent(document.body,"readystatechange",TinyMCE_Engine.prototype.onLoad);else tinyMCE.addEvent(document,"readystatechange",TinyMCE_Engine.prototype.onLoad)}tinyMCE.addEvent(window,"load",TinyMCE_Engine.prototype.onLoad);tinyMCE._addUnloadEvents()}}this.loadScript(tinyMCE.baseURL+'/themes/'+this.settings['theme']+'/editor_template'+tinyMCE.srcMode+'.js');this.loadScript(tinyMCE.baseURL+'/langs/'+this.settings['language']+'.js');this.loadCSS(this.settings['editor_css']);var p=tinyMCE.getParam('plugins','',true,',');if(p.length>0){for(var i=0;i<p.length;i++){if(p[i].charAt(0)!='-')this.loadScript(tinyMCE.baseURL+'/plugins/'+p[i]+'/editor_plugin'+tinyMCE.srcMode+'.js')}}if(tinyMCE.getParam('entity_encoding')=='named'){settings['cleanup_entities']=new Array();var entities=tinyMCE.getParam('entities','',true,',');for(var i=0;i<entities.length;i+=2)settings['cleanup_entities']['c'+entities[i]]=entities[i+1]}settings['index']=this.configs.length;this.configs[this.configs.length]=settings;this.loadNextScript();if(this.isIE&&!this.isOpera){try{document.execCommand('BackgroundImageCache',false,true)}catch(e){}}},_addUnloadEvents:function(){if(tinyMCE.isIE){if(tinyMCE.settings['add_unload_trigger']){tinyMCE.addEvent(window,"unload",TinyMCE_Engine.prototype.unloadHandler);tinyMCE.addEvent(window.document,"beforeunload",TinyMCE_Engine.prototype.unloadHandler)}}else{if(tinyMCE.settings['add_unload_trigger'])tinyMCE.addEvent(window,"unload",function(){tinyMCE.triggerSave(true,true)})}},_def:function(key,def_val,t){var v=tinyMCE.getParam(key,def_val);v=t?v.replace(/\s+/g,""):v;this.settings[key]=v},hasPlugin:function(n){return typeof(this.plugins[n])!="undefined"&&this.plugins[n]!=null},addPlugin:function(n,p){var op=this.plugins[n];p.baseURL=op?op.baseURL:tinyMCE.baseURL+"/plugins/"+n;this.plugins[n]=p;this.loadNextScript()},setPluginBaseURL:function(n,u){var op=this.plugins[n];if(op)op.baseURL=u;else this.plugins[n]={baseURL:u}},loadPlugin:function(n,u){u=u.indexOf('.js')!=-1?u.substring(0,u.lastIndexOf('/')):u;u=u.charAt(u.length-1)=='/'?u.substring(0,u.length-1):u;this.plugins[n]={baseURL:u};this.loadScript(u+"/editor_plugin"+(tinyMCE.srcMode?'_src':'')+".js")},hasTheme:function(n){return typeof(this.themes[n])!="undefined"&&this.themes[n]!=null},addTheme:function(n,t){this.themes[n]=t;this.loadNextScript()},addMenu:function(n,m){this.menus[n]=m},hasMenu:function(n){return typeof(this.plugins[n])!="undefined"&&this.plugins[n]!=null},loadScript:function(url){var i;for(i=0;i<this.loadedFiles.length;i++){if(this.loadedFiles[i]==url)return}if(tinyMCE.settings.strict_loading_mode)this.pendingFiles[this.pendingFiles.length]=url;else document.write('<sc'+'ript language="javascript" type="text/javascript" src="'+url+'"></script>');this.loadedFiles[this.loadedFiles.length]=url},loadNextScript:function(){var d=document,se;if(!tinyMCE.settings.strict_loading_mode)return;if(this.loadingIndex<this.pendingFiles.length){se=d.createElementNS('http://www.w3.org/1999/xhtml','script');se.setAttribute('language','javascript');se.setAttribute('type','text/javascript');se.setAttribute('src',this.pendingFiles[this.loadingIndex++]);d.getElementsByTagName("head")[0].appendChild(se)}else this.loadingIndex=-1;},loadCSS:function(url){var ar=url.replace(/\s+/,'').split(',');var lflen=0,csslen=0;var skip=false;var x=0,i=0,nl,le;for(x=0,csslen=ar.length;x<csslen;x++){if(ar[x]!=null&&ar[x]!='null'&&ar[x].length>0){for(i=0,lflen=this.loadedFiles.length;i<lflen;i++){if(this.loadedFiles[i]==ar[x]){skip=true;break}}if(!skip){if(tinyMCE.settings.strict_loading_mode){nl=document.getElementsByTagName("head");le=document.createElement('link');le.setAttribute('href',ar[x]);le.setAttribute('rel','stylesheet');le.setAttribute('type','text/css');nl[0].appendChild(le)}else document.write('<link href="'+ar[x]+'" rel="stylesheet" type="text/css" />');this.loadedFiles[this.loadedFiles.length]=ar[x]}}}},importCSS:function(doc,css){var css_ary=css.replace(/\s+/,'').split(',');var csslen,elm,headArr,x,css_file;for(x=0,csslen=css_ary.length;x<csslen;x++){css_file=css_ary[x];if(css_file!=null&&css_file!='null'&&css_file.length>0){if(css_file.indexOf('://')==-1&&css_file.charAt(0)!='/')css_file=this.documentBasePath+"/"+css_file;if(typeof(doc.createStyleSheet)=="undefined"){elm=doc.createElement("link");elm.rel="stylesheet";elm.href=css_file;if((headArr=doc.getElementsByTagName("head"))!=null&&headArr.length>0)headArr[0].appendChild(elm)}else doc.createStyleSheet(css_file)}}},confirmAdd:function(e,settings){var elm=tinyMCE.isIE?event.srcElement:e.target;var elementId=elm.name?elm.name:elm.id;tinyMCE.settings=settings;if(tinyMCE.settings['convert_on_click']||(!elm.getAttribute('mce_noask')&&confirm(tinyMCELang['lang_edit_confirm'])))tinyMCE.addMCEControl(elm,elementId);elm.setAttribute('mce_noask','true')},updateContent:function(form_element_name){var formElement=document.getElementById(form_element_name);for(var n in tinyMCE.instances){var inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;inst.switchSettings();if(inst.formElement==formElement){var doc=inst.getDoc();tinyMCE._setHTML(doc,inst.formElement.value);if(!tinyMCE.isIE)doc.body.innerHTML=tinyMCE._cleanupHTML(inst,doc,this.settings,doc.body,inst.visualAid)}}},addMCEControl:function(replace_element,form_element_name,target_document){var id="mce_editor_"+tinyMCE.idCounter++;var inst=new TinyMCE_Control(tinyMCE.settings);inst.editorId=id;this.instances[id]=inst;inst._onAdd(replace_element,form_element_name,target_document)},removeInstance:function(ti){var t=[],n,i;for(n in tinyMCE.instances){i=tinyMCE.instances[n];if(tinyMCE.isInstance(i)&&ti!=i)t[n]=i}tinyMCE.instances=t;n=[];t=tinyMCE.undoLevels;for(i=0;i<t.length;i++){if(t[i]!=ti)n.push(t[i])}tinyMCE.undoLevels=n;tinyMCE.undoIndex=n.length;return ti},removeMCEControl:function(editor_id){var inst=tinyMCE.getInstanceById(editor_id),h,re,ot,tn;if(inst){inst.switchSettings();editor_id=inst.editorId;h=tinyMCE.getContent(editor_id);this.removeInstance(inst);tinyMCE.selectedElement=null;tinyMCE.selectedInstance=null;re=document.getElementById(editor_id+"_parent");ot=inst.oldTargetElement;tn=ot.nodeName.toLowerCase();if(tn=="textarea"||tn=="input"){re.parentNode.removeChild(re);ot.style.display="inline";ot.value=h}else{ot.innerHTML=h;ot.style.display='block';re.parentNode.insertBefore(ot,re);re.parentNode.removeChild(re)}}},triggerSave:function(skip_cleanup,skip_callback){var inst,n;if(typeof(skip_cleanup)=="undefined")skip_cleanup=false;if(typeof(skip_callback)=="undefined")skip_callback=false;for(n in tinyMCE.instances){inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;inst.triggerSave(skip_cleanup,skip_callback)}},resetForm:function(form_index){var i,inst,n,formObj=document.forms[form_index];for(n in tinyMCE.instances){inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;inst.switchSettings();for(i=0;i<formObj.elements.length;i++){if(inst.formTargetElementId==formObj.elements[i].name)inst.getBody().innerHTML=inst.startContent}}},execInstanceCommand:function(editor_id,command,user_interface,value,focus){var inst=tinyMCE.getInstanceById(editor_id),r;if(inst){r=inst.selection.getRng();if(typeof(focus)=="undefined")focus=true;if(focus&&(!r||!r.item))inst.contentWindow.focus();inst.autoResetDesignMode();this.selectedElement=inst.getFocusElement();inst.select();tinyMCE.execCommand(command,user_interface,value);if(tinyMCE.isIE&&window.event!=null)tinyMCE.cancelEvent(window.event)}},execCommand:function(command,user_interface,value){var inst=tinyMCE.selectedInstance;user_interface=user_interface?user_interface:false;value=value?value:null;if(inst)inst.switchSettings();switch(command){case"Undo":if(this.getParam('custom_undo_redo_global')){if(this.undoIndex>0){tinyMCE.nextUndoRedoAction='Undo';inst=this.undoLevels[--this.undoIndex];inst.select();if(!tinyMCE.nextUndoRedoInstanceId)inst.execCommand('Undo')}}else inst.execCommand('Undo');return true;case"Redo":if(this.getParam('custom_undo_redo_global')){if(this.undoIndex<=this.undoLevels.length-1){tinyMCE.nextUndoRedoAction='Redo';inst=this.undoLevels[this.undoIndex++];inst.select();if(!tinyMCE.nextUndoRedoInstanceId)inst.execCommand('Redo')}}else inst.execCommand('Redo');return true;case'mceFocus':var inst=tinyMCE.getInstanceById(value);if(inst)inst.getWin().focus();return;case"mceAddControl":case"mceAddEditor":tinyMCE.addMCEControl(tinyMCE._getElementById(value),value);return;case"mceAddFrameControl":tinyMCE.addMCEControl(tinyMCE._getElementById(value['element'],value['document']),value['element'],value['document']);return;case"mceRemoveControl":case"mceRemoveEditor":tinyMCE.removeMCEControl(value);return;case"mceResetDesignMode":if(!tinyMCE.isIE){for(var n in tinyMCE.instances){if(!tinyMCE.isInstance(tinyMCE.instances[n]))continue;try{tinyMCE.instances[n].getDoc().designMode="on"}catch(e){}}}return}if(inst){inst.execCommand(command,user_interface,value)}else if(tinyMCE.settings['focus_alert'])alert(tinyMCELang['lang_focus_alert'])},_createIFrame:function(replace_element,doc,win){var iframe,id=replace_element.getAttribute("id");var aw,ah;if(typeof(doc)=="undefined")doc=document;if(typeof(win)=="undefined")win=window;iframe=doc.createElement("iframe");aw=""+tinyMCE.settings['area_width'];ah=""+tinyMCE.settings['area_height'];if(aw.indexOf('%')==-1){aw=parseInt(aw);aw=(isNaN(aw)||aw<0)?300:aw;aw=aw+"px"}if(ah.indexOf('%')==-1){ah=parseInt(ah);ah=(isNaN(ah)||ah<0)?240:ah;ah=ah+"px"}iframe.setAttribute("id",id);iframe.setAttribute("name",id);iframe.setAttribute("class","mceEditorIframe");iframe.setAttribute("border","0");iframe.setAttribute("frameBorder","0");iframe.setAttribute("marginWidth","0");iframe.setAttribute("marginHeight","0");iframe.setAttribute("leftMargin","0");iframe.setAttribute("topMargin","0");iframe.setAttribute("width",aw);iframe.setAttribute("height",ah);iframe.setAttribute("allowtransparency","true");iframe.className='mceEditorIframe';if(tinyMCE.settings["auto_resize"])iframe.setAttribute("scrolling","no");if(tinyMCE.isRealIE)iframe.setAttribute("src",this.settings['default_document']);iframe.style.width=aw;iframe.style.height=ah;if(tinyMCE.settings.strict_loading_mode)iframe.style.marginBottom='-5px';if(tinyMCE.isRealIE)replace_element.outerHTML=iframe.outerHTML;else replace_element.parentNode.replaceChild(iframe,replace_element);if(tinyMCE.isRealIE)return win.frames[id];else return iframe},setupContent:function(editor_id){var inst=tinyMCE.instances[editor_id],i;var doc=inst.getDoc();var head=doc.getElementsByTagName('head').item(0);var content=inst.startContent;if(tinyMCE.settings.strict_loading_mode){content=content.replace(/&lt;/g,'<');content=content.replace(/&gt;/g,'>');content=content.replace(/&quot;/g,'"');content=content.replace(/&amp;/g,'&')}inst.switchSettings();if(!tinyMCE.isIE&&tinyMCE.getParam("setupcontent_reload",false)&&doc.title!="blank_page"){try{doc.location.href=tinyMCE.baseURL+"/blank.htm"}catch(ex){}window.setTimeout("tinyMCE.setupContent('"+editor_id+"');",1000);return}if(!head){window.setTimeout("tinyMCE.setupContent('"+editor_id+"');",10);return}tinyMCE.importCSS(inst.getDoc(),tinyMCE.baseURL+"/themes/"+inst.settings['theme']+"/css/editor_content.css");tinyMCE.importCSS(inst.getDoc(),inst.settings['content_css']);tinyMCE.dispatchCallback(inst,'init_instance_callback','initInstance',inst);if(tinyMCE.getParam('custom_undo_redo_keyboard_shortcuts')){inst.addShortcut('ctrl','z','lang_undo_desc','Undo');inst.addShortcut('ctrl','y','lang_redo_desc','Redo')}for(i=1;i<=6;i++)inst.addShortcut('ctrl',''+i,'','FormatBlock',false,'<h'+i+'>');inst.addShortcut('ctrl','7','','FormatBlock',false,'<p>');inst.addShortcut('ctrl','8','','FormatBlock',false,'<div>');inst.addShortcut('ctrl','9','','FormatBlock',false,'<address>');if(tinyMCE.isGecko){inst.addShortcut('ctrl','b','lang_bold_desc','Bold');inst.addShortcut('ctrl','i','lang_italic_desc','Italic');inst.addShortcut('ctrl','u','lang_underline_desc','Underline')}if(tinyMCE.getParam("convert_fonts_to_spans"))inst.getBody().setAttribute('id','mceSpanFonts');if(tinyMCE.settings['nowrap'])doc.body.style.whiteSpace="nowrap";doc.body.dir=this.settings['directionality'];doc.editorId=editor_id;if(!tinyMCE.isIE)doc.documentElement.editorId=editor_id;inst.setBaseHREF(tinyMCE.settings['base_href']);if(tinyMCE.settings['convert_newlines_to_brs']){content=tinyMCE.regexpReplace(content,"\r\n","<br />","gi");content=tinyMCE.regexpReplace(content,"\r","<br />","gi");content=tinyMCE.regexpReplace(content,"\n","<br />","gi")}content=tinyMCE.storeAwayURLs(content);content=tinyMCE._customCleanup(inst,"insert_to_editor",content);if(tinyMCE.isIE){window.setInterval('try{tinyMCE.getCSSClasses(tinyMCE.instances["'+editor_id+'"].getDoc(), "'+editor_id+'");}catch(e){}',500);if(tinyMCE.settings["force_br_newlines"])doc.styleSheets[0].addRule("p","margin: 0;");var body=inst.getBody();body.editorId=editor_id}content=tinyMCE.cleanupHTMLCode(content);if(!tinyMCE.isIE){var contentElement=inst.getDoc().createElement("body");var doc=inst.getDoc();contentElement.innerHTML=content;if(tinyMCE.isGecko&&tinyMCE.settings['remove_lt_gt'])content=content.replace(new RegExp('&lt;&gt;','g'),"");if(tinyMCE.settings['cleanup_on_startup'])tinyMCE.setInnerHTML(inst.getBody(),tinyMCE._cleanupHTML(inst,doc,this.settings,contentElement));else tinyMCE.setInnerHTML(inst.getBody(),content);tinyMCE.convertAllRelativeURLs(inst.getBody())}else{if(tinyMCE.settings['cleanup_on_startup']){tinyMCE._setHTML(inst.getDoc(),content);eval('try {tinyMCE.setInnerHTML(inst.getBody(), tinyMCE._cleanupHTML(inst, inst.contentDocument, this.settings, inst.getBody()));} catch(e) {}')}else tinyMCE._setHTML(inst.getDoc(),content)}var parentElm=inst.targetDoc.getElementById(inst.editorId+'_parent');inst.formElement=tinyMCE.isGecko?parentElm.previousSibling:parentElm.nextSibling;tinyMCE.handleVisualAid(inst.getBody(),true,tinyMCE.settings['visual'],inst);tinyMCE.dispatchCallback(inst,'setupcontent_callback','setupContent',editor_id,inst.getBody(),inst.getDoc());if(!tinyMCE.isIE)tinyMCE.addEventHandlers(inst);if(tinyMCE.isIE){tinyMCE.addEvent(inst.getBody(),"blur",TinyMCE_Engine.prototype._eventPatch);tinyMCE.addEvent(inst.getBody(),"beforedeactivate",TinyMCE_Engine.prototype._eventPatch);if(!tinyMCE.isOpera){tinyMCE.addEvent(doc.body,"mousemove",TinyMCE_Engine.prototype.onMouseMove);tinyMCE.addEvent(doc.body,"beforepaste",TinyMCE_Engine.prototype._eventPatch);tinyMCE.addEvent(doc.body,"drop",TinyMCE_Engine.prototype._eventPatch)}}inst.select();tinyMCE.selectedElement=inst.contentWindow.document.body;tinyMCE._customCleanup(inst,"insert_to_editor_dom",inst.getBody());tinyMCE._customCleanup(inst,"setup_content_dom",inst.getBody());tinyMCE._setEventsEnabled(inst.getBody(),false);tinyMCE.cleanupAnchors(inst.getDoc());if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(inst.getDoc());inst.startContent=tinyMCE.trim(inst.getBody().innerHTML);inst.undoRedo.add({content:inst.startContent});if(tinyMCE.isGecko){tinyMCE.selectNodes(inst.getBody(),function(n){if(n.nodeType==3||n.nodeType==8)n.nodeValue=n.nodeValue.replace(new RegExp('\\s(mce_src|mce_href)=\"[^\"]*\"','gi'),"");return false})}if(tinyMCE.isGecko)inst.getBody().spellcheck=tinyMCE.getParam("gecko_spellcheck");tinyMCE._removeInternal(inst.getBody());inst.select();tinyMCE.triggerNodeChange(false,true)},storeAwayURLs:function(s){if(!s.match(/(mce_src|mce_href)/gi,s)){s=s.replace(new RegExp('src\\s*=\\s*\"([^ >\"]*)\"','gi'),'src="$1" mce_src="$1"');s=s.replace(new RegExp('href\\s*=\\s*\"([^ >\"]*)\"','gi'),'href="$1" mce_href="$1"')}return s},_removeInternal:function(n){if(tinyMCE.isGecko){tinyMCE.selectNodes(n,function(n){if(n.nodeType==3||n.nodeType==8)n.nodeValue=n.nodeValue.replace(new RegExp('\\s(mce_src|mce_href)=\"[^\"]*\"','gi'),"");return false})}},handleEvent:function(e){var inst=tinyMCE.selectedInstance;if(typeof(tinyMCE)=="undefined")return true;if(tinyMCE.executeCallback(tinyMCE.selectedInstance,'handle_event_callback','handleEvent',e))return false;switch(e.type){case"beforedeactivate":case"blur":if(tinyMCE.selectedInstance)tinyMCE.selectedInstance.execCommand('mceEndTyping');tinyMCE.hideMenus();return;case"drop":case"beforepaste":if(tinyMCE.selectedInstance)tinyMCE.selectedInstance.setBaseHREF(null);if(tinyMCE.isRealIE){var ife=tinyMCE.selectedInstance.iframeElement;if(ife.style.height.indexOf('%')!=-1){ife._oldHeight=ife.style.height;ife.style.height=ife.clientHeight}}window.setTimeout("tinyMCE.selectedInstance.setBaseHREF(tinyMCE.settings['base_href']);tinyMCE._resetIframeHeight();",1);return;case"submit":tinyMCE.triggerSave();tinyMCE.isNotDirty=true;return;case"reset":var formObj=tinyMCE.isIE?window.event.srcElement:e.target;for(var i=0;i<document.forms.length;i++){if(document.forms[i]==formObj)window.setTimeout('tinyMCE.resetForm('+i+');',10)}return;case"keypress":if(inst&&inst.handleShortcut(e))return false;if(e.target.editorId){tinyMCE.instances[e.target.editorId].select()}else{if(e.target.ownerDocument.editorId)tinyMCE.instances[e.target.ownerDocument.editorId].select()}if(tinyMCE.selectedInstance)tinyMCE.selectedInstance.switchSettings();if((tinyMCE.isGecko||tinyMCE.isOpera||tinyMCE.isSafari)&&tinyMCE.settings['force_p_newlines']&&e.keyCode==13&&!e.shiftKey){if(TinyMCE_ForceParagraphs._insertPara(tinyMCE.selectedInstance,e)){tinyMCE.execCommand("mceAddUndoLevel");return tinyMCE.cancelEvent(e)}}if((tinyMCE.isGecko&&!tinyMCE.isSafari)&&tinyMCE.settings['force_p_newlines']&&(e.keyCode==8||e.keyCode==46)&&!e.shiftKey){if(TinyMCE_ForceParagraphs._handleBackSpace(tinyMCE.selectedInstance,e.type)){tinyMCE.execCommand("mceAddUndoLevel");return tinyMCE.cancelEvent(e)}}if(tinyMCE.isIE&&tinyMCE.settings['force_br_newlines']&&e.keyCode==13){if(e.target.editorId)tinyMCE.instances[e.target.editorId].select();if(tinyMCE.selectedInstance){var sel=tinyMCE.selectedInstance.getDoc().selection;var rng=sel.createRange();if(tinyMCE.getParentElement(rng.parentElement(),"li")!=null)return false;e.returnValue=false;e.cancelBubble=true;rng.pasteHTML("<br />");rng.collapse(false);rng.select();tinyMCE.execCommand("mceAddUndoLevel");tinyMCE.triggerNodeChange(false);return false}}if(e.keyCode==8||e.keyCode==46){tinyMCE.selectedElement=e.target;tinyMCE.linkElement=tinyMCE.getParentElement(e.target,"a");tinyMCE.imgElement=tinyMCE.getParentElement(e.target,"img");tinyMCE.triggerNodeChange(false)}return false;break;case"keyup":case"keydown":tinyMCE.hideMenus();tinyMCE.hasMouseMoved=false;if(inst&&inst.handleShortcut(e))return false;if(e.target.editorId)tinyMCE.instances[e.target.editorId].select();if(tinyMCE.selectedInstance)tinyMCE.selectedInstance.switchSettings();var inst=tinyMCE.selectedInstance;if(tinyMCE.isGecko&&tinyMCE.settings['force_p_newlines']&&(e.keyCode==8||e.keyCode==46)&&!e.shiftKey){if(TinyMCE_ForceParagraphs._handleBackSpace(tinyMCE.selectedInstance,e.type)){tinyMCE.execCommand("mceAddUndoLevel");e.preventDefault();return false}}tinyMCE.selectedElement=null;tinyMCE.selectedNode=null;var elm=tinyMCE.selectedInstance.getFocusElement();tinyMCE.linkElement=tinyMCE.getParentElement(elm,"a");tinyMCE.imgElement=tinyMCE.getParentElement(elm,"img");tinyMCE.selectedElement=elm;if(tinyMCE.isGecko&&e.type=="keyup"&&e.keyCode==9)tinyMCE.handleVisualAid(tinyMCE.selectedInstance.getBody(),true,tinyMCE.settings['visual'],tinyMCE.selectedInstance);if(tinyMCE.isIE&&e.type=="keydown"&&e.keyCode==13)tinyMCE.enterKeyElement=tinyMCE.selectedInstance.getFocusElement();if(tinyMCE.isIE&&e.type=="keyup"&&e.keyCode==13){var elm=tinyMCE.enterKeyElement;if(elm){var re=new RegExp('^HR|IMG|BR$','g');var dre=new RegExp('^H[1-6]$','g');if(!elm.hasChildNodes()&&!re.test(elm.nodeName)){if(dre.test(elm.nodeName))elm.innerHTML="&nbsp;&nbsp;";else elm.innerHTML="&nbsp;"}}}var keys=tinyMCE.posKeyCodes;var posKey=false;for(var i=0;i<keys.length;i++){if(keys[i]==e.keyCode){posKey=true;break}}if(tinyMCE.isIE&&tinyMCE.settings['custom_undo_redo']){var keys=new Array(8,46);for(var i=0;i<keys.length;i++){if(keys[i]==e.keyCode){if(e.type=="keyup")tinyMCE.triggerNodeChange(false)}}}if(e.keyCode==17)return true;if(tinyMCE.isGecko){if(!posKey&&e.type=="keyup"&&!e.ctrlKey||(e.ctrlKey&&(e.keyCode==86||e.keyCode==88)))tinyMCE.execCommand("mceStartTyping")}else{if(!posKey&&e.type=="keyup")tinyMCE.execCommand("mceStartTyping")}if(e.type=="keydown"&&(posKey||e.ctrlKey)&&inst)inst.undoBookmark=inst.selection.getBookmark();if(e.type=="keyup"&&(posKey||e.ctrlKey))tinyMCE.execCommand("mceEndTyping");if(posKey&&e.type=="keyup")tinyMCE.triggerNodeChange(false);if(tinyMCE.isIE&&e.ctrlKey)window.setTimeout('tinyMCE.triggerNodeChange(false);',1);break;case"mousedown":case"mouseup":case"click":case"dblclick":case"focus":tinyMCE.hideMenus();if(tinyMCE.selectedInstance){tinyMCE.selectedInstance.switchSettings();tinyMCE.selectedInstance.isFocused=true}var targetBody=tinyMCE.getParentElement(e.target,"html");for(var instanceName in tinyMCE.instances){if(!tinyMCE.isInstance(tinyMCE.instances[instanceName]))continue;var inst=tinyMCE.instances[instanceName];inst.autoResetDesignMode();if(inst.getBody().parentNode==targetBody){inst.select();tinyMCE.selectedElement=e.target;tinyMCE.linkElement=tinyMCE.getParentElement(tinyMCE.selectedElement,"a");tinyMCE.imgElement=tinyMCE.getParentElement(tinyMCE.selectedElement,"img");break}}if(!tinyMCE.selectedInstance.undoRedo.undoLevels[0].bookmark&&(e.type=="mouseup"||e.type=="dblclick"))tinyMCE.selectedInstance.undoRedo.undoLevels[0].bookmark=tinyMCE.selectedInstance.selection.getBookmark();if(e.type!="focus")tinyMCE.selectedNode=null;tinyMCE.triggerNodeChange(false);tinyMCE.execCommand("mceEndTyping");if(e.type=="mouseup")tinyMCE.execCommand("mceAddUndoLevel");if(!tinyMCE.selectedInstance&&e.target.editorId)tinyMCE.instances[e.target.editorId].select();return false;break}},getButtonHTML:function(id,lang,img,cmd,ui,val){var h='',m,x,io='';cmd='tinyMCE.execInstanceCommand(\'{$editor_id}\',\''+cmd+'\'';if(typeof(ui)!="undefined"&&ui!=null)cmd+=','+ui;if(typeof(val)!="undefined"&&val!=null)cmd+=",'"+val+"'";cmd+=');';if(tinyMCE.isRealIE)io='onmouseover="tinyMCE.lastHover = this;"';if(tinyMCE.getParam('button_tile_map')&&(!tinyMCE.isIE||tinyMCE.isOpera)&&(m=this.buttonMap[id])!=null&&(tinyMCE.getParam("language")=="en"||img.indexOf('$lang')==-1)){x=0-(m*20)==0?'0':0-(m*20);h+='<a id="{$editor_id}_'+id+'" href="javascript:'+cmd+'" onclick="'+cmd+'return false;" onmousedown="return false;" '+io+' class="mceTiledButton mceButtonNormal" target="_self">';h+='<img src="{$themeurl}/images/spacer.gif" style="background-position: '+x+'px 0" title="{$'+lang+'}" />';h+='</a>'}else{h+='<a id="{$editor_id}_'+id+'" href="javascript:'+cmd+'" onclick="'+cmd+'return false;" onmousedown="return false;" '+io+' class="mceButtonNormal" target="_self">';h+='<img src="'+img+'" title="{$'+lang+'}" />';h+='</a>'}return h},getMenuButtonHTML:function(id,lang,img,mcmd,cmd,ui,val){var h='',m,x;mcmd='tinyMCE.execInstanceCommand(\'{$editor_id}\',\''+mcmd+'\');';cmd='tinyMCE.execInstanceCommand(\'{$editor_id}\',\''+cmd+'\'';if(typeof(ui)!="undefined"&&ui!=null)cmd+=','+ui;if(typeof(val)!="undefined"&&val!=null)cmd+=",'"+val+"'";cmd+=');';if(tinyMCE.getParam('button_tile_map')&&(!tinyMCE.isIE||tinyMCE.isOpera)&&(m=tinyMCE.buttonMap[id])!=null&&(tinyMCE.getParam("language")=="en"||img.indexOf('$lang')==-1)){x=0-(m*20)==0?'0':0-(m*20);if(tinyMCE.isRealIE)h+='<span id="{$editor_id}_'+id+'" class="mceMenuButton" onmouseover="tinyMCE._menuButtonEvent(\'over\',this);tinyMCE.lastHover = this;" onmouseout="tinyMCE._menuButtonEvent(\'out\',this);">';else h+='<span id="{$editor_id}_'+id+'" class="mceMenuButton">';h+='<a href="javascript:'+cmd+'" onclick="'+cmd+'return false;" onmousedown="return false;" class="mceTiledButton mceMenuButtonNormal" target="_self">';h+='<img src="{$themeurl}/images/spacer.gif" style="width: 20px; height: 20px; background-position: '+x+'px 0" title="{$'+lang+'}" /></a>';h+='<a href="javascript:'+mcmd+'" onclick="'+mcmd+'return false;" onmousedown="return false;"><img src="{$themeurl}/images/button_menu.gif" title="{$'+lang+'}" class="mceMenuButton" />';h+='</a></span>'}else{if(tinyMCE.isRealIE)h+='<span id="{$editor_id}_'+id+'" class="mceMenuButton" onmouseover="tinyMCE._menuButtonEvent(\'over\',this);tinyMCE.lastHover = this;" onmouseout="tinyMCE._menuButtonEvent(\'out\',this);">';else h+='<span id="{$editor_id}_'+id+'" class="mceMenuButton">';h+='<a href="javascript:'+cmd+'" onclick="'+cmd+'return false;" onmousedown="return false;" class="mceMenuButtonNormal" target="_self">';h+='<img src="'+img+'" title="{$'+lang+'}" /></a>';h+='<a href="javascript:'+mcmd+'" onclick="'+mcmd+'return false;" onmousedown="return false;"><img src="{$themeurl}/images/button_menu.gif" title="{$'+lang+'}" class="mceMenuButton" />';h+='</a></span>'}return h},_menuButtonEvent:function(e,o){if(o.className=='mceMenuButtonFocus')return;if(e=='over')o.className=o.className+' mceMenuHover';else o.className=o.className.replace(/\s.*$/,'')},addButtonMap:function(m){var i,a=m.replace(/\s+/,'').split(',');for(i=0;i<a.length;i++)this.buttonMap[a[i]]=i},submitPatch:function(){tinyMCE.triggerSave();tinyMCE.isNotDirty=true;this.mceOldSubmit()},onLoad:function(){var r;if(tinyMCE.settings.strict_loading_mode&&this.loadingIndex!=-1){window.setTimeout('tinyMCE.onLoad();',1);return}if(tinyMCE.isRealIE&&window.event.type=="readystatechange"&&document.readyState!="complete")return true;if(tinyMCE.isLoaded)return true;tinyMCE.isLoaded=true;if(tinyMCE.isRealIE&&document.body){r=document.body.createTextRange();r.collapse(true);r.select()}tinyMCE.dispatchCallback(null,'onpageload','onPageLoad');for(var c=0;c<tinyMCE.configs.length;c++){tinyMCE.settings=tinyMCE.configs[c];var selector=tinyMCE.getParam("editor_selector");var deselector=tinyMCE.getParam("editor_deselector");var elementRefAr=new Array();if(document.forms&&tinyMCE.settings['add_form_submit_trigger']&&!tinyMCE.submitTriggers){for(var i=0;i<document.forms.length;i++){var form=document.forms[i];tinyMCE.addEvent(form,"submit",TinyMCE_Engine.prototype.handleEvent);tinyMCE.addEvent(form,"reset",TinyMCE_Engine.prototype.handleEvent);tinyMCE.submitTriggers=true;if(tinyMCE.settings['submit_patch']){try{form.mceOldSubmit=form.submit;form.submit=TinyMCE_Engine.prototype.submitPatch}catch(e){}}}}var mode=tinyMCE.settings['mode'];switch(mode){case"exact":var elements=tinyMCE.getParam('elements','',true,',');for(var i=0;i<elements.length;i++){var element=tinyMCE._getElementById(elements[i]);var trigger=element?element.getAttribute(tinyMCE.settings['textarea_trigger']):"";if(new RegExp('\\b'+deselector+'\\b').test(tinyMCE.getAttrib(element,"class")))continue;if(trigger=="false")continue;if((tinyMCE.settings['ask']||tinyMCE.settings['convert_on_click'])&&element){elementRefAr[elementRefAr.length]=element;continue}if(element)tinyMCE.addMCEControl(element,elements[i]);else if(tinyMCE.settings['debug'])alert("Error: Could not find element by id or name: "+elements[i])}break;case"specific_textareas":case"textareas":var nodeList=document.getElementsByTagName("textarea");for(var i=0;i<nodeList.length;i++){var elm=nodeList.item(i);var trigger=elm.getAttribute(tinyMCE.settings['textarea_trigger']);if(selector!=''&&!new RegExp('\\b'+selector+'\\b').test(tinyMCE.getAttrib(elm,"class")))continue;if(selector!='')trigger=selector!=""?"true":"";if(new RegExp('\\b'+deselector+'\\b').test(tinyMCE.getAttrib(elm,"class")))continue;if((mode=="specific_textareas"&&trigger=="true")||(mode=="textareas"&&trigger!="false"))elementRefAr[elementRefAr.length]=elm}break}for(var i=0;i<elementRefAr.length;i++){var element=elementRefAr[i];var elementId=element.name?element.name:element.id;if(tinyMCE.settings['ask']||tinyMCE.settings['convert_on_click']){if(tinyMCE.isGecko){var settings=tinyMCE.settings;tinyMCE.addEvent(element,"focus",function(e){window.setTimeout(function(){TinyMCE_Engine.prototype.confirmAdd(e,settings)},10)});if(element.nodeName!="TEXTAREA"&&element.nodeName!="INPUT")tinyMCE.addEvent(element,"click",function(e){window.setTimeout(function(){TinyMCE_Engine.prototype.confirmAdd(e,settings)},10)});}else{var settings=tinyMCE.settings;tinyMCE.addEvent(element,"focus",function(){TinyMCE_Engine.prototype.confirmAdd(null,settings)});tinyMCE.addEvent(element,"click",function(){TinyMCE_Engine.prototype.confirmAdd(null,settings)});}}else tinyMCE.addMCEControl(element,elementId)}if(tinyMCE.settings['auto_focus']){window.setTimeout(function(){var inst=tinyMCE.getInstanceById(tinyMCE.settings['auto_focus']);inst.selection.selectNode(inst.getBody(),true,true);inst.contentWindow.focus()},100)}tinyMCE.dispatchCallback(null,'oninit','onInit')}},isInstance:function(o){return o!=null&&typeof(o)=="object"&&o.isTinyMCE_Control},getParam:function(name,default_value,strip_whitespace,split_chr){var value=(typeof(this.settings[name])=="undefined")?default_value:this.settings[name];if(value=="true"||value=="false")return(value=="true");if(strip_whitespace)value=tinyMCE.regexpReplace(value,"[ \t\r\n]","");if(typeof(split_chr)!="undefined"&&split_chr!=null){value=value.split(split_chr);var outArray=new Array();for(var i=0;i<value.length;i++){if(value[i]&&value[i]!="")outArray[outArray.length]=value[i]}value=outArray}return value},getLang:function(name,default_value,parse_entities,va){var v=(typeof(tinyMCELang[name])=="undefined")?default_value:tinyMCELang[name],n;if(parse_entities)v=tinyMCE.entityDecode(v);if(va){for(n in va)v=this.replaceVar(v,n,va[n])}return v},entityDecode:function(s){var e=document.createElement("div");e.innerHTML=s;return e.firstChild.nodeValue},addToLang:function(prefix,ar){for(var key in ar){if(typeof(ar[key])=='function')continue;tinyMCELang[(key.indexOf('lang_')==-1?'lang_':'')+(prefix!=''?(prefix+"_"):'')+key]=ar[key]}this.loadNextScript();},triggerNodeChange:function(focus,setup_content){if(tinyMCE.selectedInstance){var inst=tinyMCE.selectedInstance;var editorId=inst.editorId;var elm=(typeof(setup_content)!="undefined"&&setup_content)?tinyMCE.selectedElement:inst.getFocusElement();var undoIndex=-1,doc;var undoLevels=-1;var anySelection=false;var selectedText=inst.selection.getSelectedText();if(tinyMCE.settings.auto_resize)inst.resizeToContent();if(setup_content&&tinyMCE.isGecko&&inst.isHidden())elm=inst.getBody();inst.switchSettings();if(tinyMCE.selectedElement)anySelection=(tinyMCE.selectedElement.nodeName.toLowerCase()=="img")||(selectedText&&selectedText.length>0);if(tinyMCE.settings['custom_undo_redo']){undoIndex=inst.undoRedo.undoIndex;undoLevels=inst.undoRedo.undoLevels.length}tinyMCE.dispatchCallback(inst,'handle_node_change_callback','handleNodeChange',editorId,elm,undoIndex,undoLevels,inst.visualAid,anySelection,setup_content)}if(this.selectedInstance&&(typeof(focus)=="undefined"||focus))this.selectedInstance.contentWindow.focus()},_customCleanup:function(inst,type,content){var pl,po,i;var customCleanup=tinyMCE.settings['cleanup_callback'];if(customCleanup!=""&&eval("typeof("+customCleanup+")")!="undefined")content=eval(customCleanup+"(type, content, inst);");po=tinyMCE.themes[tinyMCE.settings['theme']];if(po&&po.cleanup)content=po.cleanup(type,content,inst);pl=inst.plugins;for(i=0;i<pl.length;i++){po=tinyMCE.plugins[pl[i]];if(po&&po.cleanup)content=po.cleanup(type,content,inst)}return content},setContent:function(h){if(tinyMCE.selectedInstance){tinyMCE.selectedInstance.execCommand('mceSetContent',false,h);tinyMCE.selectedInstance.repaint()}},importThemeLanguagePack:function(name){if(typeof(name)=="undefined")name=tinyMCE.settings['theme'];tinyMCE.loadScript(tinyMCE.baseURL+'/themes/'+name+'/langs/'+tinyMCE.settings['language']+'.js')},importPluginLanguagePack:function(name){var b=tinyMCE.baseURL+'/plugins/'+name;if(this.plugins[name])b=this.plugins[name].baseURL;tinyMCE.loadScript(b+'/langs/'+tinyMCE.settings['language']+'.js')},applyTemplate:function(h,as){return h.replace(new RegExp('\\{\\$([a-z0-9_]+)\\}','gi'),function(m,s){if(s.indexOf('lang_')==0&&tinyMCELang[s])return tinyMCELang[s];if(as&&as[s])return as[s];if(tinyMCE.settings[s])return tinyMCE.settings[s];if(m=='themeurl')return tinyMCE.themeURL;return m})},replaceVar:function(h,r,v){return h.replace(new RegExp('{\\\$'+r+'}','g'),v)},openWindow:function(template,args){var html,width,height,x,y,resizable,scrollbars,url;args['mce_template_file']=template['file'];args['mce_width']=template['width'];args['mce_height']=template['height'];tinyMCE.windowArgs=args;html=template['html'];if(!(width=parseInt(template['width'])))width=320;if(!(height=parseInt(template['height'])))height=200;if(tinyMCE.isIE)height+=40;else height+=20;x=parseInt(screen.width/ 2.0) - (width /2.0);y=parseInt(screen.height/ 2.0) - (height /2.0);resizable=(args&&args['resizable'])?args['resizable']:"no";scrollbars=(args&&args['scrollbars'])?args['scrollbars']:"no";if(template['file'].charAt(0)!='/'&&template['file'].indexOf('://')==-1)url=tinyMCE.baseURL+"/themes/"+tinyMCE.getParam("theme")+"/"+template['file'];else url=template['file'];for(var name in args){if(typeof(args[name])=='function')continue;url=tinyMCE.replaceVar(url,name,escape(args[name]))}if(html){html=tinyMCE.replaceVar(html,"css",this.settings['popups_css']);html=tinyMCE.applyTemplate(html,args);var win=window.open("","mcePopup"+new Date().getTime(),"top="+y+",left="+x+",scrollbars="+scrollbars+",dialog=yes,minimizable="+resizable+",modal=yes,width="+width+",height="+height+",resizable="+resizable);if(win==null){alert(tinyMCELang['lang_popup_blocked']);return}win.document.write(html);win.document.close();win.resizeTo(width,height);win.focus()}else{if((tinyMCE.isRealIE)&&resizable!='yes'&&tinyMCE.settings["dialog_type"]=="modal"){height+=10;var features="resizable:"+resizable+";scroll:"+scrollbars+";status:yes;center:yes;help:no;dialogWidth:"+width+"px;dialogHeight:"+height+"px;";window.showModalDialog(url,window,features)}else{var modal=(resizable=="yes")?"no":"yes";if(tinyMCE.isGecko&&tinyMCE.isMac)modal="no";if(template['close_previous']!="no")try{tinyMCE.lastWindow.close()}catch(ex){}var win=window.open(url,"mcePopup"+new Date().getTime(),"top="+y+",left="+x+",scrollbars="+scrollbars+",dialog="+modal+",minimizable="+resizable+",modal="+modal+",width="+width+",height="+height+",resizable="+resizable);if(win==null){alert(tinyMCELang['lang_popup_blocked']);return}if(template['close_previous']!="no")tinyMCE.lastWindow=win;eval('try { win.resizeTo(width, height); } catch(e) { }');if(tinyMCE.isGecko){if(win.document.defaultView.statusbar.visible)win.resizeBy(0,tinyMCE.isMac?10:24)}win.focus()}}},closeWindow:function(win){win.close()},getVisualAidClass:function(class_name,state){var aidClass=tinyMCE.settings['visual_table_class'];if(typeof(state)=="undefined")state=tinyMCE.settings['visual'];var classNames=new Array();var ar=class_name.split(' ');for(var i=0;i<ar.length;i++){if(ar[i]==aidClass)ar[i]="";if(ar[i]!="")classNames[classNames.length]=ar[i]}if(state)classNames[classNames.length]=aidClass;var className="";for(var i=0;i<classNames.length;i++){if(i>0)className+=" ";className+=classNames[i]}return className},handleVisualAid:function(el,deep,state,inst,skip_dispatch){if(!el)return;if(!skip_dispatch)tinyMCE.dispatchCallback(inst,'handle_visual_aid_callback','handleVisualAid',el,deep,state,inst);var tableElement=null;switch(el.nodeName){case"TABLE":var oldW=el.style.width;var oldH=el.style.height;var bo=tinyMCE.getAttrib(el,"border");bo=bo==""||bo=="0"?true:false;tinyMCE.setAttrib(el,"class",tinyMCE.getVisualAidClass(tinyMCE.getAttrib(el,"class"),state&&bo));el.style.width=oldW;el.style.height=oldH;for(var y=0;y<el.rows.length;y++){for(var x=0;x<el.rows[y].cells.length;x++){var cn=tinyMCE.getVisualAidClass(tinyMCE.getAttrib(el.rows[y].cells[x],"class"),state&&bo);tinyMCE.setAttrib(el.rows[y].cells[x],"class",cn)}}break;case"A":var anchorName=tinyMCE.getAttrib(el,"name");if(anchorName!=''&&state){el.title=anchorName;tinyMCE.addCSSClass(el,'mceItemAnchor')}else if(anchorName!=''&&!state)el.className='';break}if(deep&&el.hasChildNodes()){for(var i=0;i<el.childNodes.length;i++)tinyMCE.handleVisualAid(el.childNodes[i],deep,state,inst,true)}},fixGeckoBaseHREFBug:function(m,e,h){var xsrc,xhref;if(tinyMCE.isGecko){if(m==1){h=h.replace(/\ssrc=/gi," mce_tsrc=");h=h.replace(/\shref=/gi," mce_thref=");return h}else{if(!new RegExp('(src|href)=','g').test(h))return h;tinyMCE.selectElements(e,'A,IMG,SELECT,AREA,IFRAME,BASE,INPUT,SCRIPT,EMBED,OBJECT,LINK',function(n){xsrc=tinyMCE.getAttrib(n,"mce_tsrc");xhref=tinyMCE.getAttrib(n,"mce_thref");if(xsrc!=""){try{n.src=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],xsrc)}catch(e){}n.removeAttribute("mce_tsrc")}if(xhref!=""){try{n.href=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],xhref)}catch(e){}n.removeAttribute("mce_thref")}return false});tinyMCE.selectNodes(e,function(n){if(n.nodeType==3||n.nodeType==8){n.nodeValue=n.nodeValue.replace(/\smce_tsrc=/gi," src=");n.nodeValue=n.nodeValue.replace(/\smce_thref=/gi," href=")}return false})}}return h},_setHTML:function(doc,html_content){html_content=tinyMCE.cleanupHTMLCode(html_content);try{tinyMCE.setInnerHTML(doc.body,html_content)}catch(e){if(this.isMSIE)doc.body.createTextRange().pasteHTML(html_content)}if(tinyMCE.isIE&&tinyMCE.settings['fix_content_duplication']){var paras=doc.getElementsByTagName("P");for(var i=0;i<paras.length;i++){var node=paras[i];while((node=node.parentNode)!=null){if(node.nodeName=="P")node.outerHTML=node.innerHTML}}var html=doc.body.innerHTML;tinyMCE.setInnerHTML(doc.body,html)}tinyMCE.cleanupAnchors(doc);if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(doc)},getEditorId:function(form_element){var inst=this.getInstanceById(form_element);if(!inst)return null;return inst.editorId},getInstanceById:function(editor_id){var inst=this.instances[editor_id];if(!inst){for(var n in tinyMCE.instances){var instance=tinyMCE.instances[n];if(!tinyMCE.isInstance(instance))continue;if(instance.formTargetElementId==editor_id){inst=instance;break}}}return inst},queryInstanceCommandValue:function(editor_id,command){var inst=tinyMCE.getInstanceById(editor_id);if(inst)return inst.queryCommandValue(command);return false},queryInstanceCommandState:function(editor_id,command){var inst=tinyMCE.getInstanceById(editor_id);if(inst)return inst.queryCommandState(command);return null},setWindowArg:function(n,v){this.windowArgs[n]=v},getWindowArg:function(n,d){return(typeof(this.windowArgs[n])=="undefined")?d:this.windowArgs[n]},getCSSClasses:function(editor_id,doc){var output=new Array();if(typeof(tinyMCE.cssClasses)!="undefined")return tinyMCE.cssClasses;if(typeof(editor_id)=="undefined"&&typeof(doc)=="undefined"){var instance;for(var instanceName in tinyMCE.instances){instance=tinyMCE.instances[instanceName];if(!tinyMCE.isInstance(instance))continue;break}doc=instance.getDoc()}if(typeof(doc)=="undefined"){var instance=tinyMCE.getInstanceById(editor_id);doc=instance.getDoc()}if(doc){var styles=doc.styleSheets;if(styles&&styles.length>0){for(var x=0;x<styles.length;x++){var csses=null;eval("try {var csses = tinyMCE.isIE ? doc.styleSheets("+x+").rules : styles["+x+"].cssRules;} catch(e) {}");if(!csses)return new Array();for(var i=0;i<csses.length;i++){var selectorText=csses[i].selectorText;if(selectorText){var rules=selectorText.split(',');for(var c=0;c<rules.length;c++){var rule=rules[c];while(rule.indexOf(' ')==0)rule=rule.substring(1);if(rule.indexOf(' ')!=-1||rule.indexOf(':')!=-1||rule.indexOf('mceItem')!=-1)continue;if(rule.indexOf(tinyMCE.settings['visual_table_class'])!=-1||rule.indexOf('mceEditable')!=-1||rule.indexOf('mceNonEditable')!=-1)continue;if(rule.indexOf('.')!=-1){var cssClass=rule.substring(rule.indexOf('.')+1);var addClass=true;for(var p=0;p<output.length&&addClass;p++){if(output[p]==cssClass)addClass=false}if(addClass)output[output.length]=cssClass}}}}}}}if(output.length>0)tinyMCE.cssClasses=output;return output},regexpReplace:function(in_str,reg_exp,replace_str,opts){if(in_str==null)return in_str;if(typeof(opts)=="undefined")opts='g';var re=new RegExp(reg_exp,opts);return in_str.replace(re,replace_str)},trim:function(s){return s.replace(/^\s*|\s*$/g,"")},cleanupEventStr:function(s){s=""+s;s=s.replace('function anonymous()\n{\n','');s=s.replace('\n}','');s=s.replace(/^return true;/gi,'');return s},getControlHTML:function(c){var i,l,n,o,v;l=tinyMCE.plugins;for(n in l){o=l[n];if(o.getControlHTML&&(v=o.getControlHTML(c))!='')return tinyMCE.replaceVar(v,"pluginurl",o.baseURL)}o=tinyMCE.themes[tinyMCE.settings['theme']];if(o.getControlHTML&&(v=o.getControlHTML(c))!='')return v;return''},evalFunc:function(f,idx,a,o){var s='(',i;for(i=idx;i<a.length;i++){s+='a['+i+']';if(i<a.length-1)s+=','}s+=');';return o?eval("o."+f+s):eval("f"+s)},dispatchCallback:function(i,p,n){return this.callFunc(i,p,n,0,this.dispatchCallback.arguments)},executeCallback:function(i,p,n){return this.callFunc(i,p,n,1,this.executeCallback.arguments)},execCommandCallback:function(i,p,n){return this.callFunc(i,p,n,2,this.execCommandCallback.arguments)},callFunc:function(ins,p,n,m,a){var l,i,on,o,s,v;s=m==2;l=tinyMCE.getParam(p,'');if(l!=''&&(v=tinyMCE.evalFunc(typeof(l)=="function"?l:eval(l),3,a))==s&&m>0)return true;if(ins!=null){for(i=0,l=ins.plugins;i<l.length;i++){o=tinyMCE.plugins[l[i]];if(o[n]&&(v=tinyMCE.evalFunc(n,3,a,o))==s&&m>0)return true}}l=tinyMCE.themes;for(on in l){o=l[on];if(o[n]&&(v=tinyMCE.evalFunc(n,3,a,o))==s&&m>0)return true}return false},xmlEncode:function(s){return s?(''+s).replace(new RegExp('[<>&"\']','g'),function(c,b){switch(c){case'&':return'&amp;';case'"':return'&quot;';case'\'':return'&#39;';case'<':return'&lt;';case'>':return'&gt;'}return c}):s},extend:function(p,np){var o={};o.parent=p;for(n in p)o[n]=p[n];for(n in np)o[n]=np[n];return o},hideMenus:function(){var e=tinyMCE.lastSelectedMenuBtn;if(tinyMCE.lastMenu){tinyMCE.lastMenu.hide();tinyMCE.lastMenu=null}if(e){tinyMCE.switchClass(e,tinyMCE.lastMenuBtnClass);tinyMCE.lastSelectedMenuBtn=null}}};var TinyMCE=TinyMCE_Engine;var tinyMCE=new TinyMCE_Engine();var tinyMCELang={};function TinyMCE_Control(settings){var t,i,to,fu,p,x,fn,fu,pn,s=settings;this.undoRedoLevel=true;this.isTinyMCE_Control=true;this.settings=s;this.settings['theme']=tinyMCE.getParam("theme","default");this.settings['width']=tinyMCE.getParam("width",-1);this.settings['height']=tinyMCE.getParam("height",-1);this.selection=new TinyMCE_Selection(this);this.undoRedo=new TinyMCE_UndoRedo(this);this.cleanup=new TinyMCE_Cleanup();this.shortcuts=new Array();this.hasMouseMoved=false;this.foreColor=this.backColor="#999999";this.data={};this.cleanup.init({valid_elements:s.valid_elements,extended_valid_elements:s.extended_valid_elements,valid_child_elements:s.valid_child_elements,entities:s.entities,entity_encoding:s.entity_encoding,debug:s.cleanup_debug,url_converter:'TinyMCE_Cleanup.prototype._urlConverter',indent:s.apply_source_formatting,invalid_elements:s.invalid_elements,verify_html:s.verify_html,fix_content_duplication:s.fix_content_duplication});t=this.settings['theme'];if(!tinyMCE.hasTheme(t)){fn=tinyMCE.callbacks;to={};for(i=0;i<fn.length;i++){if((fu=window['TinyMCE_'+t+"_"+fn[i]]))to[fn[i]]=fu}tinyMCE.addTheme(t,to)}this.plugins=new Array();p=tinyMCE.getParam('plugins','',true,',');if(p.length>0){for(i=0;i<p.length;i++){pn=p[i];if(pn.charAt(0)=='-')pn=pn.substring(1);if(!tinyMCE.hasPlugin(pn)){fn=tinyMCE.callbacks;to={};for(x=0;x<fn.length;x++){if((fu=window['TinyMCE_'+pn+"_"+fn[x]]))to[fn[x]]=fu}tinyMCE.addPlugin(pn,to)}this.plugins[this.plugins.length]=pn}}};TinyMCE_Control.prototype={selection:null,settings:null,cleanup:null,getData:function(na){var o=this.data[na];if(!o)o=this.data[na]={};return o},hasPlugin:function(n){var i;for(i=0;i<this.plugins.length;i++){if(this.plugins[i]==n)return true}return false},addPlugin:function(n,p){if(!this.hasPlugin(n)){tinyMCE.addPlugin(n,p);this.plugins[this.plugins.length]=n}},repaint:function(){var s,b,ex;if(tinyMCE.isRealIE)return;try{s=this.selection;b=s.getBookmark(true);this.getBody().style.display='none';this.getDoc().execCommand('selectall',false,null);this.getSel().collapseToStart();this.getBody().style.display='block';s.moveToBookmark(b)}catch(ex){}},switchSettings:function(){if(tinyMCE.configs.length>1&&tinyMCE.currentConfig!=this.settings['index']){tinyMCE.settings=this.settings;tinyMCE.currentConfig=this.settings['index']}},select:function(){var oldInst=tinyMCE.selectedInstance;if(oldInst!=this){if(oldInst)oldInst.execCommand('mceEndTyping');tinyMCE.dispatchCallback(this,'select_instance_callback','selectInstance',this,oldInst);tinyMCE.selectedInstance=this}},getBody:function(){return this.contentBody?this.contentBody:this.getDoc().body},getDoc:function(){return this.contentWindow.document},getWin:function(){return this.contentWindow},getContainerWin:function(){return this.containerWindow?this.containerWindow:window},getViewPort:function(){return tinyMCE.getViewPort(this.getWin())},getParentNode:function(n,f){return tinyMCE.getParentNode(n,f,this.getBody())},getParentElement:function(n,na,f){return tinyMCE.getParentElement(n,na,f,this.getBody())},getParentBlockElement:function(n){return tinyMCE.getParentBlockElement(n,this.getBody())},resizeToContent:function(){var d=this.getDoc(),b=d.body,de=d.documentElement;this.iframeElement.style.height=(tinyMCE.isRealIE)?b.scrollHeight:de.offsetHeight+'px'},addShortcut:function(m,k,d,cmd,ui,va){var n=typeof(k)=="number",ie=tinyMCE.isIE,c,sc,i,scl=this.shortcuts;if(!tinyMCE.getParam('custom_shortcuts'))return false;m=m.toLowerCase();k=ie&&!n?k.toUpperCase():k;c=n?null:k.charCodeAt(0);d=d&&d.indexOf('lang_')==0?tinyMCE.getLang(d):d;sc={alt:m.indexOf('alt')!=-1,ctrl:m.indexOf('ctrl')!=-1,shift:m.indexOf('shift')!=-1,charCode:c,keyCode:n?k:(ie?c:null),desc:d,cmd:cmd,ui:ui,val:va};for(i=0;i<scl.length;i++){if(sc.alt==scl[i].alt&&sc.ctrl==scl[i].ctrl&&sc.shift==scl[i].shift&&sc.charCode==scl[i].charCode&&sc.keyCode==scl[i].keyCode){return false}}scl[scl.length]=sc;return true},handleShortcut:function(e){var i,s=this.shortcuts,o;for(i=0;i<s.length;i++){o=s[i];if(o.alt==e.altKey&&o.ctrl==e.ctrlKey&&(o.keyCode==e.keyCode||o.charCode==e.charCode)){if(o.cmd&&(e.type=="keydown"||(e.type=="keypress"&&!tinyMCE.isOpera)))tinyMCE.execCommand(o.cmd,o.ui,o.val);tinyMCE.cancelEvent(e);return true}}return false},autoResetDesignMode:function(){if(!tinyMCE.isIE&&this.isHidden()&&tinyMCE.getParam('auto_reset_designmode'))eval('try { this.getDoc().designMode = "On"; this.useCSS = false; } catch(e) {}')},isHidden:function(){var s;if(tinyMCE.isIE)return false;s=this.getSel();return(!s||!s.rangeCount||s.rangeCount==0)},isDirty:function(){return tinyMCE.trim(this.startContent)!=tinyMCE.trim(this.getBody().innerHTML)&&!tinyMCE.isNotDirty},_mergeElements:function(scmd,pa,ch,override){if(scmd=="removeformat"){pa.className="";pa.style.cssText="";ch.className="";ch.style.cssText="";return}var st=tinyMCE.parseStyle(tinyMCE.getAttrib(pa,"style"));var stc=tinyMCE.parseStyle(tinyMCE.getAttrib(ch,"style"));var className=tinyMCE.getAttrib(pa,"class");className=tinyMCE.getAttrib(ch,"class");if(override){for(var n in st){if(typeof(st[n])=='function')continue;stc[n]=st[n]}}else{for(var n in stc){if(typeof(stc[n])=='function')continue;st[n]=stc[n]}}tinyMCE.setAttrib(pa,"style",tinyMCE.serializeStyle(st));tinyMCE.setAttrib(pa,"class",tinyMCE.trim(className));ch.className="";ch.style.cssText="";ch.removeAttribute("class");ch.removeAttribute("style")},_setUseCSS:function(b){var d=this.getDoc();try{d.execCommand("useCSS",false,!b)}catch(ex){}try{d.execCommand("styleWithCSS",false,b)}catch(ex){}if(!tinyMCE.getParam("table_inline_editing"))try{d.execCommand('enableInlineTableEditing',false,"false")}catch(ex){}if(!tinyMCE.getParam("object_resizing"))try{d.execCommand('enableObjectResizing',false,"false")}catch(ex){}},execCommand:function(command,user_interface,value){var doc=this.getDoc(),win=this.getWin(),focusElm=this.getFocusElement();if(!new RegExp('mceStartTyping|mceEndTyping|mceBeginUndoLevel|mceEndUndoLevel|mceAddUndoLevel','gi').test(command))this.undoBookmark=null;if(!tinyMCE.isIE&&!this.useCSS){this._setUseCSS(false);this.useCSS=true}this.contentDocument=doc;if(tinyMCE.execCommandCallback(this,'execcommand_callback','execCommand',this.editorId,this.getBody(),command,user_interface,value))return;if(focusElm&&focusElm.nodeName=="IMG"){var align=focusElm.getAttribute('align');var img=command=="JustifyCenter"?focusElm.cloneNode(false):focusElm;switch(command){case"JustifyLeft":if(align=='left')img.removeAttribute('align');else img.setAttribute('align','left');var div=focusElm.parentNode;if(div&&div.nodeName=="DIV"&&div.childNodes.length==1&&div.parentNode)div.parentNode.replaceChild(img,div);this.selection.selectNode(img);this.repaint();tinyMCE.triggerNodeChange();return;case"JustifyCenter":img.removeAttribute('align');var div=tinyMCE.getParentElement(focusElm,"div");if(div&&div.style.textAlign=="center"){if(div.nodeName=="DIV"&&div.childNodes.length==1&&div.parentNode)div.parentNode.replaceChild(img,div)}else{var div=this.getDoc().createElement("div");div.style.textAlign='center';div.appendChild(img);focusElm.parentNode.replaceChild(div,focusElm)}this.selection.selectNode(img);this.repaint();tinyMCE.triggerNodeChange();return;case"JustifyRight":if(align=='right')img.removeAttribute('align');else img.setAttribute('align','right');var div=focusElm.parentNode;if(div&&div.nodeName=="DIV"&&div.childNodes.length==1&&div.parentNode)div.parentNode.replaceChild(img,div);this.selection.selectNode(img);this.repaint();tinyMCE.triggerNodeChange();return}}if(tinyMCE.settings['force_br_newlines']){var alignValue="";if(doc.selection.type!="Control"){switch(command){case"JustifyLeft":alignValue="left";break;case"JustifyCenter":alignValue="center";break;case"JustifyFull":alignValue="justify";break;case"JustifyRight":alignValue="right";break}if(alignValue!=""){var rng=doc.selection.createRange();if((divElm=tinyMCE.getParentElement(rng.parentElement(),"div"))!=null)divElm.setAttribute("align",alignValue);else if(rng.pasteHTML&&rng.htmlText.length>0)rng.pasteHTML('<div align="'+alignValue+'">'+rng.htmlText+"</div>");tinyMCE.triggerNodeChange();return}}}switch(command){case"mceRepaint":this.repaint();return true;case"unlink":if(tinyMCE.isGecko&&this.getSel().isCollapsed){focusElm=tinyMCE.getParentElement(focusElm,'A');if(focusElm)this.selection.selectNode(focusElm,false)}this.getDoc().execCommand(command,user_interface,value);tinyMCE.isGecko&&this.getSel().collapseToEnd();tinyMCE.triggerNodeChange();return true;case"FormatBlock":if(!this.cleanup.isValid(value))return true;this.getDoc().execCommand(command,user_interface,value);tinyMCE.triggerNodeChange();break;case"InsertUnorderedList":case"InsertOrderedList":this.getDoc().execCommand(command,user_interface,value);tinyMCE.triggerNodeChange();break;case"Strikethrough":this.getDoc().execCommand(command,user_interface,value);tinyMCE.triggerNodeChange();break;case"mceSelectNode":this.selection.selectNode(value);tinyMCE.triggerNodeChange();tinyMCE.selectedNode=value;break;case"FormatBlock":if(value==null||value==""){var elm=tinyMCE.getParentElement(this.getFocusElement(),"p,div,h1,h2,h3,h4,h5,h6,pre,address,blockquote,dt,dl,dd,samp");if(elm)this.execCommand("mceRemoveNode",false,elm)}else{if(tinyMCE.isGecko&&new RegExp('<(div|blockquote|code|dt|dd|dl|samp)>','gi').test(value))value=value.replace(/[^a-z]/gi,'');if(tinyMCE.isIE&&new RegExp('blockquote|code|samp','gi').test(value)){var b=this.selection.getBookmark();this.getDoc().execCommand("FormatBlock",false,'<p>');tinyMCE.renameElement(tinyMCE.getParentBlockElement(this.getFocusElement()),value);this.selection.moveToBookmark(b)}else this.getDoc().execCommand("FormatBlock",false,value)}tinyMCE.triggerNodeChange();break;case"mceRemoveNode":if(!value)value=tinyMCE.getParentElement(this.getFocusElement());if(tinyMCE.isIE){value.outerHTML=value.innerHTML}else{var rng=value.ownerDocument.createRange();rng.setStartBefore(value);rng.setEndAfter(value);rng.deleteContents();rng.insertNode(rng.createContextualFragment(value.innerHTML))}tinyMCE.triggerNodeChange();break;case"mceSelectNodeDepth":var parentNode=this.getFocusElement();for(var i=0;parentNode;i++){if(parentNode.nodeName.toLowerCase()=="body")break;if(parentNode.nodeName.toLowerCase()=="#text"){i--;parentNode=parentNode.parentNode;continue}if(i==value){this.selection.selectNode(parentNode,false);tinyMCE.triggerNodeChange();tinyMCE.selectedNode=parentNode;return}parentNode=parentNode.parentNode}break;case"SetStyleInfo":var rng=this.getRng();var sel=this.getSel();var scmd=value['command'];var sname=value['name'];var svalue=value['value']==null?'':value['value'];var wrapper=value['wrapper']?value['wrapper']:"span";var parentElm=null;var invalidRe=new RegExp("^BODY|HTML$","g");var invalidParentsRe=tinyMCE.settings['merge_styles_invalid_parents']!=''?new RegExp(tinyMCE.settings['merge_styles_invalid_parents'],"gi"):null;if(tinyMCE.isIE){if(rng.item)parentElm=rng.item(0);else{var pelm=rng.parentElement();var prng=doc.selection.createRange();prng.moveToElementText(pelm);if(rng.htmlText==prng.htmlText||rng.boundingWidth==0){if(invalidParentsRe==null||!invalidParentsRe.test(pelm.nodeName))parentElm=pelm}}}else{var felm=this.getFocusElement();if(sel.isCollapsed||(new RegExp('td|tr|tbody|table','gi').test(felm.nodeName)&&sel.anchorNode==felm.parentNode))parentElm=felm}if(parentElm&&!invalidRe.test(parentElm.nodeName)){if(scmd=="setstyle")tinyMCE.setStyleAttrib(parentElm,sname,svalue);if(scmd=="setattrib")tinyMCE.setAttrib(parentElm,sname,svalue);if(scmd=="removeformat"){parentElm.style.cssText='';tinyMCE.setAttrib(parentElm,'class','')}var ch=tinyMCE.getNodeTree(parentElm,new Array(),1);for(var z=0;z<ch.length;z++){if(ch[z]==parentElm)continue;if(scmd=="setstyle")tinyMCE.setStyleAttrib(ch[z],sname,'');if(scmd=="setattrib")tinyMCE.setAttrib(ch[z],sname,'');if(scmd=="removeformat"){ch[z].style.cssText='';tinyMCE.setAttrib(ch[z],'class','')}}}else{this._setUseCSS(false);doc.execCommand("FontName",false,"#mce_temp_font#");var elementArray=tinyMCE.getElementsByAttributeValue(this.getBody(),"font","face","#mce_temp_font#");for(var x=0;x<elementArray.length;x++){elm=elementArray[x];if(elm){var spanElm=doc.createElement(wrapper);if(scmd=="setstyle")tinyMCE.setStyleAttrib(spanElm,sname,svalue);if(scmd=="setattrib")tinyMCE.setAttrib(spanElm,sname,svalue);if(scmd=="removeformat"){spanElm.style.cssText='';tinyMCE.setAttrib(spanElm,'class','')}if(elm.hasChildNodes()){for(var i=0;i<elm.childNodes.length;i++)spanElm.appendChild(elm.childNodes[i].cloneNode(true))}spanElm.setAttribute("mce_new","true");elm.parentNode.replaceChild(spanElm,elm);var ch=tinyMCE.getNodeTree(spanElm,new Array(),1);for(var z=0;z<ch.length;z++){if(ch[z]==spanElm)continue;if(scmd=="setstyle")tinyMCE.setStyleAttrib(ch[z],sname,'');if(scmd=="setattrib")tinyMCE.setAttrib(ch[z],sname,'');if(scmd=="removeformat"){ch[z].style.cssText='';tinyMCE.setAttrib(ch[z],'class','')}}}}}var nodes=doc.getElementsByTagName(wrapper);for(var i=nodes.length-1;i>=0;i--){var elm=nodes[i];var isNew=tinyMCE.getAttrib(elm,"mce_new")=="true";elm.removeAttribute("mce_new");if(elm.childNodes&&elm.childNodes.length==1&&elm.childNodes[0].nodeType==1){this._mergeElements(scmd,elm,elm.childNodes[0],isNew);continue}if(elm.parentNode.childNodes.length==1&&!invalidRe.test(elm.nodeName)&&!invalidRe.test(elm.parentNode.nodeName)){if(invalidParentsRe==null||!invalidParentsRe.test(elm.parentNode.nodeName))this._mergeElements(scmd,elm.parentNode,elm,false)}}var nodes=doc.getElementsByTagName(wrapper);for(var i=nodes.length-1;i>=0;i--){var elm=nodes[i];var isEmpty=true;var tmp=doc.createElement("body");tmp.appendChild(elm.cloneNode(false));tmp.innerHTML=tmp.innerHTML.replace(new RegExp('style=""|class=""','gi'),'');if(new RegExp('<span>','gi').test(tmp.innerHTML)){for(var x=0;x<elm.childNodes.length;x++){if(elm.parentNode!=null)elm.parentNode.insertBefore(elm.childNodes[x].cloneNode(true),elm)}elm.parentNode.removeChild(elm)}}if(scmd=="removeformat")tinyMCE.handleVisualAid(this.getBody(),true,this.visualAid,this);tinyMCE.triggerNodeChange();break;case"FontName":if(value==null){var s=this.getSel();if(tinyMCE.isGecko&&s.isCollapsed){var f=tinyMCE.getParentElement(this.getFocusElement(),"font");if(f!=null)this.selection.selectNode(f,false)}this.getDoc().execCommand("RemoveFormat",false,null);if(f!=null&&tinyMCE.isGecko){var r=this.getRng().cloneRange();r.collapse(true);s.removeAllRanges();s.addRange(r)}}else this.getDoc().execCommand('FontName',false,value);if(tinyMCE.isGecko)window.setTimeout('tinyMCE.triggerNodeChange(false);',1);return;case"FontSize":this.getDoc().execCommand('FontSize',false,value);if(tinyMCE.isGecko)window.setTimeout('tinyMCE.triggerNodeChange(false);',1);return;case"forecolor":value=value==null?this.foreColor:value;value=tinyMCE.trim(value);value=value.charAt(0)!='#'?(isNaN('0x'+value)?value:'#'+value):value;this.foreColor=value;this.getDoc().execCommand('forecolor',false,value);break;case"HiliteColor":value=value==null?this.backColor:value;value=tinyMCE.trim(value);value=value.charAt(0)!='#'?(isNaN('0x'+value)?value:'#'+value):value;this.backColor=value;if(tinyMCE.isGecko){this._setUseCSS(true);this.getDoc().execCommand('hilitecolor',false,value);this._setUseCSS(false)}else this.getDoc().execCommand('BackColor',false,value);break;case"Cut":case"Copy":case"Paste":var cmdFailed=false;eval('try {this.getDoc().execCommand(command, user_interface, value);} catch (e) {cmdFailed = true;}');if(tinyMCE.isOpera&&cmdFailed)alert('Currently not supported by your browser, use keyboard shortcuts instead.');if(tinyMCE.isGecko&&cmdFailed){if(confirm(tinyMCE.entityDecode(tinyMCE.getLang('lang_clipboard_msg'))))window.open('http://www.mozilla.org/editor/midasdemo/securityprefs.html','mceExternal');return}else tinyMCE.triggerNodeChange();break;case"mceSetContent":if(!value)value="";value=tinyMCE.storeAwayURLs(value);value=tinyMCE._customCleanup(this,"insert_to_editor",value);if(this.getBody().nodeName=='BODY')tinyMCE._setHTML(doc,value);else this.getBody().innerHTML=value;tinyMCE.setInnerHTML(this.getBody(),tinyMCE._cleanupHTML(this,doc,this.settings,this.getBody(),false,false,false,true));tinyMCE.convertAllRelativeURLs(this.getBody());tinyMCE._removeInternal(this.getBody());if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(doc);tinyMCE.handleVisualAid(this.getBody(),true,this.visualAid,this);tinyMCE._setEventsEnabled(this.getBody(),false);return true;case"mceCleanup":var b=this.selection.getBookmark();tinyMCE._setHTML(this.contentDocument,this.getBody().innerHTML);tinyMCE.setInnerHTML(this.getBody(),tinyMCE._cleanupHTML(this,this.contentDocument,this.settings,this.getBody(),this.visualAid));tinyMCE.convertAllRelativeURLs(doc.body);if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(doc);tinyMCE.handleVisualAid(this.getBody(),true,this.visualAid,this);tinyMCE._setEventsEnabled(this.getBody(),false);this.repaint();this.selection.moveToBookmark(b);tinyMCE.triggerNodeChange();break;case"mceReplaceContent":if(!value)value='';this.getWin().focus();var selectedText="";if(tinyMCE.isIE){var rng=doc.selection.createRange();selectedText=rng.text}else selectedText=this.getSel().toString();if(selectedText.length>0){value=tinyMCE.replaceVar(value,"selection",selectedText);tinyMCE.execCommand('mceInsertContent',false,value)}tinyMCE.triggerNodeChange();break;case"mceSetAttribute":if(typeof(value)=='object'){var targetElms=(typeof(value['targets'])=="undefined")?"p,img,span,div,td,h1,h2,h3,h4,h5,h6,pre,address":value['targets'];var targetNode=tinyMCE.getParentElement(this.getFocusElement(),targetElms);if(targetNode){targetNode.setAttribute(value['name'],value['value']);tinyMCE.triggerNodeChange()}}break;case"mceSetCSSClass":this.execCommand("SetStyleInfo",false,{command:"setattrib",name:"class",value:value});break;case"mceInsertRawHTML":var key='tiny_mce_marker';this.execCommand('mceBeginUndoLevel');this.execCommand('mceInsertContent',false,key);var scrollX=this.getBody().scrollLeft+this.getDoc().documentElement.scrollLeft;var scrollY=this.getBody().scrollTop+this.getDoc().documentElement.scrollTop;var html=this.getBody().innerHTML;if((pos=html.indexOf(key))!=-1)tinyMCE.setInnerHTML(this.getBody(),html.substring(0,pos)+value+html.substring(pos+key.length));this.contentWindow.scrollTo(scrollX,scrollY);this.execCommand('mceEndUndoLevel');break;case"mceInsertContent":if(!value)value='';var insertHTMLFailed=false;if(tinyMCE.isGecko||tinyMCE.isOpera){try{if(value.indexOf('<')==-1&&!value.match(/(&#38;|&#160;|&#60;|&#62;)/g)){var r=this.getRng();var n=this.getDoc().createTextNode(tinyMCE.entityDecode(value));var s=this.getSel();var r2=r.cloneRange();s.removeAllRanges();r.deleteContents();r.insertNode(n);r2.selectNode(n);r2.collapse(false);s.removeAllRanges();s.addRange(r2)}else{value=tinyMCE.fixGeckoBaseHREFBug(1,this.getDoc(),value);this.getDoc().execCommand('inserthtml',false,value);tinyMCE.fixGeckoBaseHREFBug(2,this.getDoc(),value)}}catch(ex){insertHTMLFailed=true}if(!insertHTMLFailed){tinyMCE.triggerNodeChange();return}}if(!tinyMCE.isIE){var isHTML=value.indexOf('<')!=-1;var sel=this.getSel();var rng=this.getRng();if(isHTML){if(tinyMCE.isSafari){var tmpRng=this.getDoc().createRange();tmpRng.setStart(this.getBody(),0);tmpRng.setEnd(this.getBody(),0);value=tmpRng.createContextualFragment(value)}else value=rng.createContextualFragment(value)}else{var el=document.createElement("div");el.innerHTML=value;value=el.firstChild.nodeValue;value=doc.createTextNode(value)}if(tinyMCE.isSafari&&!isHTML){this.execCommand('InsertText',false,value.nodeValue);tinyMCE.triggerNodeChange();return true}else if(tinyMCE.isSafari&&isHTML){rng.deleteContents();rng.insertNode(value);tinyMCE.triggerNodeChange();return true}rng.deleteContents();if(rng.startContainer.nodeType==3){var node=rng.startContainer.splitText(rng.startOffset);node.parentNode.insertBefore(value,node)}else rng.insertNode(value);if(!isHTML){sel.selectAllChildren(doc.body);sel.removeAllRanges();var rng=doc.createRange();rng.selectNode(value);rng.collapse(false);sel.addRange(rng)}else rng.collapse(false);tinyMCE.fixGeckoBaseHREFBug(2,this.getDoc(),value)}else{var rng=doc.selection.createRange(),tmpRng=null;var c=value.indexOf('<!--')!=-1;if(c)value=tinyMCE.uniqueTag+value;if(rng.item)rng.item(0).outerHTML=value;else rng.pasteHTML(value);if(c){var e=this.getDoc().getElementById('mceTMPElement');e.parentNode.removeChild(e)}}tinyMCE.execCommand("mceAddUndoLevel");tinyMCE.triggerNodeChange();break;case"mceStartTyping":if(tinyMCE.settings['custom_undo_redo']&&this.undoRedo.typingUndoIndex==-1){this.undoRedo.typingUndoIndex=this.undoRedo.undoIndex;tinyMCE.typingUndoIndex=tinyMCE.undoIndex;this.execCommand('mceAddUndoLevel')}break;case"mceEndTyping":if(tinyMCE.settings['custom_undo_redo']&&this.undoRedo.typingUndoIndex!=-1){this.execCommand('mceAddUndoLevel');this.undoRedo.typingUndoIndex=-1}tinyMCE.typingUndoIndex=-1;break;case"mceBeginUndoLevel":this.undoRedoLevel=false;break;case"mceEndUndoLevel":this.undoRedoLevel=true;this.execCommand('mceAddUndoLevel');break;case"mceAddUndoLevel":if(tinyMCE.settings['custom_undo_redo']&&this.undoRedoLevel){if(this.undoRedo.add())tinyMCE.triggerNodeChange(false)}break;case"Undo":if(tinyMCE.settings['custom_undo_redo']){tinyMCE.execCommand("mceEndTyping");this.undoRedo.undo();tinyMCE.triggerNodeChange()}else this.getDoc().execCommand(command,user_interface,value);break;case"Redo":if(tinyMCE.settings['custom_undo_redo']){tinyMCE.execCommand("mceEndTyping");this.undoRedo.redo();tinyMCE.triggerNodeChange()}else this.getDoc().execCommand(command,user_interface,value);break;case"mceToggleVisualAid":this.visualAid=!this.visualAid;tinyMCE.handleVisualAid(this.getBody(),true,this.visualAid,this);tinyMCE.triggerNodeChange();break;case"Indent":this.getDoc().execCommand(command,user_interface,value);tinyMCE.triggerNodeChange();if(tinyMCE.isIE){var n=tinyMCE.getParentElement(this.getFocusElement(),"blockquote");do{if(n&&n.nodeName=="BLOCKQUOTE"){n.removeAttribute("dir");n.removeAttribute("style")}}while(n!=null&&(n=n.parentNode)!=null)}break;case"removeformat":var text=this.selection.getSelectedText();if(tinyMCE.isOpera){this.getDoc().execCommand("RemoveFormat",false,null);return}if(tinyMCE.isIE){try{var rng=doc.selection.createRange();rng.execCommand("RemoveFormat",false,null)}catch(e){}this.execCommand("SetStyleInfo",false,{command:"removeformat"})}else{this.getDoc().execCommand(command,user_interface,value);this.execCommand("SetStyleInfo",false,{command:"removeformat"})}if(text.length==0)this.execCommand("mceSetCSSClass",false,"");tinyMCE.triggerNodeChange();break;default:this.getDoc().execCommand(command,user_interface,value);if(tinyMCE.isGecko)window.setTimeout('tinyMCE.triggerNodeChange(false);',1);else tinyMCE.triggerNodeChange()}if(command!="mceAddUndoLevel"&&command!="Undo"&&command!="Redo"&&command!="mceStartTyping"&&command!="mceEndTyping")tinyMCE.execCommand("mceAddUndoLevel")},queryCommandValue:function(c){try{return this.getDoc().queryCommandValue(c)}catch(e){return null}},queryCommandState:function(c){return this.getDoc().queryCommandState(c)},_onAdd:function(replace_element,form_element_name,target_document){var hc,th,to,editorTemplate;th=this.settings['theme'];to=tinyMCE.themes[th];var targetDoc=target_document?target_document:document;this.targetDoc=targetDoc;tinyMCE.themeURL=tinyMCE.baseURL+"/themes/"+this.settings['theme'];this.settings['themeurl']=tinyMCE.themeURL;if(!replace_element){alert("Error: Could not find the target element.");return false}if(to.getEditorTemplate)editorTemplate=to.getEditorTemplate(this.settings,this.editorId);var deltaWidth=editorTemplate['delta_width']?editorTemplate['delta_width']:0;var deltaHeight=editorTemplate['delta_height']?editorTemplate['delta_height']:0;var html='<span id="'+this.editorId+'_parent" class="mceEditorContainer">'+editorTemplate['html'];html=tinyMCE.replaceVar(html,"editor_id",this.editorId);this.settings['default_document']=tinyMCE.baseURL+"/blank.htm";this.settings['old_width']=this.settings['width'];this.settings['old_height']=this.settings['height'];if(this.settings['width']==-1)this.settings['width']=replace_element.offsetWidth;if(this.settings['height']==-1)this.settings['height']=replace_element.offsetHeight;if(this.settings['width']==0)this.settings['width']=replace_element.style.width;if(this.settings['height']==0)this.settings['height']=replace_element.style.height;if(this.settings['width']==0)this.settings['width']=320;if(this.settings['height']==0)this.settings['height']=240;this.settings['area_width']=parseInt(this.settings['width']);this.settings['area_height']=parseInt(this.settings['height']);this.settings['area_width']+=deltaWidth;this.settings['area_height']+=deltaHeight;this.settings['width_style']=""+this.settings['width'];this.settings['height_style']=""+this.settings['height'];if((""+this.settings['width']).indexOf('%')!=-1)this.settings['area_width']="100%";else this.settings['width_style']+='px';if((""+this.settings['height']).indexOf('%')!=-1)this.settings['area_height']="100%";else this.settings['height_style']+='px';if((""+replace_element.style.width).indexOf('%')!=-1){this.settings['width']=replace_element.style.width;this.settings['area_width']="100%";this.settings['width_style']="100%"}if((""+replace_element.style.height).indexOf('%')!=-1){this.settings['height']=replace_element.style.height;this.settings['area_height']="100%";this.settings['height_style']="100%"}html=tinyMCE.applyTemplate(html);this.settings['width']=this.settings['old_width'];this.settings['height']=this.settings['old_height'];this.visualAid=this.settings['visual'];this.formTargetElementId=form_element_name;if(replace_element.nodeName=="TEXTAREA"||replace_element.nodeName=="INPUT")this.startContent=replace_element.value;else this.startContent=replace_element.innerHTML;if(replace_element.nodeName!="TEXTAREA"&&replace_element.nodeName!="INPUT"){this.oldTargetElement=replace_element;if(tinyMCE.settings['debug']){hc='<textarea wrap="off" id="'+form_element_name+'" name="'+form_element_name+'" cols="100" rows="15"></textarea>'}else{hc='<input type="hidden" id="'+form_element_name+'" name="'+form_element_name+'" />';this.oldTargetElement.style.display="none"}html+='</span>';if(tinyMCE.isGecko)html=hc+html;else html+=hc;if(tinyMCE.isGecko){var rng=replace_element.ownerDocument.createRange();rng.setStartBefore(replace_element);var fragment=rng.createContextualFragment(html);tinyMCE.insertAfter(fragment,replace_element)}else replace_element.insertAdjacentHTML("beforeBegin",html)}else{html+='</span>';this.oldTargetElement=replace_element;if(!tinyMCE.settings['debug'])this.oldTargetElement.style.display="none";if(tinyMCE.isGecko){var rng=replace_element.ownerDocument.createRange();rng.setStartBefore(replace_element);var fragment=rng.createContextualFragment(html);tinyMCE.insertAfter(fragment,replace_element)}else replace_element.insertAdjacentHTML("beforeBegin",html)}var dynamicIFrame=false;var tElm=targetDoc.getElementById(this.editorId);if(!tinyMCE.isIE){if(tElm&&(tElm.nodeName=="SPAN"||tElm.nodeName=="span")){tElm=tinyMCE._createIFrame(tElm,targetDoc);dynamicIFrame=true}this.targetElement=tElm;this.iframeElement=tElm;this.contentDocument=tElm.contentDocument;this.contentWindow=tElm.contentWindow;}else{if(tElm&&tElm.nodeName=="SPAN")tElm=tinyMCE._createIFrame(tElm,targetDoc,targetDoc.parentWindow);else tElm=targetDoc.frames[this.editorId];this.targetElement=tElm;this.iframeElement=targetDoc.getElementById(this.editorId);if(tinyMCE.isOpera){this.contentDocument=this.iframeElement.contentDocument;this.contentWindow=this.iframeElement.contentWindow;dynamicIFrame=true}else{this.contentDocument=tElm.window.document;this.contentWindow=tElm.window}this.getDoc().designMode="on"}var doc=this.contentDocument;if(dynamicIFrame){var html=tinyMCE.getParam('doctype')+'<html><head xmlns="http://www.w3.org/1999/xhtml"><base href="'+tinyMCE.settings['base_href']+'" /><title>blank_page</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body class="mceContentBody"></body></html>';try{if(!this.isHidden())this.getDoc().designMode="on";doc.open();doc.write(html);doc.close()}catch(e){this.getDoc().location.href=tinyMCE.baseURL+"/blank.htm"}}if(tinyMCE.isIE)window.setTimeout("tinyMCE.addEventHandlers(tinyMCE.instances[\""+this.editorId+"\"]);",1);tinyMCE.setupContent(this.editorId,true);return true},setBaseHREF:function(u){var h,b,d,nl;d=this.getDoc();nl=d.getElementsByTagName("base");b=nl.length>0?nl[0]:null;if(!b){nl=d.getElementsByTagName("head");h=nl.length>0?nl[0]:null;b=d.createElement("base");b.setAttribute('href',u);h.appendChild(b)}else{if(u==""||u==null)b.parentNode.removeChild(b);else b.setAttribute('href',u)}},getHTML:function(r){var h,d=this.getDoc(),b=this.getBody();if(r)return b.innerHTML;h=tinyMCE._cleanupHTML(this,d,this.settings,b,false,true,false,true);if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(d);return h},setHTML:function(h){this.execCommand('mceSetContent',false,h);this.repaint()},getFocusElement:function(){return this.selection.getFocusElement()},getSel:function(){return this.selection.getSel()},getRng:function(){return this.selection.getRng()},triggerSave:function(skip_cleanup,skip_callback){var e,nl=[],i,s;this.switchSettings();s=tinyMCE.settings;if(tinyMCE.isRealIE){e=this.iframeElement;do{if(e.style&&e.style.display=='none'){e.style.display='block';nl[nl.length]={elm:e,type:'style'}}if(e.style&&s.hidden_tab_class.length>0&&e.className.indexOf(s.hidden_tab_class)!=-1){e.className=s.display_tab_class;nl[nl.length]={elm:e,type:'class'}}}while((e=e.parentNode)!=null)}tinyMCE.settings['preformatted']=false;if(typeof(skip_cleanup)=="undefined")skip_cleanup=false;if(typeof(skip_callback)=="undefined")skip_callback=false;tinyMCE._setHTML(this.getDoc(),this.getBody().innerHTML);if(this.settings['cleanup']==false){tinyMCE.handleVisualAid(this.getBody(),true,false,this);tinyMCE._setEventsEnabled(this.getBody(),true)}tinyMCE._customCleanup(this,"submit_content_dom",this.contentWindow.document.body);var htm=skip_cleanup?this.getBody().innerHTML:tinyMCE._cleanupHTML(this,this.getDoc(),this.settings,this.getBody(),tinyMCE.visualAid,true,true);htm=tinyMCE._customCleanup(this,"submit_content",htm);if(!skip_callback&&tinyMCE.settings['save_callback']!="")var content=eval(tinyMCE.settings['save_callback']+"(this.formTargetElementId,htm,this.getBody());");if((typeof(content)!="undefined")&&content!=null)htm=content;htm=tinyMCE.regexpReplace(htm,"&#40;","(","gi");htm=tinyMCE.regexpReplace(htm,"&#41;",")","gi");htm=tinyMCE.regexpReplace(htm,"&#59;",";","gi");htm=tinyMCE.regexpReplace(htm,"&#34;","&quot;","gi");htm=tinyMCE.regexpReplace(htm,"&#94;","^","gi");if(this.formElement)this.formElement.value=htm;if(tinyMCE.isSafari&&this.formElement)this.formElement.innerText=htm;for(i=0;i<nl.length;i++){if(nl[i].type=='style')nl[i].elm.style.display='none';else nl[i].elm.className=s.hidden_tab_class}}};TinyMCE_Engine.prototype.cleanupHTMLCode=function(s){s=s.replace(new RegExp('<p \\/>','gi'),'<p>&nbsp;</p>');s=s.replace(new RegExp('<p>\\s*<\\/p>','gi'),'<p>&nbsp;</p>');s=s.replace(new RegExp('<br>\\s*<\\/br>','gi'),'<br />');s=s.replace(new RegExp('<(h[1-6]|p|div|address|pre|form|table|li|ol|ul|td|b|font|em|strong|i|strike|u|span|a|ul|ol|li|blockquote)([a-z]*)([^\\\\|>]*)\\/>','gi'),'<$1$2$3></$1$2>');s=s.replace(new RegExp('\\s+></','gi'),'></');s=s.replace(new RegExp('<(img|br|hr)([^>]*)><\\/(img|br|hr)>','gi'),'<$1$2 />');if(tinyMCE.isIE)s=s.replace(new RegExp('<p><hr \\/><\\/p>','gi'),"<hr>");if(tinyMCE.isIE)s=s.replace(/<!(\s*)\/>/g,'');return s};TinyMCE_Engine.prototype.parseStyle=function(str){var ar=new Array();if(str==null)return ar;var st=str.split(';');tinyMCE.clearArray(ar);for(var i=0;i<st.length;i++){if(st[i]=='')continue;var re=new RegExp('^\\s*([^:]*):\\s*(.*)\\s*$');var pa=st[i].replace(re,'$1||$2').split('||');if(pa.length==2)ar[pa[0].toLowerCase()]=pa[1]}return ar};TinyMCE_Engine.prototype.compressStyle=function(ar,pr,sf,res){var box=new Array();box[0]=ar[pr+'-top'+sf];box[1]=ar[pr+'-left'+sf];box[2]=ar[pr+'-right'+sf];box[3]=ar[pr+'-bottom'+sf];for(var i=0;i<box.length;i++){if(box[i]==null)return;for(var a=0;a<box.length;a++){if(box[a]!=box[i])return}}ar[res]=box[0];ar[pr+'-top'+sf]=null;ar[pr+'-left'+sf]=null;ar[pr+'-right'+sf]=null;ar[pr+'-bottom'+sf]=null};TinyMCE_Engine.prototype.serializeStyle=function(ar){var str="";tinyMCE.compressStyle(ar,"border","","border");tinyMCE.compressStyle(ar,"border","-width","border-width");tinyMCE.compressStyle(ar,"border","-color","border-color");tinyMCE.compressStyle(ar,"border","-style","border-style");tinyMCE.compressStyle(ar,"padding","","padding");tinyMCE.compressStyle(ar,"margin","","margin");for(var key in ar){var val=ar[key];if(typeof(val)=='function')continue;if(key.indexOf('mso-')==0)continue;if(val!=null&&val!=''){val=''+val;val=val.replace(new RegExp("url\\(\\'?([^\\']*)\\'?\\)",'gi'),"url('$1')");if(val.indexOf('url(')!=-1&&tinyMCE.getParam('convert_urls')){var m=new RegExp("url\\('(.*?)'\\)").exec(val);if(m.length>1)val="url('"+eval(tinyMCE.getParam('urlconverter_callback')+"(m[1], null, true);")+"')"}if(tinyMCE.getParam("force_hex_style_colors"))val=tinyMCE.convertRGBToHex(val,true);if(val!="url('')")str+=key.toLowerCase()+": "+val+"; "}}if(new RegExp('; $').test(str))str=str.substring(0,str.length-2);return str};TinyMCE_Engine.prototype.convertRGBToHex=function(s,k){if(s.toLowerCase().indexOf('rgb')!=-1){var re=new RegExp("(.*?)rgb\\s*?\\(\\s*?([0-9]+).*?,\\s*?([0-9]+).*?,\\s*?([0-9]+).*?\\)(.*?)","gi");var rgb=s.replace(re,"$1,$2,$3,$4,$5").split(',');if(rgb.length==5){r=parseInt(rgb[1]).toString(16);g=parseInt(rgb[2]).toString(16);b=parseInt(rgb[3]).toString(16);r=r.length==1?'0'+r:r;g=g.length==1?'0'+g:g;b=b.length==1?'0'+b:b;s="#"+r+g+b;if(k)s=rgb[0]+s+rgb[4]}}return s};TinyMCE_Engine.prototype.convertHexToRGB=function(s){if(s.indexOf('#')!=-1){s=s.replace(new RegExp('[^0-9A-F]','gi'),'');return"rgb("+parseInt(s.substring(0,2),16)+","+parseInt(s.substring(2,4),16)+","+parseInt(s.substring(4,6),16)+")"}return s};TinyMCE_Engine.prototype.convertSpansToFonts=function(doc){var sizes=tinyMCE.getParam('font_size_style_values').replace(/\s+/,'').split(',');var h=doc.body.innerHTML;h=h.replace(/<span/gi,'<font');h=h.replace(/<\/span/gi,'</font');tinyMCE.setInnerHTML(doc.body,h);var s=doc.getElementsByTagName("font");for(var i=0;i<s.length;i++){var size=tinyMCE.trim(s[i].style.fontSize).toLowerCase();var fSize=0;for(var x=0;x<sizes.length;x++){if(sizes[x]==size){fSize=x+1;break}}if(fSize>0){tinyMCE.setAttrib(s[i],'size',fSize);s[i].style.fontSize=''}var fFace=s[i].style.fontFamily;if(fFace!=null&&fFace!=""){tinyMCE.setAttrib(s[i],'face',fFace);s[i].style.fontFamily=''}var fColor=s[i].style.color;if(fColor!=null&&fColor!=""){tinyMCE.setAttrib(s[i],'color',tinyMCE.convertRGBToHex(fColor));s[i].style.color=''}}};TinyMCE_Engine.prototype.convertFontsToSpans=function(doc){var sizes=tinyMCE.getParam('font_size_style_values').replace(/\s+/,'').split(',');var h=doc.body.innerHTML;h=h.replace(/<font/gi,'<span');h=h.replace(/<\/font/gi,'</span');tinyMCE.setInnerHTML(doc.body,h);var fsClasses=tinyMCE.getParam('font_size_classes');if(fsClasses!='')fsClasses=fsClasses.replace(/\s+/,'').split(',');else fsClasses=null;var s=doc.getElementsByTagName("span");for(var i=0;i<s.length;i++){var fSize,fFace,fColor;fSize=tinyMCE.getAttrib(s[i],'size');fFace=tinyMCE.getAttrib(s[i],'face');fColor=tinyMCE.getAttrib(s[i],'color');if(fSize!=""){fSize=parseInt(fSize);if(fSize>0&&fSize<8){if(fsClasses!=null)tinyMCE.setAttrib(s[i],'class',fsClasses[fSize-1]);else s[i].style.fontSize=sizes[fSize-1]}s[i].removeAttribute('size')}if(fFace!=""){s[i].style.fontFamily=fFace;s[i].removeAttribute('face')}if(fColor!=""){s[i].style.color=fColor;s[i].removeAttribute('color')}}};TinyMCE_Engine.prototype.cleanupAnchors=function(doc){var i,cn,x,an=doc.getElementsByTagName("a");for(i=an.length-1;i>=0;i--){if(tinyMCE.getAttrib(an[i],"name")!=""&&tinyMCE.getAttrib(an[i],"href")==""){cn=an[i].childNodes;for(x=cn.length-1;x>=0;x--)tinyMCE.insertAfter(cn[x],an[i])}}};TinyMCE_Engine.prototype.getContent=function(editor_id){if(typeof(editor_id)!="undefined")tinyMCE.getInstanceById(editor_id).select();if(tinyMCE.selectedInstance)return tinyMCE.selectedInstance.getHTML();return null};TinyMCE_Engine.prototype._fixListElements=function(d){var nl,x,a=['ol','ul'],i,n,p,r=new RegExp('^(OL|UL)$'),np;for(x=0;x<a.length;x++){nl=d.getElementsByTagName(a[x]);for(i=0;i<nl.length;i++){n=nl[i];p=n.parentNode;if(r.test(p.nodeName)){np=tinyMCE.prevNode(n,'LI');if(!np){np=d.createElement('li');np.innerHTML='&nbsp;';np.appendChild(n);p.insertBefore(np,p.firstChild)}else np.appendChild(n)}}}};TinyMCE_Engine.prototype._fixTables=function(d){var nl,i,n,p,np,x,t;nl=d.getElementsByTagName('table');for(i=0;i<nl.length;i++){n=nl[i];if((p=tinyMCE.getParentElement(n,'p,div,h1,h2,h3,h4,h5,h6'))!=null){np=p.cloneNode(false);np.removeAttribute('id');t=n;while((n=n.nextSibling))np.appendChild(n);tinyMCE.insertAfter(np,p);tinyMCE.insertAfter(t,p)}}};TinyMCE_Engine.prototype._cleanupHTML=function(inst,doc,config,elm,visual,on_save,on_submit,inn){var h,d,t1,t2,t3,t4,t5,c,s,nb;if(!tinyMCE.getParam('cleanup'))return elm.innerHTML;on_save=typeof(on_save)=='undefined'?false:on_save;c=inst.cleanup;s=inst.settings;d=c.settings.debug;if(d)t1=new Date().getTime();if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertFontsToSpans(doc);if(tinyMCE.getParam("fix_list_elements"))tinyMCE._fixListElements(doc);if(tinyMCE.getParam("fix_table_elements"))tinyMCE._fixTables(doc);tinyMCE._customCleanup(inst,on_save?"get_from_editor_dom":"insert_to_editor_dom",doc.body);if(d)t2=new Date().getTime();c.settings.on_save=on_save;c.idCount=0;c.serializationId++;c.serializedNodes=new Array();c.sourceIndex=-1;if(s.cleanup_serializer=="xml")h=c.serializeNodeAsXML(elm,inn);else h=c.serializeNodeAsHTML(elm,inn);if(d)t3=new Date().getTime();nb=tinyMCE.getParam('entity_encoding')=='numeric'?'&#160;':'&nbsp;';h=h.replace(/<\/?(body|head|html)[^>]*>/gi,'');h=h.replace(new RegExp(' (rowspan="1"|colspan="1")','g'),'');h=h.replace(/<p><hr \/><\/p>/g,'<hr />');h=h.replace(/<p>(&nbsp;|&#160;)<\/p><hr \/><p>(&nbsp;|&#160;)<\/p>/g,'<hr />');h=h.replace(/<td>\s*<br \/>\s*<\/td>/g,'<td>'+nb+'</td>');h=h.replace(/<p>\s*<br \/>\s*<\/p>/g,'<p>'+nb+'</p>');h=h.replace(/<br \/>$/,'');h=h.replace(/<br \/><\/p>/g,'</p>');h=h.replace(/<p>\s*(&nbsp;|&#160;)\s*<br \/>\s*(&nbsp;|&#160;)\s*<\/p>/g,'<p>'+nb+'</p>');h=h.replace(/<p>\s*(&nbsp;|&#160;)\s*<br \/>\s*<\/p>/g,'<p>'+nb+'</p>');h=h.replace(/<p>\s*<br \/>\s*&nbsp;\s*<\/p>/g,'<p>'+nb+'</p>');h=h.replace(new RegExp('<a>(.*?)<\\/a>','g'),'$1');h=h.replace(/<p([^>]*)>\s*<\/p>/g,'<p$1>'+nb+'</p>');if(/^\s*(<br \/>|<p>&nbsp;<\/p>|<p>&#160;<\/p>|<p><\/p>)\s*$/.test(h))h='';if(s.preformatted){h=h.replace(/^<pre>/,'');h=h.replace(/<\/pre>$/,'');h='<pre>'+h+'</pre>'}if(tinyMCE.isGecko){h=h.replace(/<o:p _moz-userdefined="" \/>/g,'');h=h.replace(/<td([^>]*)>\s*<br \/>\s*<\/td>/g,'<td$1>'+nb+'</td>')}if(s.force_br_newlines)h=h.replace(/<p>(&nbsp;|&#160;)<\/p>/g,'<br />');h=tinyMCE._customCleanup(inst,on_save?"get_from_editor":"insert_to_editor",h);if(on_save){h=h.replace(new RegExp(' ?(mceItem[a-zA-Z0-9]*|'+s.visual_table_class+')','g'),'');h=h.replace(new RegExp(' ?class=""','g'),'')}if(s.remove_linebreaks&&!c.settings.indent)h=h.replace(/\n|\r/g,' ');if(d)t4=new Date().getTime();if(on_save&&c.settings.indent)h=c.formatHTML(h);if(on_submit&&(s.encoding=="xml"||s.encoding=="html"))h=c.xmlEncode(h);if(d)t5=new Date().getTime();if(c.settings.debug)tinyMCE.debug("Cleanup in ms: Pre="+(t2-t1)+", Serialize: "+(t3-t2)+", Post: "+(t4-t3)+", Format: "+(t5-t4)+", Sum: "+(t5-t1)+".");return h};function TinyMCE_Cleanup(){this.isIE=(navigator.appName=="Microsoft Internet Explorer");this.rules=tinyMCE.clearArray(new Array());this.settings={indent_elements:'head,table,tbody,thead,tfoot,form,tr,ul,ol,blockquote,object',newline_before_elements:'h1,h2,h3,h4,h5,h6,pre,address,div,ul,ol,li,meta,option,area,title,link,base,script,td',newline_after_elements:'br,hr,p,pre,address,div,ul,ol,meta,option,area,link,base,script',newline_before_after_elements:'html,head,body,table,thead,tbody,tfoot,tr,form,ul,ol,blockquote,p,object,param,hr,div',indent_char:'\t',indent_levels:1,entity_encoding:'raw',valid_elements:'*[*]',entities:'',url_converter:'',invalid_elements:'',verify_html:false};this.vElements=tinyMCE.clearArray(new Array());this.vElementsRe='';this.closeElementsRe=/^(IMG|BR|HR|LINK|META|BASE|INPUT|AREA)$/;this.codeElementsRe=/^(SCRIPT|STYLE)$/;this.serializationId=0;this.mceAttribs={href:'mce_href',src:'mce_src',type:'mce_type'}}TinyMCE_Cleanup.prototype={init:function(s){var n,a,i,ir,or,st;for(n in s)this.settings[n]=s[n];s=this.settings;this.inRe=this._arrayToRe(s.indent_elements.split(','),'','^<(',')[^>]*');this.ouRe=this._arrayToRe(s.indent_elements.split(','),'','^<\\/(',')[^>]*');this.nlBeforeRe=this._arrayToRe(s.newline_before_elements.split(','),'gi','<(',')([^>]*)>');this.nlAfterRe=this._arrayToRe(s.newline_after_elements.split(','),'gi','<(',')([^>]*)>');this.nlBeforeAfterRe=this._arrayToRe(s.newline_before_after_elements.split(','),'gi','<(\\/?)(',')([^>]*)>');this.serializedNodes=[];if(s.invalid_elements!='')this.iveRe=this._arrayToRe(s.invalid_elements.toUpperCase().split(','),'g','^(',')$');else this.iveRe=null;st='';for(i=0;i<s.indent_levels;i++)st+=s.indent_char;this.inStr=st;if(!s.verify_html){s.valid_elements='*[*]';s.extended_valid_elements=''}this.fillStr=s.entity_encoding=="named"?"&nbsp;":"&#160;";this.idCount=0},addRuleStr:function(s){var r=this.parseRuleStr(s);var n;for(n in r){if(r[n])this.rules[n]=r[n]}this.vElements=tinyMCE.clearArray(new Array());for(n in this.rules){if(this.rules[n])this.vElements[this.vElements.length]=this.rules[n].tag}this.vElementsRe=this._arrayToRe(this.vElements,'')},isValid:function(n){this._setupRules();n=n.replace(/[^a-z0-9]+/gi,'').toUpperCase();return!tinyMCE.getParam('cleanup')||this.vElementsRe.test(n)},addChildRemoveRuleStr:function(s){var x,y,p,i,t,tn,ta,cl,r;if(!s)return;ta=s.split(',');for(x=0;x<ta.length;x++){s=ta[x];p=this.split(/\[|\]/,s);if(p==null||p.length<1)t=s.toUpperCase();else t=p[0].toUpperCase();tn=this.split('/',t);for(y=0;y<tn.length;y++){r="^(";cl=this.split(/\|/,p[1]);for(i=0;i<cl.length;i++){if(cl[i]=='%istrict')r+=tinyMCE.inlineStrict;else if(cl[i]=='%itrans')r+=tinyMCE.inlineTransitional;else if(cl[i]=='%istrict_na')r+=tinyMCE.inlineStrict.substring(2);else if(cl[i]=='%itrans_na')r+=tinyMCE.inlineTransitional.substring(2);else if(cl[i]=='%btrans')r+=tinyMCE.blockElms;else if(cl[i]=='%strict')r+=tinyMCE.blockStrict;else r+=(cl[i].charAt(0)!='#'?cl[i].toUpperCase():cl[i]);r+=(i!=cl.length-1?'|':'')}r+=')$';if(this.childRules==null)this.childRules=tinyMCE.clearArray(new Array());this.childRules[tn[y]]=new RegExp(r);if(p.length>1)this.childRules[tn[y]].wrapTag=p[2]}}},parseRuleStr:function(s){var ta,p,r,a,i,x,px,t,tn,y,av,or=tinyMCE.clearArray(new Array()),dv;if(s==null||s.length==0)return or;ta=s.split(',');for(x=0;x<ta.length;x++){s=ta[x];if(s.length==0)continue;p=this.split(/\[|\]/,s);if(p==null||p.length<1)t=s.toUpperCase();else t=p[0].toUpperCase();tn=this.split('/',t);for(y=0;y<tn.length;y++){r={};r.tag=tn[y];r.forceAttribs=null;r.defaultAttribs=null;r.validAttribValues=null;px=r.tag.charAt(0);r.forceOpen=px=='+';r.removeEmpty=px=='-';r.fill=px=='#';r.tag=r.tag.replace(/\+|-|#/g,'');r.oTagName=tn[0].replace(/\+|-|#/g,'').toLowerCase();r.isWild=new RegExp('\\*|\\?|\\+','g').test(r.tag);r.validRe=new RegExp(this._wildcardToRe('^'+r.tag+'$'));if(p.length>1){r.vAttribsRe='^(';a=this.split(/\|/,p[1]);for(i=0;i<a.length;i++){t=a[i];if(t.charAt(0)=='!'){a[i]=t=t.substring(1);if(!r.reqAttribsRe)r.reqAttribsRe='\\s+('+t;else r.reqAttribsRe+='|'+t}av=new RegExp('(=|:|<)(.*?)$').exec(t);t=t.replace(new RegExp('(=|:|<).*?$'),'');if(av&&av.length>0){if(av[0].charAt(0)==':'){if(!r.forceAttribs)r.forceAttribs=tinyMCE.clearArray(new Array());r.forceAttribs[t.toLowerCase()]=av[0].substring(1)}else if(av[0].charAt(0)=='='){if(!r.defaultAttribs)r.defaultAttribs=tinyMCE.clearArray(new Array());dv=av[0].substring(1);r.defaultAttribs[t.toLowerCase()]=dv==""?"mce_empty":dv}else if(av[0].charAt(0)=='<'){if(!r.validAttribValues)r.validAttribValues=tinyMCE.clearArray(new Array());r.validAttribValues[t.toLowerCase()]=this._arrayToRe(this.split('?',av[0].substring(1)),'i')}}r.vAttribsRe+=''+t.toLowerCase()+(i!=a.length-1?'|':'');a[i]=t.toLowerCase()}if(r.reqAttribsRe)r.reqAttribsRe=new RegExp(r.reqAttribsRe+')=\"','g');r.vAttribsRe+=')$';r.vAttribsRe=this._wildcardToRe(r.vAttribsRe);r.vAttribsReIsWild=new RegExp('\\*|\\?|\\+','g').test(r.vAttribsRe);r.vAttribsRe=new RegExp(r.vAttribsRe);r.vAttribs=a.reverse();}else{r.vAttribsRe='';r.vAttribs=tinyMCE.clearArray(new Array());r.vAttribsReIsWild=false}or[r.tag]=r}}return or},serializeNodeAsXML:function(n){var s,b;if(!this.xmlDoc){if(this.isIE){try{this.xmlDoc=new ActiveXObject('MSXML2.DOMDocument')}catch(e){}if(!this.xmlDoc)try{this.xmlDoc=new ActiveXObject('Microsoft.XmlDom')}catch(e){}}else this.xmlDoc=document.implementation.createDocument('','',null);if(!this.xmlDoc)alert("Error XML Parser could not be found.")}if(this.xmlDoc.firstChild)this.xmlDoc.removeChild(this.xmlDoc.firstChild);b=this.xmlDoc.createElement("html");b=this.xmlDoc.appendChild(b);this._convertToXML(n,b);if(this.isIE)return this.xmlDoc.xml;else return new XMLSerializer().serializeToString(this.xmlDoc)},_convertToXML:function(n,xn){var xd,el,i,l,cn,at,no,hc=false;if(this._isDuplicate(n))return;xd=this.xmlDoc;switch(n.nodeType){case 1:hc=n.hasChildNodes();el=xd.createElement(n.nodeName.toLowerCase());at=n.attributes;for(i=at.length-1;i>-1;i--){no=at[i];if(no.specified&&no.nodeValue)el.setAttribute(no.nodeName.toLowerCase(),no.nodeValue)}if(!hc&&!this.closeElementsRe.test(n.nodeName))el.appendChild(xd.createTextNode(""));xn=xn.appendChild(el);break;case 3:xn.appendChild(xd.createTextNode(n.nodeValue));return;case 8:xn.appendChild(xd.createComment(n.nodeValue));return}if(hc){cn=n.childNodes;for(i=0,l=cn.length;i<l;i++)this._convertToXML(cn[i],xn)}},serializeNodeAsHTML:function(n,inn){var en,no,h='',i,l,t,st,r,cn,va=false,f=false,at,hc,cr;this._setupRules();if(this._isDuplicate(n))return'';if(n.parentNode&&this.childRules!=null){cr=this.childRules[n.parentNode.nodeName];if(typeof(cr)!="undefined"&&!cr.test(n.nodeName)){st=true;t=null}}switch(n.nodeType){case 1:hc=n.hasChildNodes();if(st)break;if((tinyMCE.isRealIE)&&n.nodeName.indexOf('/')!=-1)break;if(this.vElementsRe.test(n.nodeName)&&(!this.iveRe||!this.iveRe.test(n.nodeName))&&!inn){va=true;r=this.rules[n.nodeName];if(!r){at=this.rules;for(no in at){if(at[no]&&at[no].validRe.test(n.nodeName)){r=at[no];break}}}en=r.isWild?n.nodeName.toLowerCase():r.oTagName;f=r.fill;if(r.removeEmpty&&!hc)return"";t='<'+en;if(r.vAttribsReIsWild){at=n.attributes;for(i=at.length-1;i>-1;i--){no=at[i];if(no.specified&&r.vAttribsRe.test(no.nodeName))t+=this._serializeAttribute(n,r,no.nodeName)}}else{for(i=r.vAttribs.length-1;i>-1;i--)t+=this._serializeAttribute(n,r,r.vAttribs[i])}if(!this.settings.on_save){at=this.mceAttribs;for(no in at){if(at[no])t+=this._serializeAttribute(n,r,at[no])}}if(r.reqAttribsRe&&!t.match(r.reqAttribsRe))t=null;if(t!=null&&this.closeElementsRe.test(n.nodeName))return t+' />';if(t!=null)h+=t+'>';if(this.isIE&&this.codeElementsRe.test(n.nodeName))h+=n.innerHTML}break;case 3:if(st)break;if(n.parentNode&&this.codeElementsRe.test(n.parentNode.nodeName))return this.isIE?'':n.nodeValue;return this.xmlEncode(n.nodeValue);case 8:if(st)break;return"<!--"+this._trimComment(n.nodeValue)+"-->"}if(hc){cn=n.childNodes;for(i=0,l=cn.length;i<l;i++)h+=this.serializeNodeAsHTML(cn[i])}if(f&&!hc)h+=this.fillStr;if(t!=null&&va)h+='</'+en+'>';return h},_serializeAttribute:function(n,r,an){var av='',t,os=this.settings.on_save;if(os&&(an.indexOf('mce_')==0||an.indexOf('_moz')==0))return'';if(os&&this.mceAttribs[an])av=this._getAttrib(n,this.mceAttribs[an]);if(av.length==0)av=this._getAttrib(n,an);if(av.length==0&&r.defaultAttribs&&(t=r.defaultAttribs[an])){av=t;if(av=="mce_empty")return" "+an+'=""'}if(r.forceAttribs&&(t=r.forceAttribs[an]))av=t;if(os&&av.length!=0&&this.settings.url_converter.length!=0&&/^(src|href|longdesc)$/.test(an))av=eval(this.settings.url_converter+'(this, n, av)');if(av.length!=0&&r.validAttribValues&&r.validAttribValues[an]&&!r.validAttribValues[an].test(av))return"";if(av.length!=0&&av=="{$uid}")av="uid_"+(this.idCount++);if(av.length!=0){if(an.indexOf('on')!=0)av=this.xmlEncode(av);return" "+an+"="+'"'+av+'"'}return""},formatHTML:function(h){var s=this.settings,p='',i=0,li=0,o='',l;h=h.replace(/<pre([^>]*)>(.*?)<\/pre>/gi,function(a,b,c){c=c.replace(/<br\s*\/>/gi,'\n');return'<pre'+b+'>'+c+'</pre>'});h=h.replace(/\r/g,'');h='\n'+h;h=h.replace(new RegExp('\\n\\s+','gi'),'\n');h=h.replace(this.nlBeforeRe,'\n<$1$2>');h=h.replace(this.nlAfterRe,'<$1$2>\n');h=h.replace(this.nlBeforeAfterRe,'\n<$1$2$3>\n');h+='\n';while((i=h.indexOf('\n',i+1))!=-1){if((l=h.substring(li+1,i)).length!=0){if(this.ouRe.test(l)&&p.length>=s.indent_levels)p=p.substring(s.indent_levels);o+=p+l+'\n';if(this.inRe.test(l))p+=this.inStr}li=i}return o},xmlEncode:function(s){var cl=this;this._setupEntities();switch(this.settings.entity_encoding){case"raw":return tinyMCE.xmlEncode(s);case"named":return s.replace(new RegExp('[\u007F-\uFFFF<>&"\']','g'),function(c,b){b=cl.entities[c.charCodeAt(0)];return b?'&'+b+';':c});case"numeric":return s.replace(new RegExp('[\u007F-\uFFFF<>&"\']','g'),function(c,b){return b?'&#'+c.charCodeAt(0)+';':c})}return s},split:function(re,s){var c=s.split(re);var i,l,o=new Array();for(i=0,l=c.length;i<l;i++){if(c[i]!='')o[i]=c[i]}return o},_trimComment:function(s){s=s.replace(new RegExp('\\smce_src=\"[^\"]*\"','gi'),"");s=s.replace(new RegExp('\\smce_href=\"[^\"]*\"','gi'),"");return s},_getAttrib:function(e,n,d){if(typeof(d)=="undefined")d="";if(!e||e.nodeType!=1)return d;var v=e.getAttribute(n,0);if(n=="class"&&!v)v=e.className;if(this.isIE&&n=="http-equiv")v=e.httpEquiv;if(this.isIE&&e.nodeName=="FORM"&&n=="enctype"&&v=="application/x-www-form-urlencoded")v="";if(this.isIE&&e.nodeName=="INPUT"&&n=="size"&&v=="20")v="";if(this.isIE&&e.nodeName=="INPUT"&&n=="maxlength"&&v=="2147483647")v="";if(n=="style"&&!tinyMCE.isOpera)v=e.style.cssText;if(n=='style')v=tinyMCE.serializeStyle(tinyMCE.parseStyle(v));if(this.settings.on_save&&n.indexOf('on')!=-1&&this.settings.on_save&&v&&v!="")v=tinyMCE.cleanupEventStr(v);return(v&&v!="")?''+v:d},_urlConverter:function(c,n,v){if(!c.settings.on_save)return tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings.base_href,v);else if(tinyMCE.getParam('convert_urls'))return eval(tinyMCE.settings.urlconverter_callback+"(v, n, true);");return v},_arrayToRe:function(a,op,be,af){var i,r;op=typeof(op)=="undefined"?"gi":op;be=typeof(be)=="undefined"?"^(":be;af=typeof(af)=="undefined"?")$":af;r=be;for(i=0;i<a.length;i++)r+=this._wildcardToRe(a[i])+(i!=a.length-1?"|":"");r+=af;return new RegExp(r,op)},_wildcardToRe:function(s){s=s.replace(/\?/g,'(\\S?)');s=s.replace(/\+/g,'(\\S+)');s=s.replace(/\*/g,'(\\S*)');return s},_setupEntities:function(){var n,a,i,s=this.settings;if(!this.entitiesDone){if(s.entity_encoding=="named"){n=tinyMCE.clearArray(new Array());a=this.split(',',s.entities);for(i=0;i<a.length;i+=2)n[a[i]]=a[i+1];this.entities=n}this.entitiesDone=true}},_setupRules:function(){var s=this.settings;if(!this.rulesDone){this.addRuleStr(s.valid_elements);this.addRuleStr(s.extended_valid_elements);this.addChildRemoveRuleStr(s.valid_child_elements);this.rulesDone=true}},_isDuplicate:function(n){var i;if(!this.settings.fix_content_duplication)return false;if(tinyMCE.isRealIE&&n.nodeType==1){if(n.mce_serialized==this.serializationId)return true;n.setAttribute('mce_serialized',this.serializationId)}else{for(i=0;i<this.serializedNodes.length;i++){if(this.serializedNodes[i]==n)return true}this.serializedNodes[this.serializedNodes.length]=n}return false}};TinyMCE_Engine.prototype.createTagHTML=function(tn,a,h){var o='',f=tinyMCE.xmlEncode;o='<'+tn;if(a){for(n in a){if(typeof(a[n])!='function'&&a[n]!=null)o+=' '+f(n)+'="'+f(''+a[n])+'"'}}o+=!h?' />':'>'+h+'</'+tn+'>';return o};TinyMCE_Engine.prototype.createTag=function(d,tn,a,h){var o=d.createElement(tn);if(a){for(n in a){if(typeof(a[n])!='function'&&a[n]!=null)tinyMCE.setAttrib(o,n,a[n])}}if(h)o.innerHTML=h;return o};TinyMCE_Engine.prototype.getElementByAttributeValue=function(n,e,a,v){return(n=this.getElementsByAttributeValue(n,e,a,v)).length==0?null:n[0]};TinyMCE_Engine.prototype.getElementsByAttributeValue=function(n,e,a,v){var i,nl=n.getElementsByTagName(e),o=new Array();for(i=0;i<nl.length;i++){if(tinyMCE.getAttrib(nl[i],a).indexOf(v)!=-1)o[o.length]=nl[i]}return o};TinyMCE_Engine.prototype.isBlockElement=function(n){return n!=null&&n.nodeType==1&&this.blockRegExp.test(n.nodeName)};TinyMCE_Engine.prototype.getParentBlockElement=function(n,r){return this.getParentNode(n,function(n){return tinyMCE.isBlockElement(n)},r);return null};TinyMCE_Engine.prototype.insertAfter=function(n,r){if(r.nextSibling)r.parentNode.insertBefore(n,r.nextSibling);else r.parentNode.appendChild(n)};TinyMCE_Engine.prototype.setInnerHTML=function(e,h){var i,nl,n;if(tinyMCE.isGecko){h=h.replace(/<strong/gi,'<b');h=h.replace(/<em(\/?)/gi,'<i');h=h.replace(/<em /gi,'<i');h=h.replace(/<\/strong>/gi,'</b>');h=h.replace(/<\/em>/gi,'</i>')}if(tinyMCE.isRealIE){h=h.replace(/\s\/>/g,'>');h=h.replace(/<p([^>]*)>\u00A0?<\/p>/gi,'<p$1 mce_keep="true">&nbsp;</p>');h=h.replace(/<p([^>]*)>\s*&nbsp;\s*<\/p>/gi,'<p$1 mce_keep="true">&nbsp;</p>');h=h.replace(/<p([^>]*)>\s+<\/p>/gi,'<p$1 mce_keep="true">&nbsp;</p>');e.innerHTML=tinyMCE.uniqueTag+h;e.firstChild.removeNode(true);nl=e.getElementsByTagName("p");for(i=nl.length-1;i>=0;i--){n=nl[i];if(n.nodeName=='P'&&!n.hasChildNodes()&&!n.mce_keep)n.parentNode.removeChild(n)}}else{h=this.fixGeckoBaseHREFBug(1,e,h);e.innerHTML=h;this.fixGeckoBaseHREFBug(2,e,h)}};TinyMCE_Engine.prototype.getOuterHTML=function(e){if(tinyMCE.isIE)return e.outerHTML;var d=e.ownerDocument.createElement("body");d.appendChild(e.cloneNode(true));return d.innerHTML};TinyMCE_Engine.prototype.setOuterHTML=function(e,h,d){var d=typeof(d)=="undefined"?e.ownerDocument:d,i,nl,t;if(tinyMCE.isIE&&e.nodeType==1)e.outerHTML=h;else{t=d.createElement("body");t.innerHTML=h;for(i=0,nl=t.childNodes;i<nl.length;i++)e.parentNode.insertBefore(nl[i].cloneNode(true),e);e.parentNode.removeChild(e)}};TinyMCE_Engine.prototype._getElementById=function(id,d){var e,i,j,f;if(typeof(d)=="undefined")d=document;e=d.getElementById(id);if(!e){f=d.forms;for(i=0;i<f.length;i++){for(j=0;j<f[i].elements.length;j++){if(f[i].elements[j].name==id){e=f[i].elements[j];break}}}}return e};TinyMCE_Engine.prototype.getNodeTree=function(n,na,t,nn){return this.selectNodes(n,function(n){return(!t||n.nodeType==t)&&(!nn||n.nodeName==nn)},na?na:new Array())};TinyMCE_Engine.prototype.getParentElement=function(n,na,f,r){var re=na?new RegExp('^('+na.toUpperCase().replace(/,/g,'|')+')$'):0,v;if(f&&typeof(f)=='string')return this.getParentElement(n,na,function(no){return tinyMCE.getAttrib(no,f)!=''});return this.getParentNode(n,function(n){return((n.nodeType==1&&!re)||(re&&re.test(n.nodeName)))&&(!f||f(n))},r)};TinyMCE_Engine.prototype.getParentNode=function(n,f,r){while(n){if(n==r)return null;if(f(n))return n;n=n.parentNode}return null};TinyMCE_Engine.prototype.getAttrib=function(elm,name,dv){var v;if(typeof(dv)=="undefined")dv="";if(!elm||elm.nodeType!=1)return dv;v=elm.getAttribute(name);if(name=="class"&&!v)v=elm.className;if(tinyMCE.isGecko&&name=="src"&&elm.src!=null&&elm.src!="")v=elm.src;if(tinyMCE.isGecko&&name=="href"&&elm.href!=null&&elm.href!="")v=elm.href;if(name=="http-equiv"&&tinyMCE.isIE)v=elm.httpEquiv;if(name=="style"&&!tinyMCE.isOpera)v=elm.style.cssText;return(v&&v!="")?v:dv};TinyMCE_Engine.prototype.setAttrib=function(el,name,va,fix){if(typeof(va)=="number"&&va!=null)va=""+va;if(fix){if(va==null)va="";va=va.replace(/[^0-9%]/g,'')}if(name=="style")el.style.cssText=va;if(name=="class")el.className=va;if(va!=null&&va!=""&&va!=-1)el.setAttribute(name,va);else el.removeAttribute(name)};TinyMCE_Engine.prototype.setStyleAttrib=function(e,n,v){e.style[n]=v;if(tinyMCE.isIE&&v==null||v==''){v=tinyMCE.serializeStyle(tinyMCE.parseStyle(e.style.cssText));e.style.cssText=v;e.setAttribute("style",v)}};TinyMCE_Engine.prototype.switchClass=function(ei,c){var e;if(tinyMCE.switchClassCache[ei])e=tinyMCE.switchClassCache[ei];else e=tinyMCE.switchClassCache[ei]=document.getElementById(ei);if(e){if(tinyMCE.settings.button_tile_map&&e.className&&e.className.indexOf('mceTiledButton')==0)c='mceTiledButton '+c;e.className=c}};TinyMCE_Engine.prototype.getAbsPosition=function(n,cn){var l=0,t=0;while(n&&n!=cn){l+=n.offsetLeft;t+=n.offsetTop;n=n.offsetParent}return{absLeft:l,absTop:t}};TinyMCE_Engine.prototype.prevNode=function(e,n){var a=n.split(','),i;while((e=e.previousSibling)!=null){for(i=0;i<a.length;i++){if(e.nodeName==a[i])return e}}return null};TinyMCE_Engine.prototype.nextNode=function(e,n){var a=n.split(','),i;while((e=e.nextSibling)!=null){for(i=0;i<a.length;i++){if(e.nodeName==a[i])return e}}return null};TinyMCE_Engine.prototype.selectElements=function(n,na,f){var i,a=[],nl,x;for(x=0,na=na.split(',');x<na.length;x++)for(i=0,nl=n.getElementsByTagName(na[x]);i<nl.length;i++)(!f||f(nl[i]))&&a.push(nl[i]);return a};TinyMCE_Engine.prototype.selectNodes=function(n,f,a){var i;if(!a)a=new Array();if(f(n))a[a.length]=n;if(n.hasChildNodes()){for(i=0;i<n.childNodes.length;i++)tinyMCE.selectNodes(n.childNodes[i],f,a)}return a};TinyMCE_Engine.prototype.addCSSClass=function(e,c,b){var o=this.removeCSSClass(e,c);return e.className=b?c+(o!=''?(' '+o):''):(o!=''?(o+' '):'')+c};TinyMCE_Engine.prototype.removeCSSClass=function(e,c){c=e.className.replace(new RegExp("(^|\\s+)"+c+"(\\s+|$)"),' ');return e.className=c!=' '?c:''};TinyMCE_Engine.prototype.hasCSSClass=function(n,c){return new RegExp('\\b'+c+'\\b','g').test(n.className)};TinyMCE_Engine.prototype.renameElement=function(e,n,d){var ne,i,ar;d=typeof(d)=="undefined"?tinyMCE.selectedInstance.getDoc():d;if(e){ne=d.createElement(n);ar=e.attributes;for(i=ar.length-1;i>-1;i--){if(ar[i].specified&&ar[i].nodeValue)ne.setAttribute(ar[i].nodeName.toLowerCase(),ar[i].nodeValue)}ar=e.childNodes;for(i=0;i<ar.length;i++)ne.appendChild(ar[i].cloneNode(true));e.parentNode.replaceChild(ne,e)}};TinyMCE_Engine.prototype.getViewPort=function(w){var d=w.document,m=d.compatMode=='CSS1Compat',b=d.body,de=d.documentElement;return{left:w.pageXOffset||(m?de.scrollLeft:b.scrollLeft),top:w.pageYOffset||(m?de.scrollTop:b.scrollTop),width:w.innerWidth||(m?de.clientWidth:b.clientWidth),height:w.innerHeight||(m?de.clientHeight:b.clientHeight)}};TinyMCE_Engine.prototype.parseURL=function(url_str){var urlParts=new Array();if(url_str){var pos,lastPos;pos=url_str.indexOf('://');if(pos!=-1){urlParts['protocol']=url_str.substring(0,pos);lastPos=pos+3}for(var i=lastPos;i<url_str.length;i++){var chr=url_str.charAt(i);if(chr==':')break;if(chr=='/')break}pos=i;urlParts['host']=url_str.substring(lastPos,pos);urlParts['port']="";lastPos=pos;if(url_str.charAt(pos)==':'){pos=url_str.indexOf('/',lastPos);urlParts['port']=url_str.substring(lastPos+1,pos)}lastPos=pos;pos=url_str.indexOf('?',lastPos);if(pos==-1)pos=url_str.indexOf('#',lastPos);if(pos==-1)pos=url_str.length;urlParts['path']=url_str.substring(lastPos,pos);lastPos=pos;if(url_str.charAt(pos)=='?'){pos=url_str.indexOf('#');pos=(pos==-1)?url_str.length:pos;urlParts['query']=url_str.substring(lastPos+1,pos)}lastPos=pos;if(url_str.charAt(pos)=='#'){pos=url_str.length;urlParts['anchor']=url_str.substring(lastPos+1,pos)}}return urlParts};TinyMCE_Engine.prototype.serializeURL=function(up){var o="";if(up['protocol'])o+=up['protocol']+"://";if(up['host'])o+=up['host'];if(up['port'])o+=":"+up['port'];if(up['path'])o+=up['path'];if(up['query'])o+="?"+up['query'];if(up['anchor'])o+="#"+up['anchor'];return o};TinyMCE_Engine.prototype.convertAbsoluteURLToRelativeURL=function(base_url,url_to_relative){var baseURL=this.parseURL(base_url);var targetURL=this.parseURL(url_to_relative);var strTok1;var strTok2;var breakPoint=0;var outPath="";var forceSlash=false;if(targetURL.path=="")targetURL.path="/";else forceSlash=true;base_url=baseURL.path.substring(0,baseURL.path.lastIndexOf('/'));strTok1=base_url.split('/');strTok2=targetURL.path.split('/');if(strTok1.length>=strTok2.length){for(var i=0;i<strTok1.length;i++){if(i>=strTok2.length||strTok1[i]!=strTok2[i]){breakPoint=i+1;break}}}if(strTok1.length<strTok2.length){for(var i=0;i<strTok2.length;i++){if(i>=strTok1.length||strTok1[i]!=strTok2[i]){breakPoint=i+1;break}}}if(breakPoint==1)return targetURL.path;for(var i=0;i<(strTok1.length-(breakPoint-1));i++)outPath+="../";for(var i=breakPoint-1;i<strTok2.length;i++){if(i!=(breakPoint-1))outPath+="/"+strTok2[i];else outPath+=strTok2[i]}targetURL.protocol=null;targetURL.host=null;targetURL.port=null;targetURL.path=outPath==""&&forceSlash?"/":outPath;var fileName=baseURL.path;var pos;if((pos=fileName.lastIndexOf('/'))!=-1)fileName=fileName.substring(pos+1);if(fileName==targetURL.path&&targetURL.anchor!="")targetURL.path="";if(targetURL.path==""&&!targetURL.anchor)targetURL.path=fileName!=""?fileName:"/";return this.serializeURL(targetURL)};TinyMCE_Engine.prototype.convertRelativeToAbsoluteURL=function(base_url,relative_url){var baseURL=this.parseURL(base_url),baseURLParts,relURLParts;var relURL=this.parseURL(relative_url);if(relative_url==""||relative_url.indexOf('://')!=-1||/^(mailto:|javascript:|#|\/)/.test(relative_url))return relative_url;baseURLParts=baseURL['path'].split('/');relURLParts=relURL['path'].split('/');var newBaseURLParts=new Array();for(var i=baseURLParts.length-1;i>=0;i--){if(baseURLParts[i].length==0)continue;newBaseURLParts[newBaseURLParts.length]=baseURLParts[i]}baseURLParts=newBaseURLParts.reverse();var newRelURLParts=new Array();var numBack=0;for(var i=relURLParts.length-1;i>=0;i--){if(relURLParts[i].length==0||relURLParts[i]==".")continue;if(relURLParts[i]=='..'){numBack++;continue}if(numBack>0){numBack--;continue}newRelURLParts[newRelURLParts.length]=relURLParts[i]}relURLParts=newRelURLParts.reverse();var len=baseURLParts.length-numBack;var absPath=(len<=0?"":"/")+baseURLParts.slice(0,len).join('/')+"/"+relURLParts.join('/');var start="",end="";relURL.protocol=baseURL.protocol;relURL.host=baseURL.host;relURL.port=baseURL.port;if(relURL.path.charAt(relURL.path.length-1)=="/")absPath+="/";relURL.path=absPath;return this.serializeURL(relURL)};TinyMCE_Engine.prototype.convertURL=function(url,node,on_save){var prot=document.location.protocol;var host=document.location.hostname;var port=document.location.port;if(prot=="file:")return url;url=tinyMCE.regexpReplace(url,'(http|https):///','/');if(url.indexOf('mailto:')!=-1||url.indexOf('javascript:')!=-1||tinyMCE.regexpReplace(url,'[ \t\r\n\+]|%20','').charAt(0)=="#")return url;if(!tinyMCE.isIE&&!on_save&&url.indexOf("://")==-1&&url.charAt(0)!='/')return tinyMCE.settings['base_href']+url;if(on_save&&tinyMCE.getParam('relative_urls')){var curl=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],url);if(curl.charAt(0)=='/')curl=tinyMCE.settings['document_base_prefix']+curl;var urlParts=tinyMCE.parseURL(curl);var tmpUrlParts=tinyMCE.parseURL(tinyMCE.settings['document_base_url']);if(urlParts['host']==tmpUrlParts['host']&&(urlParts['port']==tmpUrlParts['port']))return tinyMCE.convertAbsoluteURLToRelativeURL(tinyMCE.settings['document_base_url'],curl)}if(!tinyMCE.getParam('relative_urls')){var urlParts=tinyMCE.parseURL(url);var baseUrlParts=tinyMCE.parseURL(tinyMCE.settings['base_href']);url=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],url);if(urlParts['anchor']&&urlParts['path']==baseUrlParts['path'])return"#"+urlParts['anchor']}if(tinyMCE.getParam('remove_script_host')){var start="",portPart="";if(port!="")portPart=":"+port;start=prot+"//"+host+portPart+"/";if(url.indexOf(start)==0)url=url.substring(start.length-1)}return url};TinyMCE_Engine.prototype.convertAllRelativeURLs=function(body){var i,elms,src,href,mhref,msrc;elms=body.getElementsByTagName("img");for(i=0;i<elms.length;i++){src=tinyMCE.getAttrib(elms[i],'src');msrc=tinyMCE.getAttrib(elms[i],'mce_src');if(msrc!="")src=msrc;if(src!=""){src=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],src);elms[i].setAttribute("src",src)}}elms=body.getElementsByTagName("a");for(i=0;i<elms.length;i++){href=tinyMCE.getAttrib(elms[i],'href');mhref=tinyMCE.getAttrib(elms[i],'mce_href');if(mhref!="")href=mhref;if(href&&href!=""){href=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],href);elms[i].setAttribute("href",href)}}};TinyMCE_Engine.prototype.clearArray=function(a){var n;for(n in a)a[n]=null;return a};TinyMCE_Engine.prototype.explode=function(d,s){var ar=s.split(d),oar=new Array(),i;for(i=0;i<ar.length;i++){if(ar[i]!="")oar[oar.length]=ar[i]}return oar};TinyMCE_Engine.prototype._setEventsEnabled=function(node,state){var evs,x,y,elms,i,event;var events=['onfocus','onblur','onclick','ondblclick','onmousedown','onmouseup','onmouseover','onmousemove','onmouseout','onkeypress','onkeydown','onkeydown','onkeyup'];evs=tinyMCE.settings['event_elements'].split(',');for(y=0;y<evs.length;y++){elms=node.getElementsByTagName(evs[y]);for(i=0;i<elms.length;i++){event="";for(x=0;x<events.length;x++){if((event=tinyMCE.getAttrib(elms[i],events[x]))!=''){event=tinyMCE.cleanupEventStr(""+event);if(!state)event="return true;"+event;else event=event.replace(/^return true;/gi,'');elms[i].removeAttribute(events[x]);elms[i].setAttribute(events[x],event)}}}}};TinyMCE_Engine.prototype._eventPatch=function(editor_id){var n,inst,win,e;if(typeof(tinyMCE)=="undefined")return true;try{if(tinyMCE.selectedInstance){win=tinyMCE.selectedInstance.getWin();if(win&&win.event){e=win.event;if(!e.target)e.target=e.srcElement;TinyMCE_Engine.prototype.handleEvent(e);return}}for(n in tinyMCE.instances){inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;inst.select();win=inst.getWin();if(win&&win.event){e=win.event;if(!e.target)e.target=e.srcElement;TinyMCE_Engine.prototype.handleEvent(e);return}}}catch(ex){}};TinyMCE_Engine.prototype.findEvent=function(e){var n,inst;if(e)return e;for(n in tinyMCE.instances){inst=tinyMCE.instances[n];if(tinyMCE.isInstance(inst)&&inst.getWin().event)return inst.getWin().event}return null};TinyMCE_Engine.prototype.unloadHandler=function(){tinyMCE.triggerSave(true,true)};TinyMCE_Engine.prototype.addEventHandlers=function(inst){this.setEventHandlers(inst,1)};TinyMCE_Engine.prototype.setEventHandlers=function(inst,s){var doc=inst.getDoc(),ie,ot,i,f=s?tinyMCE.addEvent:tinyMCE.removeEvent;ie=['keypress','keyup','keydown','click','mouseup','mousedown','controlselect','dblclick'];ot=['keypress','keyup','keydown','click','mouseup','mousedown','focus','blur','dragdrop'];inst.switchSettings();if(tinyMCE.isIE){for(i=0;i<ie.length;i++)f(doc,ie[i],TinyMCE_Engine.prototype._eventPatch)}else{for(i=0;i<ot.length;i++)f(doc,ot[i],tinyMCE.handleEvent);eval('try { doc.designMode = "On"; } catch(e) {}');}};TinyMCE_Engine.prototype.onMouseMove=function(){var inst,lh;if(tinyMCE.lastHover){lh=tinyMCE.lastHover;if(lh.className.indexOf('mceMenu')!=-1)tinyMCE._menuButtonEvent('out',lh);else lh.className=lh.className;tinyMCE.lastHover=null}if(!tinyMCE.hasMouseMoved){inst=tinyMCE.selectedInstance;if(inst.isFocused){inst.undoBookmark=inst.selection.getBookmark();tinyMCE.hasMouseMoved=true}}};TinyMCE_Engine.prototype.cancelEvent=function(e){if(!e)return false;if(tinyMCE.isIE){e.returnValue=false;e.cancelBubble=true}else{e.preventDefault();e.stopPropagation&&e.stopPropagation()}return false};TinyMCE_Engine.prototype.addEvent=function(o,n,h){if(n!='unload'){function clean(){var ex;try{tinyMCE.removeEvent(o,n,h);tinyMCE.removeEvent(window,'unload',clean);o=n=h=null}catch(ex){}}tinyMCE.addEvent(window,'unload',clean)}if(o.attachEvent)o.attachEvent("on"+n,h);else o.addEventListener(n,h,false)};TinyMCE_Engine.prototype.removeEvent=function(o,n,h){if(o.detachEvent)o.detachEvent("on"+n,h);else o.removeEventListener(n,h,false)};TinyMCE_Engine.prototype.addSelectAccessibility=function(e,s,w){if(!s._isAccessible){s.onkeydown=tinyMCE.accessibleEventHandler;s.onblur=tinyMCE.accessibleEventHandler;s._isAccessible=true;s._win=w}return false};TinyMCE_Engine.prototype.accessibleEventHandler=function(e){var win=this._win;e=tinyMCE.isIE?win.event:e;var elm=tinyMCE.isIE?e.srcElement:e.target;if(e.type=="blur"){if(elm.oldonchange){elm.onchange=elm.oldonchange;elm.oldonchange=null}return true}if(elm.nodeName=="SELECT"&&!elm.oldonchange){elm.oldonchange=elm.onchange;elm.onchange=null}if(e.keyCode==13||e.keyCode==32){elm.onchange=elm.oldonchange;elm.onchange();elm.oldonchange=null;tinyMCE.cancelEvent(e);return false}return true};TinyMCE_Engine.prototype._resetIframeHeight=function(){var ife;if(tinyMCE.isRealIE){ife=tinyMCE.selectedInstance.iframeElement;if(ife._oldHeight){ife.style.height=ife._oldHeight;ife.height=ife._oldHeight}}};function TinyMCE_Selection(inst){this.instance=inst};TinyMCE_Selection.prototype={getSelectedHTML:function(){var inst=this.instance;var e,r=this.getRng(),h;if(!r)return null;e=document.createElement("body");if(r.cloneContents)e.appendChild(r.cloneContents());else if(typeof(r.item)!='undefined'||typeof(r.htmlText)!='undefined')e.innerHTML=r.item?r.item(0).outerHTML:r.htmlText;else e.innerHTML=r.toString();h=tinyMCE._cleanupHTML(inst,inst.contentDocument,inst.settings,e,e,false,true,false);if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(inst.getDoc());return h},getSelectedText:function(){var inst=this.instance;var d,r,s,t;if(tinyMCE.isIE){d=inst.getDoc();if(d.selection.type=="Text"){r=d.selection.createRange();t=r.text}else t=''}else{s=this.getSel();if(s&&s.toString)t=s.toString();else t=''}return t},getBookmark:function(simple){var inst=this.instance;var rng=this.getRng();var doc=inst.getDoc(),b=inst.getBody();var sp,le,s,e,nl,i,si,ei,w;var trng,sx,sy,xx=-999999999,vp=inst.getViewPort();sx=vp.left;sy=vp.top;if(tinyMCE.isSafari||tinyMCE.isOpera||simple)return{rng:rng,scrollX:sx,scrollY:sy};if(tinyMCE.isIE){if(rng.item){e=rng.item(0);nl=b.getElementsByTagName(e.nodeName);for(i=0;i<nl.length;i++){if(e==nl[i]){sp=i;break}}return{tag:e.nodeName,index:sp,scrollX:sx,scrollY:sy}}else{trng=doc.body.createTextRange();trng.moveToElementText(inst.getBody());trng.collapse(true);bp=Math.abs(trng.move('character',xx));trng=rng.duplicate();trng.collapse(true);sp=Math.abs(trng.move('character',xx));trng=rng.duplicate();trng.collapse(false);le=Math.abs(trng.move('character',xx))-sp;return{start:sp-bp,length:le,scrollX:sx,scrollY:sy}}}if(tinyMCE.isGecko){s=this.getSel();e=this.getFocusElement();if(!s)return null;if(e&&e.nodeName=='IMG'){return{start:-1,end:-1,index:sp,scrollX:sx,scrollY:sy}}if(s.anchorNode==s.focusNode&&s.anchorOffset==s.focusOffset){e=this._getPosText(b,s.anchorNode,s.focusNode);if(!e)return{scrollX:sx,scrollY:sy};return{start:e.start+s.anchorOffset,end:e.end+s.focusOffset,scrollX:sx,scrollY:sy}}else{e=this._getPosText(b,rng.startContainer,rng.endContainer);if(!e)return{scrollX:sx,scrollY:sy};return{start:e.start+rng.startOffset,end:e.end+rng.endOffset,scrollX:sx,scrollY:sy}}}return null},moveToBookmark:function(bookmark){var inst=this.instance;var rng,nl,i,ex,b=inst.getBody(),sd;var doc=inst.getDoc();var win=inst.getWin();var sel=this.getSel();if(!bookmark)return false;if(tinyMCE.isSafari){sel.setBaseAndExtent(bookmark.rng.startContainer,bookmark.rng.startOffset,bookmark.rng.endContainer,bookmark.rng.endOffset);return true}if(tinyMCE.isRealIE){if(bookmark.rng){try{bookmark.rng.select()}catch(ex){}return true}win.focus();if(bookmark.tag){rng=b.createControlRange();nl=b.getElementsByTagName(bookmark.tag);if(nl.length>bookmark.index){try{rng.addElement(nl[bookmark.index])}catch(ex){}}}else{try{if(bookmark.start<0)return true;rng=inst.getSel().createRange();rng.moveToElementText(inst.getBody());rng.collapse(true);rng.moveStart('character',bookmark.start);rng.moveEnd('character',bookmark.length)}catch(ex){return true}}rng.select();win.scrollTo(bookmark.scrollX,bookmark.scrollY);return true}if(tinyMCE.isGecko||tinyMCE.isOpera){if(bookmark.rng){sel.removeAllRanges();sel.addRange(bookmark.rng)}if(bookmark.start!=-1&&bookmark.end!=-1){try{sd=this._getTextPos(b,bookmark.start,bookmark.end);rng=doc.createRange();rng.setStart(sd.startNode,sd.startOffset);rng.setEnd(sd.endNode,sd.endOffset);sel.removeAllRanges();sel.addRange(rng);win.focus()}catch(ex){}}win.scrollTo(bookmark.scrollX,bookmark.scrollY);return true}return false},_getPosText:function(r,sn,en){var w=document.createTreeWalker(r,NodeFilter.SHOW_TEXT,null,false),n,p=0,d={};while((n=w.nextNode())!=null){if(n==sn)d.start=p;if(n==en){d.end=p;return d}p+=n.nodeValue?n.nodeValue.length:0}return null},_getTextPos:function(r,sp,ep){var w=document.createTreeWalker(r,NodeFilter.SHOW_TEXT,null,false),n,p=0,d={};while((n=w.nextNode())!=null){p+=n.nodeValue?n.nodeValue.length:0;if(p>=sp&&!d.startNode){d.startNode=n;d.startOffset=sp-(p-n.nodeValue.length)}if(p>=ep){d.endNode=n;d.endOffset=ep-(p-n.nodeValue.length);return d}}return null},selectNode:function(node,collapse,select_text_node,to_start){var inst=this.instance,sel,rng,nodes;if(!node)return;if(typeof(collapse)=="undefined")collapse=true;if(typeof(select_text_node)=="undefined")select_text_node=false;if(typeof(to_start)=="undefined")to_start=true;if(inst.settings.auto_resize)inst.resizeToContent();if(tinyMCE.isRealIE){rng=inst.getDoc().body.createTextRange();try{rng.moveToElementText(node);if(collapse)rng.collapse(to_start);rng.select()}catch(e){}}else{sel=this.getSel();if(!sel)return;if(tinyMCE.isSafari){sel.setBaseAndExtent(node,0,node,node.innerText.length);if(collapse){if(to_start)sel.collapseToStart();else sel.collapseToEnd()}this.scrollToNode(node);return}rng=inst.getDoc().createRange();if(select_text_node){nodes=tinyMCE.getNodeTree(node,new Array(),3);if(nodes.length>0)rng.selectNodeContents(nodes[0]);else rng.selectNodeContents(node)}else rng.selectNode(node);if(collapse){if(!to_start&&node.nodeType==3){rng.setStart(node,node.nodeValue.length);rng.setEnd(node,node.nodeValue.length)}else rng.collapse(to_start)}sel.removeAllRanges();sel.addRange(rng)}this.scrollToNode(node);tinyMCE.selectedElement=null;if(node.nodeType==1)tinyMCE.selectedElement=node},scrollToNode:function(node){var inst=this.instance,w=inst.getWin(),vp=inst.getViewPort(),pos=tinyMCE.getAbsPosition(node),cvp,p,cwin;if(pos.absLeft<vp.left||pos.absLeft>vp.left+vp.width||pos.absTop<vp.top||pos.absTop>vp.top+(vp.height-25))w.scrollTo(pos.absLeft,pos.absTop-vp.height+25);if(inst.settings.auto_resize){cwin=inst.getContainerWin();cvp=tinyMCE.getViewPort(cwin);p=this.getAbsPosition(node);if(p.absLeft<cvp.left||p.absLeft>cvp.left+cvp.width||p.absTop<cvp.top||p.absTop>cvp.top+cvp.height)cwin.scrollTo(p.absLeft,p.absTop-cvp.height+25)}},getAbsPosition:function(n){var pos=tinyMCE.getAbsPosition(n),ipos=tinyMCE.getAbsPosition(this.instance.iframeElement);return{absLeft:ipos.absLeft+pos.absLeft,absTop:ipos.absTop+pos.absTop}},getSel:function(){var inst=this.instance;if(tinyMCE.isRealIE)return inst.getDoc().selection;return inst.contentWindow.getSelection()},getRng:function(){var s=this.getSel();if(s==null)return null;if(tinyMCE.isRealIE)return s.createRange();if(tinyMCE.isSafari&&!s.getRangeAt)return''+window.getSelection();return s.getRangeAt(0)},getFocusElement:function(){var inst=this.instance,doc,rng,sel,elm;if(tinyMCE.isRealIE){doc=inst.getDoc();rng=doc.selection.createRange();elm=rng.item?rng.item(0):rng.parentElement()}else{if(!tinyMCE.isSafari&&inst.isHidden())return inst.getBody();sel=this.getSel();rng=this.getRng();if(!sel||!rng)return null;elm=rng.commonAncestorContainer;if(!rng.collapsed){if(rng.startContainer==rng.endContainer){if(rng.startOffset-rng.endOffset<2){if(rng.startContainer.hasChildNodes())elm=rng.startContainer.childNodes[rng.startOffset]}}}elm=tinyMCE.getParentElement(elm);}return elm}};function TinyMCE_UndoRedo(inst){this.instance=inst;this.undoLevels=new Array();this.undoIndex=0;this.typingUndoIndex=-1;this.undoRedo=true};TinyMCE_UndoRedo.prototype={add:function(l){var b,customUndoLevels,newHTML,inst=this.instance,i,ul,ur;if(l){this.undoLevels[this.undoLevels.length]=l;return true}if(this.typingUndoIndex!=-1){this.undoIndex=this.typingUndoIndex;if(tinyMCE.typingUndoIndex!=-1)tinyMCE.undoIndex=tinyMCE.typingUndoIndex}newHTML=tinyMCE.trim(inst.getBody().innerHTML);if(this.undoLevels[this.undoIndex]&&newHTML!=this.undoLevels[this.undoIndex].content){tinyMCE.dispatchCallback(inst,'onchange_callback','onChange',inst);customUndoLevels=tinyMCE.settings['custom_undo_redo_levels'];if(customUndoLevels!=-1&&this.undoLevels.length>customUndoLevels){for(i=0;i<this.undoLevels.length-1;i++)this.undoLevels[i]=this.undoLevels[i+1];this.undoLevels.length--;this.undoIndex--;}b=inst.undoBookmark;if(!b)b=inst.selection.getBookmark();this.undoIndex++;this.undoLevels[this.undoIndex]={content:newHTML,bookmark:b};ul=tinyMCE.undoLevels;for(i=tinyMCE.undoIndex+1;i<ul.length;i++){ur=ul[i].undoRedo;if(ur.undoIndex==ur.undoLevels.length-1)ur.undoIndex--;ur.undoLevels.length--}tinyMCE.undoLevels[tinyMCE.undoIndex++]=inst;tinyMCE.undoLevels.length=tinyMCE.undoIndex;this.undoLevels.length=this.undoIndex+1;return true}return false},undo:function(){var inst=this.instance;if(this.undoIndex>0){this.undoIndex--;tinyMCE.setInnerHTML(inst.getBody(),this.undoLevels[this.undoIndex].content);inst.repaint();if(inst.settings.custom_undo_redo_restore_selection)inst.selection.moveToBookmark(this.undoLevels[this.undoIndex].bookmark)}},redo:function(){var inst=this.instance;tinyMCE.execCommand("mceEndTyping");if(this.undoIndex<(this.undoLevels.length-1)){this.undoIndex++;tinyMCE.setInnerHTML(inst.getBody(),this.undoLevels[this.undoIndex].content);inst.repaint();if(inst.settings.custom_undo_redo_restore_selection)inst.selection.moveToBookmark(this.undoLevels[this.undoIndex].bookmark)}tinyMCE.triggerNodeChange()}};var TinyMCE_ForceParagraphs={_insertPara:function(inst,e){var doc=inst.getDoc(),sel=inst.getSel(),body=inst.getBody(),win=inst.contentWindow,rng=sel.getRangeAt(0);var rootElm=doc.documentElement,blockName="P",startNode,endNode,startBlock,endBlock;var rngBefore,rngAfter,direct,startNode,startOffset,endNode,endOffset,b=tinyMCE.isOpera?inst.selection.getBookmark():null;var paraBefore,paraAfter,startChop,endChop,contents;function isEmpty(para){function isEmptyHTML(html){return html.replace(new RegExp('[ \t\r\n]+','g'),'').toLowerCase()==""}if(para.getElementsByTagName("img").length>0)return false;if(para.getElementsByTagName("table").length>0)return false;if(para.getElementsByTagName("hr").length>0)return false;var nodes=tinyMCE.getNodeTree(para,new Array(),3);for(var i=0;i<nodes.length;i++){if(!isEmptyHTML(nodes[i].nodeValue))return false}return true}rngBefore=doc.createRange();rngBefore.setStart(sel.anchorNode,sel.anchorOffset);rngBefore.collapse(true);rngAfter=doc.createRange();rngAfter.setStart(sel.focusNode,sel.focusOffset);rngAfter.collapse(true);direct=rngBefore.compareBoundaryPoints(rngBefore.START_TO_END,rngAfter)<0;startNode=direct?sel.anchorNode:sel.focusNode;startOffset=direct?sel.anchorOffset:sel.focusOffset;endNode=direct?sel.focusNode:sel.anchorNode;endOffset=direct?sel.focusOffset:sel.anchorOffset;startNode=startNode.nodeName=="BODY"?startNode.firstChild:startNode;endNode=endNode.nodeName=="BODY"?endNode.firstChild:endNode;startBlock=inst.getParentBlockElement(startNode);endBlock=inst.getParentBlockElement(endNode);if(startBlock&&new RegExp('absolute|relative|static','gi').test(startBlock.style.position))startBlock=null;if(endBlock&&new RegExp('absolute|relative|static','gi').test(endBlock.style.position))endBlock=null;if(startBlock!=null){blockName=startBlock.nodeName;if(blockName=="TD"||blockName=="TABLE"||(blockName=="DIV"&&new RegExp('left|right','gi').test(startBlock.style.cssFloat)))blockName="P"}if(tinyMCE.getParentElement(startBlock,"OL,UL",null,body)!=null)return false;if((startBlock!=null&&startBlock.nodeName=="TABLE")||(endBlock!=null&&endBlock.nodeName=="TABLE"))startBlock=endBlock=null;paraBefore=(startBlock!=null&&startBlock.nodeName==blockName)?startBlock.cloneNode(false):doc.createElement(blockName);paraAfter=(endBlock!=null&&endBlock.nodeName==blockName)?endBlock.cloneNode(false):doc.createElement(blockName);if(/^(H[1-6])$/.test(blockName))paraAfter=doc.createElement("p");startChop=startNode;endChop=endNode;node=startChop;do{if(node==body||node.nodeType==9||tinyMCE.isBlockElement(node))break;startChop=node}while((node=node.previousSibling?node.previousSibling:node.parentNode));node=endChop;do{if(node==body||node.nodeType==9||tinyMCE.isBlockElement(node))break;endChop=node}while((node=node.nextSibling?node.nextSibling:node.parentNode));if(startChop.nodeName=="TD")startChop=startChop.firstChild;if(endChop.nodeName=="TD")endChop=endChop.lastChild;if(startBlock==null){rng.deleteContents();if(!tinyMCE.isSafari)sel.removeAllRanges();if(startChop!=rootElm&&endChop!=rootElm){rngBefore=rng.cloneRange();if(startChop==body)rngBefore.setStart(startChop,0);else rngBefore.setStartBefore(startChop);paraBefore.appendChild(rngBefore.cloneContents());if(endChop.parentNode.nodeName==blockName)endChop=endChop.parentNode;rng.setEndAfter(endChop);if(endChop.nodeName!="#text"&&endChop.nodeName!="BODY")rngBefore.setEndAfter(endChop);contents=rng.cloneContents();if(contents.firstChild&&(contents.firstChild.nodeName==blockName||contents.firstChild.nodeName=="BODY"))paraAfter.innerHTML=contents.firstChild.innerHTML;else paraAfter.appendChild(contents);if(isEmpty(paraBefore))paraBefore.innerHTML="&nbsp;";if(isEmpty(paraAfter))paraAfter.innerHTML="&nbsp;";rng.deleteContents();rngAfter.deleteContents();rngBefore.deleteContents();if(tinyMCE.isOpera){paraBefore.normalize();rngBefore.insertNode(paraBefore);paraAfter.normalize();rngBefore.insertNode(paraAfter)}else{paraAfter.normalize();rngBefore.insertNode(paraAfter);paraBefore.normalize();rngBefore.insertNode(paraBefore)}}else{body.innerHTML="<"+blockName+">&nbsp;</"+blockName+"><"+blockName+">&nbsp;</"+blockName+">";paraAfter=body.childNodes[1]}inst.selection.moveToBookmark(b);inst.selection.selectNode(paraAfter,true,true);return true}if(startChop.nodeName==blockName)rngBefore.setStart(startChop,0);else rngBefore.setStartBefore(startChop);rngBefore.setEnd(startNode,startOffset);paraBefore.appendChild(rngBefore.cloneContents());rngAfter.setEndAfter(endChop);rngAfter.setStart(endNode,endOffset);contents=rngAfter.cloneContents();if(contents.firstChild&&contents.firstChild.nodeName==blockName){paraAfter.innerHTML=contents.firstChild.innerHTML}else paraAfter.appendChild(contents);if(isEmpty(paraBefore))paraBefore.innerHTML="&nbsp;";if(isEmpty(paraAfter))paraAfter.innerHTML="&nbsp;";rng=doc.createRange();if(!startChop.previousSibling&&startChop.parentNode.nodeName.toUpperCase()==blockName){rng.setStartBefore(startChop.parentNode)}else{if(rngBefore.startContainer.nodeName.toUpperCase()==blockName&&rngBefore.startOffset==0)rng.setStartBefore(rngBefore.startContainer);else rng.setStart(rngBefore.startContainer,rngBefore.startOffset)}if(!endChop.nextSibling&&endChop.parentNode.nodeName.toUpperCase()==blockName)rng.setEndAfter(endChop.parentNode);else rng.setEnd(rngAfter.endContainer,rngAfter.endOffset);rng.deleteContents();if(tinyMCE.isOpera){rng.insertNode(paraBefore);rng.insertNode(paraAfter)}else{rng.insertNode(paraAfter);rng.insertNode(paraBefore)}paraAfter.normalize();paraBefore.normalize();inst.selection.moveToBookmark(b);inst.selection.selectNode(paraAfter,true,true);return true},_handleBackSpace:function(inst){var r=inst.getRng(),sn=r.startContainer,nv,s=false;if(sn&&sn.nextSibling&&sn.nextSibling.nodeName=="BR"&&sn.parentNode.nodeName!="BODY"){nv=sn.nodeValue;if(nv!=null&&r.startOffset==nv.length)sn.nextSibling.parentNode.removeChild(sn.nextSibling)}if(inst.settings.auto_resize)inst.resizeToContent();return s}};function TinyMCE_Layer(id,bm){this.id=id;this.blockerElement=null;this.events=false;this.element=null;this.blockMode=typeof(bm)!='undefined'?bm:true;this.doc=document};TinyMCE_Layer.prototype={moveRelativeTo:function(re,p){var rep=this.getAbsPosition(re);var w=parseInt(re.offsetWidth);var h=parseInt(re.offsetHeight);var e=this.getElement();var ew=parseInt(e.offsetWidth);var eh=parseInt(e.offsetHeight);var x,y;switch(p){case"tl":x=rep.absLeft;y=rep.absTop;break;case"tr":x=rep.absLeft+w;y=rep.absTop;break;case"bl":x=rep.absLeft;y=rep.absTop+h;break;case"br":x=rep.absLeft+w;y=rep.absTop+h;break;case"cc":x=rep.absLeft+(w/ 2) - (ew /2);y=rep.absTop+(h/ 2) - (eh /2);break}this.moveTo(x,y)},moveBy:function(x,y){var e=this.getElement();this.moveTo(parseInt(e.style.left)+x,parseInt(e.style.top)+y)},moveTo:function(x,y){var e=this.getElement();e.style.left=x+"px";e.style.top=y+"px";this.updateBlocker()},resizeBy:function(w,h){var e=this.getElement();this.resizeTo(parseInt(e.style.width)+w,parseInt(e.style.height)+h)},resizeTo:function(w,h){var e=this.getElement();if(w!=null)e.style.width=w+"px";if(h!=null)e.style.height=h+"px";this.updateBlocker()},show:function(){this.getElement().style.display='block';this.updateBlocker()},hide:function(){this.getElement().style.display='none';this.updateBlocker()},isVisible:function(){return this.getElement().style.display=='block'},getElement:function(){if(!this.element)this.element=this.doc.getElementById(this.id);return this.element},setBlockMode:function(s){this.blockMode=s},updateBlocker:function(){var e,b,x,y,w,h;b=this.getBlocker();if(b){if(this.blockMode){e=this.getElement();x=this.parseInt(e.style.left);y=this.parseInt(e.style.top);w=this.parseInt(e.offsetWidth);h=this.parseInt(e.offsetHeight);b.style.left=x+'px';b.style.top=y+'px';b.style.width=w+'px';b.style.height=h+'px';b.style.display=e.style.display}else b.style.display='none'}},getBlocker:function(){var d,b;if(!this.blockerElement&&this.blockMode){d=this.doc;b=d.getElementById(this.id+"_blocker");if(!b){b=d.createElement("iframe");b.setAttribute('id',this.id+"_blocker");b.style.cssText='display: none; position: absolute; left: 0; top: 0';b.src='javascript:false;';b.frameBorder='0';b.scrolling='no';d.body.appendChild(b)}this.blockerElement=b}return this.blockerElement},getAbsPosition:function(n){var p={absLeft:0,absTop:0};while(n){p.absLeft+=n.offsetLeft;p.absTop+=n.offsetTop;n=n.offsetParent}return p},create:function(n,c,p,h){var d=this.doc,e=d.createElement(n);e.setAttribute('id',this.id);if(c)e.className=c;if(!p)p=d.body;if(h)e.innerHTML=h;p.appendChild(e);return this.element=e},exists:function(){return this.doc.getElementById(this.id)!=null},parseInt:function(s){if(s==null||s=='')return 0;return parseInt(s)}};function TinyMCE_Menu(){var id;if(typeof(tinyMCE.menuCounter)=="undefined")tinyMCE.menuCounter=0;id="mc_menu_"+tinyMCE.menuCounter++;TinyMCE_Layer.call(this,id,true);this.id=id;this.items=new Array();this.needsUpdate=true};TinyMCE_Menu.prototype=tinyMCE.extend(TinyMCE_Layer.prototype,{init:function(s){var n;this.settings={separator_class:'mceMenuSeparator',title_class:'mceMenuTitle',disabled_class:'mceMenuDisabled',menu_class:'mceMenu',drop_menu:true};for(n in s)this.settings[n]=s[n];this.create('div',this.settings.menu_class)},clear:function(){this.items=new Array()},addTitle:function(t){this.add({type:'title',text:t})},addDisabled:function(t){this.add({type:'disabled',text:t})},addSeparator:function(){this.add({type:'separator'})},addItem:function(t,js){this.add({text:t,js:js})},add:function(mi){this.items[this.items.length]=mi;this.needsUpdate=true},update:function(){var e=this.getElement(),h='',i,t,m=this.items,s=this.settings;if(this.settings.drop_menu)h+='<span class="mceMenuLine"></span>';h+='<table border="0" cellpadding="0" cellspacing="0">';for(i=0;i<m.length;i++){t=tinyMCE.xmlEncode(m[i].text);c=m[i].class_name?' class="'+m[i].class_name+'"':'';switch(m[i].type){case'separator':h+='<tr class="'+s.separator_class+'"><td>';break;case'title':h+='<tr class="'+s.title_class+'"><td><span'+c+'>'+t+'</span>';break;case'disabled':h+='<tr class="'+s.disabled_class+'"><td><span'+c+'>'+t+'</span>';break;default:h+='<tr><td><a href="#" onclick="return tinyMCE.cancelEvent(event);" onmousedown="return tinyMCE.cancelEvent(event);" onmouseup="'+tinyMCE.xmlEncode(m[i].js)+';return tinyMCE.cancelEvent(event);"><span'+c+'>'+t+'</span></a>'}h+='</td></tr>'}h+='</table>';e.innerHTML=h;this.needsUpdate=false;this.updateBlocker()},show:function(){var nl,i;if(tinyMCE.lastMenu==this)return;if(this.needsUpdate)this.update();if(tinyMCE.lastMenu&&tinyMCE.lastMenu!=this)tinyMCE.lastMenu.hide();TinyMCE_Layer.prototype.show.call(this);if(!tinyMCE.isOpera){}tinyMCE.lastMenu=this}});if(!Function.prototype.call){Function.prototype.call=function(){var a=arguments,s=a[0],i,as='',r,o;for(i=1;i<a.length;i++)as+=(i>1?',':'')+'a['+i+']';o=s._fu;s._fu=this;r=eval('s._fu('+as+')');s._fu=o;return r}};TinyMCE_Engine.prototype.debug=function(){var m="",a,i,l=tinyMCE.log.length;for(i=0,a=this.debug.arguments;i<a.length;i++){m+=a[i];if(i<a.length-1)m+=', '}if(l<1000)tinyMCE.log[l]="[debug] "+m};
\ No newline at end of file
+function TinyMCE_Engine(){var ua;this.majorVersion="2";this.minorVersion="1.0";this.releaseDate="2007-02-13";this.instances=new Array();this.switchClassCache=new Array();this.windowArgs=new Array();this.loadedFiles=new Array();this.pendingFiles=new Array();this.loadingIndex=0;this.configs=new Array();this.currentConfig=0;this.eventHandlers=new Array();this.log=new Array();this.undoLevels=[];this.undoIndex=0;this.typingUndoIndex=-1;ua=navigator.userAgent;this.isMSIE=(navigator.appName=="Microsoft Internet Explorer");this.isMSIE5=this.isMSIE&&(ua.indexOf('MSIE 5')!=-1);this.isMSIE5_0=this.isMSIE&&(ua.indexOf('MSIE 5.0')!=-1);this.isMSIE7=this.isMSIE&&(ua.indexOf('MSIE 7')!=-1);this.isGecko=ua.indexOf('Gecko')!=-1;this.isSafari=ua.indexOf('Safari')!=-1;this.isOpera=ua.indexOf('Opera')!=-1;this.isMac=ua.indexOf('Mac')!=-1;this.isNS7=ua.indexOf('Netscape/7')!=-1;this.isNS71=ua.indexOf('Netscape/7.1')!=-1;this.dialogCounter=0;this.plugins=new Array();this.themes=new Array();this.menus=new Array();this.loadedPlugins=new Array();this.buttonMap=new Array();this.isLoaded=false;if(this.isOpera){this.isMSIE=true;this.isGecko=false;this.isSafari=false}this.isIE=this.isMSIE;this.isRealIE=this.isMSIE&&!this.isOpera;this.idCounter=0};TinyMCE_Engine.prototype={init:function(settings){var theme,nl,baseHREF="",i;if(this.isMSIE5_0)return;this.settings=settings;if(typeof(document.execCommand)=='undefined')return;if(!tinyMCE.baseURL){var elements=document.getElementsByTagName('script');nl=document.getElementsByTagName('base');for(i=0;i<nl.length;i++){if(nl[i].href)baseHREF=nl[i].href}for(var i=0;i<elements.length;i++){if(elements[i].src&&(elements[i].src.indexOf("tiny_mce.js")!=-1||elements[i].src.indexOf("tiny_mce_dev.js")!=-1||elements[i].src.indexOf("tiny_mce_src.js")!=-1||elements[i].src.indexOf("tiny_mce_gzip")!=-1)){var src=elements[i].src;tinyMCE.srcMode=(src.indexOf('_src')!=-1||src.indexOf('_dev')!=-1)?'_src':'';tinyMCE.gzipMode=src.indexOf('_gzip')!=-1;src=src.substring(0,src.lastIndexOf('/'));if(settings.exec_mode=="src"||settings.exec_mode=="normal")tinyMCE.srcMode=settings.exec_mode=="src"?'_src':'';if(baseHREF!=""&&src.indexOf('://')==-1)tinyMCE.baseURL=baseHREF+src;else tinyMCE.baseURL=src;break}}}this.documentBasePath=document.location.href;if(this.documentBasePath.indexOf('?')!=-1)this.documentBasePath=this.documentBasePath.substring(0,this.documentBasePath.indexOf('?'));this.documentURL=this.documentBasePath;this.documentBasePath=this.documentBasePath.substring(0,this.documentBasePath.lastIndexOf('/'));if(tinyMCE.baseURL.indexOf('://')==-1&&tinyMCE.baseURL.charAt(0)!='/'){tinyMCE.baseURL=this.documentBasePath+"/"+tinyMCE.baseURL}this._def("mode","none");this._def("theme","advanced");this._def("plugins","",true);this._def("language","en");this._def("docs_language",this.settings['language']);this._def("elements","");this._def("textarea_trigger","mce_editable");this._def("editor_selector","");this._def("editor_deselector","mceNoEditor");this._def("valid_elements","+a[id|style|rel|rev|charset|hreflang|dir|lang|tabindex|accesskey|type|name|href|target|title|class|onfocus|onblur|onclick|ondblclick|onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|onkeydown|onkeyup],-strong/-b[class|style],-em/-i[class|style],-strike[class|style],-u[class|style],#p[id|style|dir|class|align],-ol[class|style],-ul[class|style],-li[class|style],br,img[id|dir|lang|longdesc|usemap|style|class|src|onmouseover|onmouseout|border|alt=|title|hspace|vspace|width|height|align],-sub[style|class],-sup[style|class],-blockquote[dir|style],-table[border=0|cellspacing|cellpadding|width|height|class|align|summary|style|dir|id|lang|bgcolor|background|bordercolor],-tr[id|lang|dir|class|rowspan|width|height|align|valign|style|bgcolor|background|bordercolor],tbody[id|class],thead[id|class],tfoot[id|class],#td[id|lang|dir|class|colspan|rowspan|width|height|align|valign|style|bgcolor|background|bordercolor|scope],-th[id|lang|dir|class|colspan|rowspan|width|height|align|valign|style|scope],caption[id|lang|dir|class|style],-div[id|dir|class|align|style],-span[style|class|align],-pre[class|align|style],address[class|align|style],-h1[id|style|dir|class|align],-h2[id|style|dir|class|align],-h3[id|style|dir|class|align],-h4[id|style|dir|class|align],-h5[id|style|dir|class|align],-h6[id|style|dir|class|align],hr[class|style],-font[face|size|style|id|class|dir|color],dd[id|class|title|style|dir|lang],dl[id|class|title|style|dir|lang],dt[id|class|title|style|dir|lang],cite[title|id|class|style|dir|lang],abbr[title|id|class|style|dir|lang],acronym[title|id|class|style|dir|lang],del[title|id|class|style|dir|lang|datetime|cite],ins[title|id|class|style|dir|lang|datetime|cite]");this._def("extended_valid_elements","");this._def("invalid_elements","");this._def("encoding","");this._def("urlconverter_callback",tinyMCE.getParam("urlconvertor_callback","TinyMCE_Engine.prototype.convertURL"));this._def("save_callback","");this._def("debug",false);this._def("force_br_newlines",false);this._def("force_p_newlines",true);this._def("add_form_submit_trigger",true);this._def("relative_urls",true);this._def("remove_script_host",true);this._def("focus_alert",true);this._def("document_base_url",this.documentURL);this._def("visual",true);this._def("visual_table_class","mceVisualAid");this._def("setupcontent_callback","");this._def("fix_content_duplication",true);this._def("custom_undo_redo",true);this._def("custom_undo_redo_levels",-1);this._def("custom_undo_redo_keyboard_shortcuts",true);this._def("custom_undo_redo_restore_selection",true);this._def("custom_undo_redo_global",false);this._def("verify_html",true);this._def("apply_source_formatting",false);this._def("directionality","ltr");this._def("cleanup_on_startup",false);this._def("inline_styles",false);this._def("convert_newlines_to_brs",false);this._def("auto_reset_designmode",true);this._def("entities","39,#39,160,nbsp,161,iexcl,162,cent,163,pound,164,curren,165,yen,166,brvbar,167,sect,168,uml,169,copy,170,ordf,171,laquo,172,not,173,shy,174,reg,175,macr,176,deg,177,plusmn,178,sup2,179,sup3,180,acute,181,micro,182,para,183,middot,184,cedil,185,sup1,186,ordm,187,raquo,188,frac14,189,frac12,190,frac34,191,iquest,192,Agrave,193,Aacute,194,Acirc,195,Atilde,196,Auml,197,Aring,198,AElig,199,Ccedil,200,Egrave,201,Eacute,202,Ecirc,203,Euml,204,Igrave,205,Iacute,206,Icirc,207,Iuml,208,ETH,209,Ntilde,210,Ograve,211,Oacute,212,Ocirc,213,Otilde,214,Ouml,215,times,216,Oslash,217,Ugrave,218,Uacute,219,Ucirc,220,Uuml,221,Yacute,222,THORN,223,szlig,224,agrave,225,aacute,226,acirc,227,atilde,228,auml,229,aring,230,aelig,231,ccedil,232,egrave,233,eacute,234,ecirc,235,euml,236,igrave,237,iacute,238,icirc,239,iuml,240,eth,241,ntilde,242,ograve,243,oacute,244,ocirc,245,otilde,246,ouml,247,divide,248,oslash,249,ugrave,250,uacute,251,ucirc,252,uuml,253,yacute,254,thorn,255,yuml,402,fnof,913,Alpha,914,Beta,915,Gamma,916,Delta,917,Epsilon,918,Zeta,919,Eta,920,Theta,921,Iota,922,Kappa,923,Lambda,924,Mu,925,Nu,926,Xi,927,Omicron,928,Pi,929,Rho,931,Sigma,932,Tau,933,Upsilon,934,Phi,935,Chi,936,Psi,937,Omega,945,alpha,946,beta,947,gamma,948,delta,949,epsilon,950,zeta,951,eta,952,theta,953,iota,954,kappa,955,lambda,956,mu,957,nu,958,xi,959,omicron,960,pi,961,rho,962,sigmaf,963,sigma,964,tau,965,upsilon,966,phi,967,chi,968,psi,969,omega,977,thetasym,978,upsih,982,piv,8226,bull,8230,hellip,8242,prime,8243,Prime,8254,oline,8260,frasl,8472,weierp,8465,image,8476,real,8482,trade,8501,alefsym,8592,larr,8593,uarr,8594,rarr,8595,darr,8596,harr,8629,crarr,8656,lArr,8657,uArr,8658,rArr,8659,dArr,8660,hArr,8704,forall,8706,part,8707,exist,8709,empty,8711,nabla,8712,isin,8713,notin,8715,ni,8719,prod,8721,sum,8722,minus,8727,lowast,8730,radic,8733,prop,8734,infin,8736,ang,8743,and,8744,or,8745,cap,8746,cup,8747,int,8756,there4,8764,sim,8773,cong,8776,asymp,8800,ne,8801,equiv,8804,le,8805,ge,8834,sub,8835,sup,8836,nsub,8838,sube,8839,supe,8853,oplus,8855,otimes,8869,perp,8901,sdot,8968,lceil,8969,rceil,8970,lfloor,8971,rfloor,9001,lang,9002,rang,9674,loz,9824,spades,9827,clubs,9829,hearts,9830,diams,34,quot,38,amp,60,lt,62,gt,338,OElig,339,oelig,352,Scaron,353,scaron,376,Yuml,710,circ,732,tilde,8194,ensp,8195,emsp,8201,thinsp,8204,zwnj,8205,zwj,8206,lrm,8207,rlm,8211,ndash,8212,mdash,8216,lsquo,8217,rsquo,8218,sbquo,8220,ldquo,8221,rdquo,8222,bdquo,8224,dagger,8225,Dagger,8240,permil,8249,lsaquo,8250,rsaquo,8364,euro",true);this._def("entity_encoding","named");this._def("cleanup_callback","");this._def("add_unload_trigger",true);this._def("ask",false);this._def("nowrap",false);this._def("auto_resize",false);this._def("auto_focus",false);this._def("cleanup",true);this._def("remove_linebreaks",true);this._def("button_tile_map",false);this._def("submit_patch",true);this._def("browsers","msie,safari,gecko,opera",true);this._def("dialog_type","window");this._def("accessibility_warnings",true);this._def("accessibility_focus",true);this._def("merge_styles_invalid_parents","");this._def("force_hex_style_colors",true);this._def("trim_span_elements",true);this._def("convert_fonts_to_spans",false);this._def("doctype",'<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">');this._def("font_size_classes",'');this._def("font_size_style_values",'xx-small,x-small,small,medium,large,x-large,xx-large',true);this._def("event_elements",'a,img',true);this._def("convert_urls",true);this._def("table_inline_editing",false);this._def("object_resizing",true);this._def("custom_shortcuts",true);this._def("convert_on_click",false);this._def("content_css",'');this._def("fix_list_elements",true);this._def("fix_table_elements",false);this._def("strict_loading_mode",document.contentType=='application/xhtml+xml');this._def("hidden_tab_class",'');this._def("display_tab_class",'');this._def("gecko_spellcheck",false);this._def("hide_selects_on_submit",true);if(this.isMSIE&&!this.isOpera)this.settings.strict_loading_mode=false;if(this.isMSIE&&this.settings['browsers'].indexOf('msie')==-1)return;if(this.isGecko&&this.settings['browsers'].indexOf('gecko')==-1)return;if(this.isSafari&&this.settings['browsers'].indexOf('safari')==-1)return;if(this.isOpera&&this.settings['browsers'].indexOf('opera')==-1)return;baseHREF=tinyMCE.settings['document_base_url'];var h=document.location.href;var p=h.indexOf('://');if(p>0&&document.location.protocol!="file:"){p=h.indexOf('/',p+3);h=h.substring(0,p);if(baseHREF.indexOf('://')==-1)baseHREF=h+baseHREF;tinyMCE.settings['document_base_url']=baseHREF;tinyMCE.settings['document_base_prefix']=h}if(baseHREF.indexOf('?')!=-1)baseHREF=baseHREF.substring(0,baseHREF.indexOf('?'));this.settings['base_href']=baseHREF.substring(0,baseHREF.lastIndexOf('/'))+"/";theme=this.settings['theme'];this.inlineStrict='A|BR|SPAN|BDO|MAP|OBJECT|IMG|TT|I|B|BIG|SMALL|EM|STRONG|DFN|CODE|Q|SAMP|KBD|VAR|CITE|ABBR|ACRONYM|SUB|SUP|#text|#comment';this.inlineTransitional='A|BR|SPAN|BDO|OBJECT|APPLET|IMG|MAP|IFRAME|TT|I|B|U|S|STRIKE|BIG|SMALL|FONT|BASEFONT|EM|STRONG|DFN|CODE|Q|SAMP|KBD|VAR|CITE|ABBR|ACRONYM|SUB|SUP|INPUT|SELECT|TEXTAREA|LABEL|BUTTON|#text|#comment';this.blockElms='H[1-6]|P|DIV|ADDRESS|PRE|FORM|TABLE|LI|OL|UL|TD|BLOCKQUOTE|CENTER|DL|DT|DD|DIR|FIELDSET|FORM|NOSCRIPT|NOFRAMES|MENU|ISINDEX|SAMP';this.blockRegExp=new RegExp("^("+this.blockElms+")$","i");this.posKeyCodes=new Array(13,45,36,35,33,34,37,38,39,40);this.uniqueURL='javascript:void(091039730);';this.uniqueTag='<div id="mceTMPElement" style="display: none">TMP</div>';this.callbacks=new Array('onInit','getInfo','getEditorTemplate','setupContent','onChange','onPageLoad','handleNodeChange','initInstance','execCommand','getControlHTML','handleEvent','cleanup','removeInstance');this.settings['theme_href']=tinyMCE.baseURL+"/themes/"+theme;if(!tinyMCE.isIE||tinyMCE.isOpera)this.settings['force_br_newlines']=false;if(tinyMCE.getParam("popups_css",false)){var cssPath=tinyMCE.getParam("popups_css","");if(cssPath.indexOf('://')==-1&&cssPath.charAt(0)!='/')this.settings['popups_css']=this.documentBasePath+"/"+cssPath;else this.settings['popups_css']=cssPath}else this.settings['popups_css']=tinyMCE.baseURL+"/themes/"+theme+"/css/editor_popup.css";if(tinyMCE.getParam("editor_css",false)){var cssPath=tinyMCE.getParam("editor_css","");if(cssPath.indexOf('://')==-1&&cssPath.charAt(0)!='/')this.settings['editor_css']=this.documentBasePath+"/"+cssPath;else this.settings['editor_css']=cssPath}else{if(this.settings.editor_css!='')this.settings['editor_css']=tinyMCE.baseURL+"/themes/"+theme+"/css/editor_ui.css"}if(tinyMCE.settings['debug']){var msg="Debug: \n";msg+="baseURL: "+this.baseURL+"\n";msg+="documentBasePath: "+this.documentBasePath+"\n";msg+="content_css: "+this.settings['content_css']+"\n";msg+="popups_css: "+this.settings['popups_css']+"\n";msg+="editor_css: "+this.settings['editor_css']+"\n";alert(msg)}if(this.configs.length==0){if(typeof(TinyMCECompressed)=="undefined"){tinyMCE.addEvent(window,"DOMContentLoaded",TinyMCE_Engine.prototype.onLoad);if(tinyMCE.isRealIE){if(document.body)tinyMCE.addEvent(document.body,"readystatechange",TinyMCE_Engine.prototype.onLoad);else tinyMCE.addEvent(document,"readystatechange",TinyMCE_Engine.prototype.onLoad)}tinyMCE.addEvent(window,"load",TinyMCE_Engine.prototype.onLoad);tinyMCE._addUnloadEvents()}}this.loadScript(tinyMCE.baseURL+'/themes/'+this.settings['theme']+'/editor_template'+tinyMCE.srcMode+'.js');this.loadScript(tinyMCE.baseURL+'/langs/'+this.settings['language']+'.js');this.loadCSS(this.settings['editor_css']);var p=tinyMCE.getParam('plugins','',true,',');if(p.length>0){for(var i=0;i<p.length;i++){if(p[i].charAt(0)!='-')this.loadScript(tinyMCE.baseURL+'/plugins/'+p[i]+'/editor_plugin'+tinyMCE.srcMode+'.js')}}if(tinyMCE.getParam('entity_encoding')=='named'){settings['cleanup_entities']=new Array();var entities=tinyMCE.getParam('entities','',true,',');for(var i=0;i<entities.length;i+=2)settings['cleanup_entities']['c'+entities[i]]=entities[i+1]}settings['index']=this.configs.length;this.configs[this.configs.length]=settings;this.loadNextScript();if(this.isIE&&!this.isOpera){try{document.execCommand('BackgroundImageCache',false,true)}catch(e){}}this.xmlEncodeAposRe=new RegExp('[<>&"\']','g');this.xmlEncodeRe=new RegExp('[<>&"]','g');},_addUnloadEvents:function(){if(tinyMCE.isIE){if(tinyMCE.settings['add_unload_trigger']){tinyMCE.addEvent(window,"unload",TinyMCE_Engine.prototype.unloadHandler);tinyMCE.addEvent(window.document,"beforeunload",TinyMCE_Engine.prototype.unloadHandler)}}else{if(tinyMCE.settings['add_unload_trigger'])tinyMCE.addEvent(window,"unload",function(){tinyMCE.triggerSave(true,true)})}},_def:function(key,def_val,t){var v=tinyMCE.getParam(key,def_val);v=t?v.replace(/\s+/g,""):v;this.settings[key]=v},hasPlugin:function(n){return typeof(this.plugins[n])!="undefined"&&this.plugins[n]!=null},addPlugin:function(n,p){var op=this.plugins[n];p.baseURL=op?op.baseURL:tinyMCE.baseURL+"/plugins/"+n;this.plugins[n]=p;this.loadNextScript()},setPluginBaseURL:function(n,u){var op=this.plugins[n];if(op)op.baseURL=u;else this.plugins[n]={baseURL:u}},loadPlugin:function(n,u){u=u.indexOf('.js')!=-1?u.substring(0,u.lastIndexOf('/')):u;u=u.charAt(u.length-1)=='/'?u.substring(0,u.length-1):u;this.plugins[n]={baseURL:u};this.loadScript(u+"/editor_plugin"+(tinyMCE.srcMode?'_src':'')+".js")},hasTheme:function(n){return typeof(this.themes[n])!="undefined"&&this.themes[n]!=null},addTheme:function(n,t){this.themes[n]=t;this.loadNextScript()},addMenu:function(n,m){this.menus[n]=m},hasMenu:function(n){return typeof(this.plugins[n])!="undefined"&&this.plugins[n]!=null},loadScript:function(url){var i;for(i=0;i<this.loadedFiles.length;i++){if(this.loadedFiles[i]==url)return}if(tinyMCE.settings.strict_loading_mode)this.pendingFiles[this.pendingFiles.length]=url;else document.write('<sc'+'ript language="javascript" type="text/javascript" src="'+url+'"></script>');this.loadedFiles[this.loadedFiles.length]=url},loadNextScript:function(){var d=document,se;if(!tinyMCE.settings.strict_loading_mode)return;if(this.loadingIndex<this.pendingFiles.length){se=d.createElementNS('http://www.w3.org/1999/xhtml','script');se.setAttribute('language','javascript');se.setAttribute('type','text/javascript');se.setAttribute('src',this.pendingFiles[this.loadingIndex++]);d.getElementsByTagName("head")[0].appendChild(se)}else this.loadingIndex=-1;},loadCSS:function(url){var ar=url.replace(/\s+/,'').split(',');var lflen=0,csslen=0;var skip=false;var x=0,i=0,nl,le;for(x=0,csslen=ar.length;x<csslen;x++){if(ar[x]!=null&&ar[x]!='null'&&ar[x].length>0){for(i=0,lflen=this.loadedFiles.length;i<lflen;i++){if(this.loadedFiles[i]==ar[x]){skip=true;break}}if(!skip){if(tinyMCE.settings.strict_loading_mode){nl=document.getElementsByTagName("head");le=document.createElement('link');le.setAttribute('href',ar[x]);le.setAttribute('rel','stylesheet');le.setAttribute('type','text/css');nl[0].appendChild(le)}else document.write('<link href="'+ar[x]+'" rel="stylesheet" type="text/css" />');this.loadedFiles[this.loadedFiles.length]=ar[x]}}}},importCSS:function(doc,css){var css_ary=css.replace(/\s+/,'').split(',');var csslen,elm,headArr,x,css_file;for(x=0,csslen=css_ary.length;x<csslen;x++){css_file=css_ary[x];if(css_file!=null&&css_file!='null'&&css_file.length>0){if(css_file.indexOf('://')==-1&&css_file.charAt(0)!='/')css_file=this.documentBasePath+"/"+css_file;if(typeof(doc.createStyleSheet)=="undefined"){elm=doc.createElement("link");elm.rel="stylesheet";elm.href=css_file;if((headArr=doc.getElementsByTagName("head"))!=null&&headArr.length>0)headArr[0].appendChild(elm)}else doc.createStyleSheet(css_file)}}},confirmAdd:function(e,settings){var elm=tinyMCE.isIE?event.srcElement:e.target;var elementId=elm.name?elm.name:elm.id;tinyMCE.settings=settings;if(tinyMCE.settings['convert_on_click']||(!elm.getAttribute('mce_noask')&&confirm(tinyMCELang['lang_edit_confirm'])))tinyMCE.addMCEControl(elm,elementId);elm.setAttribute('mce_noask','true')},updateContent:function(form_element_name){var formElement=document.getElementById(form_element_name);for(var n in tinyMCE.instances){var inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;inst.switchSettings();if(inst.formElement==formElement){var doc=inst.getDoc();tinyMCE._setHTML(doc,inst.formElement.value);if(!tinyMCE.isIE)doc.body.innerHTML=tinyMCE._cleanupHTML(inst,doc,this.settings,doc.body,inst.visualAid)}}},addMCEControl:function(replace_element,form_element_name,target_document){var id="mce_editor_"+tinyMCE.idCounter++;var inst=new TinyMCE_Control(tinyMCE.settings);inst.editorId=id;this.instances[id]=inst;inst._onAdd(replace_element,form_element_name,target_document)},removeInstance:function(ti){var t=[],n,i;for(n in tinyMCE.instances){i=tinyMCE.instances[n];if(tinyMCE.isInstance(i)&&ti!=i)t[n]=i}tinyMCE.instances=t;n=[];t=tinyMCE.undoLevels;for(i=0;i<t.length;i++){if(t[i]!=ti)n.push(t[i])}tinyMCE.undoLevels=n;tinyMCE.undoIndex=n.length;tinyMCE.dispatchCallback(ti,'remove_instance_callback','removeInstance',ti);return ti},removeMCEControl:function(editor_id){var inst=tinyMCE.getInstanceById(editor_id),h,re,ot,tn;if(inst){inst.switchSettings();editor_id=inst.editorId;h=tinyMCE.getContent(editor_id);this.removeInstance(inst);tinyMCE.selectedElement=null;tinyMCE.selectedInstance=null;re=document.getElementById(editor_id+"_parent");ot=inst.oldTargetElement;tn=ot.nodeName.toLowerCase();if(tn=="textarea"||tn=="input"){re.parentNode.removeChild(re);ot.style.display="inline";ot.value=h}else{ot.innerHTML=h;ot.style.display='block';re.parentNode.insertBefore(ot,re);re.parentNode.removeChild(re)}}},triggerSave:function(skip_cleanup,skip_callback){var inst,n;if(typeof(skip_cleanup)=="undefined")skip_cleanup=false;if(typeof(skip_callback)=="undefined")skip_callback=false;for(n in tinyMCE.instances){inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;inst.triggerSave(skip_cleanup,skip_callback)}},resetForm:function(form_index){var i,inst,n,formObj=document.forms[form_index];for(n in tinyMCE.instances){inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;inst.switchSettings();for(i=0;i<formObj.elements.length;i++){if(inst.formTargetElementId==formObj.elements[i].name)inst.getBody().innerHTML=inst.startContent}}},execInstanceCommand:function(editor_id,command,user_interface,value,focus){var inst=tinyMCE.getInstanceById(editor_id),r;if(inst){r=inst.selection.getRng();if(typeof(focus)=="undefined")focus=true;if(focus&&(!r||!r.item))inst.contentWindow.focus();inst.autoResetDesignMode();this.selectedElement=inst.getFocusElement();inst.select();tinyMCE.execCommand(command,user_interface,value);if(tinyMCE.isIE&&window.event!=null)tinyMCE.cancelEvent(window.event)}},execCommand:function(command,user_interface,value){var inst=tinyMCE.selectedInstance;user_interface=user_interface?user_interface:false;value=value?value:null;if(inst)inst.switchSettings();switch(command){case"Undo":if(this.getParam('custom_undo_redo_global')){if(this.undoIndex>0){tinyMCE.nextUndoRedoAction='Undo';inst=this.undoLevels[--this.undoIndex];inst.select();if(!tinyMCE.nextUndoRedoInstanceId)inst.execCommand('Undo')}}else inst.execCommand('Undo');return true;case"Redo":if(this.getParam('custom_undo_redo_global')){if(this.undoIndex<=this.undoLevels.length-1){tinyMCE.nextUndoRedoAction='Redo';inst=this.undoLevels[this.undoIndex++];inst.select();if(!tinyMCE.nextUndoRedoInstanceId)inst.execCommand('Redo')}}else inst.execCommand('Redo');return true;case'mceFocus':var inst=tinyMCE.getInstanceById(value);if(inst)inst.getWin().focus();return;case"mceAddControl":case"mceAddEditor":tinyMCE.addMCEControl(tinyMCE._getElementById(value),value);return;case"mceAddFrameControl":tinyMCE.addMCEControl(tinyMCE._getElementById(value['element'],value['document']),value['element'],value['document']);return;case"mceRemoveControl":case"mceRemoveEditor":tinyMCE.removeMCEControl(value);return;case"mceToggleEditor":var inst=tinyMCE.getInstanceById(value),pe,te;if(inst){pe=document.getElementById(inst.editorId+'_parent');te=inst.oldTargetElement;if(typeof(inst.enabled)=='undefined')inst.enabled=true;inst.enabled=!inst.enabled;if(!inst.enabled){pe.style.display='none';te.value=inst.getHTML();te.style.display=inst.oldTargetDisplay;tinyMCE.dispatchCallback(inst,'hide_instance_callback','hideInstance',inst)}else{pe.style.display='block';te.style.display='none';inst.setHTML(te.value);inst.useCSS=false;tinyMCE.dispatchCallback(inst,'show_instance_callback','showInstance',inst)}}else tinyMCE.addMCEControl(tinyMCE._getElementById(value),value);return;case"mceResetDesignMode":if(!tinyMCE.isIE){for(var n in tinyMCE.instances){if(!tinyMCE.isInstance(tinyMCE.instances[n]))continue;try{tinyMCE.instances[n].getDoc().designMode="on"}catch(e){}}}return}if(inst){inst.execCommand(command,user_interface,value)}else if(tinyMCE.settings['focus_alert'])alert(tinyMCELang['lang_focus_alert'])},_createIFrame:function(replace_element,doc,win){var iframe,id=replace_element.getAttribute("id");var aw,ah;if(typeof(doc)=="undefined")doc=document;if(typeof(win)=="undefined")win=window;iframe=doc.createElement("iframe");aw=""+tinyMCE.settings['area_width'];ah=""+tinyMCE.settings['area_height'];if(aw.indexOf('%')==-1){aw=parseInt(aw);aw=(isNaN(aw)||aw<0)?300:aw;aw=aw+"px"}if(ah.indexOf('%')==-1){ah=parseInt(ah);ah=(isNaN(ah)||ah<0)?240:ah;ah=ah+"px"}iframe.setAttribute("id",id);iframe.setAttribute("name",id);iframe.setAttribute("class","mceEditorIframe");iframe.setAttribute("border","0");iframe.setAttribute("frameBorder","0");iframe.setAttribute("marginWidth","0");iframe.setAttribute("marginHeight","0");iframe.setAttribute("leftMargin","0");iframe.setAttribute("topMargin","0");iframe.setAttribute("width",aw);iframe.setAttribute("height",ah);iframe.setAttribute("allowtransparency","true");iframe.className='mceEditorIframe';if(tinyMCE.settings["auto_resize"])iframe.setAttribute("scrolling","no");if(tinyMCE.isRealIE)iframe.setAttribute("src",this.settings['default_document']);iframe.style.width=aw;iframe.style.height=ah;if(tinyMCE.settings.strict_loading_mode)iframe.style.marginBottom='-5px';if(tinyMCE.isRealIE)replace_element.outerHTML=iframe.outerHTML;else replace_element.parentNode.replaceChild(iframe,replace_element);if(tinyMCE.isRealIE)return win.frames[id];else return iframe},setupContent:function(editor_id){var inst=tinyMCE.instances[editor_id],i;var doc=inst.getDoc();var head=doc.getElementsByTagName('head').item(0);var content=inst.startContent;if(tinyMCE.settings.strict_loading_mode){content=content.replace(/&lt;/g,'<');content=content.replace(/&gt;/g,'>');content=content.replace(/&quot;/g,'"');content=content.replace(/&amp;/g,'&')}tinyMCE.selectedInstance=inst;inst.switchSettings();if(!tinyMCE.isIE&&tinyMCE.getParam("setupcontent_reload",false)&&doc.title!="blank_page"){try{doc.location.href=tinyMCE.baseURL+"/blank.htm"}catch(ex){}window.setTimeout("tinyMCE.setupContent('"+editor_id+"');",1000);return}if(!head){window.setTimeout("tinyMCE.setupContent('"+editor_id+"');",10);return}tinyMCE.importCSS(inst.getDoc(),tinyMCE.baseURL+"/themes/"+inst.settings['theme']+"/css/editor_content.css");tinyMCE.importCSS(inst.getDoc(),inst.settings['content_css']);tinyMCE.dispatchCallback(inst,'init_instance_callback','initInstance',inst);if(tinyMCE.getParam('custom_undo_redo_keyboard_shortcuts')){inst.addShortcut('ctrl','z','lang_undo_desc','Undo');inst.addShortcut('ctrl','y','lang_redo_desc','Redo')}for(i=1;i<=6;i++)inst.addShortcut('ctrl',''+i,'','FormatBlock',false,'<h'+i+'>');inst.addShortcut('ctrl','7','','FormatBlock',false,'<p>');inst.addShortcut('ctrl','8','','FormatBlock',false,'<div>');inst.addShortcut('ctrl','9','','FormatBlock',false,'<address>');if(tinyMCE.isGecko){inst.addShortcut('ctrl','b','lang_bold_desc','Bold');inst.addShortcut('ctrl','i','lang_italic_desc','Italic');inst.addShortcut('ctrl','u','lang_underline_desc','Underline')}if(tinyMCE.getParam("convert_fonts_to_spans"))inst.getBody().setAttribute('id','mceSpanFonts');if(tinyMCE.settings['nowrap'])doc.body.style.whiteSpace="nowrap";doc.body.dir=this.settings['directionality'];doc.editorId=editor_id;if(!tinyMCE.isIE)doc.documentElement.editorId=editor_id;inst.setBaseHREF(tinyMCE.settings['base_href']);if(tinyMCE.settings['convert_newlines_to_brs']){content=tinyMCE.regexpReplace(content,"\r\n","<br />","gi");content=tinyMCE.regexpReplace(content,"\r","<br />","gi");content=tinyMCE.regexpReplace(content,"\n","<br />","gi")}content=tinyMCE.storeAwayURLs(content);content=tinyMCE._customCleanup(inst,"insert_to_editor",content);if(tinyMCE.isIE){window.setInterval('try{tinyMCE.getCSSClasses(tinyMCE.instances["'+editor_id+'"].getDoc(), "'+editor_id+'");}catch(e){}',500);if(tinyMCE.settings["force_br_newlines"])doc.styleSheets[0].addRule("p","margin: 0;");var body=inst.getBody();body.editorId=editor_id}content=tinyMCE.cleanupHTMLCode(content);if(!tinyMCE.isIE){var contentElement=inst.getDoc().createElement("body");var doc=inst.getDoc();contentElement.innerHTML=content;if(tinyMCE.isGecko&&tinyMCE.settings['remove_lt_gt'])content=content.replace(new RegExp('&lt;&gt;','g'),"");if(tinyMCE.settings['cleanup_on_startup'])tinyMCE.setInnerHTML(inst.getBody(),tinyMCE._cleanupHTML(inst,doc,this.settings,contentElement));else tinyMCE.setInnerHTML(inst.getBody(),content);tinyMCE.convertAllRelativeURLs(inst.getBody())}else{if(tinyMCE.settings['cleanup_on_startup']){tinyMCE._setHTML(inst.getDoc(),content);eval('try {tinyMCE.setInnerHTML(inst.getBody(), tinyMCE._cleanupHTML(inst, inst.contentDocument, this.settings, inst.getBody()));} catch(e) {}')}else tinyMCE._setHTML(inst.getDoc(),content)}tinyMCE.handleVisualAid(inst.getBody(),true,tinyMCE.settings['visual'],inst);tinyMCE.dispatchCallback(inst,'setupcontent_callback','setupContent',editor_id,inst.getBody(),inst.getDoc());if(!tinyMCE.isIE)tinyMCE.addEventHandlers(inst);if(tinyMCE.isIE){tinyMCE.addEvent(inst.getBody(),"blur",TinyMCE_Engine.prototype._eventPatch);tinyMCE.addEvent(inst.getBody(),"beforedeactivate",TinyMCE_Engine.prototype._eventPatch);if(!tinyMCE.isOpera){tinyMCE.addEvent(doc.body,"mousemove",TinyMCE_Engine.prototype.onMouseMove);tinyMCE.addEvent(doc.body,"beforepaste",TinyMCE_Engine.prototype._eventPatch);tinyMCE.addEvent(doc.body,"drop",TinyMCE_Engine.prototype._eventPatch)}}inst.select();tinyMCE.selectedElement=inst.contentWindow.document.body;tinyMCE._customCleanup(inst,"insert_to_editor_dom",inst.getBody());tinyMCE._customCleanup(inst,"setup_content_dom",inst.getBody());tinyMCE._setEventsEnabled(inst.getBody(),false);tinyMCE.cleanupAnchors(inst.getDoc());if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(inst.getDoc());inst.startContent=tinyMCE.trim(inst.getBody().innerHTML);inst.undoRedo.add({content:inst.startContent});if(tinyMCE.isGecko){tinyMCE.selectNodes(inst.getBody(),function(n){if(n.nodeType==3||n.nodeType==8)n.nodeValue=n.nodeValue.replace(new RegExp('\\s(mce_src|mce_href)=\"[^\"]*\"','gi'),"");return false})}if(tinyMCE.isGecko)inst.getBody().spellcheck=tinyMCE.getParam("gecko_spellcheck");tinyMCE._removeInternal(inst.getBody());inst.select();tinyMCE.triggerNodeChange(false,true)},storeAwayURLs:function(s){if(!s.match(/(mce_src|mce_href)/gi,s)){s=s.replace(new RegExp('src\\s*=\\s*\"([^ >\"]*)\"','gi'),'src="$1" mce_src="$1"');s=s.replace(new RegExp('href\\s*=\\s*\"([^ >\"]*)\"','gi'),'href="$1" mce_href="$1"')}return s},_removeInternal:function(n){if(tinyMCE.isGecko){tinyMCE.selectNodes(n,function(n){if(n.nodeType==3||n.nodeType==8)n.nodeValue=n.nodeValue.replace(new RegExp('\\s(mce_src|mce_href)=\"[^\"]*\"','gi'),"");return false})}},removeTinyMCEFormElements:function(form_obj){var i,elementId;if(!tinyMCE.getParam('hide_selects_on_submit'))return;if(typeof(form_obj)=="undefined"||form_obj==null)return;if(form_obj.nodeName!="FORM"){if(form_obj.form)form_obj=form_obj.form;else form_obj=tinyMCE.getParentElement(form_obj,"form")}if(form_obj==null)return;for(i=0;i<form_obj.elements.length;i++){elementId=form_obj.elements[i].name?form_obj.elements[i].name:form_obj.elements[i].id;if(elementId.indexOf('mce_editor_')==0)form_obj.elements[i].disabled=true}},handleEvent:function(e){var inst=tinyMCE.selectedInstance;if(typeof(tinyMCE)=="undefined")return true;if(tinyMCE.executeCallback(tinyMCE.selectedInstance,'handle_event_callback','handleEvent',e))return false;switch(e.type){case"beforedeactivate":case"blur":if(tinyMCE.selectedInstance)tinyMCE.selectedInstance.execCommand('mceEndTyping');tinyMCE.hideMenus();return;case"drop":case"beforepaste":if(tinyMCE.selectedInstance)tinyMCE.selectedInstance.setBaseHREF(null);if(tinyMCE.isRealIE){var ife=tinyMCE.selectedInstance.iframeElement;if(ife.style.height.indexOf('%')!=-1){ife._oldHeight=ife.style.height;ife.style.height=ife.clientHeight}}window.setTimeout("tinyMCE.selectedInstance.setBaseHREF(tinyMCE.settings['base_href']);tinyMCE._resetIframeHeight();",1);return;case"submit":tinyMCE.removeTinyMCEFormElements(tinyMCE.isMSIE?window.event.srcElement:e.target);tinyMCE.triggerSave();tinyMCE.isNotDirty=true;return;case"reset":var formObj=tinyMCE.isIE?window.event.srcElement:e.target;for(var i=0;i<document.forms.length;i++){if(document.forms[i]==formObj)window.setTimeout('tinyMCE.resetForm('+i+');',10)}return;case"keypress":if(inst&&inst.handleShortcut(e))return false;if(e.target.editorId){tinyMCE.instances[e.target.editorId].select()}else{if(e.target.ownerDocument.editorId)tinyMCE.instances[e.target.ownerDocument.editorId].select()}if(tinyMCE.selectedInstance)tinyMCE.selectedInstance.switchSettings();if((tinyMCE.isGecko||tinyMCE.isOpera||tinyMCE.isSafari)&&tinyMCE.settings['force_p_newlines']&&e.keyCode==13&&!e.shiftKey){if(TinyMCE_ForceParagraphs._insertPara(tinyMCE.selectedInstance,e)){tinyMCE.execCommand("mceAddUndoLevel");return tinyMCE.cancelEvent(e)}}if((tinyMCE.isGecko&&!tinyMCE.isSafari)&&tinyMCE.settings['force_p_newlines']&&(e.keyCode==8||e.keyCode==46)&&!e.shiftKey){if(TinyMCE_ForceParagraphs._handleBackSpace(tinyMCE.selectedInstance,e.type)){tinyMCE.execCommand("mceAddUndoLevel");return tinyMCE.cancelEvent(e)}}if(tinyMCE.isIE&&tinyMCE.settings['force_br_newlines']&&e.keyCode==13){if(e.target.editorId)tinyMCE.instances[e.target.editorId].select();if(tinyMCE.selectedInstance){var sel=tinyMCE.selectedInstance.getDoc().selection;var rng=sel.createRange();if(tinyMCE.getParentElement(rng.parentElement(),"li")!=null)return false;e.returnValue=false;e.cancelBubble=true;rng.pasteHTML("<br />");rng.collapse(false);rng.select();tinyMCE.execCommand("mceAddUndoLevel");tinyMCE.triggerNodeChange(false);return false}}if(e.keyCode==8||e.keyCode==46){tinyMCE.selectedElement=e.target;tinyMCE.linkElement=tinyMCE.getParentElement(e.target,"a");tinyMCE.imgElement=tinyMCE.getParentElement(e.target,"img");tinyMCE.triggerNodeChange(false)}return false;break;case"keyup":case"keydown":tinyMCE.hideMenus();tinyMCE.hasMouseMoved=false;if(inst&&inst.handleShortcut(e))return false;if(e.target.editorId)tinyMCE.instances[e.target.editorId].select();if(tinyMCE.selectedInstance)tinyMCE.selectedInstance.switchSettings();var inst=tinyMCE.selectedInstance;if(tinyMCE.isGecko&&tinyMCE.settings['force_p_newlines']&&(e.keyCode==8||e.keyCode==46)&&!e.shiftKey){if(TinyMCE_ForceParagraphs._handleBackSpace(tinyMCE.selectedInstance,e.type)){tinyMCE.execCommand("mceAddUndoLevel");e.preventDefault();return false}}tinyMCE.selectedElement=null;tinyMCE.selectedNode=null;var elm=tinyMCE.selectedInstance.getFocusElement();tinyMCE.linkElement=tinyMCE.getParentElement(elm,"a");tinyMCE.imgElement=tinyMCE.getParentElement(elm,"img");tinyMCE.selectedElement=elm;if(tinyMCE.isGecko&&e.type=="keyup"&&e.keyCode==9)tinyMCE.handleVisualAid(tinyMCE.selectedInstance.getBody(),true,tinyMCE.settings['visual'],tinyMCE.selectedInstance);if(tinyMCE.isIE&&e.type=="keydown"&&e.keyCode==13)tinyMCE.enterKeyElement=tinyMCE.selectedInstance.getFocusElement();if(tinyMCE.isIE&&e.type=="keyup"&&e.keyCode==13){var elm=tinyMCE.enterKeyElement;if(elm){var re=new RegExp('^HR|IMG|BR$','g');var dre=new RegExp('^H[1-6]$','g');if(!elm.hasChildNodes()&&!re.test(elm.nodeName)){if(dre.test(elm.nodeName))elm.innerHTML="&nbsp;&nbsp;";else elm.innerHTML="&nbsp;"}}}var keys=tinyMCE.posKeyCodes;var posKey=false;for(var i=0;i<keys.length;i++){if(keys[i]==e.keyCode){posKey=true;break}}if(tinyMCE.isIE&&tinyMCE.settings['custom_undo_redo']){var keys=new Array(8,46);for(var i=0;i<keys.length;i++){if(keys[i]==e.keyCode){if(e.type=="keyup")tinyMCE.triggerNodeChange(false)}}}if(e.keyCode==17)return true;if(tinyMCE.isGecko){if(!posKey&&e.type=="keyup"&&!e.ctrlKey||(e.ctrlKey&&(e.keyCode==86||e.keyCode==88)))tinyMCE.execCommand("mceStartTyping")}else{if(!posKey&&e.type=="keyup")tinyMCE.execCommand("mceStartTyping")}if(e.type=="keydown"&&(posKey||e.ctrlKey)&&inst)inst.undoBookmark=inst.selection.getBookmark();if(e.type=="keyup"&&(posKey||e.ctrlKey))tinyMCE.execCommand("mceEndTyping");if(posKey&&e.type=="keyup")tinyMCE.triggerNodeChange(false);if(tinyMCE.isIE&&e.ctrlKey)window.setTimeout('tinyMCE.triggerNodeChange(false);',1);break;case"mousedown":case"mouseup":case"click":case"dblclick":case"focus":tinyMCE.hideMenus();if(tinyMCE.selectedInstance){tinyMCE.selectedInstance.switchSettings();tinyMCE.selectedInstance.isFocused=true}var targetBody=tinyMCE.getParentElement(e.target,"html");for(var instanceName in tinyMCE.instances){if(!tinyMCE.isInstance(tinyMCE.instances[instanceName]))continue;var inst=tinyMCE.instances[instanceName];inst.autoResetDesignMode();if(inst.getBody().parentNode==targetBody){inst.select();tinyMCE.selectedElement=e.target;tinyMCE.linkElement=tinyMCE.getParentElement(tinyMCE.selectedElement,"a");tinyMCE.imgElement=tinyMCE.getParentElement(tinyMCE.selectedElement,"img");break}}if(!tinyMCE.selectedInstance.undoRedo.undoLevels[0].bookmark&&(e.type=="mouseup"||e.type=="dblclick"))tinyMCE.selectedInstance.undoRedo.undoLevels[0].bookmark=tinyMCE.selectedInstance.selection.getBookmark();if(e.type!="focus")tinyMCE.selectedNode=null;tinyMCE.triggerNodeChange(false);tinyMCE.execCommand("mceEndTyping");if(e.type=="mouseup")tinyMCE.execCommand("mceAddUndoLevel");if(!tinyMCE.selectedInstance&&e.target.editorId)tinyMCE.instances[e.target.editorId].select();return false;break}},getButtonHTML:function(id,lang,img,cmd,ui,val){var h='',m,x,io='';cmd='tinyMCE.execInstanceCommand(\'{$editor_id}\',\''+cmd+'\'';if(typeof(ui)!="undefined"&&ui!=null)cmd+=','+ui;if(typeof(val)!="undefined"&&val!=null)cmd+=",'"+val+"'";cmd+=');';if(tinyMCE.isRealIE)io='onmouseover="tinyMCE.lastHover = this;"';if(tinyMCE.getParam('button_tile_map')&&(!tinyMCE.isIE||tinyMCE.isOpera)&&(m=this.buttonMap[id])!=null&&(tinyMCE.getParam("language")=="en"||img.indexOf('$lang')==-1)){x=0-(m*20)==0?'0':0-(m*20);h+='<a id="{$editor_id}_'+id+'" href="javascript:'+cmd+'" onclick="'+cmd+'return false;" onmousedown="return false;" '+io+' class="mceTiledButton mceButtonNormal" target="_self">';h+='<img src="{$themeurl}/images/spacer.gif" style="background-position: '+x+'px 0" title="{$'+lang+'}" />';h+='</a>'}else{h+='<a id="{$editor_id}_'+id+'" href="javascript:'+cmd+'" onclick="'+cmd+'return false;" onmousedown="return false;" '+io+' class="mceButtonNormal" target="_self">';h+='<img src="'+img+'" title="{$'+lang+'}" />';h+='</a>'}return h},getMenuButtonHTML:function(id,lang,img,mcmd,cmd,ui,val){var h='',m,x;mcmd='tinyMCE.execInstanceCommand(\'{$editor_id}\',\''+mcmd+'\');';cmd='tinyMCE.execInstanceCommand(\'{$editor_id}\',\''+cmd+'\'';if(typeof(ui)!="undefined"&&ui!=null)cmd+=','+ui;if(typeof(val)!="undefined"&&val!=null)cmd+=",'"+val+"'";cmd+=');';if(tinyMCE.getParam('button_tile_map')&&(!tinyMCE.isIE||tinyMCE.isOpera)&&(m=tinyMCE.buttonMap[id])!=null&&(tinyMCE.getParam("language")=="en"||img.indexOf('$lang')==-1)){x=0-(m*20)==0?'0':0-(m*20);if(tinyMCE.isRealIE)h+='<span id="{$editor_id}_'+id+'" class="mceMenuButton" onmouseover="tinyMCE._menuButtonEvent(\'over\',this);tinyMCE.lastHover = this;" onmouseout="tinyMCE._menuButtonEvent(\'out\',this);">';else h+='<span id="{$editor_id}_'+id+'" class="mceMenuButton">';h+='<a href="javascript:'+cmd+'" onclick="'+cmd+'return false;" onmousedown="return false;" class="mceTiledButton mceMenuButtonNormal" target="_self">';h+='<img src="{$themeurl}/images/spacer.gif" style="width: 20px; height: 20px; background-position: '+x+'px 0" title="{$'+lang+'}" /></a>';h+='<a href="javascript:'+mcmd+'" onclick="'+mcmd+'return false;" onmousedown="return false;"><img src="{$themeurl}/images/button_menu.gif" title="{$'+lang+'}" class="mceMenuButton" />';h+='</a></span>'}else{if(tinyMCE.isRealIE)h+='<span id="{$editor_id}_'+id+'" dir="ltr" class="mceMenuButton" onmouseover="tinyMCE._menuButtonEvent(\'over\',this);tinyMCE.lastHover = this;" onmouseout="tinyMCE._menuButtonEvent(\'out\',this);">';else h+='<span id="{$editor_id}_'+id+'" dir="ltr" class="mceMenuButton">';h+='<a href="javascript:'+cmd+'" onclick="'+cmd+'return false;" onmousedown="return false;" class="mceMenuButtonNormal" target="_self">';h+='<img src="'+img+'" title="{$'+lang+'}" /></a>';h+='<a href="javascript:'+mcmd+'" onclick="'+mcmd+'return false;" onmousedown="return false;"><img src="{$themeurl}/images/button_menu.gif" title="{$'+lang+'}" class="mceMenuButton" />';h+='</a></span>'}return h},_menuButtonEvent:function(e,o){if(o.className=='mceMenuButtonFocus')return;if(e=='over')o.className=o.className+' mceMenuHover';else o.className=o.className.replace(/\s.*$/,'')},addButtonMap:function(m){var i,a=m.replace(/\s+/,'').split(',');for(i=0;i<a.length;i++)this.buttonMap[a[i]]=i},submitPatch:function(){tinyMCE.removeTinyMCEFormElements(this);tinyMCE.triggerSave();tinyMCE.isNotDirty=true;this.mceOldSubmit()},onLoad:function(){var r;if(tinyMCE.settings.strict_loading_mode&&this.loadingIndex!=-1){window.setTimeout('tinyMCE.onLoad();',1);return}if(tinyMCE.isRealIE&&window.event.type=="readystatechange"&&document.readyState!="complete")return true;if(tinyMCE.isLoaded)return true;tinyMCE.isLoaded=true;if(tinyMCE.isRealIE&&document.body){r=document.body.createTextRange();r.collapse(true);r.select()}tinyMCE.dispatchCallback(null,'onpageload','onPageLoad');for(var c=0;c<tinyMCE.configs.length;c++){tinyMCE.settings=tinyMCE.configs[c];var selector=tinyMCE.getParam("editor_selector");var deselector=tinyMCE.getParam("editor_deselector");var elementRefAr=new Array();if(document.forms&&tinyMCE.settings['add_form_submit_trigger']&&!tinyMCE.submitTriggers){for(var i=0;i<document.forms.length;i++){var form=document.forms[i];tinyMCE.addEvent(form,"submit",TinyMCE_Engine.prototype.handleEvent);tinyMCE.addEvent(form,"reset",TinyMCE_Engine.prototype.handleEvent);tinyMCE.submitTriggers=true;if(tinyMCE.settings['submit_patch']){try{form.mceOldSubmit=form.submit;form.submit=TinyMCE_Engine.prototype.submitPatch}catch(e){}}}}var mode=tinyMCE.settings['mode'];switch(mode){case"exact":var elements=tinyMCE.getParam('elements','',true,',');for(var i=0;i<elements.length;i++){var element=tinyMCE._getElementById(elements[i]);var trigger=element?element.getAttribute(tinyMCE.settings['textarea_trigger']):"";if(new RegExp('\\b'+deselector+'\\b').test(tinyMCE.getAttrib(element,"class")))continue;if(trigger=="false")continue;if((tinyMCE.settings['ask']||tinyMCE.settings['convert_on_click'])&&element){elementRefAr[elementRefAr.length]=element;continue}if(element)tinyMCE.addMCEControl(element,elements[i]);else if(tinyMCE.settings['debug'])alert("Error: Could not find element by id or name: "+elements[i])}break;case"specific_textareas":case"textareas":var nodeList=document.getElementsByTagName("textarea");for(var i=0;i<nodeList.length;i++){var elm=nodeList.item(i);var trigger=elm.getAttribute(tinyMCE.settings['textarea_trigger']);if(selector!=''&&!new RegExp('\\b'+selector+'\\b').test(tinyMCE.getAttrib(elm,"class")))continue;if(selector!='')trigger=selector!=""?"true":"";if(new RegExp('\\b'+deselector+'\\b').test(tinyMCE.getAttrib(elm,"class")))continue;if((mode=="specific_textareas"&&trigger=="true")||(mode=="textareas"&&trigger!="false"))elementRefAr[elementRefAr.length]=elm}break}for(var i=0;i<elementRefAr.length;i++){var element=elementRefAr[i];var elementId=element.name?element.name:element.id;if(tinyMCE.settings['ask']||tinyMCE.settings['convert_on_click']){if(tinyMCE.isGecko){var settings=tinyMCE.settings;tinyMCE.addEvent(element,"focus",function(e){window.setTimeout(function(){TinyMCE_Engine.prototype.confirmAdd(e,settings)},10)});if(element.nodeName!="TEXTAREA"&&element.nodeName!="INPUT")tinyMCE.addEvent(element,"click",function(e){window.setTimeout(function(){TinyMCE_Engine.prototype.confirmAdd(e,settings)},10)});}else{var settings=tinyMCE.settings;tinyMCE.addEvent(element,"focus",function(){TinyMCE_Engine.prototype.confirmAdd(null,settings)});tinyMCE.addEvent(element,"click",function(){TinyMCE_Engine.prototype.confirmAdd(null,settings)});}}else tinyMCE.addMCEControl(element,elementId)}if(tinyMCE.settings['auto_focus']){window.setTimeout(function(){var inst=tinyMCE.getInstanceById(tinyMCE.settings['auto_focus']);inst.selection.selectNode(inst.getBody(),true,true);inst.contentWindow.focus()},100)}tinyMCE.dispatchCallback(null,'oninit','onInit')}},isInstance:function(o){return o!=null&&typeof(o)=="object"&&o.isTinyMCE_Control},getParam:function(name,default_value,strip_whitespace,split_chr){var value=(typeof(this.settings[name])=="undefined")?default_value:this.settings[name];if(value=="true"||value=="false")return(value=="true");if(strip_whitespace)value=tinyMCE.regexpReplace(value,"[ \t\r\n]","");if(typeof(split_chr)!="undefined"&&split_chr!=null){value=value.split(split_chr);var outArray=new Array();for(var i=0;i<value.length;i++){if(value[i]&&value[i]!="")outArray[outArray.length]=value[i]}value=outArray}return value},getLang:function(name,default_value,parse_entities,va){var v=(typeof(tinyMCELang[name])=="undefined")?default_value:tinyMCELang[name],n;if(parse_entities)v=tinyMCE.entityDecode(v);if(va){for(n in va)v=this.replaceVar(v,n,va[n])}return v},entityDecode:function(s){var e=document.createElement("div");e.innerHTML=s;return e.firstChild.nodeValue},addToLang:function(prefix,ar){for(var key in ar){if(typeof(ar[key])=='function')continue;tinyMCELang[(key.indexOf('lang_')==-1?'lang_':'')+(prefix!=''?(prefix+"_"):'')+key]=ar[key]}this.loadNextScript();},triggerNodeChange:function(focus,setup_content){var elm,inst,editorId,undoIndex=-1,undoLevels=-1,doc,anySelection=false,st;if(tinyMCE.selectedInstance){inst=tinyMCE.selectedInstance;elm=(typeof(setup_content)!="undefined"&&setup_content)?tinyMCE.selectedElement:inst.getFocusElement();editorId=inst.editorId;st=inst.selection.getSelectedText();if(tinyMCE.settings.auto_resize)inst.resizeToContent();if(setup_content&&tinyMCE.isGecko&&inst.isHidden())elm=inst.getBody();inst.switchSettings();if(tinyMCE.selectedElement)anySelection=(tinyMCE.selectedElement.nodeName.toLowerCase()=="img")||(st&&st.length>0);if(tinyMCE.settings['custom_undo_redo']){undoIndex=inst.undoRedo.undoIndex;undoLevels=inst.undoRedo.undoLevels.length}tinyMCE.dispatchCallback(inst,'handle_node_change_callback','handleNodeChange',editorId,elm,undoIndex,undoLevels,inst.visualAid,anySelection,setup_content)}if(this.selectedInstance&&(typeof(focus)=="undefined"||focus))this.selectedInstance.contentWindow.focus()},_customCleanup:function(inst,type,content){var pl,po,i;var customCleanup=tinyMCE.settings['cleanup_callback'];if(customCleanup!=""&&eval("typeof("+customCleanup+")")!="undefined")content=eval(customCleanup+"(type, content, inst);");po=tinyMCE.themes[tinyMCE.settings['theme']];if(po&&po.cleanup)content=po.cleanup(type,content,inst);pl=inst.plugins;for(i=0;i<pl.length;i++){po=tinyMCE.plugins[pl[i]];if(po&&po.cleanup)content=po.cleanup(type,content,inst)}return content},setContent:function(h){if(tinyMCE.selectedInstance){tinyMCE.selectedInstance.execCommand('mceSetContent',false,h);tinyMCE.selectedInstance.repaint()}},importThemeLanguagePack:function(name){if(typeof(name)=="undefined")name=tinyMCE.settings['theme'];tinyMCE.loadScript(tinyMCE.baseURL+'/themes/'+name+'/langs/'+tinyMCE.settings['language']+'.js')},importPluginLanguagePack:function(name){var b=tinyMCE.baseURL+'/plugins/'+name;if(this.plugins[name])b=this.plugins[name].baseURL;tinyMCE.loadScript(b+'/langs/'+tinyMCE.settings['language']+'.js')},applyTemplate:function(h,as){return h.replace(new RegExp('\\{\\$([a-z0-9_]+)\\}','gi'),function(m,s){if(s.indexOf('lang_')==0&&tinyMCELang[s])return tinyMCELang[s];if(as&&as[s])return as[s];if(tinyMCE.settings[s])return tinyMCE.settings[s];if(m=='themeurl')return tinyMCE.themeURL;return m})},replaceVar:function(h,r,v){return h.replace(new RegExp('{\\\$'+r+'}','g'),v)},openWindow:function(template,args){var html,width,height,x,y,resizable,scrollbars,url;args=!args?{}:args;args['mce_template_file']=template['file'];args['mce_width']=template['width'];args['mce_height']=template['height'];tinyMCE.windowArgs=args;html=template['html'];if(!(width=parseInt(template['width'])))width=320;if(!(height=parseInt(template['height'])))height=200;if(tinyMCE.isIE)height+=40;else height+=20;x=parseInt(screen.width/ 2.0) - (width /2.0);y=parseInt(screen.height/ 2.0) - (height /2.0);resizable=(args&&args['resizable'])?args['resizable']:"no";scrollbars=(args&&args['scrollbars'])?args['scrollbars']:"no";if(template['file'].charAt(0)!='/'&&template['file'].indexOf('://')==-1)url=tinyMCE.baseURL+"/themes/"+tinyMCE.getParam("theme")+"/"+template['file'];else url=template['file'];for(var name in args){if(typeof(args[name])=='function')continue;url=tinyMCE.replaceVar(url,name,escape(args[name]))}if(html){html=tinyMCE.replaceVar(html,"css",this.settings['popups_css']);html=tinyMCE.applyTemplate(html,args);var win=window.open("","mcePopup"+new Date().getTime(),"top="+y+",left="+x+",scrollbars="+scrollbars+",dialog=yes,minimizable="+resizable+",modal=yes,width="+width+",height="+height+",resizable="+resizable);if(win==null){alert(tinyMCELang['lang_popup_blocked']);return}win.document.write(html);win.document.close();win.resizeTo(width,height);win.focus()}else{if((tinyMCE.isRealIE)&&resizable!='yes'&&tinyMCE.settings["dialog_type"]=="modal"){height+=10;var features="resizable:"+resizable+";scroll:"+scrollbars+";status:yes;center:yes;help:no;dialogWidth:"+width+"px;dialogHeight:"+height+"px;";window.showModalDialog(url,window,features)}else{var modal=(resizable=="yes")?"no":"yes";if(tinyMCE.isGecko&&tinyMCE.isMac)modal="no";if(template['close_previous']!="no")try{tinyMCE.lastWindow.close()}catch(ex){}var win=window.open(url,"mcePopup"+new Date().getTime(),"top="+y+",left="+x+",scrollbars="+scrollbars+",dialog="+modal+",minimizable="+resizable+",modal="+modal+",width="+width+",height="+height+",resizable="+resizable);if(win==null){alert(tinyMCELang['lang_popup_blocked']);return}if(template['close_previous']!="no")tinyMCE.lastWindow=win;eval('try { win.resizeTo(width, height); } catch(e) { }');if(tinyMCE.isGecko){if(win.document.defaultView.statusbar.visible)win.resizeBy(0,tinyMCE.isMac?10:24)}win.focus()}}},closeWindow:function(win){win.close()},getVisualAidClass:function(class_name,state){var aidClass=tinyMCE.settings['visual_table_class'];if(typeof(state)=="undefined")state=tinyMCE.settings['visual'];var classNames=new Array();var ar=class_name.split(' ');for(var i=0;i<ar.length;i++){if(ar[i]==aidClass)ar[i]="";if(ar[i]!="")classNames[classNames.length]=ar[i]}if(state)classNames[classNames.length]=aidClass;var className="";for(var i=0;i<classNames.length;i++){if(i>0)className+=" ";className+=classNames[i]}return className},handleVisualAid:function(el,deep,state,inst,skip_dispatch){if(!el)return;if(!skip_dispatch)tinyMCE.dispatchCallback(inst,'handle_visual_aid_callback','handleVisualAid',el,deep,state,inst);var tableElement=null;switch(el.nodeName){case"TABLE":var oldW=el.style.width;var oldH=el.style.height;var bo=tinyMCE.getAttrib(el,"border");bo=bo==""||bo=="0"?true:false;tinyMCE.setAttrib(el,"class",tinyMCE.getVisualAidClass(tinyMCE.getAttrib(el,"class"),state&&bo));el.style.width=oldW;el.style.height=oldH;for(var y=0;y<el.rows.length;y++){for(var x=0;x<el.rows[y].cells.length;x++){var cn=tinyMCE.getVisualAidClass(tinyMCE.getAttrib(el.rows[y].cells[x],"class"),state&&bo);tinyMCE.setAttrib(el.rows[y].cells[x],"class",cn)}}break;case"A":var anchorName=tinyMCE.getAttrib(el,"name");if(anchorName!=''&&state){el.title=anchorName;tinyMCE.addCSSClass(el,'mceItemAnchor')}else if(anchorName!=''&&!state)el.className='';break}if(deep&&el.hasChildNodes()){for(var i=0;i<el.childNodes.length;i++)tinyMCE.handleVisualAid(el.childNodes[i],deep,state,inst,true)}},fixGeckoBaseHREFBug:function(m,e,h){var xsrc,xhref;if(tinyMCE.isGecko){if(m==1){h=h.replace(/\ssrc=/gi," mce_tsrc=");h=h.replace(/\shref=/gi," mce_thref=");return h}else{if(!new RegExp('(src|href)=','g').test(h))return h;tinyMCE.selectElements(e,'A,IMG,SELECT,AREA,IFRAME,BASE,INPUT,SCRIPT,EMBED,OBJECT,LINK',function(n){xsrc=tinyMCE.getAttrib(n,"mce_tsrc");xhref=tinyMCE.getAttrib(n,"mce_thref");if(xsrc!=""){try{n.src=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],xsrc)}catch(e){}n.removeAttribute("mce_tsrc")}if(xhref!=""){try{n.href=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],xhref)}catch(e){}n.removeAttribute("mce_thref")}return false});tinyMCE.selectNodes(e,function(n){if(n.nodeType==3||n.nodeType==8){n.nodeValue=n.nodeValue.replace(/\smce_tsrc=/gi," src=");n.nodeValue=n.nodeValue.replace(/\smce_thref=/gi," href=")}return false})}}return h},_setHTML:function(doc,html_content){html_content=tinyMCE.cleanupHTMLCode(html_content);try{tinyMCE.setInnerHTML(doc.body,html_content)}catch(e){if(this.isMSIE)doc.body.createTextRange().pasteHTML(html_content)}if(tinyMCE.isIE&&tinyMCE.settings['fix_content_duplication']){var paras=doc.getElementsByTagName("P");for(var i=0;i<paras.length;i++){var node=paras[i];while((node=node.parentNode)!=null){if(node.nodeName=="P")node.outerHTML=node.innerHTML}}var html=doc.body.innerHTML;tinyMCE.setInnerHTML(doc.body,html)}tinyMCE.cleanupAnchors(doc);if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(doc)},getEditorId:function(form_element){var inst=this.getInstanceById(form_element);if(!inst)return null;return inst.editorId},getInstanceById:function(editor_id){var inst=this.instances[editor_id];if(!inst){for(var n in tinyMCE.instances){var instance=tinyMCE.instances[n];if(!tinyMCE.isInstance(instance))continue;if(instance.formTargetElementId==editor_id){inst=instance;break}}}return inst},queryInstanceCommandValue:function(editor_id,command){var inst=tinyMCE.getInstanceById(editor_id);if(inst)return inst.queryCommandValue(command);return false},queryInstanceCommandState:function(editor_id,command){var inst=tinyMCE.getInstanceById(editor_id);if(inst)return inst.queryCommandState(command);return null},setWindowArg:function(n,v){this.windowArgs[n]=v},getWindowArg:function(n,d){return(typeof(this.windowArgs[n])=="undefined")?d:this.windowArgs[n]},getCSSClasses:function(editor_id,doc){var inst=tinyMCE.getInstanceById(editor_id);if(inst&&inst.cssClasses.length>0)return inst.cssClasses;if(typeof(editor_id)=="undefined"&&typeof(doc)=="undefined"){var instance;for(var instanceName in tinyMCE.instances){instance=tinyMCE.instances[instanceName];if(!tinyMCE.isInstance(instance))continue;break}doc=instance.getDoc()}if(typeof(doc)=="undefined"){var instance=tinyMCE.getInstanceById(editor_id);doc=instance.getDoc()}if(doc){var styles=doc.styleSheets;if(styles&&styles.length>0){for(var x=0;x<styles.length;x++){var csses=null;eval("try {var csses = tinyMCE.isIE ? doc.styleSheets("+x+").rules : styles["+x+"].cssRules;} catch(e) {}");if(!csses)return new Array();for(var i=0;i<csses.length;i++){var selectorText=csses[i].selectorText;if(selectorText){var rules=selectorText.split(',');for(var c=0;c<rules.length;c++){var rule=rules[c];while(rule.indexOf(' ')==0)rule=rule.substring(1);if(rule.indexOf(' ')!=-1||rule.indexOf(':')!=-1||rule.indexOf('mceItem')!=-1)continue;if(rule.indexOf(tinyMCE.settings['visual_table_class'])!=-1||rule.indexOf('mceEditable')!=-1||rule.indexOf('mceNonEditable')!=-1)continue;if(rule.indexOf('.')!=-1){var cssClass=rule.substring(rule.indexOf('.')+1);var addClass=true;for(var p=0;p<inst.cssClasses.length&&addClass;p++){if(inst.cssClasses[p]==cssClass)addClass=false}if(addClass)inst.cssClasses[inst.cssClasses.length]=cssClass}}}}}}}return inst.cssClasses},regexpReplace:function(in_str,reg_exp,replace_str,opts){if(in_str==null)return in_str;if(typeof(opts)=="undefined")opts='g';var re=new RegExp(reg_exp,opts);return in_str.replace(re,replace_str)},trim:function(s){return s.replace(/^\s*|\s*$/g,"")},cleanupEventStr:function(s){s=""+s;s=s.replace('function anonymous()\n{\n','');s=s.replace('\n}','');s=s.replace(/^return true;/gi,'');return s},getControlHTML:function(c){var i,l,n,o,v,rtl=tinyMCE.getLang('lang_dir')=='rtl';l=tinyMCE.plugins;for(n in l){o=l[n];if(o.getControlHTML&&(v=o.getControlHTML(c))!=''){if(rtl)return'<span dir="rtl">'+tinyMCE.replaceVar(v,"pluginurl",o.baseURL)+'</span>';return tinyMCE.replaceVar(v,"pluginurl",o.baseURL)}}o=tinyMCE.themes[tinyMCE.settings['theme']];if(o.getControlHTML&&(v=o.getControlHTML(c))!=''){if(rtl)return'<span dir="rtl">'+v+'</span>';return v}return''},evalFunc:function(f,idx,a,o){o=!o?window:o;f=typeof(f)=='function'?f:o[f];return f.apply(o,Array.prototype.slice.call(a,idx))},dispatchCallback:function(i,p,n){return this.callFunc(i,p,n,0,this.dispatchCallback.arguments)},executeCallback:function(i,p,n){return this.callFunc(i,p,n,1,this.executeCallback.arguments)},execCommandCallback:function(i,p,n){return this.callFunc(i,p,n,2,this.execCommandCallback.arguments)},callFunc:function(ins,p,n,m,a){var l,i,on,o,s,v;s=m==2;l=tinyMCE.getParam(p,'');if(l!=''&&(v=tinyMCE.evalFunc(l,3,a))==s&&m>0)return true;if(ins!=null){for(i=0,l=ins.plugins;i<l.length;i++){o=tinyMCE.plugins[l[i]];if(o[n]&&(v=tinyMCE.evalFunc(n,3,a,o))==s&&m>0)return true}}l=tinyMCE.themes;for(on in l){o=l[on];if(o[n]&&(v=tinyMCE.evalFunc(n,3,a,o))==s&&m>0)return true}return false},xmlEncode:function(s,skip_apos){return s?(''+s).replace(!skip_apos?this.xmlEncodeAposRe:this.xmlEncodeRe,function(c,b){switch(c){case'&':return'&amp;';case'"':return'&quot;';case'\'':return'&#39;';case'<':return'&lt;';case'>':return'&gt;'}return c}):s},extend:function(p,np){var o={};o.parent=p;for(n in p)o[n]=p[n];for(n in np)o[n]=np[n];return o},hideMenus:function(){var e=tinyMCE.lastSelectedMenuBtn;if(tinyMCE.lastMenu){tinyMCE.lastMenu.hide();tinyMCE.lastMenu=null}if(e){tinyMCE.switchClass(e,tinyMCE.lastMenuBtnClass);tinyMCE.lastSelectedMenuBtn=null}}};var TinyMCE=TinyMCE_Engine;var tinyMCE=new TinyMCE_Engine();var tinyMCELang={};function TinyMCE_Control(settings){var t,i,to,fu,p,x,fn,fu,pn,s=settings;this.undoRedoLevel=true;this.isTinyMCE_Control=true;this.settings=s;this.settings['theme']=tinyMCE.getParam("theme","default");this.settings['width']=tinyMCE.getParam("width",-1);this.settings['height']=tinyMCE.getParam("height",-1);this.selection=new TinyMCE_Selection(this);this.undoRedo=new TinyMCE_UndoRedo(this);this.cleanup=new TinyMCE_Cleanup();this.shortcuts=new Array();this.hasMouseMoved=false;this.foreColor=this.backColor="#999999";this.data={};this.cssClasses=[];this.cleanup.init({valid_elements:s.valid_elements,extended_valid_elements:s.extended_valid_elements,valid_child_elements:s.valid_child_elements,entities:s.entities,entity_encoding:s.entity_encoding,debug:s.cleanup_debug,indent:s.apply_source_formatting,invalid_elements:s.invalid_elements,verify_html:s.verify_html,fix_content_duplication:s.fix_content_duplication,convert_fonts_to_spans:s.convert_fonts_to_spans});t=this.settings['theme'];if(!tinyMCE.hasTheme(t)){fn=tinyMCE.callbacks;to={};for(i=0;i<fn.length;i++){if((fu=window['TinyMCE_'+t+"_"+fn[i]]))to[fn[i]]=fu}tinyMCE.addTheme(t,to)}this.plugins=new Array();p=tinyMCE.getParam('plugins','',true,',');if(p.length>0){for(i=0;i<p.length;i++){pn=p[i];if(pn.charAt(0)=='-')pn=pn.substring(1);if(!tinyMCE.hasPlugin(pn)){fn=tinyMCE.callbacks;to={};for(x=0;x<fn.length;x++){if((fu=window['TinyMCE_'+pn+"_"+fn[x]]))to[fn[x]]=fu}tinyMCE.addPlugin(pn,to)}this.plugins[this.plugins.length]=pn}}};TinyMCE_Control.prototype={selection:null,settings:null,cleanup:null,getData:function(na){var o=this.data[na];if(!o)o=this.data[na]={};return o},hasPlugin:function(n){var i;for(i=0;i<this.plugins.length;i++){if(this.plugins[i]==n)return true}return false},addPlugin:function(n,p){if(!this.hasPlugin(n)){tinyMCE.addPlugin(n,p);this.plugins[this.plugins.length]=n}},repaint:function(){var s,b,ex;if(tinyMCE.isRealIE)return;try{s=this.selection;b=s.getBookmark(true);this.getBody().style.display='none';this.getDoc().execCommand('selectall',false,null);this.getSel().collapseToStart();this.getBody().style.display='block';s.moveToBookmark(b)}catch(ex){}},switchSettings:function(){if(tinyMCE.configs.length>1&&tinyMCE.currentConfig!=this.settings['index']){tinyMCE.settings=this.settings;tinyMCE.currentConfig=this.settings['index']}},select:function(){var oldInst=tinyMCE.selectedInstance;if(oldInst!=this){if(oldInst)oldInst.execCommand('mceEndTyping');tinyMCE.dispatchCallback(this,'select_instance_callback','selectInstance',this,oldInst);tinyMCE.selectedInstance=this}},getBody:function(){return this.contentBody?this.contentBody:this.getDoc().body},getDoc:function(){return this.contentWindow.document},getWin:function(){return this.contentWindow},getContainerWin:function(){return this.containerWindow?this.containerWindow:window},getViewPort:function(){return tinyMCE.getViewPort(this.getWin())},getParentNode:function(n,f){return tinyMCE.getParentNode(n,f,this.getBody())},getParentElement:function(n,na,f){return tinyMCE.getParentElement(n,na,f,this.getBody())},getParentBlockElement:function(n){return tinyMCE.getParentBlockElement(n,this.getBody())},resizeToContent:function(){var d=this.getDoc(),b=d.body,de=d.documentElement;this.iframeElement.style.height=(tinyMCE.isRealIE)?b.scrollHeight:de.offsetHeight+'px'},addShortcut:function(m,k,d,cmd,ui,va){var n=typeof(k)=="number",ie=tinyMCE.isIE,c,sc,i,scl=this.shortcuts;if(!tinyMCE.getParam('custom_shortcuts'))return false;m=m.toLowerCase();k=ie&&!n?k.toUpperCase():k;c=n?null:k.charCodeAt(0);d=d&&d.indexOf('lang_')==0?tinyMCE.getLang(d):d;sc={alt:m.indexOf('alt')!=-1,ctrl:m.indexOf('ctrl')!=-1,shift:m.indexOf('shift')!=-1,charCode:c,keyCode:n?k:(ie?c:null),desc:d,cmd:cmd,ui:ui,val:va};for(i=0;i<scl.length;i++){if(sc.alt==scl[i].alt&&sc.ctrl==scl[i].ctrl&&sc.shift==scl[i].shift&&sc.charCode==scl[i].charCode&&sc.keyCode==scl[i].keyCode){return false}}scl[scl.length]=sc;return true},handleShortcut:function(e){var i,s,o;if(!e.altKey&&!e.ctrlKey)return false;s=this.shortcuts;for(i=0;i<s.length;i++){o=s[i];if(o.alt==e.altKey&&o.ctrl==e.ctrlKey&&(o.keyCode==e.keyCode||o.charCode==e.charCode)){if(o.cmd&&(e.type=="keydown"||(e.type=="keypress"&&!tinyMCE.isOpera)))tinyMCE.execCommand(o.cmd,o.ui,o.val);tinyMCE.cancelEvent(e);return true}}return false},autoResetDesignMode:function(){if(!tinyMCE.isIE&&this.isHidden()&&tinyMCE.getParam('auto_reset_designmode'))eval('try { this.getDoc().designMode = "On"; this.useCSS = false; } catch(e) {}')},isHidden:function(){var s;if(tinyMCE.isIE)return false;s=this.getSel();return(!s||!s.rangeCount||s.rangeCount==0)},isDirty:function(){return tinyMCE.trim(this.startContent)!=tinyMCE.trim(this.getBody().innerHTML)&&!tinyMCE.isNotDirty},_mergeElements:function(scmd,pa,ch,override){if(scmd=="removeformat"){pa.className="";pa.style.cssText="";ch.className="";ch.style.cssText="";return}var st=tinyMCE.parseStyle(tinyMCE.getAttrib(pa,"style"));var stc=tinyMCE.parseStyle(tinyMCE.getAttrib(ch,"style"));var className=tinyMCE.getAttrib(pa,"class");className=tinyMCE.getAttrib(ch,"class");if(override){for(var n in st){if(typeof(st[n])=='function')continue;stc[n]=st[n]}}else{for(var n in stc){if(typeof(stc[n])=='function')continue;st[n]=stc[n]}}tinyMCE.setAttrib(pa,"style",tinyMCE.serializeStyle(st));tinyMCE.setAttrib(pa,"class",tinyMCE.trim(className));ch.className="";ch.style.cssText="";ch.removeAttribute("class");ch.removeAttribute("style")},_setUseCSS:function(b){var d=this.getDoc();try{d.execCommand("useCSS",false,!b)}catch(ex){}try{d.execCommand("styleWithCSS",false,b)}catch(ex){}if(!tinyMCE.getParam("table_inline_editing"))try{d.execCommand('enableInlineTableEditing',false,"false")}catch(ex){}if(!tinyMCE.getParam("object_resizing"))try{d.execCommand('enableObjectResizing',false,"false")}catch(ex){}},execCommand:function(command,user_interface,value){var doc=this.getDoc(),win=this.getWin(),focusElm=this.getFocusElement();if(!new RegExp('mceStartTyping|mceEndTyping|mceBeginUndoLevel|mceEndUndoLevel|mceAddUndoLevel','gi').test(command))this.undoBookmark=null;if(!tinyMCE.isIE&&!this.useCSS){this._setUseCSS(false);this.useCSS=true}this.contentDocument=doc;if(!/mceStartTyping|mceEndTyping/.test(command)){if(tinyMCE.execCommandCallback(this,'execcommand_callback','execCommand',this.editorId,this.getBody(),command,user_interface,value))return}if(focusElm&&focusElm.nodeName=="IMG"){var align=focusElm.getAttribute('align');var img=command=="JustifyCenter"?focusElm.cloneNode(false):focusElm;switch(command){case"JustifyLeft":if(align=='left')img.removeAttribute('align');else img.setAttribute('align','left');var div=focusElm.parentNode;if(div&&div.nodeName=="DIV"&&div.childNodes.length==1&&div.parentNode)div.parentNode.replaceChild(img,div);this.selection.selectNode(img);this.repaint();tinyMCE.triggerNodeChange();return;case"JustifyCenter":img.removeAttribute('align');var div=tinyMCE.getParentElement(focusElm,"div");if(div&&div.style.textAlign=="center"){if(div.nodeName=="DIV"&&div.childNodes.length==1&&div.parentNode)div.parentNode.replaceChild(img,div)}else{var div=this.getDoc().createElement("div");div.style.textAlign='center';div.appendChild(img);focusElm.parentNode.replaceChild(div,focusElm)}this.selection.selectNode(img);this.repaint();tinyMCE.triggerNodeChange();return;case"JustifyRight":if(align=='right')img.removeAttribute('align');else img.setAttribute('align','right');var div=focusElm.parentNode;if(div&&div.nodeName=="DIV"&&div.childNodes.length==1&&div.parentNode)div.parentNode.replaceChild(img,div);this.selection.selectNode(img);this.repaint();tinyMCE.triggerNodeChange();return}}if(tinyMCE.settings['force_br_newlines']){var alignValue="";if(doc.selection.type!="Control"){switch(command){case"JustifyLeft":alignValue="left";break;case"JustifyCenter":alignValue="center";break;case"JustifyFull":alignValue="justify";break;case"JustifyRight":alignValue="right";break}if(alignValue!=""){var rng=doc.selection.createRange();if((divElm=tinyMCE.getParentElement(rng.parentElement(),"div"))!=null)divElm.setAttribute("align",alignValue);else if(rng.pasteHTML&&rng.htmlText.length>0)rng.pasteHTML('<div align="'+alignValue+'">'+rng.htmlText+"</div>");tinyMCE.triggerNodeChange();return}}}switch(command){case"mceRepaint":this.repaint();return true;case"unlink":if(tinyMCE.isGecko&&this.getSel().isCollapsed){focusElm=tinyMCE.getParentElement(focusElm,'A');if(focusElm)this.selection.selectNode(focusElm,false)}this.getDoc().execCommand(command,user_interface,value);tinyMCE.isGecko&&this.getSel().collapseToEnd();tinyMCE.triggerNodeChange();return true;case"InsertUnorderedList":case"InsertOrderedList":this.getDoc().execCommand(command,user_interface,value);tinyMCE.triggerNodeChange();break;case"Strikethrough":this.getDoc().execCommand(command,user_interface,value);tinyMCE.triggerNodeChange();break;case"mceSelectNode":this.selection.selectNode(value);tinyMCE.triggerNodeChange();tinyMCE.selectedNode=value;break;case"FormatBlock":if(value==null||value==""){var elm=tinyMCE.getParentElement(this.getFocusElement(),"p,div,h1,h2,h3,h4,h5,h6,pre,address,blockquote,dt,dl,dd,samp");if(elm)this.execCommand("mceRemoveNode",false,elm)}else{if(!this.cleanup.isValid(value))return true;if(tinyMCE.isGecko&&new RegExp('<(div|blockquote|code|dt|dd|dl|samp)>','gi').test(value))value=value.replace(/[^a-z]/gi,'');if(tinyMCE.isIE&&new RegExp('blockquote|code|samp','gi').test(value)){var b=this.selection.getBookmark();this.getDoc().execCommand("FormatBlock",false,'<p>');tinyMCE.renameElement(tinyMCE.getParentBlockElement(this.getFocusElement()),value);this.selection.moveToBookmark(b)}else this.getDoc().execCommand("FormatBlock",false,value)}tinyMCE.triggerNodeChange();break;case"mceRemoveNode":if(!value)value=tinyMCE.getParentElement(this.getFocusElement());if(tinyMCE.isIE){value.outerHTML=value.innerHTML}else{var rng=value.ownerDocument.createRange();rng.setStartBefore(value);rng.setEndAfter(value);rng.deleteContents();rng.insertNode(rng.createContextualFragment(value.innerHTML))}tinyMCE.triggerNodeChange();break;case"mceSelectNodeDepth":var parentNode=this.getFocusElement();for(var i=0;parentNode;i++){if(parentNode.nodeName.toLowerCase()=="body")break;if(parentNode.nodeName.toLowerCase()=="#text"){i--;parentNode=parentNode.parentNode;continue}if(i==value){this.selection.selectNode(parentNode,false);tinyMCE.triggerNodeChange();tinyMCE.selectedNode=parentNode;return}parentNode=parentNode.parentNode}break;case"mceSetStyleInfo":case"SetStyleInfo":var rng=this.getRng();var sel=this.getSel();var scmd=value['command'];var sname=value['name'];var svalue=value['value']==null?'':value['value'];var wrapper=value['wrapper']?value['wrapper']:"span";var parentElm=null;var invalidRe=new RegExp("^BODY|HTML$","g");var invalidParentsRe=tinyMCE.settings['merge_styles_invalid_parents']!=''?new RegExp(tinyMCE.settings['merge_styles_invalid_parents'],"gi"):null;if(tinyMCE.isIE){if(rng.item)parentElm=rng.item(0);else{var pelm=rng.parentElement();var prng=doc.selection.createRange();prng.moveToElementText(pelm);if(rng.htmlText==prng.htmlText||rng.boundingWidth==0){if(invalidParentsRe==null||!invalidParentsRe.test(pelm.nodeName))parentElm=pelm}}}else{var felm=this.getFocusElement();if(sel.isCollapsed||(new RegExp('td|tr|tbody|table','gi').test(felm.nodeName)&&sel.anchorNode==felm.parentNode))parentElm=felm}if(parentElm&&!invalidRe.test(parentElm.nodeName)){if(scmd=="setstyle")tinyMCE.setStyleAttrib(parentElm,sname,svalue);if(scmd=="setattrib")tinyMCE.setAttrib(parentElm,sname,svalue);if(scmd=="removeformat"){parentElm.style.cssText='';tinyMCE.setAttrib(parentElm,'class','')}var ch=tinyMCE.getNodeTree(parentElm,new Array(),1);for(var z=0;z<ch.length;z++){if(ch[z]==parentElm)continue;if(scmd=="setstyle")tinyMCE.setStyleAttrib(ch[z],sname,'');if(scmd=="setattrib")tinyMCE.setAttrib(ch[z],sname,'');if(scmd=="removeformat"){ch[z].style.cssText='';tinyMCE.setAttrib(ch[z],'class','')}}}else{this._setUseCSS(false);doc.execCommand("FontName",false,"#mce_temp_font#");var elementArray=tinyMCE.getElementsByAttributeValue(this.getBody(),"font","face","#mce_temp_font#");for(var x=0;x<elementArray.length;x++){elm=elementArray[x];if(elm){var spanElm=doc.createElement(wrapper);if(scmd=="setstyle")tinyMCE.setStyleAttrib(spanElm,sname,svalue);if(scmd=="setattrib")tinyMCE.setAttrib(spanElm,sname,svalue);if(scmd=="removeformat"){spanElm.style.cssText='';tinyMCE.setAttrib(spanElm,'class','')}if(elm.hasChildNodes()){for(var i=0;i<elm.childNodes.length;i++)spanElm.appendChild(elm.childNodes[i].cloneNode(true))}spanElm.setAttribute("mce_new","true");elm.parentNode.replaceChild(spanElm,elm);var ch=tinyMCE.getNodeTree(spanElm,new Array(),1);for(var z=0;z<ch.length;z++){if(ch[z]==spanElm)continue;if(scmd=="setstyle")tinyMCE.setStyleAttrib(ch[z],sname,'');if(scmd=="setattrib")tinyMCE.setAttrib(ch[z],sname,'');if(scmd=="removeformat"){ch[z].style.cssText='';tinyMCE.setAttrib(ch[z],'class','')}}}}}var nodes=doc.getElementsByTagName(wrapper);for(var i=nodes.length-1;i>=0;i--){var elm=nodes[i];var isNew=tinyMCE.getAttrib(elm,"mce_new")=="true";elm.removeAttribute("mce_new");if(elm.childNodes&&elm.childNodes.length==1&&elm.childNodes[0].nodeType==1){this._mergeElements(scmd,elm,elm.childNodes[0],isNew);continue}if(elm.parentNode.childNodes.length==1&&!invalidRe.test(elm.nodeName)&&!invalidRe.test(elm.parentNode.nodeName)){if(invalidParentsRe==null||!invalidParentsRe.test(elm.parentNode.nodeName))this._mergeElements(scmd,elm.parentNode,elm,false)}}var nodes=doc.getElementsByTagName(wrapper);for(var i=nodes.length-1;i>=0;i--){var elm=nodes[i];var isEmpty=true;var tmp=doc.createElement("body");tmp.appendChild(elm.cloneNode(false));tmp.innerHTML=tmp.innerHTML.replace(new RegExp('style=""|class=""','gi'),'');if(new RegExp('<span>','gi').test(tmp.innerHTML)){for(var x=0;x<elm.childNodes.length;x++){if(elm.parentNode!=null)elm.parentNode.insertBefore(elm.childNodes[x].cloneNode(true),elm)}elm.parentNode.removeChild(elm)}}if(scmd=="removeformat")tinyMCE.handleVisualAid(this.getBody(),true,this.visualAid,this);tinyMCE.triggerNodeChange();break;case"FontName":if(value==null){var s=this.getSel();if(tinyMCE.isGecko&&s.isCollapsed){var f=tinyMCE.getParentElement(this.getFocusElement(),"font");if(f!=null)this.selection.selectNode(f,false)}this.getDoc().execCommand("RemoveFormat",false,null);if(f!=null&&tinyMCE.isGecko){var r=this.getRng().cloneRange();r.collapse(true);s.removeAllRanges();s.addRange(r)}}else this.getDoc().execCommand('FontName',false,value);if(tinyMCE.isGecko)window.setTimeout('tinyMCE.triggerNodeChange(false);',1);return;case"FontSize":this.getDoc().execCommand('FontSize',false,value);if(tinyMCE.isGecko)window.setTimeout('tinyMCE.triggerNodeChange(false);',1);return;case"forecolor":value=value==null?this.foreColor:value;value=tinyMCE.trim(value);value=value.charAt(0)!='#'?(isNaN('0x'+value)?value:'#'+value):value;this.foreColor=value;this.getDoc().execCommand('forecolor',false,value);break;case"HiliteColor":value=value==null?this.backColor:value;value=tinyMCE.trim(value);value=value.charAt(0)!='#'?(isNaN('0x'+value)?value:'#'+value):value;this.backColor=value;if(tinyMCE.isGecko){this._setUseCSS(true);this.getDoc().execCommand('hilitecolor',false,value);this._setUseCSS(false)}else this.getDoc().execCommand('BackColor',false,value);break;case"Cut":case"Copy":case"Paste":var cmdFailed=false;eval('try {this.getDoc().execCommand(command, user_interface, value);} catch (e) {cmdFailed = true;}');if(tinyMCE.isOpera&&cmdFailed)alert('Currently not supported by your browser, use keyboard shortcuts instead.');if(tinyMCE.isGecko&&cmdFailed){if(confirm(tinyMCE.entityDecode(tinyMCE.getLang('lang_clipboard_msg'))))window.open('http://www.mozilla.org/editor/midasdemo/securityprefs.html','mceExternal');return}else tinyMCE.triggerNodeChange();break;case"mceSetContent":if(!value)value="";value=tinyMCE.storeAwayURLs(value);value=tinyMCE._customCleanup(this,"insert_to_editor",value);if(this.getBody().nodeName=='BODY')tinyMCE._setHTML(doc,value);else this.getBody().innerHTML=value;tinyMCE.setInnerHTML(this.getBody(),tinyMCE._cleanupHTML(this,doc,this.settings,this.getBody(),false,false,false,true));tinyMCE.convertAllRelativeURLs(this.getBody());tinyMCE._removeInternal(this.getBody());if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(doc);tinyMCE.handleVisualAid(this.getBody(),true,this.visualAid,this);tinyMCE._setEventsEnabled(this.getBody(),false);return true;case"mceCleanup":var b=this.selection.getBookmark();tinyMCE._setHTML(this.contentDocument,this.getBody().innerHTML);tinyMCE.setInnerHTML(this.getBody(),tinyMCE._cleanupHTML(this,this.contentDocument,this.settings,this.getBody(),this.visualAid));tinyMCE.convertAllRelativeURLs(doc.body);if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(doc);tinyMCE.handleVisualAid(this.getBody(),true,this.visualAid,this);tinyMCE._setEventsEnabled(this.getBody(),false);this.repaint();this.selection.moveToBookmark(b);tinyMCE.triggerNodeChange();break;case"mceReplaceContent":if(!value)value='';this.getWin().focus();var selectedText="";if(tinyMCE.isIE){var rng=doc.selection.createRange();selectedText=rng.text}else selectedText=this.getSel().toString();if(selectedText.length>0){value=tinyMCE.replaceVar(value,"selection",selectedText);tinyMCE.execCommand('mceInsertContent',false,value)}tinyMCE.triggerNodeChange();break;case"mceSetAttribute":if(typeof(value)=='object'){var targetElms=(typeof(value['targets'])=="undefined")?"p,img,span,div,td,h1,h2,h3,h4,h5,h6,pre,address":value['targets'];var targetNode=tinyMCE.getParentElement(this.getFocusElement(),targetElms);if(targetNode){targetNode.setAttribute(value['name'],value['value']);tinyMCE.triggerNodeChange()}}break;case"mceSetCSSClass":this.execCommand("mceSetStyleInfo",false,{command:"setattrib",name:"class",value:value});break;case"mceInsertRawHTML":var key='tiny_mce_marker';this.execCommand('mceBeginUndoLevel');this.execCommand('mceInsertContent',false,key);var scrollX=this.getBody().scrollLeft+this.getDoc().documentElement.scrollLeft;var scrollY=this.getBody().scrollTop+this.getDoc().documentElement.scrollTop;var html=this.getBody().innerHTML;if((pos=html.indexOf(key))!=-1)tinyMCE.setInnerHTML(this.getBody(),html.substring(0,pos)+value+html.substring(pos+key.length));this.contentWindow.scrollTo(scrollX,scrollY);this.execCommand('mceEndUndoLevel');break;case"mceInsertContent":if(!value)value='';var insertHTMLFailed=false;if(tinyMCE.isGecko||tinyMCE.isOpera){try{if(value.indexOf('<')==-1&&!value.match(/(&#38;|&#160;|&#60;|&#62;)/g)){var r=this.getRng();var n=this.getDoc().createTextNode(tinyMCE.entityDecode(value));var s=this.getSel();var r2=r.cloneRange();s.removeAllRanges();r.deleteContents();r.insertNode(n);r2.selectNode(n);r2.collapse(false);s.removeAllRanges();s.addRange(r2)}else{value=tinyMCE.fixGeckoBaseHREFBug(1,this.getDoc(),value);this.getDoc().execCommand('inserthtml',false,value);tinyMCE.fixGeckoBaseHREFBug(2,this.getDoc(),value)}}catch(ex){insertHTMLFailed=true}if(!insertHTMLFailed){tinyMCE.triggerNodeChange();return}}if(!tinyMCE.isIE){var isHTML=value.indexOf('<')!=-1;var sel=this.getSel();var rng=this.getRng();if(isHTML){if(tinyMCE.isSafari){var tmpRng=this.getDoc().createRange();tmpRng.setStart(this.getBody(),0);tmpRng.setEnd(this.getBody(),0);value=tmpRng.createContextualFragment(value)}else value=rng.createContextualFragment(value)}else{var el=document.createElement("div");el.innerHTML=value;value=el.firstChild.nodeValue;value=doc.createTextNode(value)}if(tinyMCE.isSafari&&!isHTML){this.execCommand('InsertText',false,value.nodeValue);tinyMCE.triggerNodeChange();return true}else if(tinyMCE.isSafari&&isHTML){rng.deleteContents();rng.insertNode(value);tinyMCE.triggerNodeChange();return true}rng.deleteContents();if(rng.startContainer.nodeType==3){var node=rng.startContainer.splitText(rng.startOffset);node.parentNode.insertBefore(value,node)}else rng.insertNode(value);if(!isHTML){sel.selectAllChildren(doc.body);sel.removeAllRanges();var rng=doc.createRange();rng.selectNode(value);rng.collapse(false);sel.addRange(rng)}else rng.collapse(false);tinyMCE.fixGeckoBaseHREFBug(2,this.getDoc(),value)}else{var rng=doc.selection.createRange(),tmpRng=null;var c=value.indexOf('<!--')!=-1;if(c)value=tinyMCE.uniqueTag+value;if(rng.item)rng.item(0).outerHTML=value;else rng.pasteHTML(value);if(c){var e=this.getDoc().getElementById('mceTMPElement');e.parentNode.removeChild(e)}}tinyMCE.execCommand("mceAddUndoLevel");tinyMCE.triggerNodeChange();break;case"mceStartTyping":if(tinyMCE.settings['custom_undo_redo']&&this.undoRedo.typingUndoIndex==-1){this.undoRedo.typingUndoIndex=this.undoRedo.undoIndex;tinyMCE.typingUndoIndex=tinyMCE.undoIndex;this.execCommand('mceAddUndoLevel')}break;case"mceEndTyping":if(tinyMCE.settings['custom_undo_redo']&&this.undoRedo.typingUndoIndex!=-1){this.execCommand('mceAddUndoLevel');this.undoRedo.typingUndoIndex=-1}tinyMCE.typingUndoIndex=-1;break;case"mceBeginUndoLevel":this.undoRedoLevel=false;break;case"mceEndUndoLevel":this.undoRedoLevel=true;this.execCommand('mceAddUndoLevel');break;case"mceAddUndoLevel":if(tinyMCE.settings['custom_undo_redo']&&this.undoRedoLevel){if(this.undoRedo.add())tinyMCE.triggerNodeChange(false)}break;case"Undo":if(tinyMCE.settings['custom_undo_redo']){tinyMCE.execCommand("mceEndTyping");this.undoRedo.undo();tinyMCE.triggerNodeChange()}else this.getDoc().execCommand(command,user_interface,value);break;case"Redo":if(tinyMCE.settings['custom_undo_redo']){tinyMCE.execCommand("mceEndTyping");this.undoRedo.redo();tinyMCE.triggerNodeChange()}else this.getDoc().execCommand(command,user_interface,value);break;case"mceToggleVisualAid":this.visualAid=!this.visualAid;tinyMCE.handleVisualAid(this.getBody(),true,this.visualAid,this);tinyMCE.triggerNodeChange();break;case"Indent":this.getDoc().execCommand(command,user_interface,value);tinyMCE.triggerNodeChange();if(tinyMCE.isIE){var n=tinyMCE.getParentElement(this.getFocusElement(),"blockquote");do{if(n&&n.nodeName=="BLOCKQUOTE"){n.removeAttribute("dir");n.removeAttribute("style")}}while(n!=null&&(n=n.parentNode)!=null)}break;case"RemoveFormat":case"removeformat":var text=this.selection.getSelectedText();if(tinyMCE.isOpera){this.getDoc().execCommand("RemoveFormat",false,null);return}if(tinyMCE.isIE){try{var rng=doc.selection.createRange();rng.execCommand("RemoveFormat",false,null)}catch(e){}this.execCommand("mceSetStyleInfo",false,{command:"removeformat"})}else{this.getDoc().execCommand(command,user_interface,value);this.execCommand("mceSetStyleInfo",false,{command:"removeformat"})}if(text.length==0)this.execCommand("mceSetCSSClass",false,"");tinyMCE.triggerNodeChange();break;default:this.getDoc().execCommand(command,user_interface,value);if(tinyMCE.isGecko)window.setTimeout('tinyMCE.triggerNodeChange(false);',1);else tinyMCE.triggerNodeChange()}if(command!="mceAddUndoLevel"&&command!="Undo"&&command!="Redo"&&command!="mceStartTyping"&&command!="mceEndTyping")tinyMCE.execCommand("mceAddUndoLevel")},queryCommandValue:function(c){try{return this.getDoc().queryCommandValue(c)}catch(e){return null}},queryCommandState:function(c){return this.getDoc().queryCommandState(c)},_onAdd:function(replace_element,form_element_name,target_document){var hc,th,to,editorTemplate;th=this.settings['theme'];to=tinyMCE.themes[th];var targetDoc=target_document?target_document:document;this.targetDoc=targetDoc;tinyMCE.themeURL=tinyMCE.baseURL+"/themes/"+this.settings['theme'];this.settings['themeurl']=tinyMCE.themeURL;if(!replace_element){alert("Error: Could not find the target element.");return false}if(to.getEditorTemplate)editorTemplate=to.getEditorTemplate(this.settings,this.editorId);var deltaWidth=editorTemplate['delta_width']?editorTemplate['delta_width']:0;var deltaHeight=editorTemplate['delta_height']?editorTemplate['delta_height']:0;var html='<span id="'+this.editorId+'_parent" class="mceEditorContainer">'+editorTemplate['html'];html=tinyMCE.replaceVar(html,"editor_id",this.editorId);this.settings['default_document']=tinyMCE.baseURL+"/blank.htm";this.settings['old_width']=this.settings['width'];this.settings['old_height']=this.settings['height'];if(this.settings['width']==-1)this.settings['width']=replace_element.offsetWidth;if(this.settings['height']==-1)this.settings['height']=replace_element.offsetHeight;if(this.settings['width']==0)this.settings['width']=replace_element.style.width;if(this.settings['height']==0)this.settings['height']=replace_element.style.height;if(this.settings['width']==0)this.settings['width']=320;if(this.settings['height']==0)this.settings['height']=240;this.settings['area_width']=parseInt(this.settings['width']);this.settings['area_height']=parseInt(this.settings['height']);this.settings['area_width']+=deltaWidth;this.settings['area_height']+=deltaHeight;this.settings['width_style']=""+this.settings['width'];this.settings['height_style']=""+this.settings['height'];if((""+this.settings['width']).indexOf('%')!=-1)this.settings['area_width']="100%";else this.settings['width_style']+='px';if((""+this.settings['height']).indexOf('%')!=-1)this.settings['area_height']="100%";else this.settings['height_style']+='px';if((""+replace_element.style.width).indexOf('%')!=-1){this.settings['width']=replace_element.style.width;this.settings['area_width']="100%";this.settings['width_style']="100%"}if((""+replace_element.style.height).indexOf('%')!=-1){this.settings['height']=replace_element.style.height;this.settings['area_height']="100%";this.settings['height_style']="100%"}html=tinyMCE.applyTemplate(html);this.settings['width']=this.settings['old_width'];this.settings['height']=this.settings['old_height'];this.visualAid=this.settings['visual'];this.formTargetElementId=form_element_name;if(replace_element.nodeName=="TEXTAREA"||replace_element.nodeName=="INPUT")this.startContent=replace_element.value;else this.startContent=replace_element.innerHTML;if(replace_element.nodeName!="TEXTAREA"&&replace_element.nodeName!="INPUT"){this.oldTargetElement=replace_element;if(tinyMCE.settings['debug']){hc='<textarea wrap="off" id="'+form_element_name+'" name="'+form_element_name+'" cols="100" rows="15"></textarea>'}else{hc='<input type="hidden" id="'+form_element_name+'" name="'+form_element_name+'" />';this.oldTargetDisplay=tinyMCE.getStyle(this.oldTargetElement,'display','inline');this.oldTargetElement.style.display="none"}html+='</span>';if(tinyMCE.isGecko)html=hc+html;else html+=hc;if(tinyMCE.isGecko){var rng=replace_element.ownerDocument.createRange();rng.setStartBefore(replace_element);var fragment=rng.createContextualFragment(html);tinyMCE.insertAfter(fragment,replace_element)}else replace_element.insertAdjacentHTML("beforeBegin",html)}else{html+='</span>';this.oldTargetElement=replace_element;if(!tinyMCE.settings['debug']){this.oldTargetDisplay=tinyMCE.getStyle(this.oldTargetElement,'display','inline');this.oldTargetElement.style.display="none"}if(tinyMCE.isGecko){var rng=replace_element.ownerDocument.createRange();rng.setStartBefore(replace_element);var fragment=rng.createContextualFragment(html);tinyMCE.insertAfter(fragment,replace_element)}else replace_element.insertAdjacentHTML("beforeBegin",html)}var dynamicIFrame=false;var tElm=targetDoc.getElementById(this.editorId);if(!tinyMCE.isIE){if(tElm&&(tElm.nodeName=="SPAN"||tElm.nodeName=="span")){tElm=tinyMCE._createIFrame(tElm,targetDoc);dynamicIFrame=true}this.targetElement=tElm;this.iframeElement=tElm;this.contentDocument=tElm.contentDocument;this.contentWindow=tElm.contentWindow;}else{if(tElm&&tElm.nodeName=="SPAN")tElm=tinyMCE._createIFrame(tElm,targetDoc,targetDoc.parentWindow);else tElm=targetDoc.frames[this.editorId];this.targetElement=tElm;this.iframeElement=targetDoc.getElementById(this.editorId);if(tinyMCE.isOpera){this.contentDocument=this.iframeElement.contentDocument;this.contentWindow=this.iframeElement.contentWindow;dynamicIFrame=true}else{this.contentDocument=tElm.window.document;this.contentWindow=tElm.window}this.getDoc().designMode="on"}var doc=this.contentDocument;if(dynamicIFrame){var html=tinyMCE.getParam('doctype')+'<html><head xmlns="http://www.w3.org/1999/xhtml"><base href="'+tinyMCE.settings['base_href']+'" /><title>blank_page</title><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body class="mceContentBody"></body></html>';try{if(!this.isHidden())this.getDoc().designMode="on";doc.open();doc.write(html);doc.close()}catch(e){this.getDoc().location.href=tinyMCE.baseURL+"/blank.htm"}}if(tinyMCE.isIE)window.setTimeout("tinyMCE.addEventHandlers(tinyMCE.instances[\""+this.editorId+"\"]);",1);var parentElm=this.targetDoc.getElementById(this.editorId+'_parent');this.formElement=tinyMCE.isGecko?parentElm.previousSibling:parentElm.nextSibling;tinyMCE.setupContent(this.editorId,true);return true},setBaseHREF:function(u){var h,b,d,nl;d=this.getDoc();nl=d.getElementsByTagName("base");b=nl.length>0?nl[0]:null;if(!b){nl=d.getElementsByTagName("head");h=nl.length>0?nl[0]:null;b=d.createElement("base");b.setAttribute('href',u);h.appendChild(b)}else{if(u==""||u==null)b.parentNode.removeChild(b);else b.setAttribute('href',u)}},getHTML:function(r){var h,d=this.getDoc(),b=this.getBody();if(r)return b.innerHTML;h=tinyMCE._cleanupHTML(this,d,this.settings,b,false,true,false,true);if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertSpansToFonts(d);return h},setHTML:function(h){this.execCommand('mceSetContent',false,h);this.repaint()},getFocusElement:function(){return this.selection.getFocusElement()},getSel:function(){return this.selection.getSel()},getRng:function(){return this.selection.getRng()},triggerSave:function(skip_cleanup,skip_callback){var e,nl=[],i,s;this.switchSettings();s=tinyMCE.settings;if(tinyMCE.isRealIE){e=this.iframeElement;do{if(e.style&&e.style.display=='none'){e.style.display='block';nl[nl.length]={elm:e,type:'style'}}if(e.style&&s.hidden_tab_class.length>0&&e.className.indexOf(s.hidden_tab_class)!=-1){e.className=s.display_tab_class;nl[nl.length]={elm:e,type:'class'}}}while((e=e.parentNode)!=null)}tinyMCE.settings['preformatted']=false;if(typeof(skip_cleanup)=="undefined")skip_cleanup=false;if(typeof(skip_callback)=="undefined")skip_callback=false;tinyMCE._setHTML(this.getDoc(),this.getBody().innerHTML);if(this.settings['cleanup']==false){tinyMCE.handleVisualAid(this.getBody(),true,false,this);tinyMCE._setEventsEnabled(this.getBody(),true)}tinyMCE._customCleanup(this,"submit_content_dom",this.contentWindow.document.body);var htm=skip_cleanup?this.getBody().innerHTML:tinyMCE._cleanupHTML(this,this.getDoc(),this.settings,this.getBody(),tinyMCE.visualAid,true,true);htm=tinyMCE._customCleanup(this,"submit_content",htm);if(!skip_callback&&tinyMCE.settings['save_callback']!="")var content=eval(tinyMCE.settings['save_callback']+"(this.formTargetElementId,htm,this.getBody());");if((typeof(content)!="undefined")&&content!=null)htm=content;htm=tinyMCE.regexpReplace(htm,"&#40;","(","gi");htm=tinyMCE.regexpReplace(htm,"&#41;",")","gi");htm=tinyMCE.regexpReplace(htm,"&#59;",";","gi");htm=tinyMCE.regexpReplace(htm,"&#34;","&quot;","gi");htm=tinyMCE.regexpReplace(htm,"&#94;","^","gi");if(this.formElement)this.formElement.value=htm;if(tinyMCE.isSafari&&this.formElement)this.formElement.innerText=htm;for(i=0;i<nl.length;i++){if(nl[i].type=='style')nl[i].elm.style.display='none';else nl[i].elm.className=s.hidden_tab_class}}};TinyMCE_Engine.prototype.cleanupHTMLCode=function(s){s=s.replace(new RegExp('<p \\/>','gi'),'<p>&nbsp;</p>');s=s.replace(new RegExp('<p>\\s*<\\/p>','gi'),'<p>&nbsp;</p>');s=s.replace(new RegExp('<br>\\s*<\\/br>','gi'),'<br />');s=s.replace(new RegExp('<(h[1-6]|p|div|address|pre|form|table|li|ol|ul|td|b|font|em|strong|i|strike|u|span|a|ul|ol|li|blockquote)([a-z]*)([^\\\\|>]*)\\/>','gi'),'<$1$2$3></$1$2>');s=s.replace(new RegExp('\\s+></','gi'),'></');s=s.replace(new RegExp('<(img|br|hr)([^>]*)><\\/(img|br|hr)>','gi'),'<$1$2 />');if(tinyMCE.isIE)s=s.replace(new RegExp('<p><hr \\/><\\/p>','gi'),"<hr>");if(tinyMCE.isIE)s=s.replace(/<!(\s*)\/>/g,'');return s};TinyMCE_Engine.prototype.parseStyle=function(str){var ar=new Array();if(str==null)return ar;var st=str.split(';');tinyMCE.clearArray(ar);for(var i=0;i<st.length;i++){if(st[i]=='')continue;var re=new RegExp('^\\s*([^:]*):\\s*(.*)\\s*$');var pa=st[i].replace(re,'$1||$2').split('||');if(pa.length==2)ar[pa[0].toLowerCase()]=pa[1]}return ar};TinyMCE_Engine.prototype.compressStyle=function(ar,pr,sf,res){var box=new Array();box[0]=ar[pr+'-top'+sf];box[1]=ar[pr+'-left'+sf];box[2]=ar[pr+'-right'+sf];box[3]=ar[pr+'-bottom'+sf];for(var i=0;i<box.length;i++){if(box[i]==null)return;for(var a=0;a<box.length;a++){if(box[a]!=box[i])return}}ar[res]=box[0];ar[pr+'-top'+sf]=null;ar[pr+'-left'+sf]=null;ar[pr+'-right'+sf]=null;ar[pr+'-bottom'+sf]=null};TinyMCE_Engine.prototype.serializeStyle=function(ar){var str="";tinyMCE.compressStyle(ar,"border","","border");tinyMCE.compressStyle(ar,"border","-width","border-width");tinyMCE.compressStyle(ar,"border","-color","border-color");tinyMCE.compressStyle(ar,"border","-style","border-style");tinyMCE.compressStyle(ar,"padding","","padding");tinyMCE.compressStyle(ar,"margin","","margin");for(var key in ar){var val=ar[key];if(typeof(val)=='function')continue;if(key.indexOf('mso-')==0)continue;if(val!=null&&val!=''){val=''+val;val=val.replace(new RegExp("url\\(\\'?([^\\']*)\\'?\\)",'gi'),"url('$1')");if(val.indexOf('url(')!=-1&&tinyMCE.getParam('convert_urls')){var m=new RegExp("url\\('(.*?)'\\)").exec(val);if(m.length>1)val="url('"+eval(tinyMCE.getParam('urlconverter_callback')+"(m[1], null, true);")+"')"}if(tinyMCE.getParam("force_hex_style_colors"))val=tinyMCE.convertRGBToHex(val,true);val=val.replace(/\"/g,'\'');if(val!="url('')")str+=key.toLowerCase()+": "+val+"; "}}if(new RegExp('; $').test(str))str=str.substring(0,str.length-2);return str};TinyMCE_Engine.prototype.convertRGBToHex=function(s,k){if(s.toLowerCase().indexOf('rgb')!=-1){var re=new RegExp("(.*?)rgb\\s*?\\(\\s*?([0-9]+).*?,\\s*?([0-9]+).*?,\\s*?([0-9]+).*?\\)(.*?)","gi");var rgb=s.replace(re,"$1,$2,$3,$4,$5").split(',');if(rgb.length==5){r=parseInt(rgb[1]).toString(16);g=parseInt(rgb[2]).toString(16);b=parseInt(rgb[3]).toString(16);r=r.length==1?'0'+r:r;g=g.length==1?'0'+g:g;b=b.length==1?'0'+b:b;s="#"+r+g+b;if(k)s=rgb[0]+s+rgb[4]}}return s};TinyMCE_Engine.prototype.convertHexToRGB=function(s){if(s.indexOf('#')!=-1){s=s.replace(new RegExp('[^0-9A-F]','gi'),'');return"rgb("+parseInt(s.substring(0,2),16)+","+parseInt(s.substring(2,4),16)+","+parseInt(s.substring(4,6),16)+")"}return s};TinyMCE_Engine.prototype.convertSpansToFonts=function(doc){var sizes=tinyMCE.getParam('font_size_style_values').replace(/\s+/,'').split(',');var s=tinyMCE.selectElements(doc,'span,font');for(var i=0;i<s.length;i++){var size=tinyMCE.trim(s[i].style.fontSize).toLowerCase();var fSize=0;for(var x=0;x<sizes.length;x++){if(sizes[x]==size){fSize=x+1;break}}if(fSize>0){tinyMCE.setAttrib(s[i],'size',fSize);s[i].style.fontSize=''}var fFace=s[i].style.fontFamily;if(fFace!=null&&fFace!=""){tinyMCE.setAttrib(s[i],'face',fFace);s[i].style.fontFamily=''}var fColor=s[i].style.color;if(fColor!=null&&fColor!=""){tinyMCE.setAttrib(s[i],'color',tinyMCE.convertRGBToHex(fColor));s[i].style.color=''}}};TinyMCE_Engine.prototype.convertFontsToSpans=function(doc){var sizes=tinyMCE.getParam('font_size_style_values').replace(/\s+/,'').split(',');var fsClasses=tinyMCE.getParam('font_size_classes');if(fsClasses!='')fsClasses=fsClasses.replace(/\s+/,'').split(',');else fsClasses=null;var s=tinyMCE.selectElements(doc,'span,font');for(var i=0;i<s.length;i++){var fSize,fFace,fColor;fSize=tinyMCE.getAttrib(s[i],'size');fFace=tinyMCE.getAttrib(s[i],'face');fColor=tinyMCE.getAttrib(s[i],'color');if(fSize!=""){fSize=parseInt(fSize);if(fSize>0&&fSize<8){if(fsClasses!=null)tinyMCE.setAttrib(s[i],'class',fsClasses[fSize-1]);else s[i].style.fontSize=sizes[fSize-1]}s[i].removeAttribute('size')}if(fFace!=""){s[i].style.fontFamily=fFace;s[i].removeAttribute('face')}if(fColor!=""){s[i].style.color=fColor;s[i].removeAttribute('color')}}};TinyMCE_Engine.prototype.cleanupAnchors=function(doc){var i,cn,x,an=doc.getElementsByTagName("a");for(i=an.length-1;i>=0;i--){if(tinyMCE.getAttrib(an[i],"name")!=""&&tinyMCE.getAttrib(an[i],"href")==""){cn=an[i].childNodes;for(x=cn.length-1;x>=0;x--)tinyMCE.insertAfter(cn[x],an[i])}}};TinyMCE_Engine.prototype.getContent=function(editor_id){if(typeof(editor_id)!="undefined")tinyMCE.getInstanceById(editor_id).select();if(tinyMCE.selectedInstance)return tinyMCE.selectedInstance.getHTML();return null};TinyMCE_Engine.prototype._fixListElements=function(d){var nl,x,a=['ol','ul'],i,n,p,r=new RegExp('^(OL|UL)$'),np;for(x=0;x<a.length;x++){nl=d.getElementsByTagName(a[x]);for(i=0;i<nl.length;i++){n=nl[i];p=n.parentNode;if(r.test(p.nodeName)){np=tinyMCE.prevNode(n,'LI');if(!np){np=d.createElement('li');np.innerHTML='&nbsp;';np.appendChild(n);p.insertBefore(np,p.firstChild)}else np.appendChild(n)}}}};TinyMCE_Engine.prototype._fixTables=function(d){var nl,i,n,p,np,x,t;nl=d.getElementsByTagName('table');for(i=0;i<nl.length;i++){n=nl[i];if((p=tinyMCE.getParentElement(n,'p,h1,h2,h3,h4,h5,h6'))!=null){np=p.cloneNode(false);np.removeAttribute('id');t=n;while((n=n.nextSibling))np.appendChild(n);tinyMCE.insertAfter(np,p);tinyMCE.insertAfter(t,p)}}};TinyMCE_Engine.prototype._cleanupHTML=function(inst,doc,config,elm,visual,on_save,on_submit,inn){var h,d,t1,t2,t3,t4,t5,c,s,nb;if(!tinyMCE.getParam('cleanup'))return elm.innerHTML;on_save=typeof(on_save)=='undefined'?false:on_save;c=inst.cleanup;s=inst.settings;d=c.settings.debug;if(d)t1=new Date().getTime();if(tinyMCE.getParam("convert_fonts_to_spans"))tinyMCE.convertFontsToSpans(doc);if(tinyMCE.getParam("fix_list_elements"))tinyMCE._fixListElements(doc);if(tinyMCE.getParam("fix_table_elements"))tinyMCE._fixTables(doc);tinyMCE._customCleanup(inst,on_save?"get_from_editor_dom":"insert_to_editor_dom",doc.body);if(d)t2=new Date().getTime();c.settings.on_save=on_save;c.idCount=0;c.serializationId++;c.serializedNodes=new Array();c.sourceIndex=-1;if(s.cleanup_serializer=="xml")h=c.serializeNodeAsXML(elm,inn);else h=c.serializeNodeAsHTML(elm,inn);if(d)t3=new Date().getTime();nb=tinyMCE.getParam('entity_encoding')=='numeric'?'&#160;':'&nbsp;';h=h.replace(/<\/?(body|head|html)[^>]*>/gi,'');h=h.replace(new RegExp(' (rowspan="1"|colspan="1")','g'),'');h=h.replace(/<p><hr \/><\/p>/g,'<hr />');h=h.replace(/<p>(&nbsp;|&#160;)<\/p><hr \/><p>(&nbsp;|&#160;)<\/p>/g,'<hr />');h=h.replace(/<td>\s*<br \/>\s*<\/td>/g,'<td>'+nb+'</td>');h=h.replace(/<p>\s*<br \/>\s*<\/p>/g,'<p>'+nb+'</p>');h=h.replace(/<br \/>$/,'');h=h.replace(/<br \/><\/p>/g,'</p>');h=h.replace(/<p>\s*(&nbsp;|&#160;)\s*<br \/>\s*(&nbsp;|&#160;)\s*<\/p>/g,'<p>'+nb+'</p>');h=h.replace(/<p>\s*(&nbsp;|&#160;)\s*<br \/>\s*<\/p>/g,'<p>'+nb+'</p>');h=h.replace(/<p>\s*<br \/>\s*&nbsp;\s*<\/p>/g,'<p>'+nb+'</p>');h=h.replace(new RegExp('<a>(.*?)<\\/a>','g'),'$1');h=h.replace(/<p([^>]*)>\s*<\/p>/g,'<p$1>'+nb+'</p>');if(/^\s*(<br \/>|<p>&nbsp;<\/p>|<p>&#160;<\/p>|<p><\/p>)\s*$/.test(h))h='';if(s.preformatted){h=h.replace(/^<pre>/,'');h=h.replace(/<\/pre>$/,'');h='<pre>'+h+'</pre>'}if(tinyMCE.isGecko){h=h.replace(/<o:p _moz-userdefined="" \/>/g,'');h=h.replace(/<td([^>]*)>\s*<br \/>\s*<\/td>/g,'<td$1>'+nb+'</td>')}if(s.force_br_newlines)h=h.replace(/<p>(&nbsp;|&#160;)<\/p>/g,'<br />');h=tinyMCE._customCleanup(inst,on_save?"get_from_editor":"insert_to_editor",h);if(on_save){h=h.replace(new RegExp(' ?(mceItem[a-zA-Z0-9]*|'+s.visual_table_class+')','g'),'');h=h.replace(new RegExp(' ?class=""','g'),'')}if(s.remove_linebreaks&&!c.settings.indent)h=h.replace(/\n|\r/g,' ');if(d)t4=new Date().getTime();if(on_save&&c.settings.indent)h=c.formatHTML(h);if(on_submit&&(s.encoding=="xml"||s.encoding=="html"))h=c.xmlEncode(h);if(d)t5=new Date().getTime();if(c.settings.debug)tinyMCE.debug("Cleanup in ms: Pre="+(t2-t1)+", Serialize: "+(t3-t2)+", Post: "+(t4-t3)+", Format: "+(t5-t4)+", Sum: "+(t5-t1)+".");return h};function TinyMCE_Cleanup(){this.isIE=(navigator.appName=="Microsoft Internet Explorer");this.rules=tinyMCE.clearArray(new Array());this.settings={indent_elements:'head,table,tbody,thead,tfoot,form,tr,ul,ol,blockquote,object',newline_before_elements:'h1,h2,h3,h4,h5,h6,pre,address,div,ul,ol,li,meta,option,area,title,link,base,script,td',newline_after_elements:'br,hr,p,pre,address,div,ul,ol,meta,option,area,link,base,script',newline_before_after_elements:'html,head,body,table,thead,tbody,tfoot,tr,form,ul,ol,blockquote,p,object,param,hr,div',indent_char:'\t',indent_levels:1,entity_encoding:'raw',valid_elements:'*[*]',entities:'',url_converter:'',invalid_elements:'',verify_html:false};this.vElements=tinyMCE.clearArray(new Array());this.vElementsRe='';this.closeElementsRe=/^(IMG|BR|HR|LINK|META|BASE|INPUT|AREA)$/;this.codeElementsRe=/^(SCRIPT|STYLE)$/;this.serializationId=0;this.mceAttribs={href:'mce_href',src:'mce_src',type:'mce_type'}}TinyMCE_Cleanup.prototype={init:function(s){var n,a,i,ir,or,st;for(n in s)this.settings[n]=s[n];s=this.settings;this.inRe=this._arrayToRe(s.indent_elements.split(','),'','^<(',')[^>]*');this.ouRe=this._arrayToRe(s.indent_elements.split(','),'','^<\\/(',')[^>]*');this.nlBeforeRe=this._arrayToRe(s.newline_before_elements.split(','),'gi','<(',')([^>]*)>');this.nlAfterRe=this._arrayToRe(s.newline_after_elements.split(','),'gi','<(',')([^>]*)>');this.nlBeforeAfterRe=this._arrayToRe(s.newline_before_after_elements.split(','),'gi','<(\\/?)(',')([^>]*)>');this.serializedNodes=[];if(s.invalid_elements!='')this.iveRe=this._arrayToRe(s.invalid_elements.toUpperCase().split(','),'g','^(',')$');else this.iveRe=null;st='';for(i=0;i<s.indent_levels;i++)st+=s.indent_char;this.inStr=st;if(!s.verify_html){s.valid_elements='*[*]';s.extended_valid_elements=''}this.fillStr=s.entity_encoding=="named"?"&nbsp;":"&#160;";this.idCount=0;this.xmlEncodeRe=new RegExp('[\u007F-\uFFFF<>&"]','g');this.xmlEncodeAposRe=new RegExp('[\u007F-\uFFFF<>&"\']','g')},addRuleStr:function(s){var r=this.parseRuleStr(s);var n;for(n in r){if(r[n])this.rules[n]=r[n]}this.vElements=tinyMCE.clearArray(new Array());for(n in this.rules){if(this.rules[n])this.vElements[this.vElements.length]=this.rules[n].tag}this.vElementsRe=this._arrayToRe(this.vElements,'')},isValid:function(n){this._setupRules();if(!n)return true;n=n.replace(/[^a-z0-9]+/gi,'').toUpperCase();return!tinyMCE.getParam('cleanup')||this.vElementsRe.test(n)},addChildRemoveRuleStr:function(s){var x,y,p,i,t,tn,ta,cl,r;if(!s)return;ta=s.split(',');for(x=0;x<ta.length;x++){s=ta[x];p=this.split(/\[|\]/,s);if(p==null||p.length<1)t=s.toUpperCase();else t=p[0].toUpperCase();tn=this.split('/',t);for(y=0;y<tn.length;y++){r="^(";cl=this.split(/\|/,p[1]);for(i=0;i<cl.length;i++){if(cl[i]=='%istrict')r+=tinyMCE.inlineStrict;else if(cl[i]=='%itrans')r+=tinyMCE.inlineTransitional;else if(cl[i]=='%istrict_na')r+=tinyMCE.inlineStrict.substring(2);else if(cl[i]=='%itrans_na')r+=tinyMCE.inlineTransitional.substring(2);else if(cl[i]=='%btrans')r+=tinyMCE.blockElms;else if(cl[i]=='%strict')r+=tinyMCE.blockStrict;else r+=(cl[i].charAt(0)!='#'?cl[i].toUpperCase():cl[i]);r+=(i!=cl.length-1?'|':'')}r+=')$';if(this.childRules==null)this.childRules=tinyMCE.clearArray(new Array());this.childRules[tn[y]]=new RegExp(r);if(p.length>1)this.childRules[tn[y]].wrapTag=p[2]}}},parseRuleStr:function(s){var ta,p,r,a,i,x,px,t,tn,y,av,or=tinyMCE.clearArray(new Array()),dv;if(s==null||s.length==0)return or;ta=s.split(',');for(x=0;x<ta.length;x++){s=ta[x];if(s.length==0)continue;p=this.split(/\[|\]/,s);if(p==null||p.length<1)t=s.toUpperCase();else t=p[0].toUpperCase();tn=this.split('/',t);for(y=0;y<tn.length;y++){r={};r.tag=tn[y];r.forceAttribs=null;r.defaultAttribs=null;r.validAttribValues=null;px=r.tag.charAt(0);r.forceOpen=px=='+';r.removeEmpty=px=='-';r.fill=px=='#';r.tag=r.tag.replace(/\+|-|#/g,'');r.oTagName=tn[0].replace(/\+|-|#/g,'').toLowerCase();r.isWild=new RegExp('\\*|\\?|\\+','g').test(r.tag);r.validRe=new RegExp(this._wildcardToRe('^'+r.tag+'$'));if(p.length>1){r.vAttribsRe='^(';a=this.split(/\|/,p[1]);for(i=0;i<a.length;i++){t=a[i];if(t.charAt(0)=='!'){a[i]=t=t.substring(1);if(!r.reqAttribsRe)r.reqAttribsRe='\\s+('+t;else r.reqAttribsRe+='|'+t}av=new RegExp('(=|:|<)(.*?)$').exec(t);t=t.replace(new RegExp('(=|:|<).*?$'),'');if(av&&av.length>0){if(av[0].charAt(0)==':'){if(!r.forceAttribs)r.forceAttribs=tinyMCE.clearArray(new Array());r.forceAttribs[t.toLowerCase()]=av[0].substring(1)}else if(av[0].charAt(0)=='='){if(!r.defaultAttribs)r.defaultAttribs=tinyMCE.clearArray(new Array());dv=av[0].substring(1);r.defaultAttribs[t.toLowerCase()]=dv==""?"mce_empty":dv}else if(av[0].charAt(0)=='<'){if(!r.validAttribValues)r.validAttribValues=tinyMCE.clearArray(new Array());r.validAttribValues[t.toLowerCase()]=this._arrayToRe(this.split('?',av[0].substring(1)),'i')}}r.vAttribsRe+=''+t.toLowerCase()+(i!=a.length-1?'|':'');a[i]=t.toLowerCase()}if(r.reqAttribsRe)r.reqAttribsRe=new RegExp(r.reqAttribsRe+')=\"','g');r.vAttribsRe+=')$';r.vAttribsRe=this._wildcardToRe(r.vAttribsRe);r.vAttribsReIsWild=new RegExp('\\*|\\?|\\+','g').test(r.vAttribsRe);r.vAttribsRe=new RegExp(r.vAttribsRe);r.vAttribs=a.reverse();}else{r.vAttribsRe='';r.vAttribs=tinyMCE.clearArray(new Array());r.vAttribsReIsWild=false}or[r.tag]=r}}return or},serializeNodeAsXML:function(n){var s,b;if(!this.xmlDoc){if(this.isIE){try{this.xmlDoc=new ActiveXObject('MSXML2.DOMDocument')}catch(e){}if(!this.xmlDoc)try{this.xmlDoc=new ActiveXObject('Microsoft.XmlDom')}catch(e){}}else this.xmlDoc=document.implementation.createDocument('','',null);if(!this.xmlDoc)alert("Error XML Parser could not be found.")}if(this.xmlDoc.firstChild)this.xmlDoc.removeChild(this.xmlDoc.firstChild);b=this.xmlDoc.createElement("html");b=this.xmlDoc.appendChild(b);this._convertToXML(n,b);if(this.isIE)return this.xmlDoc.xml;else return new XMLSerializer().serializeToString(this.xmlDoc)},_convertToXML:function(n,xn){var xd,el,i,l,cn,at,no,hc=false;if(tinyMCE.isRealIE&&this._isDuplicate(n))return;xd=this.xmlDoc;switch(n.nodeType){case 1:hc=n.hasChildNodes();el=xd.createElement(n.nodeName.toLowerCase());at=n.attributes;for(i=at.length-1;i>-1;i--){no=at[i];if(no.specified&&no.nodeValue)el.setAttribute(no.nodeName.toLowerCase(),no.nodeValue)}if(!hc&&!this.closeElementsRe.test(n.nodeName))el.appendChild(xd.createTextNode(""));xn=xn.appendChild(el);break;case 3:xn.appendChild(xd.createTextNode(n.nodeValue));return;case 8:xn.appendChild(xd.createComment(n.nodeValue));return}if(hc){cn=n.childNodes;for(i=0,l=cn.length;i<l;i++)this._convertToXML(cn[i],xn)}},serializeNodeAsHTML:function(n,inn){var en,no,h='',i,l,t,st,r,cn,va=false,f=false,at,hc,cr,nn;this._setupRules();if(tinyMCE.isRealIE&&this._isDuplicate(n))return'';if(n.parentNode&&this.childRules!=null){cr=this.childRules[n.parentNode.nodeName];if(typeof(cr)!="undefined"&&!cr.test(n.nodeName)){st=true;t=null}}switch(n.nodeType){case 1:hc=n.hasChildNodes();if(st)break;if((tinyMCE.isRealIE)&&n.nodeName.indexOf('/')!=-1)break;nn=n.nodeName;if(this.settings.convert_fonts_to_spans){if(this.settings.on_save&&nn=='FONT')nn='SPAN';if(!this.settings.on_save&&nn=='SPAN')nn='FONT'}if(this.vElementsRe.test(nn)&&(!this.iveRe||!this.iveRe.test(nn))&&!inn){va=true;r=this.rules[nn];if(!r){at=this.rules;for(no in at){if(at[no]&&at[no].validRe.test(nn)){r=at[no];break}}}en=r.isWild?nn.toLowerCase():r.oTagName;f=r.fill;if(r.removeEmpty&&!hc)return"";t='<'+en;if(r.vAttribsReIsWild){at=n.attributes;for(i=at.length-1;i>-1;i--){no=at[i];if(no.specified&&r.vAttribsRe.test(no.nodeName))t+=this._serializeAttribute(n,r,no.nodeName)}}else{for(i=r.vAttribs.length-1;i>-1;i--)t+=this._serializeAttribute(n,r,r.vAttribs[i])}if(!this.settings.on_save){at=this.mceAttribs;for(no in at){if(at[no])t+=this._serializeAttribute(n,r,at[no])}}if(r.reqAttribsRe&&!t.match(r.reqAttribsRe))t=null;if(t!=null&&this.closeElementsRe.test(nn))return t+' />';if(t!=null)h+=t+'>';if(this.isIE&&this.codeElementsRe.test(nn))h+=n.innerHTML}break;case 3:if(st)break;if(n.parentNode&&this.codeElementsRe.test(n.parentNode.nodeName))return this.isIE?'':n.nodeValue;return this.xmlEncode(n.nodeValue);case 8:if(st)break;return"<!--"+this._trimComment(n.nodeValue)+"-->"}if(hc){cn=n.childNodes;for(i=0,l=cn.length;i<l;i++)h+=this.serializeNodeAsHTML(cn[i])}if(f&&!hc)h+=this.fillStr;if(t!=null&&va)h+='</'+en+'>';return h},_serializeAttribute:function(n,r,an){var av='',t,os=this.settings.on_save;if(os&&(an.indexOf('mce_')==0||an.indexOf('_moz')==0))return'';if(os&&this.mceAttribs[an])av=this._getAttrib(n,this.mceAttribs[an]);if(av.length==0)av=this._getAttrib(n,an);if(av.length==0&&r.defaultAttribs&&(t=r.defaultAttribs[an])){av=t;if(av=="mce_empty")return" "+an+'=""'}if(r.forceAttribs&&(t=r.forceAttribs[an]))av=t;if(os&&av.length!=0&&/^(src|href|longdesc)$/.test(an))av=this._urlConverter(this,n,av);if(av.length!=0&&r.validAttribValues&&r.validAttribValues[an]&&!r.validAttribValues[an].test(av))return"";if(av.length!=0&&av=="{$uid}")av="uid_"+(this.idCount++);if(av.length!=0){if(an.indexOf('on')!=0)av=this.xmlEncode(av,1);return" "+an+"="+'"'+av+'"'}return""},formatHTML:function(h){var s=this.settings,p='',i=0,li=0,o='',l;h=h.replace(/<pre([^>]*)>(.*?)<\/pre>/gi,function(a,b,c){c=c.replace(/<br\s*\/>/gi,'\n');return'<pre'+b+'>'+c+'</pre>'});h=h.replace(/\r/g,'');h='\n'+h;h=h.replace(new RegExp('\\n\\s+','gi'),'\n');h=h.replace(this.nlBeforeRe,'\n<$1$2>');h=h.replace(this.nlAfterRe,'<$1$2>\n');h=h.replace(this.nlBeforeAfterRe,'\n<$1$2$3>\n');h+='\n';while((i=h.indexOf('\n',i+1))!=-1){if((l=h.substring(li+1,i)).length!=0){if(this.ouRe.test(l)&&p.length>=s.indent_levels)p=p.substring(s.indent_levels);o+=p+l+'\n';if(this.inRe.test(l))p+=this.inStr}li=i}return o},xmlEncode:function(s,skip_apos){var cl=this,re=!skip_apos?this.xmlEncodeAposRe:this.xmlEncodeRe;this._setupEntities();switch(this.settings.entity_encoding){case"raw":return tinyMCE.xmlEncode(s,skip_apos);case"named":return s.replace(re,function(c,b){b=cl.entities[c.charCodeAt(0)];return b?'&'+b+';':c});case"numeric":return s.replace(re,function(c,b){return b?'&#'+c.charCodeAt(0)+';':c})}return s},split:function(re,s){var c=s.split(re);var i,l,o=new Array();for(i=0,l=c.length;i<l;i++){if(c[i]!='')o[i]=c[i]}return o},_trimComment:function(s){s=s.replace(new RegExp('\\smce_src=\"[^\"]*\"','gi'),"");s=s.replace(new RegExp('\\smce_href=\"[^\"]*\"','gi'),"");return s},_getAttrib:function(e,n,d){var v,ex,nn;if(typeof(d)=="undefined")d="";if(!e||e.nodeType!=1)return d;try{v=e.getAttribute(n,0)}catch(ex){v=e.getAttribute(n,2)}if(n=="class"&&!v)v=e.className;if(this.isIE){if(n=="http-equiv")v=e.httpEquiv;nn=e.nodeName;if(nn=="FORM"&&n=="enctype"&&v=="application/x-www-form-urlencoded")v="";if(nn=="INPUT"&&n=="size"&&v=="20")v="";if(nn=="INPUT"&&n=="maxlength"&&v=="2147483647")v=""}if(n=='style'&&v){if(!tinyMCE.isOpera)v=e.style.cssText;v=tinyMCE.serializeStyle(tinyMCE.parseStyle(v))}if(this.settings.on_save&&n.indexOf('on')!=-1&&this.settings.on_save&&v&&v!="")v=tinyMCE.cleanupEventStr(v);return(v&&v!="")?''+v:d},_urlConverter:function(c,n,v){if(!c.settings.on_save)return tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings.base_href,v);else if(tinyMCE.getParam('convert_urls')){if(!this.urlConverter)this.urlConverter=eval(tinyMCE.settings.urlconverter_callback);return this.urlConverter(v,n,true)}return v},_arrayToRe:function(a,op,be,af){var i,r;op=typeof(op)=="undefined"?"gi":op;be=typeof(be)=="undefined"?"^(":be;af=typeof(af)=="undefined"?")$":af;r=be;for(i=0;i<a.length;i++)r+=this._wildcardToRe(a[i])+(i!=a.length-1?"|":"");r+=af;return new RegExp(r,op)},_wildcardToRe:function(s){s=s.replace(/\?/g,'(\\S?)');s=s.replace(/\+/g,'(\\S+)');s=s.replace(/\*/g,'(\\S*)');return s},_setupEntities:function(){var n,a,i,s=this.settings;if(!this.entitiesDone){if(s.entity_encoding=="named"){n=tinyMCE.clearArray(new Array());a=this.split(',',s.entities);for(i=0;i<a.length;i+=2)n[a[i]]=a[i+1];this.entities=n}this.entitiesDone=true}},_setupRules:function(){var s=this.settings;if(!this.rulesDone){this.addRuleStr(s.valid_elements);this.addRuleStr(s.extended_valid_elements);this.addChildRemoveRuleStr(s.valid_child_elements);this.rulesDone=true}},_isDuplicate:function(n){var i;if(!this.settings.fix_content_duplication)return false;if(tinyMCE.isRealIE&&n.nodeType==1){if(n.mce_serialized==this.serializationId)return true;n.setAttribute('mce_serialized',this.serializationId)}else{for(i=0;i<this.serializedNodes.length;i++){if(this.serializedNodes[i]==n)return true}this.serializedNodes[this.serializedNodes.length]=n}return false}};TinyMCE_Engine.prototype.createTagHTML=function(tn,a,h){var o='',f=tinyMCE.xmlEncode;o='<'+tn;if(a){for(n in a){if(typeof(a[n])!='function'&&a[n]!=null)o+=' '+f(n)+'="'+f(''+a[n])+'"'}}o+=!h?' />':'>'+h+'</'+tn+'>';return o};TinyMCE_Engine.prototype.createTag=function(d,tn,a,h){var o=d.createElement(tn);if(a){for(n in a){if(typeof(a[n])!='function'&&a[n]!=null)tinyMCE.setAttrib(o,n,a[n])}}if(h)o.innerHTML=h;return o};TinyMCE_Engine.prototype.getElementByAttributeValue=function(n,e,a,v){return(n=this.getElementsByAttributeValue(n,e,a,v)).length==0?null:n[0]};TinyMCE_Engine.prototype.getElementsByAttributeValue=function(n,e,a,v){var i,nl=n.getElementsByTagName(e),o=new Array();for(i=0;i<nl.length;i++){if(tinyMCE.getAttrib(nl[i],a).indexOf(v)!=-1)o[o.length]=nl[i]}return o};TinyMCE_Engine.prototype.isBlockElement=function(n){return n!=null&&n.nodeType==1&&this.blockRegExp.test(n.nodeName)};TinyMCE_Engine.prototype.getParentBlockElement=function(n,r){return this.getParentNode(n,function(n){return tinyMCE.isBlockElement(n)},r);return null};TinyMCE_Engine.prototype.insertAfter=function(n,r){if(r.nextSibling)r.parentNode.insertBefore(n,r.nextSibling);else r.parentNode.appendChild(n)};TinyMCE_Engine.prototype.setInnerHTML=function(e,h){var i,nl,n;if(tinyMCE.isGecko){h=h.replace(/<embed([^>]*)>/gi,'<tmpembed$1>');h=h.replace(/<em([^>]*)>/gi,'<i$1>');h=h.replace(/<tmpembed([^>]*)>/gi,'<embed$1>');h=h.replace(/<strong([^>]*)>/gi,'<b$1>');h=h.replace(/<\/strong>/gi,'</b>');h=h.replace(/<\/em>/gi,'</i>')}if(tinyMCE.isRealIE){h=h.replace(/\s\/>/g,'>');h=h.replace(/<p([^>]*)>\u00A0?<\/p>/gi,'<p$1 mce_keep="true">&nbsp;</p>');h=h.replace(/<p([^>]*)>\s*&nbsp;\s*<\/p>/gi,'<p$1 mce_keep="true">&nbsp;</p>');h=h.replace(/<p([^>]*)>\s+<\/p>/gi,'<p$1 mce_keep="true">&nbsp;</p>');e.innerHTML=tinyMCE.uniqueTag+h;e.firstChild.removeNode(true);nl=e.getElementsByTagName("p");for(i=nl.length-1;i>=0;i--){n=nl[i];if(n.nodeName=='P'&&!n.hasChildNodes()&&!n.mce_keep)n.parentNode.removeChild(n)}}else{h=this.fixGeckoBaseHREFBug(1,e,h);e.innerHTML=h;this.fixGeckoBaseHREFBug(2,e,h)}};TinyMCE_Engine.prototype.getOuterHTML=function(e){if(tinyMCE.isIE)return e.outerHTML;var d=e.ownerDocument.createElement("body");d.appendChild(e.cloneNode(true));return d.innerHTML};TinyMCE_Engine.prototype.setOuterHTML=function(e,h,d){var d=typeof(d)=="undefined"?e.ownerDocument:d,i,nl,t;if(tinyMCE.isIE&&e.nodeType==1)e.outerHTML=h;else{t=d.createElement("body");t.innerHTML=h;for(i=0,nl=t.childNodes;i<nl.length;i++)e.parentNode.insertBefore(nl[i].cloneNode(true),e);e.parentNode.removeChild(e)}};TinyMCE_Engine.prototype._getElementById=function(id,d){var e,i,j,f;if(typeof(d)=="undefined")d=document;e=d.getElementById(id);if(!e){f=d.forms;for(i=0;i<f.length;i++){for(j=0;j<f[i].elements.length;j++){if(f[i].elements[j].name==id){e=f[i].elements[j];break}}}}return e};TinyMCE_Engine.prototype.getNodeTree=function(n,na,t,nn){return this.selectNodes(n,function(n){return(!t||n.nodeType==t)&&(!nn||n.nodeName==nn)},na?na:new Array())};TinyMCE_Engine.prototype.getParentElement=function(n,na,f,r){var re=na?new RegExp('^('+na.toUpperCase().replace(/,/g,'|')+')$'):0,v;if(f&&typeof(f)=='string')return this.getParentElement(n,na,function(no){return tinyMCE.getAttrib(no,f)!=''});return this.getParentNode(n,function(n){return((n.nodeType==1&&!re)||(re&&re.test(n.nodeName)))&&(!f||f(n))},r)};TinyMCE_Engine.prototype.getParentNode=function(n,f,r){while(n){if(n==r)return null;if(f(n))return n;n=n.parentNode}return null};TinyMCE_Engine.prototype.getAttrib=function(elm,name,dv){var v;if(typeof(dv)=="undefined")dv="";if(!elm||elm.nodeType!=1)return dv;try{v=elm.getAttribute(name,0)}catch(ex){v=elm.getAttribute(name,2)}if(name=="class"&&!v)v=elm.className;if(tinyMCE.isGecko&&name=="src"&&elm.src!=null&&elm.src!="")v=elm.src;if(tinyMCE.isGecko&&name=="href"&&elm.href!=null&&elm.href!="")v=elm.href;if(name=="http-equiv"&&tinyMCE.isIE)v=elm.httpEquiv;if(name=="style"&&!tinyMCE.isOpera)v=elm.style.cssText;return(v&&v!="")?v:dv};TinyMCE_Engine.prototype.setAttrib=function(el,name,va,fix){if(typeof(va)=="number"&&va!=null)va=""+va;if(fix){if(va==null)va="";va=va.replace(/[^0-9%]/g,'')}if(name=="style")el.style.cssText=va;if(name=="class")el.className=va;if(va!=null&&va!=""&&va!=-1)el.setAttribute(name,va);else el.removeAttribute(name)};TinyMCE_Engine.prototype.setStyleAttrib=function(e,n,v){e.style[n]=v;if(tinyMCE.isIE&&v==null||v==''){v=tinyMCE.serializeStyle(tinyMCE.parseStyle(e.style.cssText));e.style.cssText=v;e.setAttribute("style",v)}};TinyMCE_Engine.prototype.switchClass=function(ei,c){var e;if(tinyMCE.switchClassCache[ei])e=tinyMCE.switchClassCache[ei];else e=tinyMCE.switchClassCache[ei]=document.getElementById(ei);if(e){if(tinyMCE.settings.button_tile_map&&e.className&&e.className.indexOf('mceTiledButton')==0)c='mceTiledButton '+c;e.className=c}};TinyMCE_Engine.prototype.getAbsPosition=function(n,cn){var l=0,t=0;while(n&&n!=cn){l+=n.offsetLeft;t+=n.offsetTop;n=n.offsetParent}return{absLeft:l,absTop:t}};TinyMCE_Engine.prototype.prevNode=function(e,n){var a=n.split(','),i;while((e=e.previousSibling)!=null){for(i=0;i<a.length;i++){if(e.nodeName==a[i])return e}}return null};TinyMCE_Engine.prototype.nextNode=function(e,n){var a=n.split(','),i;while((e=e.nextSibling)!=null){for(i=0;i<a.length;i++){if(e.nodeName==a[i])return e}}return null};TinyMCE_Engine.prototype.selectElements=function(n,na,f){var i,a=[],nl,x;for(x=0,na=na.split(',');x<na.length;x++)for(i=0,nl=n.getElementsByTagName(na[x]);i<nl.length;i++)(!f||f(nl[i]))&&a.push(nl[i]);return a};TinyMCE_Engine.prototype.selectNodes=function(n,f,a){var i;if(!a)a=new Array();if(f(n))a[a.length]=n;if(n.hasChildNodes()){for(i=0;i<n.childNodes.length;i++)tinyMCE.selectNodes(n.childNodes[i],f,a)}return a};TinyMCE_Engine.prototype.addCSSClass=function(e,c,b){var o=this.removeCSSClass(e,c);return e.className=b?c+(o!=''?(' '+o):''):(o!=''?(o+' '):'')+c};TinyMCE_Engine.prototype.removeCSSClass=function(e,c){c=e.className.replace(new RegExp("(^|\\s+)"+c+"(\\s+|$)"),' ');return e.className=c!=' '?c:''};TinyMCE_Engine.prototype.hasCSSClass=function(n,c){return new RegExp('\\b'+c+'\\b','g').test(n.className)};TinyMCE_Engine.prototype.renameElement=function(e,n,d){var ne,i,ar;d=typeof(d)=="undefined"?tinyMCE.selectedInstance.getDoc():d;if(e){ne=d.createElement(n);ar=e.attributes;for(i=ar.length-1;i>-1;i--){if(ar[i].specified&&ar[i].nodeValue)ne.setAttribute(ar[i].nodeName.toLowerCase(),ar[i].nodeValue)}ar=e.childNodes;for(i=0;i<ar.length;i++)ne.appendChild(ar[i].cloneNode(true));e.parentNode.replaceChild(ne,e)}};TinyMCE_Engine.prototype.getViewPort=function(w){var d=w.document,m=d.compatMode=='CSS1Compat',b=d.body,de=d.documentElement;return{left:w.pageXOffset||(m?de.scrollLeft:b.scrollLeft),top:w.pageYOffset||(m?de.scrollTop:b.scrollTop),width:w.innerWidth||(m?de.clientWidth:b.clientWidth),height:w.innerHeight||(m?de.clientHeight:b.clientHeight)}};TinyMCE_Engine.prototype.getStyle=function(n,na,d){if(!n)return false;if(tinyMCE.isGecko&&n.ownerDocument.defaultView){try{return n.ownerDocument.defaultView.getComputedStyle(n,null).getPropertyValue(na)}catch(n){return null}}na=na.replace(/-(\D)/g,function(a,b){return b.toUpperCase()});if(n.currentStyle)return n.currentStyle[na];return false};TinyMCE_Engine.prototype.parseURL=function(url_str){var urlParts=new Array();if(url_str){var pos,lastPos;pos=url_str.indexOf('://');if(pos!=-1){urlParts['protocol']=url_str.substring(0,pos);lastPos=pos+3}for(var i=lastPos;i<url_str.length;i++){var chr=url_str.charAt(i);if(chr==':')break;if(chr=='/')break}pos=i;urlParts['host']=url_str.substring(lastPos,pos);urlParts['port']="";lastPos=pos;if(url_str.charAt(pos)==':'){pos=url_str.indexOf('/',lastPos);urlParts['port']=url_str.substring(lastPos+1,pos)}lastPos=pos;pos=url_str.indexOf('?',lastPos);if(pos==-1)pos=url_str.indexOf('#',lastPos);if(pos==-1)pos=url_str.length;urlParts['path']=url_str.substring(lastPos,pos);lastPos=pos;if(url_str.charAt(pos)=='?'){pos=url_str.indexOf('#');pos=(pos==-1)?url_str.length:pos;urlParts['query']=url_str.substring(lastPos+1,pos)}lastPos=pos;if(url_str.charAt(pos)=='#'){pos=url_str.length;urlParts['anchor']=url_str.substring(lastPos+1,pos)}}return urlParts};TinyMCE_Engine.prototype.serializeURL=function(up){var o="";if(up['protocol'])o+=up['protocol']+"://";if(up['host'])o+=up['host'];if(up['port'])o+=":"+up['port'];if(up['path'])o+=up['path'];if(up['query'])o+="?"+up['query'];if(up['anchor'])o+="#"+up['anchor'];return o};TinyMCE_Engine.prototype.convertAbsoluteURLToRelativeURL=function(base_url,url_to_relative){var baseURL=this.parseURL(base_url);var targetURL=this.parseURL(url_to_relative);var strTok1;var strTok2;var breakPoint=0;var outPath="";var forceSlash=false;if(targetURL.path=="")targetURL.path="/";else forceSlash=true;base_url=baseURL.path.substring(0,baseURL.path.lastIndexOf('/'));strTok1=base_url.split('/');strTok2=targetURL.path.split('/');if(strTok1.length>=strTok2.length){for(var i=0;i<strTok1.length;i++){if(i>=strTok2.length||strTok1[i]!=strTok2[i]){breakPoint=i+1;break}}}if(strTok1.length<strTok2.length){for(var i=0;i<strTok2.length;i++){if(i>=strTok1.length||strTok1[i]!=strTok2[i]){breakPoint=i+1;break}}}if(breakPoint==1)return targetURL.path;for(var i=0;i<(strTok1.length-(breakPoint-1));i++)outPath+="../";for(var i=breakPoint-1;i<strTok2.length;i++){if(i!=(breakPoint-1))outPath+="/"+strTok2[i];else outPath+=strTok2[i]}targetURL.protocol=null;targetURL.host=null;targetURL.port=null;targetURL.path=outPath==""&&forceSlash?"/":outPath;var fileName=baseURL.path;var pos;if((pos=fileName.lastIndexOf('/'))!=-1)fileName=fileName.substring(pos+1);if(fileName==targetURL.path&&targetURL.anchor!="")targetURL.path="";if(targetURL.path==""&&!targetURL.anchor)targetURL.path=fileName!=""?fileName:"/";return this.serializeURL(targetURL)};TinyMCE_Engine.prototype.convertRelativeToAbsoluteURL=function(base_url,relative_url){var baseURL=this.parseURL(base_url),baseURLParts,relURLParts;var relURL=this.parseURL(relative_url);if(relative_url==""||relative_url.indexOf('://')!=-1||/^(mailto:|javascript:|#|\/)/.test(relative_url))return relative_url;baseURLParts=baseURL['path'].split('/');relURLParts=relURL['path'].split('/');var newBaseURLParts=new Array();for(var i=baseURLParts.length-1;i>=0;i--){if(baseURLParts[i].length==0)continue;newBaseURLParts[newBaseURLParts.length]=baseURLParts[i]}baseURLParts=newBaseURLParts.reverse();var newRelURLParts=new Array();var numBack=0;for(var i=relURLParts.length-1;i>=0;i--){if(relURLParts[i].length==0||relURLParts[i]==".")continue;if(relURLParts[i]=='..'){numBack++;continue}if(numBack>0){numBack--;continue}newRelURLParts[newRelURLParts.length]=relURLParts[i]}relURLParts=newRelURLParts.reverse();var len=baseURLParts.length-numBack;var absPath=(len<=0?"":"/")+baseURLParts.slice(0,len).join('/')+"/"+relURLParts.join('/');var start="",end="";relURL.protocol=baseURL.protocol;relURL.host=baseURL.host;relURL.port=baseURL.port;if(relURL.path.charAt(relURL.path.length-1)=="/")absPath+="/";relURL.path=absPath;return this.serializeURL(relURL)};TinyMCE_Engine.prototype.convertURL=function(url,node,on_save){var prot=document.location.protocol;var host=document.location.hostname;var port=document.location.port;if(prot=="file:")return url;url=tinyMCE.regexpReplace(url,'(http|https):///','/');if(url.indexOf('mailto:')!=-1||url.indexOf('javascript:')!=-1||tinyMCE.regexpReplace(url,'[ \t\r\n\+]|%20','').charAt(0)=="#")return url;if(!tinyMCE.isIE&&!on_save&&url.indexOf("://")==-1&&url.charAt(0)!='/')return tinyMCE.settings['base_href']+url;if(on_save&&tinyMCE.getParam('relative_urls')){var curl=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],url);if(curl.charAt(0)=='/')curl=tinyMCE.settings['document_base_prefix']+curl;var urlParts=tinyMCE.parseURL(curl);var tmpUrlParts=tinyMCE.parseURL(tinyMCE.settings['document_base_url']);if(urlParts['host']==tmpUrlParts['host']&&(urlParts['port']==tmpUrlParts['port']))return tinyMCE.convertAbsoluteURLToRelativeURL(tinyMCE.settings['document_base_url'],curl)}if(!tinyMCE.getParam('relative_urls')){var urlParts=tinyMCE.parseURL(url);var baseUrlParts=tinyMCE.parseURL(tinyMCE.settings['base_href']);url=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],url);if(urlParts['anchor']&&urlParts['path']==baseUrlParts['path'])return"#"+urlParts['anchor']}if(tinyMCE.getParam('remove_script_host')){var start="",portPart="";if(port!="")portPart=":"+port;start=prot+"//"+host+portPart+"/";if(url.indexOf(start)==0)url=url.substring(start.length-1)}return url};TinyMCE_Engine.prototype.convertAllRelativeURLs=function(body){var i,elms,src,href,mhref,msrc;elms=body.getElementsByTagName("img");for(i=0;i<elms.length;i++){src=tinyMCE.getAttrib(elms[i],'src');msrc=tinyMCE.getAttrib(elms[i],'mce_src');if(msrc!="")src=msrc;if(src!=""){src=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],src);elms[i].setAttribute("src",src)}}elms=body.getElementsByTagName("a");for(i=0;i<elms.length;i++){href=tinyMCE.getAttrib(elms[i],'href');mhref=tinyMCE.getAttrib(elms[i],'mce_href');if(mhref!="")href=mhref;if(href&&href!=""){href=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],href);elms[i].setAttribute("href",href)}}};TinyMCE_Engine.prototype.clearArray=function(a){var n;for(n in a)a[n]=null;return a};TinyMCE_Engine.prototype.explode=function(d,s){var ar=s.split(d),oar=new Array(),i;for(i=0;i<ar.length;i++){if(ar[i]!="")oar[oar.length]=ar[i]}return oar};TinyMCE_Engine.prototype._setEventsEnabled=function(node,state){var evs,x,y,elms,i,event;var events=['onfocus','onblur','onclick','ondblclick','onmousedown','onmouseup','onmouseover','onmousemove','onmouseout','onkeypress','onkeydown','onkeydown','onkeyup'];evs=tinyMCE.settings['event_elements'].split(',');for(y=0;y<evs.length;y++){elms=node.getElementsByTagName(evs[y]);for(i=0;i<elms.length;i++){event="";for(x=0;x<events.length;x++){if((event=tinyMCE.getAttrib(elms[i],events[x]))!=''){event=tinyMCE.cleanupEventStr(""+event);if(!state)event="return true;"+event;else event=event.replace(/^return true;/gi,'');elms[i].removeAttribute(events[x]);elms[i].setAttribute(events[x],event)}}}}};TinyMCE_Engine.prototype._eventPatch=function(editor_id){var n,inst,win,e;if(typeof(tinyMCE)=="undefined")return true;try{if(tinyMCE.selectedInstance){win=tinyMCE.selectedInstance.getWin();if(win&&win.event){e=win.event;if(!e.target)e.target=e.srcElement;TinyMCE_Engine.prototype.handleEvent(e);return}}for(n in tinyMCE.instances){inst=tinyMCE.instances[n];if(!tinyMCE.isInstance(inst))continue;inst.select();win=inst.getWin();if(win&&win.event){e=win.event;if(!e.target)e.target=e.srcElement;TinyMCE_Engine.prototype.handleEvent(e);return}}}catch(ex){}};TinyMCE_Engine.prototype.findEvent=function(e){var n,inst;if(e)return e;for(n in tinyMCE.instances){inst=tinyMCE.instances[n];if(tinyMCE.isInstance(inst)&&inst.getWin().event)return inst.getWin().event}return null};TinyMCE_Engine.prototype.unloadHandler=function(){tinyMCE.triggerSave(true,true)};TinyMCE_Engine.prototype.addEventHandlers=function(inst){this.setEventHandlers(inst,1)};TinyMCE_Engine.prototype.setEventHandlers=function(inst,s){var doc=inst.getDoc(),ie,ot,i,f=s?tinyMCE.addEvent:tinyMCE.removeEvent;ie=['keypress','keyup','keydown','click','mouseup','mousedown','controlselect','dblclick'];ot=['keypress','keyup','keydown','click','mouseup','mousedown','focus','blur','dragdrop'];inst.switchSettings();if(tinyMCE.isIE){for(i=0;i<ie.length;i++)f(doc,ie[i],TinyMCE_Engine.prototype._eventPatch)}else{for(i=0;i<ot.length;i++)f(doc,ot[i],tinyMCE.handleEvent);try{doc.designMode="On"}catch(e){}}};TinyMCE_Engine.prototype.onMouseMove=function(){var inst,lh;if(tinyMCE.lastHover){lh=tinyMCE.lastHover;if(lh.className.indexOf('mceMenu')!=-1)tinyMCE._menuButtonEvent('out',lh);else lh.className=lh.className;tinyMCE.lastHover=null}if(!tinyMCE.hasMouseMoved){inst=tinyMCE.selectedInstance;if(inst.isFocused){inst.undoBookmark=inst.selection.getBookmark();tinyMCE.hasMouseMoved=true}}};TinyMCE_Engine.prototype.cancelEvent=function(e){if(!e)return false;if(tinyMCE.isIE){e.returnValue=false;e.cancelBubble=true}else{e.preventDefault();e.stopPropagation&&e.stopPropagation()}return false};TinyMCE_Engine.prototype.addEvent=function(o,n,h){if(n!='unload'){function clean(){var ex;try{tinyMCE.removeEvent(o,n,h);tinyMCE.removeEvent(window,'unload',clean);o=n=h=null}catch(ex){}}tinyMCE.addEvent(window,'unload',clean)}if(o.attachEvent)o.attachEvent("on"+n,h);else o.addEventListener(n,h,false)};TinyMCE_Engine.prototype.removeEvent=function(o,n,h){if(o.detachEvent)o.detachEvent("on"+n,h);else o.removeEventListener(n,h,false)};TinyMCE_Engine.prototype.addSelectAccessibility=function(e,s,w){if(!s._isAccessible){s.onkeydown=tinyMCE.accessibleEventHandler;s.onblur=tinyMCE.accessibleEventHandler;s._isAccessible=true;s._win=w}return false};TinyMCE_Engine.prototype.accessibleEventHandler=function(e){var win=this._win;e=tinyMCE.isIE?win.event:e;var elm=tinyMCE.isIE?e.srcElement:e.target;if(e.type=="blur"){if(elm.oldonchange){elm.onchange=elm.oldonchange;elm.oldonchange=null}return true}if(elm.nodeName=="SELECT"&&!elm.oldonchange){elm.oldonchange=elm.onchange;elm.onchange=null}if(e.keyCode==13||e.keyCode==32){elm.onchange=elm.oldonchange;elm.onchange();elm.oldonchange=null;tinyMCE.cancelEvent(e);return false}return true};TinyMCE_Engine.prototype._resetIframeHeight=function(){var ife;if(tinyMCE.isRealIE){ife=tinyMCE.selectedInstance.iframeElement;if(ife._oldHeight){ife.style.height=ife._oldHeight;ife.height=ife._oldHeight}}};function TinyMCE_Selection(inst){this.instance=inst};TinyMCE_Selection.prototype={getSelectedHTML:function(){var inst=this.instance;var e,r=this.getRng(),h;if(!r)return null;e=document.createElement("body");if(r.cloneContents)e.appendChild(r.cloneContents());else if(typeof(r.item)!='undefined'||typeof(r.htmlText)!='undefined')e.innerHTML=r.item?r.item(0).outerHTML:r.htmlText;else e.innerHTML=r.toString();h=tinyMCE._cleanupHTML(inst,inst.contentDocument,inst.settings,e,e,false,true,false);return h},getSelectedText:function(){var inst=this.instance;var d,r,s,t;if(tinyMCE.isIE){d=inst.getDoc();if(d.selection.type=="Text"){r=d.selection.createRange();t=r.text}else t=''}else{s=this.getSel();if(s&&s.toString)t=s.toString();else t=''}return t},getBookmark:function(simple){var inst=this.instance;var rng=this.getRng();var doc=inst.getDoc(),b=inst.getBody();var sp,le,s,e,nl,i,si,ei,w;var trng,sx,sy,xx=-999999999,vp=inst.getViewPort();sx=vp.left;sy=vp.top;if(tinyMCE.isSafari||tinyMCE.isOpera||simple)return{rng:rng,scrollX:sx,scrollY:sy};if(tinyMCE.isIE){if(rng.item){e=rng.item(0);nl=b.getElementsByTagName(e.nodeName);for(i=0;i<nl.length;i++){if(e==nl[i]){sp=i;break}}return{tag:e.nodeName,index:sp,scrollX:sx,scrollY:sy}}else{trng=doc.body.createTextRange();trng.moveToElementText(inst.getBody());trng.collapse(true);bp=Math.abs(trng.move('character',xx));trng=rng.duplicate();trng.collapse(true);sp=Math.abs(trng.move('character',xx));trng=rng.duplicate();trng.collapse(false);le=Math.abs(trng.move('character',xx))-sp;return{start:sp-bp,length:le,scrollX:sx,scrollY:sy}}}if(tinyMCE.isGecko){s=this.getSel();e=this.getFocusElement();if(!s)return null;if(e&&e.nodeName=='IMG'){return{start:-1,end:-1,index:sp,scrollX:sx,scrollY:sy}}if(s.anchorNode==s.focusNode&&s.anchorOffset==s.focusOffset){e=this._getPosText(b,s.anchorNode,s.focusNode);if(!e)return{scrollX:sx,scrollY:sy};return{start:e.start+s.anchorOffset,end:e.end+s.focusOffset,scrollX:sx,scrollY:sy}}else{e=this._getPosText(b,rng.startContainer,rng.endContainer);if(!e)return{scrollX:sx,scrollY:sy};return{start:e.start+rng.startOffset,end:e.end+rng.endOffset,scrollX:sx,scrollY:sy}}}return null},moveToBookmark:function(bookmark){var inst=this.instance;var rng,nl,i,ex,b=inst.getBody(),sd;var doc=inst.getDoc();var win=inst.getWin();var sel=this.getSel();if(!bookmark)return false;if(tinyMCE.isSafari){sel.setBaseAndExtent(bookmark.rng.startContainer,bookmark.rng.startOffset,bookmark.rng.endContainer,bookmark.rng.endOffset);return true}if(tinyMCE.isRealIE){if(bookmark.rng){try{bookmark.rng.select()}catch(ex){}return true}win.focus();if(bookmark.tag){rng=b.createControlRange();nl=b.getElementsByTagName(bookmark.tag);if(nl.length>bookmark.index){try{rng.addElement(nl[bookmark.index])}catch(ex){}}}else{try{if(bookmark.start<0)return true;rng=inst.getSel().createRange();rng.moveToElementText(inst.getBody());rng.collapse(true);rng.moveStart('character',bookmark.start);rng.moveEnd('character',bookmark.length)}catch(ex){return true}}rng.select();win.scrollTo(bookmark.scrollX,bookmark.scrollY);return true}if(tinyMCE.isGecko||tinyMCE.isOpera){if(!sel)return false;if(bookmark.rng){sel.removeAllRanges();sel.addRange(bookmark.rng)}if(bookmark.start!=-1&&bookmark.end!=-1){try{sd=this._getTextPos(b,bookmark.start,bookmark.end);rng=doc.createRange();rng.setStart(sd.startNode,sd.startOffset);rng.setEnd(sd.endNode,sd.endOffset);sel.removeAllRanges();sel.addRange(rng);win.focus()}catch(ex){}}win.scrollTo(bookmark.scrollX,bookmark.scrollY);return true}return false},_getPosText:function(r,sn,en){var w=document.createTreeWalker(r,NodeFilter.SHOW_TEXT,null,false),n,p=0,d={};while((n=w.nextNode())!=null){if(n==sn)d.start=p;if(n==en){d.end=p;return d}p+=n.nodeValue?n.nodeValue.length:0}return null},_getTextPos:function(r,sp,ep){var w=document.createTreeWalker(r,NodeFilter.SHOW_TEXT,null,false),n,p=0,d={};while((n=w.nextNode())!=null){p+=n.nodeValue?n.nodeValue.length:0;if(p>=sp&&!d.startNode){d.startNode=n;d.startOffset=sp-(p-n.nodeValue.length)}if(p>=ep){d.endNode=n;d.endOffset=ep-(p-n.nodeValue.length);return d}}return null},selectNode:function(node,collapse,select_text_node,to_start){var inst=this.instance,sel,rng,nodes;if(!node)return;if(typeof(collapse)=="undefined")collapse=true;if(typeof(select_text_node)=="undefined")select_text_node=false;if(typeof(to_start)=="undefined")to_start=true;if(inst.settings.auto_resize)inst.resizeToContent();if(tinyMCE.isRealIE){rng=inst.getDoc().body.createTextRange();try{rng.moveToElementText(node);if(collapse)rng.collapse(to_start);rng.select()}catch(e){}}else{sel=this.getSel();if(!sel)return;if(tinyMCE.isSafari){sel.setBaseAndExtent(node,0,node,node.innerText.length);if(collapse){if(to_start)sel.collapseToStart();else sel.collapseToEnd()}this.scrollToNode(node);return}rng=inst.getDoc().createRange();if(select_text_node){nodes=tinyMCE.getNodeTree(node,new Array(),3);if(nodes.length>0)rng.selectNodeContents(nodes[0]);else rng.selectNodeContents(node)}else rng.selectNode(node);if(collapse){if(!to_start&&node.nodeType==3){rng.setStart(node,node.nodeValue.length);rng.setEnd(node,node.nodeValue.length)}else rng.collapse(to_start)}sel.removeAllRanges();sel.addRange(rng)}this.scrollToNode(node);tinyMCE.selectedElement=null;if(node.nodeType==1)tinyMCE.selectedElement=node},scrollToNode:function(node){var inst=this.instance,w=inst.getWin(),vp=inst.getViewPort(),pos=tinyMCE.getAbsPosition(node),cvp,p,cwin;if(pos.absLeft<vp.left||pos.absLeft>vp.left+vp.width||pos.absTop<vp.top||pos.absTop>vp.top+(vp.height-25))w.scrollTo(pos.absLeft,pos.absTop-vp.height+25);if(inst.settings.auto_resize){cwin=inst.getContainerWin();cvp=tinyMCE.getViewPort(cwin);p=this.getAbsPosition(node);if(p.absLeft<cvp.left||p.absLeft>cvp.left+cvp.width||p.absTop<cvp.top||p.absTop>cvp.top+cvp.height)cwin.scrollTo(p.absLeft,p.absTop-cvp.height+25)}},getAbsPosition:function(n){var pos=tinyMCE.getAbsPosition(n),ipos=tinyMCE.getAbsPosition(this.instance.iframeElement);return{absLeft:ipos.absLeft+pos.absLeft,absTop:ipos.absTop+pos.absTop}},getSel:function(){var inst=this.instance;if(tinyMCE.isRealIE)return inst.getDoc().selection;return inst.contentWindow.getSelection()},getRng:function(){var s=this.getSel();if(s==null)return null;if(tinyMCE.isRealIE)return s.createRange();if(tinyMCE.isSafari&&!s.getRangeAt)return''+window.getSelection();if(s.rangeCount>0)return s.getRangeAt(0);return null},isCollapsed:function(){var r=this.getRng();if(r.item)return false;return r.boundingWidth==0||this.getSel().isCollapsed},collapse:function(b){var r=this.getRng(),s=this.getSel();if(r.select){r.collapse(b);r.select()}else{if(b)s.collapseToStart();else s.collapseToEnd()}},getFocusElement:function(){var inst=this.instance,doc,rng,sel,elm;if(tinyMCE.isRealIE){doc=inst.getDoc();rng=doc.selection.createRange();elm=rng.item?rng.item(0):rng.parentElement()}else{if(!tinyMCE.isSafari&&inst.isHidden())return inst.getBody();sel=this.getSel();rng=this.getRng();if(!sel||!rng)return null;elm=rng.commonAncestorContainer;if(!rng.collapsed){if(rng.startContainer==rng.endContainer){if(rng.startOffset-rng.endOffset<2){if(rng.startContainer.hasChildNodes())elm=rng.startContainer.childNodes[rng.startOffset]}}}elm=tinyMCE.getParentElement(elm);}return elm}};function TinyMCE_UndoRedo(inst){this.instance=inst;this.undoLevels=new Array();this.undoIndex=0;this.typingUndoIndex=-1;this.undoRedo=true};TinyMCE_UndoRedo.prototype={add:function(l){var b,customUndoLevels,newHTML,inst=this.instance,i,ul,ur;if(l){this.undoLevels[this.undoLevels.length]=l;return true}if(this.typingUndoIndex!=-1){this.undoIndex=this.typingUndoIndex;if(tinyMCE.typingUndoIndex!=-1)tinyMCE.undoIndex=tinyMCE.typingUndoIndex}newHTML=tinyMCE.trim(inst.getBody().innerHTML);if(this.undoLevels[this.undoIndex]&&newHTML!=this.undoLevels[this.undoIndex].content){tinyMCE.dispatchCallback(inst,'onchange_callback','onChange',inst);customUndoLevels=tinyMCE.settings['custom_undo_redo_levels'];if(customUndoLevels!=-1&&this.undoLevels.length>customUndoLevels){for(i=0;i<this.undoLevels.length-1;i++)this.undoLevels[i]=this.undoLevels[i+1];this.undoLevels.length--;this.undoIndex--;}b=inst.undoBookmark;if(!b)b=inst.selection.getBookmark();this.undoIndex++;this.undoLevels[this.undoIndex]={content:newHTML,bookmark:b};ul=tinyMCE.undoLevels;for(i=tinyMCE.undoIndex+1;i<ul.length;i++){ur=ul[i].undoRedo;if(ur.undoIndex==ur.undoLevels.length-1)ur.undoIndex--;ur.undoLevels.length--}tinyMCE.undoLevels[tinyMCE.undoIndex++]=inst;tinyMCE.undoLevels.length=tinyMCE.undoIndex;this.undoLevels.length=this.undoIndex+1;return true}return false},undo:function(){var inst=this.instance;if(this.undoIndex>0){this.undoIndex--;tinyMCE.setInnerHTML(inst.getBody(),this.undoLevels[this.undoIndex].content);inst.repaint();if(inst.settings.custom_undo_redo_restore_selection)inst.selection.moveToBookmark(this.undoLevels[this.undoIndex].bookmark)}},redo:function(){var inst=this.instance;tinyMCE.execCommand("mceEndTyping");if(this.undoIndex<(this.undoLevels.length-1)){this.undoIndex++;tinyMCE.setInnerHTML(inst.getBody(),this.undoLevels[this.undoIndex].content);inst.repaint();if(inst.settings.custom_undo_redo_restore_selection)inst.selection.moveToBookmark(this.undoLevels[this.undoIndex].bookmark)}tinyMCE.triggerNodeChange()}};var TinyMCE_ForceParagraphs={_insertPara:function(inst,e){var doc=inst.getDoc(),sel=inst.getSel(),body=inst.getBody(),win=inst.contentWindow,rng=sel.getRangeAt(0);var rootElm=doc.documentElement,blockName="P",startNode,endNode,startBlock,endBlock;var rngBefore,rngAfter,direct,startNode,startOffset,endNode,endOffset,b=tinyMCE.isOpera?inst.selection.getBookmark():null;var paraBefore,paraAfter,startChop,endChop,contents;function isEmpty(para){function isEmptyHTML(html){return html.replace(new RegExp('[ \t\r\n]+','g'),'').toLowerCase()==""}if(para.getElementsByTagName("img").length>0)return false;if(para.getElementsByTagName("table").length>0)return false;if(para.getElementsByTagName("hr").length>0)return false;var nodes=tinyMCE.getNodeTree(para,new Array(),3);for(var i=0;i<nodes.length;i++){if(!isEmptyHTML(nodes[i].nodeValue))return false}return true}rngBefore=doc.createRange();rngBefore.setStart(sel.anchorNode,sel.anchorOffset);rngBefore.collapse(true);rngAfter=doc.createRange();rngAfter.setStart(sel.focusNode,sel.focusOffset);rngAfter.collapse(true);direct=rngBefore.compareBoundaryPoints(rngBefore.START_TO_END,rngAfter)<0;startNode=direct?sel.anchorNode:sel.focusNode;startOffset=direct?sel.anchorOffset:sel.focusOffset;endNode=direct?sel.focusNode:sel.anchorNode;endOffset=direct?sel.focusOffset:sel.anchorOffset;startNode=startNode.nodeName=="BODY"?startNode.firstChild:startNode;endNode=endNode.nodeName=="BODY"?endNode.firstChild:endNode;startBlock=inst.getParentBlockElement(startNode);endBlock=inst.getParentBlockElement(endNode);if(startBlock&&new RegExp('absolute|relative|static','gi').test(startBlock.style.position))startBlock=null;if(endBlock&&new RegExp('absolute|relative|static','gi').test(endBlock.style.position))endBlock=null;if(startBlock!=null){blockName=startBlock.nodeName;if(blockName=="TD"||blockName=="TABLE"||(blockName=="DIV"&&new RegExp('left|right','gi').test(startBlock.style.cssFloat)))blockName="P"}if(tinyMCE.getParentElement(startBlock,"OL,UL",null,body)!=null)return false;if((startBlock!=null&&startBlock.nodeName=="TABLE")||(endBlock!=null&&endBlock.nodeName=="TABLE"))startBlock=endBlock=null;paraBefore=(startBlock!=null&&startBlock.nodeName==blockName)?startBlock.cloneNode(false):doc.createElement(blockName);paraAfter=(endBlock!=null&&endBlock.nodeName==blockName)?endBlock.cloneNode(false):doc.createElement(blockName);if(/^(H[1-6])$/.test(blockName))paraAfter=doc.createElement("p");startChop=startNode;endChop=endNode;node=startChop;do{if(node==body||node.nodeType==9||tinyMCE.isBlockElement(node))break;startChop=node}while((node=node.previousSibling?node.previousSibling:node.parentNode));node=endChop;do{if(node==body||node.nodeType==9||tinyMCE.isBlockElement(node))break;endChop=node}while((node=node.nextSibling?node.nextSibling:node.parentNode));if(startChop.nodeName=="TD")startChop=startChop.firstChild;if(endChop.nodeName=="TD")endChop=endChop.lastChild;if(startBlock==null){rng.deleteContents();if(!tinyMCE.isSafari)sel.removeAllRanges();if(startChop!=rootElm&&endChop!=rootElm){rngBefore=rng.cloneRange();if(startChop==body)rngBefore.setStart(startChop,0);else rngBefore.setStartBefore(startChop);paraBefore.appendChild(rngBefore.cloneContents());if(endChop.parentNode.nodeName==blockName)endChop=endChop.parentNode;rng.setEndAfter(endChop);if(endChop.nodeName!="#text"&&endChop.nodeName!="BODY")rngBefore.setEndAfter(endChop);contents=rng.cloneContents();if(contents.firstChild&&(contents.firstChild.nodeName==blockName||contents.firstChild.nodeName=="BODY"))paraAfter.innerHTML=contents.firstChild.innerHTML;else paraAfter.appendChild(contents);if(isEmpty(paraBefore))paraBefore.innerHTML="&nbsp;";if(isEmpty(paraAfter))paraAfter.innerHTML="&nbsp;";rng.deleteContents();rngAfter.deleteContents();rngBefore.deleteContents();if(tinyMCE.isOpera){paraBefore.normalize();rngBefore.insertNode(paraBefore);paraAfter.normalize();rngBefore.insertNode(paraAfter)}else{paraAfter.normalize();rngBefore.insertNode(paraAfter);paraBefore.normalize();rngBefore.insertNode(paraBefore)}}else{body.innerHTML="<"+blockName+">&nbsp;</"+blockName+"><"+blockName+">&nbsp;</"+blockName+">";paraAfter=body.childNodes[1]}inst.selection.moveToBookmark(b);inst.selection.selectNode(paraAfter,true,true);return true}if(startChop.nodeName==blockName)rngBefore.setStart(startChop,0);else rngBefore.setStartBefore(startChop);rngBefore.setEnd(startNode,startOffset);paraBefore.appendChild(rngBefore.cloneContents());rngAfter.setEndAfter(endChop);rngAfter.setStart(endNode,endOffset);contents=rngAfter.cloneContents();if(contents.firstChild&&contents.firstChild.nodeName==blockName){paraAfter.innerHTML=contents.firstChild.innerHTML}else paraAfter.appendChild(contents);if(isEmpty(paraBefore))paraBefore.innerHTML="&nbsp;";if(isEmpty(paraAfter))paraAfter.innerHTML="&nbsp;";rng=doc.createRange();if(!startChop.previousSibling&&startChop.parentNode.nodeName.toUpperCase()==blockName){rng.setStartBefore(startChop.parentNode)}else{if(rngBefore.startContainer.nodeName.toUpperCase()==blockName&&rngBefore.startOffset==0)rng.setStartBefore(rngBefore.startContainer);else rng.setStart(rngBefore.startContainer,rngBefore.startOffset)}if(!endChop.nextSibling&&endChop.parentNode.nodeName.toUpperCase()==blockName)rng.setEndAfter(endChop.parentNode);else rng.setEnd(rngAfter.endContainer,rngAfter.endOffset);rng.deleteContents();if(tinyMCE.isOpera){rng.insertNode(paraBefore);rng.insertNode(paraAfter)}else{rng.insertNode(paraAfter);rng.insertNode(paraBefore)}paraAfter.normalize();paraBefore.normalize();inst.selection.moveToBookmark(b);inst.selection.selectNode(paraAfter,true,true);return true},_handleBackSpace:function(inst){var r=inst.getRng(),sn=r.startContainer,nv,s=false;if(sn&&sn.nextSibling&&sn.nextSibling.nodeName=="BR"&&sn.parentNode.nodeName!="BODY"){nv=sn.nodeValue;if(nv!=null&&r.startOffset==nv.length)sn.nextSibling.parentNode.removeChild(sn.nextSibling)}if(inst.settings.auto_resize)inst.resizeToContent();return s}};function TinyMCE_Layer(id,bm){this.id=id;this.blockerElement=null;this.events=false;this.element=null;this.blockMode=typeof(bm)!='undefined'?bm:true;this.doc=document};TinyMCE_Layer.prototype={moveRelativeTo:function(re,p){var rep=this.getAbsPosition(re);var w=parseInt(re.offsetWidth);var h=parseInt(re.offsetHeight);var e=this.getElement();var ew=parseInt(e.offsetWidth);var eh=parseInt(e.offsetHeight);var x,y;switch(p){case"tl":x=rep.absLeft;y=rep.absTop;break;case"tr":x=rep.absLeft+w;y=rep.absTop;break;case"bl":x=rep.absLeft;y=rep.absTop+h;break;case"br":x=rep.absLeft+w;y=rep.absTop+h;break;case"cc":x=rep.absLeft+(w/ 2) - (ew /2);y=rep.absTop+(h/ 2) - (eh /2);break}this.moveTo(x,y)},moveBy:function(x,y){var e=this.getElement();this.moveTo(parseInt(e.style.left)+x,parseInt(e.style.top)+y)},moveTo:function(x,y){var e=this.getElement();e.style.left=x+"px";e.style.top=y+"px";this.updateBlocker()},resizeBy:function(w,h){var e=this.getElement();this.resizeTo(parseInt(e.style.width)+w,parseInt(e.style.height)+h)},resizeTo:function(w,h){var e=this.getElement();if(w!=null)e.style.width=w+"px";if(h!=null)e.style.height=h+"px";this.updateBlocker()},show:function(){var el=this.getElement();if(el){el.style.display='block';this.updateBlocker()}},hide:function(){var el=this.getElement();if(el){el.style.display='none';this.updateBlocker()}},isVisible:function(){return this.getElement().style.display=='block'},getElement:function(){if(!this.element)this.element=this.doc.getElementById(this.id);return this.element},setBlockMode:function(s){this.blockMode=s},updateBlocker:function(){var e,b,x,y,w,h;b=this.getBlocker();if(b){if(this.blockMode){e=this.getElement();x=this.parseInt(e.style.left);y=this.parseInt(e.style.top);w=this.parseInt(e.offsetWidth);h=this.parseInt(e.offsetHeight);b.style.left=x+'px';b.style.top=y+'px';b.style.width=w+'px';b.style.height=h+'px';b.style.display=e.style.display}else b.style.display='none'}},getBlocker:function(){var d,b;if(!this.blockerElement&&this.blockMode){d=this.doc;b=d.getElementById(this.id+"_blocker");if(!b){b=d.createElement("iframe");b.setAttribute('id',this.id+"_blocker");b.style.cssText='display: none; position: absolute; left: 0; top: 0';b.src='javascript:false;';b.frameBorder='0';b.scrolling='no';d.body.appendChild(b)}this.blockerElement=b}return this.blockerElement},getAbsPosition:function(n){var p={absLeft:0,absTop:0};while(n){p.absLeft+=n.offsetLeft;p.absTop+=n.offsetTop;n=n.offsetParent}return p},create:function(n,c,p,h){var d=this.doc,e=d.createElement(n);e.setAttribute('id',this.id);if(c)e.className=c;if(!p)p=d.body;if(h)e.innerHTML=h;p.appendChild(e);return this.element=e},exists:function(){return this.doc.getElementById(this.id)!=null},parseInt:function(s){if(s==null||s=='')return 0;return parseInt(s)},remove:function(){var e=this.getElement(),b=this.getBlocker();if(e)e.parentNode.removeChild(e);if(b)b.parentNode.removeChild(b)}};function TinyMCE_Menu(){var id;if(typeof(tinyMCE.menuCounter)=="undefined")tinyMCE.menuCounter=0;id="mc_menu_"+tinyMCE.menuCounter++;TinyMCE_Layer.call(this,id,true);this.id=id;this.items=new Array();this.needsUpdate=true};TinyMCE_Menu.prototype=tinyMCE.extend(TinyMCE_Layer.prototype,{init:function(s){var n;this.settings={separator_class:'mceMenuSeparator',title_class:'mceMenuTitle',disabled_class:'mceMenuDisabled',menu_class:'mceMenu',drop_menu:true};for(n in s)this.settings[n]=s[n];this.create('div',this.settings.menu_class)},clear:function(){this.items=new Array()},addTitle:function(t){this.add({type:'title',text:t})},addDisabled:function(t){this.add({type:'disabled',text:t})},addSeparator:function(){this.add({type:'separator'})},addItem:function(t,js){this.add({text:t,js:js})},add:function(mi){this.items[this.items.length]=mi;this.needsUpdate=true},update:function(){var e=this.getElement(),h='',i,t,m=this.items,s=this.settings;if(this.settings.drop_menu)h+='<span class="mceMenuLine"></span>';h+='<table border="0" cellpadding="0" cellspacing="0">';for(i=0;i<m.length;i++){t=tinyMCE.xmlEncode(m[i].text);c=m[i].class_name?' class="'+m[i].class_name+'"':'';switch(m[i].type){case'separator':h+='<tr class="'+s.separator_class+'"><td>';break;case'title':h+='<tr class="'+s.title_class+'"><td><span'+c+'>'+t+'</span>';break;case'disabled':h+='<tr class="'+s.disabled_class+'"><td><span'+c+'>'+t+'</span>';break;default:h+='<tr><td><a href="'+tinyMCE.xmlEncode(m[i].js)+'" onmousedown="'+tinyMCE.xmlEncode(m[i].js)+';return tinyMCE.cancelEvent(event);" onclick="return tinyMCE.cancelEvent(event);" onmouseup="return tinyMCE.cancelEvent(event);"><span'+c+'>'+t+'</span></a>'}h+='</td></tr>'}h+='</table>';e.innerHTML=h;this.needsUpdate=false;this.updateBlocker()},show:function(){var nl,i;if(tinyMCE.lastMenu==this)return;if(this.needsUpdate)this.update();if(tinyMCE.lastMenu&&tinyMCE.lastMenu!=this)tinyMCE.lastMenu.hide();TinyMCE_Layer.prototype.show.call(this);if(!tinyMCE.isOpera){}tinyMCE.lastMenu=this}});if(!Function.prototype.call){Function.prototype.call=function(){var a=arguments,s=a[0],i,as='',r,o;for(i=1;i<a.length;i++)as+=(i>1?',':'')+'a['+i+']';o=s._fu;s._fu=this;r=eval('s._fu('+as+')');s._fu=o;return r}};TinyMCE_Engine.prototype.debug=function(){var m="",a,i,l=tinyMCE.log.length;for(i=0,a=this.debug.arguments;i<a.length;i++){m+=a[i];if(i<a.length-1)m+=', '}if(l<1000)tinyMCE.log[l]="[debug] "+m};
\ No newline at end of file

Modified: plog/trunk/js/tinymce/tiny_mce_src.js
===================================================================
--- plog/trunk/js/tinymce/tiny_mce_src.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/tinymce/tiny_mce_src.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -5,8 +5,8 @@
 	var ua;
 
 	this.majorVersion = "2";
-	this.minorVersion = "0.8";
-	this.releaseDate = "2006-10-23";
+	this.minorVersion = "1.0";
+	this.releaseDate = "2007-02-13";
 
 	this.instances = new Array();
 	this.switchClassCache = new Array();
@@ -186,12 +186,13 @@
 		this._def("custom_shortcuts", true);
 		this._def("convert_on_click", false);
 		this._def("content_css", '');
-		this._def("fix_list_elements", false);
+		this._def("fix_list_elements", true);
 		this._def("fix_table_elements", false);
 		this._def("strict_loading_mode", document.contentType == 'application/xhtml+xml');
 		this._def("hidden_tab_class", '');
 		this._def("display_tab_class", '');
 		this._def("gecko_spellcheck", false);
+		this._def("hide_selects_on_submit", true);
 
 		// Force strict loading mode to false on non Gecko browsers
 		if (this.isMSIE && !this.isOpera)
@@ -240,9 +241,9 @@
 		this.blockElms = 'H[1-6]|P|DIV|ADDRESS|PRE|FORM|TABLE|LI|OL|UL|TD|BLOCKQUOTE|CENTER|DL|DT|DD|DIR|FIELDSET|FORM|NOSCRIPT|NOFRAMES|MENU|ISINDEX|SAMP';
 		this.blockRegExp = new RegExp("^(" + this.blockElms + ")$", "i");
 		this.posKeyCodes = new Array(13,45,36,35,33,34,37,38,39,40);
-		this.uniqueURL = 'javascript:TINYMCE_UNIQUEURL();'; // Make unique URL non real URL
+		this.uniqueURL = 'javascript:void(091039730);'; // Make unique URL non real URL
 		this.uniqueTag = '<div id="mceTMPElement" style="display: none">TMP</div>';
-		this.callbacks = new Array('onInit', 'getInfo', 'getEditorTemplate', 'setupContent', 'onChange', 'onPageLoad', 'handleNodeChange', 'initInstance', 'execCommand', 'getControlHTML', 'handleEvent', 'cleanup');
+		this.callbacks = new Array('onInit', 'getInfo', 'getEditorTemplate', 'setupContent', 'onChange', 'onPageLoad', 'handleNodeChange', 'initInstance', 'execCommand', 'getControlHTML', 'handleEvent', 'cleanup', 'removeInstance');
 
 		// Theme url
 		this.settings['theme_href'] = tinyMCE.baseURL + "/themes/" + theme;
@@ -338,6 +339,11 @@
 			} catch (e) {
 			}
 		}
+
+		// Setup XML encoding regexps
+		this.xmlEncodeAposRe = new RegExp('[<>&"\']', 'g');
+		this.xmlEncodeRe = new RegExp('[<>&"]', 'g');
+//		this.xmlEncodeEnts = {'&':'&amp;','"':'&quot;',"'":'&#39;','<':'&lt;','>':'&gt;'};
 	},
 
 	_addUnloadEvents : function() {
@@ -570,6 +576,9 @@
 		tinyMCE.undoLevels = n;
 		tinyMCE.undoIndex = n.length;
 
+		// Dispatch remove instance call
+		tinyMCE.dispatchCallback(ti, 'remove_instance_callback', 'removeInstance', ti);
+
 		return ti;
 	},
 
@@ -731,6 +740,35 @@
 				tinyMCE.removeMCEControl(value);
 				return;
 
+			case "mceToggleEditor":
+				var inst = tinyMCE.getInstanceById(value), pe, te;
+
+				if (inst) {
+					pe = document.getElementById(inst.editorId + '_parent');
+					te = inst.oldTargetElement;
+
+					if (typeof(inst.enabled) == 'undefined')
+						inst.enabled = true;
+
+					inst.enabled = !inst.enabled;
+
+					if (!inst.enabled) {
+						pe.style.display = 'none';
+						te.value = inst.getHTML();
+						te.style.display = inst.oldTargetDisplay;
+						tinyMCE.dispatchCallback(inst, 'hide_instance_callback', 'hideInstance', inst);
+					} else {
+						pe.style.display = 'block';
+						te.style.display = 'none';
+						inst.setHTML(te.value);
+						inst.useCSS = false;
+						tinyMCE.dispatchCallback(inst, 'show_instance_callback', 'showInstance', inst);
+					}
+				} else
+					tinyMCE.addMCEControl(tinyMCE._getElementById(value), value);
+
+				return;
+
 			case "mceResetDesignMode":
 				// Resets the designmode state of the editors in Gecko
 				if (!tinyMCE.isIE) {
@@ -836,6 +874,7 @@
 			content = content.replace(/&amp;/g, '&');
 		}
 
+		tinyMCE.selectedInstance = inst;
 		inst.switchSettings();
 
 		// Not loaded correctly hit it again, Mozilla bug #997860
@@ -951,10 +990,6 @@
 		// Fix for bug #957681
 		//inst.getDoc().designMode = inst.getDoc().designMode;
 
-		// Setup element references
-		var parentElm = inst.targetDoc.getElementById(inst.editorId + '_parent');
-		inst.formElement = tinyMCE.isGecko ? parentElm.previousSibling : parentElm.nextSibling;
-
 		tinyMCE.handleVisualAid(inst.getBody(), true, tinyMCE.settings['visual'], inst);
 		tinyMCE.dispatchCallback(inst, 'setupcontent_callback', 'setupContent', editor_id, inst.getBody(), inst.getDoc());
 
@@ -1015,8 +1050,8 @@
 
 	storeAwayURLs : function(s) {
 		// Remove all mce_src, mce_href and replace them with new ones
-	//	s = s.replace(new RegExp('mce_src\\s*=\\s*\"[^ >\"]*\"', 'gi'), '');
-	//	s = s.replace(new RegExp('mce_href\\s*=\\s*\"[^ >\"]*\"', 'gi'), '');
+		// s = s.replace(new RegExp('mce_src\\s*=\\s*\"[^ >\"]*\"', 'gi'), '');
+		// s = s.replace(new RegExp('mce_href\\s*=\\s*\"[^ >\"]*\"', 'gi'), '');
 
 		if (!s.match(/(mce_src|mce_href)/gi, s)) {
 			s = s.replace(new RegExp('src\\s*=\\s*\"([^ >\"]*)\"', 'gi'), 'src="$1" mce_src="$1"');
@@ -1038,6 +1073,38 @@
 		}
 	},
 
+	removeTinyMCEFormElements : function(form_obj) {
+		var i, elementId;
+
+		// Skip form element removal
+		if (!tinyMCE.getParam('hide_selects_on_submit'))
+			return;
+
+		// Check if form is valid
+		if (typeof(form_obj) == "undefined" || form_obj == null)
+			return;
+
+		// If not a form, find the form
+		if (form_obj.nodeName != "FORM") {
+			if (form_obj.form)
+				form_obj = form_obj.form;
+			else
+				form_obj = tinyMCE.getParentElement(form_obj, "form");
+		}
+
+		// Still nothing
+		if (form_obj == null)
+			return;
+
+		// Disable all UI form elements that TinyMCE created
+		for (i=0; i<form_obj.elements.length; i++) {
+			elementId = form_obj.elements[i].name ? form_obj.elements[i].name : form_obj.elements[i].id;
+
+			if (elementId.indexOf('mce_editor_') == 0)
+				form_obj.elements[i].disabled = true;
+		}
+	},
+
 	handleEvent : function(e) {
 		var inst = tinyMCE.selectedInstance;
 
@@ -1086,6 +1153,7 @@
 				return;
 
 			case "submit":
+				tinyMCE.removeTinyMCEFormElements(tinyMCE.isMSIE ? window.event.srcElement : e.target);
 				tinyMCE.triggerSave();
 				tinyMCE.isNotDirty = true;
 				return;
@@ -1402,9 +1470,9 @@
 			h += '</a></span>';
 		} else {
 			if (tinyMCE.isRealIE)
-				h += '<span id="{$editor_id}_' + id + '" class="mceMenuButton" onmouseover="tinyMCE._menuButtonEvent(\'over\',this);tinyMCE.lastHover = this;" onmouseout="tinyMCE._menuButtonEvent(\'out\',this);">';
+				h += '<span id="{$editor_id}_' + id + '" dir="ltr" class="mceMenuButton" onmouseover="tinyMCE._menuButtonEvent(\'over\',this);tinyMCE.lastHover = this;" onmouseout="tinyMCE._menuButtonEvent(\'out\',this);">';
 			else
-				h += '<span id="{$editor_id}_' + id + '" class="mceMenuButton">';
+				h += '<span id="{$editor_id}_' + id + '" dir="ltr" class="mceMenuButton">';
 
 			h += '<a href="javascript:' + cmd + '" onclick="' + cmd + 'return false;" onmousedown="return false;" class="mceMenuButtonNormal" target="_self">';
 			h += '<img src="' + img + '" title="{$' + lang + '}" /></a>';
@@ -1433,6 +1501,7 @@
 	},
 
 	submitPatch : function() {
+		tinyMCE.removeTinyMCEFormElements(this);
 		tinyMCE.triggerSave();
 		tinyMCE.isNotDirty = true;
 		this.mceOldSubmit();
@@ -1649,15 +1718,20 @@
 	},
 
 	triggerNodeChange : function(focus, setup_content) {
+		var elm, inst, editorId, undoIndex = -1, undoLevels = -1, doc, anySelection = false, st;
+
 		if (tinyMCE.selectedInstance) {
-			var inst = tinyMCE.selectedInstance;
-			var editorId = inst.editorId;
-			var elm = (typeof(setup_content) != "undefined" && setup_content) ? tinyMCE.selectedElement : inst.getFocusElement();
-			var undoIndex = -1, doc;
-			var undoLevels = -1;
-			var anySelection = false;
-			var selectedText = inst.selection.getSelectedText();
+			inst = tinyMCE.selectedInstance;
+			elm = (typeof(setup_content) != "undefined" && setup_content) ? tinyMCE.selectedElement : inst.getFocusElement();
 
+/*			if (elm == inst.lastTriggerEl)
+				return;
+
+			inst.lastTriggerEl = elm;*/
+
+			editorId = inst.editorId;
+			st = inst.selection.getSelectedText();
+
 			if (tinyMCE.settings.auto_resize)
 				inst.resizeToContent();
 
@@ -1667,7 +1741,7 @@
 			inst.switchSettings();
 
 			if (tinyMCE.selectedElement)
-				anySelection = (tinyMCE.selectedElement.nodeName.toLowerCase() == "img") || (selectedText && selectedText.length > 0);
+				anySelection = (tinyMCE.selectedElement.nodeName.toLowerCase() == "img") || (st && st.length > 0);
 
 			if (tinyMCE.settings['custom_undo_redo']) {
 				undoIndex = inst.undoRedo.undoIndex;
@@ -1754,6 +1828,8 @@
 	openWindow : function(template, args) {
 		var html, width, height, x, y, resizable, scrollbars, url;
 
+		args = !args ? {} : args;
+
 		args['mce_template_file'] = template['file'];
 		args['mce_width'] = template['width'];
 		args['mce_height'] = template['height'];
@@ -2129,11 +2205,11 @@
 	},
 
 	getCSSClasses : function(editor_id, doc) {
-		var output = new Array();
+		var inst = tinyMCE.getInstanceById(editor_id);
 
 		// Is cached, use that
-		if (typeof(tinyMCE.cssClasses) != "undefined")
-			return tinyMCE.cssClasses;
+		if (inst && inst.cssClasses.length > 0)
+			return inst.cssClasses;
 
 		if (typeof(editor_id) == "undefined" && typeof(doc) == "undefined") {
 			var instance;
@@ -2191,13 +2267,13 @@
 									var cssClass = rule.substring(rule.indexOf('.') + 1);
 									var addClass = true;
 
-									for (var p=0; p<output.length && addClass; p++) {
-										if (output[p] == cssClass)
+									for (var p=0; p<inst.cssClasses.length && addClass; p++) {
+										if (inst.cssClasses[p] == cssClass)
 											addClass = false;
 									}
 
 									if (addClass)
-										output[output.length] = cssClass;
+										inst.cssClasses[inst.cssClasses.length] = cssClass;
 								}
 							}
 						}
@@ -2206,11 +2282,7 @@
 			}
 		}
 
-		// Cache em
-		if (output.length > 0)
-			tinyMCE.cssClasses = output;
-
-		return output;
+		return inst.cssClasses;
 	},
 
 	regexpReplace : function(in_str, reg_exp, replace_str, opts) {
@@ -2238,36 +2310,36 @@
 	},
 
 	getControlHTML : function(c) {
-		var i, l, n, o, v;
+		var i, l, n, o, v, rtl = tinyMCE.getLang('lang_dir') == 'rtl';
 
 		l = tinyMCE.plugins;
 		for (n in l) {
 			o = l[n];
 
-			if (o.getControlHTML && (v = o.getControlHTML(c)) != '')
+			if (o.getControlHTML && (v = o.getControlHTML(c)) != '') {
+				if (rtl)
+					return '<span dir="rtl">' + tinyMCE.replaceVar(v, "pluginurl", o.baseURL) + '</span>';
+
 				return tinyMCE.replaceVar(v, "pluginurl", o.baseURL);
+			}
 		}
 
 		o = tinyMCE.themes[tinyMCE.settings['theme']];
-		if (o.getControlHTML && (v = o.getControlHTML(c)) != '')
+		if (o.getControlHTML && (v = o.getControlHTML(c)) != '') {
+			if (rtl)
+				return '<span dir="rtl">' + v + '</span>';
+
 			return v;
+		}
 
 		return '';
 	},
 
 	evalFunc : function(f, idx, a, o) {
-		var s = '(', i;
+		o = !o ? window : o;
+		f = typeof(f) == 'function' ? f : o[f];
 
-		for (i=idx; i<a.length; i++) {
-			s += 'a[' + i + ']';
-
-			if (i < a.length-1)
-				s += ',';
-		}
-
-		s += ');';
-
-		return o ? eval("o." + f + s) : eval("f" + s);
+		return f.apply(o, Array.prototype.slice.call(a, idx));
 	},
 
 	dispatchCallback : function(i, p, n) {
@@ -2289,7 +2361,7 @@
 
 		l = tinyMCE.getParam(p, '');
 
-		if (l != '' && (v = tinyMCE.evalFunc(typeof(l) == "function" ? l : eval(l), 3, a)) == s && m > 0)
+		if (l != '' && (v = tinyMCE.evalFunc(l, 3, a)) == s && m > 0)
 			return true;
 
 		if (ins != null) {
@@ -2312,8 +2384,8 @@
 		return false;
 	},
 
-	xmlEncode : function(s) {
-		return s ? ('' + s).replace(new RegExp('[<>&"\']', 'g'), function (c, b) {
+	xmlEncode : function(s, skip_apos) {
+		return s ? ('' + s).replace(!skip_apos ? this.xmlEncodeAposRe : this.xmlEncodeRe, function (c, b) {
 			switch (c) {
 				case '&':
 					return '&amp;';
@@ -2390,6 +2462,7 @@
 	this.hasMouseMoved = false;
 	this.foreColor = this.backColor = "#999999";
 	this.data = {};
+	this.cssClasses = [];
 
 	this.cleanup.init({
 		valid_elements : s.valid_elements,
@@ -2398,11 +2471,11 @@
 		entities : s.entities,
 		entity_encoding : s.entity_encoding,
 		debug : s.cleanup_debug,
-		url_converter : 'TinyMCE_Cleanup.prototype._urlConverter',
 		indent : s.apply_source_formatting,
 		invalid_elements : s.invalid_elements,
 		verify_html : s.verify_html,
-		fix_content_duplication : s.fix_content_duplication
+		fix_content_duplication : s.fix_content_duplication,
+		convert_fonts_to_spans : s.convert_fonts_to_spans
 	});
 
 	// Wrap old theme
@@ -2593,8 +2666,14 @@
 	},
 
 	handleShortcut : function(e) {
-		var i, s = this.shortcuts, o;
+		var i, s, o;
 
+		// Normal key press, then ignore it
+		if (!e.altKey && !e.ctrlKey)
+			return false;
+
+		s = this.shortcuts;
+
 		for (i=0; i<s.length; i++) {
 			o = s[i];
 
@@ -2702,8 +2781,11 @@
 		//debug("command: " + command + ", user_interface: " + user_interface + ", value: " + value);
 		this.contentDocument = doc; // <-- Strange, unless this is applied Mozilla 1.3 breaks
 
-		if (tinyMCE.execCommandCallback(this, 'execcommand_callback', 'execCommand', this.editorId, this.getBody(), command, user_interface, value))
-			return;
+		// Don't dispatch key commands
+		if (!/mceStartTyping|mceEndTyping/.test(command)) {
+			if (tinyMCE.execCommandCallback(this, 'execcommand_callback', 'execCommand', this.editorId, this.getBody(), command, user_interface, value))
+				return;
+		}
 
 		// Fix align on images
 		if (focusElm && focusElm.nodeName == "IMG") {
@@ -2825,14 +2907,6 @@
 
 				return true;
 
-			case "FormatBlock":
-				if (!this.cleanup.isValid(value))
-					return true;
-
-				this.getDoc().execCommand(command, user_interface, value);
-				tinyMCE.triggerNodeChange();
-				break;
-
 			case "InsertUnorderedList":
 			case "InsertOrderedList":
 				this.getDoc().execCommand(command, user_interface, value);
@@ -2857,6 +2931,9 @@
 					if (elm)
 						this.execCommand("mceRemoveNode", false, elm);
 				} else {
+					if (!this.cleanup.isValid(value))
+						return true;
+
 					if (tinyMCE.isGecko && new RegExp('<(div|blockquote|code|dt|dd|dl|samp)>', 'gi').test(value))
 						value = value.replace(/[^a-z]/gi, '');
 
@@ -2915,6 +2992,7 @@
 
 				break;
 
+			case "mceSetStyleInfo":
 			case "SetStyleInfo":
 				var rng = this.getRng();
 				var sel = this.getSel();
@@ -3246,7 +3324,7 @@
 			break;
 
 			case "mceSetCSSClass":
-				this.execCommand("SetStyleInfo", false, {command : "setattrib", name : "class", value : value});
+				this.execCommand("mceSetStyleInfo", false, {command : "setattrib", name : "class", value : value});
 			break;
 
 			case "mceInsertRawHTML":
@@ -3478,6 +3556,7 @@
 				}
 				break;
 
+			case "RemoveFormat":
 			case "removeformat":
 				var text = this.selection.getSelectedText();
 
@@ -3494,11 +3573,11 @@
 						// Do nothing
 					}
 
-					this.execCommand("SetStyleInfo", false, {command : "removeformat"});
+					this.execCommand("mceSetStyleInfo", false, {command : "removeformat"});
 				} else {
 					this.getDoc().execCommand(command, user_interface, value);
 
-					this.execCommand("SetStyleInfo", false, {command : "removeformat"});
+					this.execCommand("mceSetStyleInfo", false, {command : "removeformat"});
 				}
 
 				// Remove class
@@ -3641,6 +3720,7 @@
 				hc = '<textarea wrap="off" id="' + form_element_name + '" name="' + form_element_name + '" cols="100" rows="15"></textarea>';
 			} else {
 				hc = '<input type="hidden" id="' + form_element_name + '" name="' + form_element_name + '" />';
+				this.oldTargetDisplay = tinyMCE.getStyle(this.oldTargetElement, 'display', 'inline');
 				this.oldTargetElement.style.display = "none";
 			}
 
@@ -3666,8 +3746,10 @@
 			// Just hide the textarea element
 			this.oldTargetElement = replace_element;
 
-			if (!tinyMCE.settings['debug'])
+			if (!tinyMCE.settings['debug']) {
+				this.oldTargetDisplay = tinyMCE.getStyle(this.oldTargetElement, 'display', 'inline');
 				this.oldTargetElement.style.display = "none";
+			}
 
 			// Output HTML and set editable
 			if (tinyMCE.isGecko) {
@@ -3741,6 +3823,10 @@
 		if (tinyMCE.isIE)
 			window.setTimeout("tinyMCE.addEventHandlers(tinyMCE.instances[\"" + this.editorId + "\"]);", 1);
 
+		// Setup element references
+		var parentElm = this.targetDoc.getElementById(this.editorId + '_parent');
+		this.formElement = tinyMCE.isGecko ? parentElm.previousSibling : parentElm.nextSibling;
+
 		tinyMCE.setupContent(this.editorId, true);
 
 		return true;
@@ -3997,6 +4083,8 @@
 			if (tinyMCE.getParam("force_hex_style_colors"))
 				val = tinyMCE.convertRGBToHex(val, true);
 
+			val = val.replace(/\"/g, '\'');
+
 			if (val != "url('')")
 				str += key.toLowerCase() + ": " + val + "; ";
 		}
@@ -4043,12 +4131,12 @@
 TinyMCE_Engine.prototype.convertSpansToFonts = function(doc) {
 	var sizes = tinyMCE.getParam('font_size_style_values').replace(/\s+/, '').split(',');
 
-	var h = doc.body.innerHTML;
+	/*var h = doc.body.innerHTML;
 	h = h.replace(/<span/gi, '<font');
 	h = h.replace(/<\/span/gi, '</font');
-	tinyMCE.setInnerHTML(doc.body, h);
+	tinyMCE.setInnerHTML(doc.body, h);*/
 
-	var s = doc.getElementsByTagName("font");
+	var s = tinyMCE.selectElements(doc, 'span,font');
 	for (var i=0; i<s.length; i++) {
 		var size = tinyMCE.trim(s[i].style.fontSize).toLowerCase();
 		var fSize = 0;
@@ -4082,10 +4170,10 @@
 TinyMCE_Engine.prototype.convertFontsToSpans = function(doc) {
 	var sizes = tinyMCE.getParam('font_size_style_values').replace(/\s+/, '').split(',');
 
-	var h = doc.body.innerHTML;
+/*	var h = doc.body.innerHTML;
 	h = h.replace(/<font/gi, '<span');
 	h = h.replace(/<\/font/gi, '</span');
-	tinyMCE.setInnerHTML(doc.body, h);
+	tinyMCE.setInnerHTML(doc.body, h);*/
 
 	var fsClasses = tinyMCE.getParam('font_size_classes');
 	if (fsClasses != '')
@@ -4093,7 +4181,7 @@
 	else
 		fsClasses = null;
 
-	var s = doc.getElementsByTagName("span");
+	var s = tinyMCE.selectElements(doc, 'span,font');
 	for (var i=0; i<s.length; i++) {
 		var fSize, fFace, fColor;
 
@@ -4182,7 +4270,7 @@
 	for (i=0; i<nl.length; i++) {
 		n = nl[i];
 
-		if ((p = tinyMCE.getParentElement(n, 'p,div,h1,h2,h3,h4,h5,h6')) != null) {
+		if ((p = tinyMCE.getParentElement(n, 'p,h1,h2,h3,h4,h5,h6')) != null) {
 			np = p.cloneNode(false);
 			np.removeAttribute('id');
 
@@ -4380,6 +4468,8 @@
 
 		this.fillStr = s.entity_encoding == "named" ? "&nbsp;" : "&#160;";
 		this.idCount = 0;
+		this.xmlEncodeRe = new RegExp('[\u007F-\uFFFF<>&"]', 'g');
+		this.xmlEncodeAposRe = new RegExp('[\u007F-\uFFFF<>&"\']', 'g');
 	},
 
 	addRuleStr : function(s) {
@@ -4404,6 +4494,10 @@
 	isValid : function(n) {
 		this._setupRules(); // Will initialize cleanup rules
 
+		// Empty is true since it removes formatting
+		if (!n)
+			return true;
+
 		// Clean the name up a bit
 		n = n.replace(/[^a-z0-9]+/gi, '').toUpperCase();
 
@@ -4606,7 +4700,7 @@
 	_convertToXML : function(n, xn) {
 		var xd, el, i, l, cn, at, no, hc = false;
 
-		if (this._isDuplicate(n))
+		if (tinyMCE.isRealIE && this._isDuplicate(n))
 			return;
 
 		xd = this.xmlDoc;
@@ -4649,11 +4743,11 @@
 	},
 
 	serializeNodeAsHTML : function(n, inn) {
-		var en, no, h = '', i, l, t, st, r, cn, va = false, f = false, at, hc, cr;
+		var en, no, h = '', i, l, t, st, r, cn, va = false, f = false, at, hc, cr, nn;
 
 		this._setupRules(); // Will initialize cleanup rules
 
-		if (this._isDuplicate(n))
+		if (tinyMCE.isRealIE && this._isDuplicate(n))
 			return '';
 
 		// Skip non valid child elements
@@ -4677,21 +4771,34 @@
 				if ((tinyMCE.isRealIE) && n.nodeName.indexOf('/') != -1)
 					break;
 
-				if (this.vElementsRe.test(n.nodeName) && (!this.iveRe || !this.iveRe.test(n.nodeName)) && !inn) {
+				nn = n.nodeName;
+
+				// Convert fonts to spans
+				if (this.settings.convert_fonts_to_spans) {
+					// On get content FONT -> SPAN
+					if (this.settings.on_save && nn == 'FONT')
+						nn = 'SPAN';
+
+					// On insert content SPAN -> FONT
+					if (!this.settings.on_save && nn == 'SPAN')
+						nn = 'FONT';
+				}
+
+				if (this.vElementsRe.test(nn) && (!this.iveRe || !this.iveRe.test(nn)) && !inn) {
 					va = true;
 
-					r = this.rules[n.nodeName];
+					r = this.rules[nn];
 					if (!r) {
 						at = this.rules;
 						for (no in at) {
-							if (at[no] && at[no].validRe.test(n.nodeName)) {
+							if (at[no] && at[no].validRe.test(nn)) {
 								r = at[no];
 								break;
 							}
 						}
 					}
 
-					en = r.isWild ? n.nodeName.toLowerCase() : r.oTagName;
+					en = r.isWild ? nn.toLowerCase() : r.oTagName;
 					f = r.fill;
 
 					if (r.removeEmpty && !hc)
@@ -4728,13 +4835,13 @@
 						t = null;
 
 					// Close these
-					if (t != null && this.closeElementsRe.test(n.nodeName))
+					if (t != null && this.closeElementsRe.test(nn))
 						return t + ' />';
 
 					if (t != null)
 						h += t + '>';
 
-					if (this.isIE && this.codeElementsRe.test(n.nodeName))
+					if (this.isIE && this.codeElementsRe.test(nn))
 						h += n.innerHTML;
 				}
 			break;
@@ -4795,8 +4902,8 @@
 		if (r.forceAttribs && (t = r.forceAttribs[an]))
 			av = t;
 
-		if (os && av.length != 0 && this.settings.url_converter.length != 0 && /^(src|href|longdesc)$/.test(an))
-			av = eval(this.settings.url_converter + '(this, n, av)');
+		if (os && av.length != 0 && /^(src|href|longdesc)$/.test(an))
+			av = this._urlConverter(this, n, av);
 
 		if (av.length != 0 && r.validAttribValues && r.validAttribValues[an] && !r.validAttribValues[an].test(av))
 			return "";
@@ -4806,7 +4913,7 @@
 
 		if (av.length != 0) {
 			if (an.indexOf('on') != 0)
-				av = this.xmlEncode(av);
+				av = this.xmlEncode(av, 1);
 
 			return " " + an + "=" + '"' + av + '"';
 		}
@@ -4852,24 +4959,24 @@
 		return o;
 	},
 
-	xmlEncode : function(s) {
-		var cl = this;
+	xmlEncode : function(s, skip_apos) {
+		var cl = this, re = !skip_apos ? this.xmlEncodeAposRe : this.xmlEncodeRe;
 
 		this._setupEntities(); // Will intialize lookup table
 
 		switch (this.settings.entity_encoding) {
 			case "raw":
-				return tinyMCE.xmlEncode(s);
+				return tinyMCE.xmlEncode(s, skip_apos);
 
 			case "named":
-				return s.replace(new RegExp('[\u007F-\uFFFF<>&"\']', 'g'), function (c, b) {
+				return s.replace(re, function (c, b) {
 					b = cl.entities[c.charCodeAt(0)];
 
 					return b ? '&' + b + ';' : c;
 				});
 
 			case "numeric":
-				return s.replace(new RegExp('[\u007F-\uFFFF<>&"\']', 'g'), function (c, b) {
+				return s.replace(re, function (c, b) {
 					return b ? '&#' + c.charCodeAt(0) + ';' : c;
 				});
 		}
@@ -4898,34 +5005,47 @@
 	},
 
 	_getAttrib : function(e, n, d) {
+		var v, ex, nn;
+
 		if (typeof(d) == "undefined")
 			d = "";
 
 		if (!e || e.nodeType != 1)
 			return d;
 
-		var v = e.getAttribute(n, 0);
+		try {
+			v = e.getAttribute(n, 0);
+		} catch (ex) {
+			// IE 7 may cast exception on invalid attributes
+			v = e.getAttribute(n, 2);
+		}
 
 		if (n == "class" && !v)
 			v = e.className;
 
-		if (this.isIE && n == "http-equiv")
-			v = e.httpEquiv;
+		if (this.isIE) {
+			if (n == "http-equiv")
+				v = e.httpEquiv;
 
-		if (this.isIE && e.nodeName == "FORM" && n == "enctype" && v == "application/x-www-form-urlencoded")
-			v = "";
+			nn = e.nodeName;
 
-		if (this.isIE && e.nodeName == "INPUT" && n == "size" && v == "20")
-			v = "";
+			// Skip the default values that IE returns
+			if (nn == "FORM" && n == "enctype" && v == "application/x-www-form-urlencoded")
+				v = "";
 
-		if (this.isIE && e.nodeName == "INPUT" && n == "maxlength" && v == "2147483647")
-			v = "";
+			if (nn == "INPUT" && n == "size" && v == "20")
+				v = "";
 
-		if (n == "style" && !tinyMCE.isOpera)
-			v = e.style.cssText;
+			if (nn == "INPUT" && n == "maxlength" && v == "2147483647")
+				v = "";
+		}
 
-		if (n == 'style')
+		if (n == 'style' && v) {
+			if (!tinyMCE.isOpera)
+				v = e.style.cssText;
+
 			v = tinyMCE.serializeStyle(tinyMCE.parseStyle(v));
+		}
 
 		if (this.settings.on_save && n.indexOf('on') != -1 && this.settings.on_save && v && v != "")
 			v = tinyMCE.cleanupEventStr(v);
@@ -4936,9 +5056,13 @@
 	_urlConverter : function(c, n, v) {
 		if (!c.settings.on_save)
 			return tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings.base_href, v);
-		else if (tinyMCE.getParam('convert_urls'))
-			return eval(tinyMCE.settings.urlconverter_callback + "(v, n, true);");
+		else if (tinyMCE.getParam('convert_urls')) {
+			if (!this.urlConverter)
+				this.urlConverter = eval(tinyMCE.settings.urlconverter_callback);
 
+			return this.urlConverter(v, n, true);
+		}
+
 		return v;
 	},
 
@@ -5099,9 +5223,10 @@
 
 	// Convert all strong/em to b/i in Gecko
 	if (tinyMCE.isGecko) {
-		h = h.replace(/<strong/gi, '<b');
-		h = h.replace(/<em(\/?)/gi, '<i');
-		h = h.replace(/<em /gi, '<i');
+		h = h.replace(/<embed([^>]*)>/gi, '<tmpembed$1>');
+		h = h.replace(/<em([^>]*)>/gi, '<i$1>');
+		h = h.replace(/<tmpembed([^>]*)>/gi, '<embed$1>');
+		h = h.replace(/<strong([^>]*)>/gi, '<b$1>');
 		h = h.replace(/<\/strong>/gi, '</b>');
 		h = h.replace(/<\/em>/gi, '</i>');
 	}
@@ -5225,7 +5350,12 @@
 	if (!elm || elm.nodeType != 1)
 		return dv;
 
-	v = elm.getAttribute(name);
+	try {
+		v = elm.getAttribute(name, 0);
+	} catch (ex) {
+		// IE 7 may cast exception on invalid attributes
+		v = elm.getAttribute(name, 2);
+	}
 
 	// Try className for class attrib
 	if (name == "class" && !v)
@@ -5411,6 +5541,32 @@
 	};
 };
 
+TinyMCE_Engine.prototype.getStyle = function(n, na, d) {
+	if (!n)
+		return false;
+
+	// Gecko
+	if (tinyMCE.isGecko && n.ownerDocument.defaultView) {
+		try {
+			return n.ownerDocument.defaultView.getComputedStyle(n, null).getPropertyValue(na);
+		} catch (n) {
+			// Old safari might fail
+			return null;
+		}
+	}
+
+	// Camelcase it, if needed
+	na = na.replace(/-(\D)/g, function(a, b){
+		return b.toUpperCase();
+	});
+
+	// IE & Opera
+	if (n.currentStyle)
+		return n.currentStyle[na];
+
+	return false;
+};
+
 /* file:jscripts/tiny_mce/classes/TinyMCE_URL.class.js */
 
 TinyMCE_Engine.prototype.parseURL = function(url_str) {
@@ -5876,7 +6032,12 @@
 		for (i=0; i<ot.length; i++)
 			f(doc, ot[i], tinyMCE.handleEvent);
 
-		eval('try { doc.designMode = "On"; } catch(e) {}'); // Force designmode
+		// Force designmode
+		try {
+			doc.designMode = "On";
+		} catch (e) {
+			// Ignore
+		}
 	}
 };
 
@@ -6047,8 +6208,8 @@
 		h = tinyMCE._cleanupHTML(inst, inst.contentDocument, inst.settings, e, e, false, true, false);
 
 		// When editing always use fonts internaly
-		if (tinyMCE.getParam("convert_fonts_to_spans"))
-			tinyMCE.convertSpansToFonts(inst.getDoc());
+		//if (tinyMCE.getParam("convert_fonts_to_spans"))
+		//	tinyMCE.convertSpansToFonts(inst.getDoc());
 
 		return h;
 	},
@@ -6251,6 +6412,9 @@
 		}
 
 		if (tinyMCE.isGecko || tinyMCE.isOpera) {
+			if (!sel)
+				return false;
+
 			if (bookmark.rng) {
 				sel.removeAllRanges();
 				sel.addRange(bookmark.rng);
@@ -6462,9 +6626,35 @@
 		if (tinyMCE.isSafari && !s.getRangeAt)
 			return '' + window.getSelection();
 
-		return s.getRangeAt(0);
+		if (s.rangeCount > 0)
+			return s.getRangeAt(0);
+
+		return null;
 	},
 
+	isCollapsed : function() {
+		var r = this.getRng();
+
+		if (r.item)
+			return false;
+
+		return r.boundingWidth == 0 || this.getSel().isCollapsed;
+	},
+
+	collapse : function(b) {
+		var r = this.getRng(), s = this.getSel();
+
+		if (r.select) {
+			r.collapse(b);
+			r.select();
+		} else {
+			if (b)
+				s.collapseToStart();
+			else
+				s.collapseToEnd();
+		}
+	},
+
 	getFocusElement : function() {
 		var inst = this.instance, doc, rng, sel, elm;
 
@@ -7006,13 +7196,21 @@
 	},
 
 	show : function() {
-		this.getElement().style.display = 'block';
-		this.updateBlocker();
+		var el = this.getElement();
+
+		if (el) {
+			el.style.display = 'block';
+			this.updateBlocker();
+		}
 	},
 
 	hide : function() {
-		this.getElement().style.display = 'none';
-		this.updateBlocker();
+		var el = this.getElement();
+
+		if (el) {
+			el.style.display = 'none';
+			this.updateBlocker();
+		}
 	},
 
 	isVisible : function() {
@@ -7117,6 +7315,16 @@
 			return 0;
 
 		return parseInt(s);
+	},
+
+	remove : function() {
+		var e = this.getElement(), b = this.getBlocker();
+
+		if (e)
+			e.parentNode.removeChild(e);
+
+		if (b)
+			b.parentNode.removeChild(b);
 	}
 
 	};
@@ -7208,7 +7416,7 @@
 					break;
 
 				default:
-					h += '<tr><td><a href="#" onclick="return tinyMCE.cancelEvent(event);" onmousedown="return tinyMCE.cancelEvent(event);" onmouseup="' + tinyMCE.xmlEncode(m[i].js) + ';return tinyMCE.cancelEvent(event);"><span' + c +'>' + t + '</span></a>';
+					h += '<tr><td><a href="' + tinyMCE.xmlEncode(m[i].js) + '" onmousedown="' + tinyMCE.xmlEncode(m[i].js) + ';return tinyMCE.cancelEvent(event);" onclick="return tinyMCE.cancelEvent(event);" onmouseup="return tinyMCE.cancelEvent(event);"><span' + c +'>' + t + '</span></a>';
 			}
 
 			h += '</td></tr>';

Modified: plog/trunk/js/ui/forms.js
===================================================================
--- plog/trunk/js/ui/forms.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/ui/forms.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,4 +1,65 @@
+/********
+ * Lifetype.Forms namespace 
+ *
+ * Includes all functions related to forms, form validation, lists, etc.
+ ***************/
+
+Lifetype.Forms = function() {}
+
+Lifetype.Forms.List = function() {}
+
+/**
+ * @static
+ * Removes the selected items from the list
+ * @param elem The id of an HTML object
+ */
+Lifetype.Forms.List.removeSelected = function( elem )
+{
+	list = document.getElementById( elem );
+	
+	for( i = 0; i < list.options.length; i++ ) {
+		if( list.options[i].selected ) {
+			// the element is selected, remove it
+			list.remove( i );
+		}
+	}
+}
+
+/**
+ * @static
+ * Removes al elements from a list
+ * @param elem The id of an HTML object
+ */
+Lifetype.Forms.List.removeAll = function( elem )
+{
+	list = document.getElementById( elem );
+
+	for( i = 0; i < list.options.length; i++ ) {
+		list.remove( i );
+	}
+}
+
+/**
+ * @static
+ * Selects all elements from a list
+ * @param elem The id of an HTML object
+ */
+Lifetype.Forms.List.selectAll = function( elem )
+{
+	list = document.getElementById( elem );
+
+	for( i = 0; i < list.options.length; i++ ) {
+		list.options[i].selected = true;
+	}
+}
+
+
 //
+// :TODO:
+// Move the functions above to the Lifetype.Forms.List namespace
+//
+
+//
 // counter to keep track of how many elements we have!
 //
 var numFields = 2;

Modified: plog/trunk/js/ui/plogui.js
===================================================================
--- plog/trunk/js/ui/plogui.js	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/js/ui/plogui.js	2007-03-22 13:18:28 UTC (rev 5156)
@@ -15,30 +15,6 @@
 /**
  * this function is the one called when clicking the "add category" button
  */
-function switchOptionPanel()
-{
-	if ( $('optionPanel').style.display == 'none' )
-	{
-		startWidth = $('mainPanel').offsetWidth;
-		new Rico.Effect.Size( $('mainPanel'), 489, null, 500, 10, {
-			complete:function() { 
-				Element.show($('optionPanel'));
-				$('optionIconLink').innerHTML = msgHideOptionPanel;
-				$('optionIconLink').title = msgHideOptionPanel;
-			}} );
-	}
-	else
-	{
-		Element.hide($('optionPanel'));
-		startWidth = $('mainPanel').offsetWidth;
-		new Rico.Effect.Size( $('mainPanel'), 660, null, 500, 10, {
-			complete:function() { 
-				$('optionIconLink').innerHTML = msgShowOptionPanel;
-				$('optionIconLink').title = msgShowOptionPanel;
-			}} );
-	}
-}
-
 //
 // declaration of the namespaces
 //
@@ -140,6 +116,26 @@
 	document.getElementById("links").submit();
 }
 
+function submitBlogsList(op)
+{
+	if ( document.getElementById("blogStatus").value == -1 )
+		window.alert(errorStatusMsg);
+	else {
+		document.getElementById("editBlogs").op.value = op;
+		document.getElementById("editBlogs").submit();
+	}
+}
+
+function submitUsersList(op)
+{
+	if ( document.getElementById("userStatus").value == -1 )
+		window.alert(errorStatusMsg);
+	else {
+		document.getElementById("siteUsers").op.value = op;
+		document.getElementById("siteUsers").submit();
+	}
+}
+
 function switchMassiveOption()
 {
 	if ( $('massiveChangeOption').style.display == 'none' )

Modified: plog/trunk/locale/admin/locale_ca_ES.php
===================================================================
--- plog/trunk/locale/admin/locale_ca_ES.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/locale/admin/locale_ca_ES.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -417,7 +417,6 @@
 $messages['user_picture_help'] = 'Selecciona una imatge de les que has pujat i serà la teva imatge personal';
 $messages['error_invalid_password'] = 'La contrasenya no és correcta. Assegura\'t que no sigui massa curta';
 $messages['error_passwords_dont_match'] = 'Perdona, però les contrasenyes no coincideixen';
-$messages['error_incorrect_email_address'] = 'L\'adreça de correu electrònic no és correcta';
 $messages['error_updating_user_settings'] = 'S\'ha produït un error en actualitzar les teves preferències. Comprova les dades i prova-ho de nou';
 $messages['user_settings_updated_ok'] = 'Preferències d\'usuari actualitzades correctament';
 
@@ -433,7 +432,7 @@
 $messages['error_removing_user_from_blog2'] = 'S\'ha produït un error en esborrar l\'usuari que té identificador "%s" d\'aquest bloc';
 
 // new blog user
-$messages['new_blog_username_help'] = 'Nom de l\'usuari que vols que tingui accés al bloc. Els usuaris nous només tindràn accés a les àrees "Gestiona" i " Centre de Recursos".';
+$messages['new_blog_username_help'] = 'Nom de l\'usuari que vols que tingui accés al bloc.';
 $messages['send_notification'] = 'Envia notificació';
 $messages['send_user_notification_help'] = 'Envia un correu electrònic de notificació a l\'usuari';
 $messages['notification_text'] = 'text de notificació';
@@ -1108,7 +1107,6 @@
 $messages['help_blog_does_not_exist_url'] = 'Adreça (URL) a la qual es redirigiran els usuaris quan intentin accedir a un bloc que no existeix, en comptes de ser redirigits al bloc configurat com a bloc predeterminat del servei [ Valor predeterminat = Cap ]';
 
 $messages['error_invalid_blog_name'] = 'El nom del bloc no és vàlid';
-$messages['bookmark_it_to_lifetype'] = 'Afegeix com a favorit a LifeType!';
 
 /* strings for /default/ templates */
 $messages['form_authenticated'] = 'Autenticat';
@@ -1160,4 +1158,20 @@
 $messages['error_plugins_disabled'] = 'Plugins han estat desactivats en aquest lloc.';
 $messages['help_allow_php_code_in_templates'] = 'Permet incloure codi PHP a les plantilles d\'usuari mitjançant els tags {php}...{/php} [Valor per defecte = No]';
 $messages['logout_destination_url'] = 'Adreça web on els usuaris seràn enviats quan premin el botó "Sortir" a la interfície d\'administració, com per exemple la pàgina principal d\'aquest servei [ Valor per defecte = res ]';
+
+$messages['error_resources_disabled'] = 'El suport per a afegir nous fitxers al seu bloc ha estat desactivat en aquest lloc web';
+
+$messages['help_login_admin_panel'] = 'Faci clic sobre el nom del bloc per a administrar-lo';
+
+$messages['blog_updated_ok'] = 'El bloc "%s" ha estat modificat correctament.';
+$messages['blogs_updated_ok'] = '%s blocs han estat modificats correctament.';
+$messages['error_updating_blog2'] = 'S\'ha produït un error modificat el bloc amb identificador "%s"';
+$messages['error_updating_blog'] = 'S\'ha produït un error modificat el bloc "%s"';
+
+$messages['error_updating_user'] = 'S\'ha produït un error modificat l\'usuari "%s".';
+$messages['user_updated_ok'] = 'L\'usuari "%s" ha estat modificat correctament.';
+$messages['users_updated_ok'] = '%s usuaris han estat correctament modificats';
+$messages['eror_updating_user2'] = 'S\'ha produït un error actualitzant l\'usuari amb identificador "%s"';
+
+$messages['error_select_status'] = 'Esculli un estat vàlid';
 ?>
\ No newline at end of file

Copied: plog/trunk/locale/admin/locale_de_DE.php (from rev 5155, plog/branches/lifetype-1.2/locale/admin/locale_de_DE.php)
===================================================================
--- plog/trunk/locale/admin/locale_de_DE.php	                        (rev 0)
+++ plog/trunk/locale/admin/locale_de_DE.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,1163 @@
+<?php
+
+/////////////////                                          //////////////////
+///////////////// STRINGS FOR THE ADMINISTRATION INTERFACE //////////////////
+/////////////////                                          //////////////////
+
+// login page
+$messages['login'] = 'Login';
+$messages['welcome_message'] = 'Willkommen bei LifeType';
+$messages['error_incorrect_username_or_password'] = 'Sie haben einen ung&uuml;ltigen Benutzernamen oder ein ung&uuml;ltiges Kennwort eingegeben. Achten Sie auch auf korrekte Gro&szlig;- und Kleinschreibung.';
+$messages['error_dont_belong_to_any_blog'] = 'Entschuldigung, f&uuml;r Sie ist noch kein Weblog freigeschaltet.';
+$messages['logout_message'] = 'Sie sind erfolgreich abgemeldet worden.';
+$messages['logout_message_2'] = 'Klicken Sie <a href="%1$s">hier</a> um zu "%2$s" zu gelangen.';
+$messages['error_access_forbidden'] = 'Der Zugang ist gesch&uuml;tzt, Sie m&uuml;ssen sich erst <a href="admin.php">anmelden</a>.';
+$messages['username'] = 'Benutzername';
+$messages['password'] = 'Kennwort';
+
+// dashboard
+$messages['dashboard'] = '&Uuml;bersicht';
+$messages['recent_articles'] = 'aktuelle Artikel';
+$messages['recent_comments'] = 'aktuelle Kommentare';
+$messages['recent_trackbacks'] = 'aktuelle Trackbacks';
+$messages['blog_statistics'] = 'Blog Statistik';
+$messages['total_posts'] = 'Artikel insgesamt';
+$messages['total_comments'] = 'Kommentare insgesamt';
+$messages['total_trackbacks'] = 'Trackbacks insgesamt';
+$messages['total_viewed'] = 'insgesamt gelesene Artikel';
+$messages['in'] = 'In';
+
+// menu options
+$messages['newPost'] = 'Neuer Artikel';
+$messages['Manage'] = 'Verwalten';
+$messages['managePosts'] = 'Artikel verwalten';
+$messages['editPosts'] = 'Artikel';
+$messages['editArticleCategories'] = 'Kategorien';
+$messages['newArticleCategory'] = 'Neue Kategorie';
+$messages['manageLinks'] = 'Links verwalten';
+$messages['editLinks'] = 'Links';
+$messages['newLink'] = 'Neuer Link';
+$messages['editLink'] = 'Link bearbeiten';
+$messages['editLinkCategories'] = 'Link Kategorien';
+$messages['newLinkCategory'] = 'Neue Linkkategorie';
+$messages['editLinkCategory'] = 'Linkkategorie bearbeiten';
+$messages['manageCustomFields'] = 'Benutzerdefinierte Felder verwalten';
+$messages['blogCustomFields'] = 'Benutzerdefinierte Felder';
+$messages['newCustomField'] = 'Neues benutzerdefiniertes Feld';
+$messages['resourceCenter'] = 'Ressourcen';
+$messages['resources'] = 'Resourcen';
+$messages['newResourceAlbum'] = 'Neues Album';
+$messages['newResource'] = 'Neue Ressource';
+$messages['controlCenter'] = 'Kontrollzentrum';
+$messages['manageSettings'] = 'Einstellungen';
+$messages['blogSettings'] = 'Blogeinstellungen';
+$messages['userSettings'] = 'Benutzereinstellungen';
+$messages['pluginCenter'] = 'Pluginzentrum';
+$messages['Stats'] = 'Statistiken';
+$messages['manageBlogUsers'] = 'Blogbenutzer verwalten';
+$messages['newBlogUser'] = 'Neuer Blogbenutzer';
+$messages['showBlogUsers'] = 'Blogbenutzer';
+$messages['manageBlogTemplates'] = 'Blogtemplates';
+$messages['newBlogTemplate'] = 'Neues Blogtemplate';
+$messages['blogTemplates'] = 'Blogtemplates';
+$messages['adminSettings'] = 'Administration';
+$messages['Users'] = 'Benutzer';
+$messages['createUser'] = 'Benutzer erstellen';
+$messages['editSiteUsers'] = 'Benutzer';
+$messages['Blogs'] = 'Blogs verwalten';
+$messages['createBlog'] = 'Blog erstellen';
+$messages['editSiteBlogs'] = 'Blogs';
+$messages['Locales'] = 'Sprachdateien verwalten';
+$messages['newLocale'] = 'Neue Sprachdatei';
+$messages['siteLocales'] = 'Sprachdateien';
+$messages['Templates'] = 'Templates verwalten';
+$messages['newTemplate'] = 'Neues Template';
+$messages['siteTemplates'] = 'Templates';
+$messages['GlobalSettings'] = 'Globale Einstellungen';
+$messages['editSiteSettings'] = 'globale Einstellungen verwalten';
+$messages['summarySettings'] = '&Uuml;bersicht Einstellungen';
+$messages['templateSettings'] = 'Templates';
+$messages['urlSettings'] = 'URLs';
+$messages['emailSettings'] = 'E-Mail';
+$messages['uploadSettings'] = 'Uploads';
+$messages['helpersSettings'] = 'Externe Tools';
+$messages['interfacesSettings'] = 'Interfaces';
+$messages['securitySettings'] = 'Sicherheit';
+$messages['bayesianSettings'] = 'Bayes\'scher Filter';
+$messages['resourcesSettings'] = 'Ressourcen';
+$messages['searchSettings'] = 'Suche';
+$messages['cleanUpSection'] = 'Aufr&auml;umen';
+$messages['cleanUp'] = 'aufr&auml;umen';
+$messages['editResourceAlbum'] = 'Album editiern';
+$messages['resourceInfo'] = 'Ressource editieren';
+$messages['editBlog'] = 'Blog editieren';
+$messages['Logout'] = 'Logout';
+
+// new post
+$messages['topic'] = '&Uuml;berschrift';
+$messages['topic_help'] = '&Uuml;berschrift des Artikels';
+$messages['text'] = 'Text';
+$messages['text_help'] = 'Text des Artikels. Dieser Text wird auf der Startseite angezeigt';
+$messages['extended_text'] = 'Erweiteter Text';
+$messages['extended_text_help'] = 'Erweiterter Text des Artikels. Dieser Text wird in der Detailansicht, falls aktivert, angezeigt. In den Blogeinstellungen finden Sie n&auml;here Informationen.';
+$messages['trackback_urls'] = 'Trackback-URLs';
+$messages['trackback_urls_help'] = 'F&uuml;gen Sie hier die Adressen ein, zu denen ein Trackback angelegt werden soll.';
+$messages['post_slug'] = 'Slug';
+$messages['post_slug_help'] = 'Der Slug wird verwendet, um dauerhafte Links zu erstellen.';
+$messages['date'] = 'Datum';
+$messages['post_date_help'] = 'Datum der Artikelver&ouml;ffentlichung.';
+$messages['status'] = 'Status';
+$messages['post_status_help'] = 'W&auml;hlen Sie, ob der Artikel direkt ver&ouml;ffentlicht, als Entwurf gespeichert oder gel&ouml;scht werden soll.';
+$messages['post_status_published'] = 'ver&ouml;ffentlicht';
+$messages['post_status_draft'] = 'Entwurf';
+$messages['post_status_deleted'] = 'gel&ouml;scht';
+$messages['post_categories_help'] = 'W&auml;hlen Sie, in welche Kategorien der Artikel eingeordnet werden soll. Mithilfe der <Strg> Taste k&ouml;nnen Sie mehrere Kategorien gleichzeitig ausw&auml;hlen.';
+$messages['post_comments_enabled_help'] = 'Kommentare erlauben';
+$messages['send_notification_help'] = 'Benachrichtigung bei neuen Kommentaren';
+$messages['send_trackback_pings_help'] = 'Trackbacks verschicken';
+$messages['send_xmlrpc_pings_help'] = 'XMLRPC Pings verschicken';
+$messages['save_draft_and_continue'] = 'Entwurf speichern';
+$messages['preview'] = 'Vorschau';
+$messages['add_post'] = 'eintragen';
+$messages['error_saving_draft'] = 'Beim Speichern des Entwurfs trat ein Fehler auf.';
+$messages['draft_saved_ok'] = 'Der Entwurf wurde erfolgreich gespeichert.';
+$messages['error_sending_request'] = 'Beim Senden der Anfrage trat ein Fehler auf.';
+$messages['error_no_category_selected'] = 'Bitte w&auml;hlen Sie mindestens eine Kategorie.';
+$messages['error_missing_post_topic'] = 'Bitte geben Sie eine &Uuml;berschrift ein.';
+$messages['error_missing_post_text'] = 'Sie haben keinen Artikeltext eingegeben.';
+$messages['error_adding_post'] = 'Beim Speichern des Artikels trat ein Fehler auf.';
+$messages['post_added_not_published'] = 'Der Artikel wurde erfolgreich hinzugef&uuml;gt aber nicht ver&ouml;ffentlicht.';
+$messages['post_added_ok'] = 'Der Artikel wurde erfolgreich hinzugef&uuml;gt.';
+$messages['send_notifications_ok'] = 'Sie werden bei jedem neuen Kommentar oder Trackback benachrichtigt.';
+$messages['bookmarklet'] = 'Bookmarklet';
+$messages['bookmarklet_help'] = 'F&uuml;gen Sie unten stehenden Link zu Ihren Lesezeichen hinzu, um Inhalte von anderen Seiten aus jederzeit in Ihrem Blog zu ver&ouml;ffentlichen.';
+$messages['blogit_to_lifetype'] = 'Blog dar&uuml;ber in LifeType!';
+$messages['original_post'] = '(Original Post)';
+
+// send trackbacks
+$messages['error_sending_trackbacks'] = 'Beim Senden der folgenden Trackbacks ist ein Fehler aufgetreten: ';
+$messages['send_trackbacks_help'] = 'W&auml;hlen Sie die URLs, an die Sie Trackbacks senden m&ouml;chten. Stellen Sie sicher, dass die Seite Trackbacks unterst&uuml;tzt.';
+$messages['send_trackbacks'] = 'Trackbacks senden';
+$messages['ping_selected'] = 'Ping ausgew&auml;hlt';
+$messages['trackbacks_sent_ok'] = 'Die Trackbacks wurden erfolgreich an die gew&auml;hlten Adressen gesendet.';
+
+// posts page
+$messages['show_by'] = 'Ordnen nach';
+$messages['category'] = 'Kategorie';
+$messages['author'] = 'Autor';
+$messages['post_status_all'] = 'Alle';
+$messages['author_all'] = 'Alle';
+$messages['search_terms'] = 'Suchbegriffe';
+$messages['show'] = 'anzeigen';
+$messages['delete'] = 'l&ouml;schen';
+$messages['actions'] = 'Aktionen';
+$messages['all'] = 'Alle';
+$messages['category_all'] = 'Alle';
+$messages['error_incorrect_article_id'] = 'Falsche Artikel ID';
+$messages['error_deleting_article'] = 'Beim L&ouml;schen des Artikels "%s" ist ein Fehler aufgetreten.';
+$messages['article_deleted_ok'] = 'Artikel "%s" wurden erfolgreich gel&ouml;scht.';
+$messages['articles_deleted_ok'] = '%s Artikel wurden erfolgreich gel&ouml;scht.';
+$messages['error_deleting_article2'] = 'Beim L&ouml;schen des Artikels "%s" ist ein Fehler aufgetreten.';
+
+// edit post page
+$messages['update'] = 'aktualisieren';
+$messages['editPost'] = 'Artikel bearbeiten';
+$messages['error_fetching_post'] = 'Beim &Ouml;ffnen des Artikels ist ein Fehler aufgetreten.';
+$messages['post_updated_ok'] = 'Der Artikel "%s" wurde erfolgreich aktualisiert.';
+$messages['error_updating_post'] = 'Beim Aktualisieren des Artikels ist ein Fehler aufgetreten.';
+$messages['notification_added'] = 'Sie werden bei neuen Kommentaren oder Trackbacks benachrichtigt.';
+$messages['notification_removed'] = 'Es werden keine Benachrichtigungen bei neuen Kommentaren oder Trackbacks versendet.';
+
+// post comments
+$messages['url'] = 'URL';
+$messages['comment_status_all'] = 'Alle';
+$messages['comment_status_spam'] = 'Spam';
+$messages['comment_status_nonspam'] = 'Kein Spam';
+$messages['error_fetching_comments'] = 'Es wurden keine Kommentare zum Artikel gefunden.';
+$messages['error_deleting_comments'] = 'Es trat ein Fehler beim L&ouml;schen des Artikels auf oder es wurde kein Artikel ausgew&auml;hlt.';
+$messages['comment_deleted_ok'] = 'Kommentar "%s" wurde erfolgreich gel&ouml;scht.';
+$messages['comments_deleted_ok'] = '%s Kommentare wurden erfolgreich gel&ouml;scht.';
+$messages['error_deleting_comment'] = 'Beim L&ouml;schen des Kommentars "%s" ist ein Fehler aufgetreten.';
+$messages['error_deleting_comment2'] = 'Es gab einen Fehler beim L&ouml;schen des Kommentars "%s".';
+$messages['editComments'] = 'Kommentare';
+$messages['mark_as_spam'] = 'Als Spam markieren';
+$messages['mark_as_no_spam'] = 'Als "kein Spam" markieren';
+$messages['error_incorrect_comment_id'] = 'Es existiert kein Kommentar mit dieser ID.';
+$messages['error_marking_comment_as_spam'] = 'Beim Markieren des Kommentars als Spam trat ein Fehler auf.';
+$messages['comment_marked_as_spam_ok'] = 'Der Kommentar wurde erfolgreich als Spam markiert.';
+$messages['error_marking_comment_as_nonspam'] = 'Beim Markieren des Kommentars als "kein Spam" trat ein Fehler auf.';
+$messages['comment_marked_as_nonspam_ok'] = 'Der Kommentar wurde erfolgreich als "kein Spam" markiert.';
+
+// post trackbacks
+$messages['blog'] = 'Blog';
+$messages['excerpt'] = 'Auszug';
+$messages['error_fetching_trackbacks'] = 'Beim Abrufen der Trackbacks ist ein Fehler aufgetreten.';
+$messages['error_deleting_trackbacks'] = 'Beim L&ouml;schen der Trackbacks ist ein Fehler aufgetreten.';
+$messages['error_deleting_trackback'] = 'Beim L&ouml;schen des Trackbacks "%s" ist ein Fehler aufgetreten.';
+$messages['error_deleting_trackback2'] = 'Beim L&ouml;schen des Trackbacks mit der ID "%s" ist ein Fehler aufgetreten.';
+$messages['trackback_deleted_ok'] = 'Trackback "%s" wurde erfolgreich gel&ouml;scht.';
+$messages['trackbacks_deleted_ok'] = '%s Trackbacks wurden erfolgreich gel&ouml;scht.';
+$messages['editTrackbacks'] = 'Trackbacks';
+
+// post statistics
+$messages['referrer'] = 'Referrer';
+$messages['hits'] = 'Aufrufe';
+$messages['error_no_items_selected'] = 'Es wurde nichts zum L&ouml;schen ausgew&auml;hlt.';
+$messages['error_deleting_referrer'] = 'Beim L&ouml;schen des Referrers "%s" ist ein Fehler aufgetreten.';
+$messages['error_deleting_referrer2'] = 'Beim L&ouml;schen des Referrers mit der ID "%s" ist ein Fehler aufgetreten.';
+$messages['referrer_deleted_ok'] = 'Referrer "%s" wurde erfolgreich gel&ouml;scht.';
+$messages['referrers_deleted_ok'] = '%s Referrer wurden erfolgreich gel&ouml;scht.';
+
+// categories
+$messages['posts'] = 'Artikel';
+$messages['show_in_main_page'] = 'Auf der &Uuml;bersichtsseite anzeigen.';
+$messages['error_category_has_articles'] = 'Der Kategorie "%s" sind noch Artikel zugeordnet. Bitte &auml;ndern Sie erst die entsprechenden Artikel und versuchen Sie anschließend die Kategorie zu l&ouml;schen.';
+$messages['category_deleted_ok'] = 'Die Kategorie "%s" wurde erfolgreich gel&ouml;scht.';
+$messages['categories_deleted_ok'] = '%s Kategorien wurden erfolgreich gel&ouml;scht.';
+$messages['error_deleting_category'] = 'Beim L&ouml;schen der Kategorie "%s" ist ein Fehler aufgetreten.';
+$messages['error_deleting_category2'] = 'Beim L&ouml;schen der Kategorie mit der ID "%s" ist ein Fehler aufgetreten.';
+$messages['yes'] = 'Ja';
+$messages['no'] = 'Nein';
+
+// new category
+$messages['name'] = 'Name';
+$messages['category_name_help'] = 'Unter diesem Namen wird die Kategorie erreichbar sein.';
+$messages['description'] = 'Beschreibung';
+$messages['category_description_help'] = 'L&auml;ngere Beschreibung f&uuml;r die Kategorie.';
+$messages['show_in_main_page_help'] = 'Entscheiden Sie, ob Artikel dieser Kategorie in der &Uuml;bersicht angezeigt werden sollen, oder nur, wenn innerhalb dieser Kategorie gesucht wird.';
+$messages['error_empty_name'] = 'Sie m&uuml;ssen einen Namen f&uuml;r diese Kategorie eingeben.';
+$messages['error_empty_description'] = 'Sie m&uuml;ssen eine Beschreibung f&uuml;r diese Kategorie eingeben.';
+$messages['error_adding_article_category'] = 'Beim Anlegen der Kategorie ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
+$messages['category_added_ok'] = 'Die Kategorie "%s" wurde dem Blog erfolgreich hinzugef&uuml;gt.';
+$messages['add'] = 'Hinzuf&uuml;gen';
+$messages['reset'] = 'Zur&uuml;cksetzen';
+
+// update category
+$messages['error_updating_article_category'] = 'Beim Aktualisieren der Kategorie ist ein Fehler aufgetreten.';
+$messages['error_fetching_category'] = 'Beim Abrufen der Kategorie ist ein Fehler aufgetreten.';
+$messages['article_category_updated_ok'] = 'Die Kategorie "%s" wurde erfolgreich aktualisiert.';
+
+// links
+$messages['feed'] = 'Feed';
+$messages['error_no_links_selected'] = 'Es wurden keine Links ausgew&auml;hlt, oder die entsprechenden IDs sind nicht korrekt.';
+$messages['error_incorrect_link_id'] = 'Es existiert kein Link mit dieser ID.';
+$messages['error_removing_link'] = 'Beim L&ouml;schen des Links "%s" ist ein Fehler aufgetreten.';
+$messages['error_removing_link2'] = 'Beim L&ouml;schen des Links mit der ID "%s" ist ein Fehler aufgetreten.';
+$messages['link_deleted_ok'] = 'Der Link "%s" wurde erfolgreich gel&ouml;scht.';
+$messages['links_deleted_ok'] = '%s Links wurden erfolgreich gel&ouml;scht.';
+
+// new link
+$messages['link_name_help'] = 'Name des Links';
+$messages['link_url_help'] = 'URL, zu dem der Link verweist';
+$messages['link_description_help'] = 'Kurze Beschreibung des Links';
+$messages['link_feed_help'] = 'Hier k&ouml;nnen Sie einen Link zu einem RSS oder Atom Feed angeben.';
+$messages['link_category_help'] = 'W&auml;hlen Sie bitte eine der verf&uuml;gbaren Kategorien.';
+$messages['error_adding_link'] = 'Beim Hinzuf&uuml;gen des Links ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
+$messages['error_invalid_url'] = 'Der URL ist ung&uuml;ltig.';
+$messages['link_added_ok'] = 'Der Link "%s" wurde erfolgreich hinzugef&uuml;gt.';
+$messages['bookmarkit_to_lifetype'] = 'Link zu LifeType hinzuf&uuml;gen!';
+
+// update link
+$messages['error_updating_link'] = 'Beim Aktualisieren des Links ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
+$messages['error_fetching_link'] = 'Beim Aufrufen des Links ist ein Fehler aufgetreten.';
+$messages['link_updated_ok'] = 'Der Link "%s" wurde erfolgreich aktualisiert.';
+
+// link categories
+$messages['error_invalid_link_category_id'] = 'Es wurde keine Linkkategorie ausgew&auml;hlt, oder die entsprechenden IDs sind nicht korrekt.';
+$messages['error_links_in_link_category'] = 'Der Kategorie "%s" sind noch Links zugeordnet. Bitte &auml;ndern Sie erst die entsprechenden Links und versuchen Sie anschlie&szlig;end die Kategorie zu l&ouml;schen.';
+$messages['error_removing_link_category'] = 'Beim L&ouml;schen der Kategorie "%s" ist ein Fehler aufgetreten.';
+$messages['link_category_deleted_ok'] = 'Die Kategorie "%s" wurde erfolgreich gel&ouml;scht.';
+$messages['link_categories_deleted_ok'] = '%s Linkkategorie wurde erfolgreich gel&ouml;scht.';
+$messages['error_removing_link_category2'] = 'Beim L&ouml;schen der Kategorie mit der ID "%s" ist ein Fehler aufgetreten.';
+
+// new link category
+$messages['link_category_name_help'] = 'Name der Linkkategorie.';
+$messages['error_adding_link_category'] = 'Beim Hinzuf&uuml;gen der Linkkategorie "%s" ist ein Fehler aufgetreten.';
+$messages['link_category_added_ok'] = 'Die Kategorie "%s" wurde erfolgreich hinzugef&uuml;gt.';
+
+// edit link category
+$messages['error_updating_link_category'] = 'Beim Aktualisieren der Linkkategorie ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
+$messages['link_category_updated_ok'] = 'Die Kategorie "%s" wurde erfolgreich aktualisiert.';
+$messages['error_fetching_link_category'] = 'Beim Hinzuf&uuml;gen der Linkkategorie ist ein Fehler aufgetreten.';
+
+// custom fields
+$messages['type'] = 'Typ';
+$messages['hidden'] = 'versteckt';
+$messages['fields_deleted_ok'] = '%s benutzerdefinierte Felder wurden erfolgreich gel&ouml;scht.';
+$messages['field_deleted_ok'] = 'Benutzerdefiniertes Feld "%s" wurde erfolgreich gel&ouml;scht.';
+$messages['error_deleting_field'] = 'Beim L&ouml;schen des benutzerdefinierten Feldes "%s" ist ein Fehler aufgetreten.';
+$messages['error_deleting_field2'] = 'Beim L&ouml;schen des benutzerdefinierten Feldes mit der ID "%s" ist ein Fehler aufgetreten.';
+$messages['error_incorrect_field_id'] = 'Die ID des benutzerdefinierten Feldes ist ung&uuml;ltig.';
+
+// new custom field
+$messages['field_name_help'] = 'ID, die ben&ouml;tigt wird, um in Artikeln auf dieses Feld zu verweisen.';
+$messages['field_description_help'] = 'Kurze Beschreibung des Feldes, die beim Hinzuf&uuml;gen und Bearbeiten von Artikeln angezeigt wird.';
+$messages['field_type_help'] = 'W&auml;hlen Sie einen verf&uuml;gbaren Feldtyp.';
+$messages['field_hidden_help'] = 'Wenn ein Feld versteckt wird, wird es beim Hinzuf&uuml;gen oder Bearbeiten eines Artikels nicht angezeigt. Diese Funktion wird haupts&auml;chlich f&uuml;r Plugins verwendet.';
+$messages['error_adding_custom_field'] = 'Beim Hinzuf&uuml;gen des benutzerdefinierten Feldes ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
+$messages['custom_field_added_ok'] = 'Benutzerdefiniertes Feld "%s" wurde erfolgreich hinzugef&uuml;gt.';
+$messages['text_field'] = 'Textfeld';
+$messages['text_area'] = 'Textbox';
+$messages['checkbox'] = 'Checkbox';
+$messages['date_field'] = 'Datumsauswahl';
+
+// edit custom field
+$messages['error_fetching_custom_field'] = 'Beim Aufrufen des benutzerdefinierten Feldes "%s" ist ein Fehler aufgetreten.';
+$messages['error_updating_custom_field'] = 'Beim Aktualisieren des benutzerdefinierten Feldes ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
+$messages['custom_field_updated_ok'] = 'Das Benutzerdefinierte Feld "%s" wurde erfolgreich aktualisiert.';
+
+// resources
+$messages['root_album'] = 'Wurzel Album';
+$messages['num_resources'] = 'Anzahl der Ressourcen';
+$messages['total_size'] = 'Gesamtgr&ouml;&szlig;e';
+$messages['album'] = 'Album';
+$messages['error_incorrect_album_id'] = 'Die ID des Albums ist ung&uuml;ltig.';
+$messages['error_base_storage_folder_missing_or_unreadable'] = 'LifeType kann die Verzeichnise nicht erstellen, in denen die Ressourcen gespeichert werden sollen. Dies kann verschiedene Ursachen haben. Eventuell wird PHP bei Ihnen im "safe mode" ausgef&uuml;hrt, oder Sie haben nicht die erforderlichen Berechtigungen. Sie k&ouml;nnen die Operation eventuell manuell ausf&uuml;hren, indem Sie die folgenden Verzeichnise anlegen: <br/><br/>%s<br/><br/>. Wenn diese Verzeichnise bereits existieren, stellen Sie sicher, dass Lese- und Schreibzugriff vorhanden ist.';
+$messages['items_deleted_ok'] = '%s Positionen erfolgreich gel&ouml;scht.';
+$messages['error_album_has_children'] = 'Das Album "%s" konnte nicht gel&ouml;scht werden, da es Unteralben enth&auml;lt. Wenn Sie das Album wirklich l&ouml;schen m&ouml;chten, entfernen Sie zuerst die Unteralben und versuchen es anschlie&szlig;end erneut.';
+$messages['item_deleted_ok'] = 'Position "%s" erfolgreich gel&ouml;scht.';
+$messages['error_deleting_album'] = 'Beim L&ouml;schen des Albums "%s" ist ein Fehler aufgetreten.';
+$messages['error_deleting_album2'] = 'Beim L&ouml;schen des Albums mit der ID "%s" ist ein Fehler aufgetreten.';
+$messages['error_deleting_resource'] = 'Beim L&ouml;schen der Ressource "%s" ist ein Fehler aufgetreten.';
+$messages['error_deleting_resource2'] = 'Beim L&ouml;schen der Ressource mit der ID "%s" ist ein Fehler aufgetreten.';
+$messages['error_no_resources_selected'] = 'Es wurde keine Position zum L&ouml;schen ausgew&auml;hlt.';
+$messages['resource_deleted_ok'] = 'Ressource "%s" wurde erfolgreich gel&ouml;scht.';
+$messages['album_deleted_ok'] = 'Album "%s"  wurde erfolgreich gel&ouml;scht.';
+$messages['add_resource'] = 'Ressource hinzuf&uuml;gen';
+$messages['add_resource_preview'] = 'Vorschau hinzuf&uuml;gen';
+$messages['add_resource_medium'] = 'medium-Thumbnail hinzuf&uuml;gen';
+$messages['add_album'] = 'Album hinzuf&uuml;gen';
+
+// new album
+$messages['album_name_help'] = 'Kurzer Name f&uuml;r das neue Album';
+$messages['parent'] = '&Uuml;bergeordnetes Album';
+$messages['no_parent'] = 'Kein &Uuml;bergeordnetes Album';
+$messages['parent_album_help'] = 'Benutzen Sie &uuml;bergeordnete Alben, um Alben innerhalb von anderen Alben zu erstellen und Ihre Dateien besser organisieren zu k&ouml;nnen.';
+$messages['album_description_help'] = 'L&auml;ngere Beschreibung des Albums';
+$messages['error_adding_album'] = 'Beim Hinzuf&uuml;gen des Albums ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
+$messages['album_added_ok'] = 'Das Album wurde "%s" erfolgreich hinzugef&uuml;gt.';
+
+// edit album
+$messages['error_incorrect_album_id'] = 'Die ID des Albums ist ung&uuml;ltig.';
+$messages['error_fetching_album'] = 'Beim Zugriff auf das Album ist ein Fehler aufgetreten.';
+$messages['error_updating_album'] = 'Beim Aktualisieren des Albums ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
+$messages['album_updated_ok'] = 'Das Album "%s" wurde erfolgreich aktualisiert!';
+$messages['show_album_help'] = 'Wenn deaktiviert, wird das Album nicht in der Liste verf&uuml;gbarer Alben angezeigt.';
+
+// new resource
+$messages['file'] = 'Datei';
+$messages['resource_file_help'] = 'Datei, die dem aktuellem Blog hinzugef&uuml;gt wird. Benutzen Sie den "Feld hinzuf&uuml;gen" Link um mehr als eine Datei gleichzeitig hochzuladen.';
+$messages['add_field'] = 'Feld hinzuf&uuml;gen';
+$messages['resource_description_help'] = 'L&auml;ngere Beschreibung der Datei.';
+$messages['resource_album_help'] = 'W&auml;hlen Sie das Album, zu dem die Datei hinzugef&uuml;gt werden soll.';
+$messages['error_no_resource_uploaded'] = 'Es wurde keine Datei zum Hochladen ausgew&auml;hlt.';
+$messages['resource_added_ok'] = 'Ressource "%s" erfolgreich hinzugef&uuml;gt!';
+$messages['error_resource_forbidden_extension'] = 'Die Datei konnte nicht hinzugef&uuml;gt werden, da dieser Dateityp nicht erlaubt ist.';
+$messages['error_resource_too_big'] = 'Die Datei konnte nicht hinzugef&uuml;gt werden, da sie zu gro&szlig; ist.';
+$messages['error_uploads_disabled'] = 'Die M&ouml;glichkeit, Dateien hochzuladen wurde f&uuml;r diese Site deaktiviert.';
+$messages['error_quota_exceeded'] = 'Die Datei konnte nicht hinzugef&uuml;gt werden, da Sie den f&uuml;r Sie reservierten Speicherplatz &uuml;berschritten haben.';
+$messages['error_adding_resource'] = 'Beim Hinzuf&uuml;gen der Datei ist ein Fehler aufgetreten.';
+
+// edit resource
+$messages['editResource'] = 'Ressource bearbeiten';
+$messages['resource_information_help'] = 'Nachstehend finden Sie einige Informationen &uuml;ber die Ressource.';
+$messages['information'] = 'Information';
+$messages['size'] = 'Dateigr&ouml;&szlig;e';
+$messages['format'] = 'Format';
+$messages['dimensions'] = 'Gr&ouml;&szlig;e';
+$messages['bits_per_sample'] = 'Bits pro Sample';
+$messages['sample_rate'] = 'Samplerate';
+$messages['number_of_channels'] = 'Anzahl der Kan&auml;le';
+$messages['legnth'] = 'L&auml;nge';
+$messages['thumbnail_format'] = 'Thumbnail Format';
+$messages['regenerate_preview'] = 'Vorschau erneuern';
+$messages['error_fetching_resource'] = 'Beim Abrufen der Ressource ist ein Fehler aufgetreten.';
+$messages['error_updating_resource'] = 'Beim Aktualisieren der Ressource ist ein Fehler aufgetreten.';
+$messages['resource_updated_ok'] = 'Die Ressource %s wurde erfolgreich aktualisiert.';
+
+// blog settings
+$messages['blog_link'] = 'Blog Link';
+$messages['blog_link_help'] = 'Permanenter Link zu diesem Blog.';
+$messages['blog_name_help'] = 'Titel f&uuml;r dieses Blog';
+$messages['blog_description_help'] = 'L&auml;ngere Beschreibung f&uuml;r dieses Blog.';
+$messages['language'] = 'Sprache';
+$messages['blog_language_help'] = 'Sprache, in der die Texte des Blogs, sowohl auf der &ouml;ffentlichen, als auch auf der administrativen Seite, angezeigt werden.';
+$messages['max_main_page_items'] = 'Anzahl der Positionen auf der &Uuml;bersichtsseite.';
+$messages['max_main_page_items_help'] = 'Anzahl der Artikel, die immer auf der Hauptseite des Blogs angezeigt werden.';
+$messages['max_recent_items'] = 'Anzahl der aktuellen Positionen.';
+$messages['max_recent_items_help'] = 'Maximale Anzahl der Artikel, die auf der Hauptseite als aktuell angezeigt werden.';
+$messages['template'] = 'Template';
+$messages['choose'] = 'ausw&auml;hlen';
+$messages['blog_template_help'] = 'Template, welches benutzt wird, um den Inhalt des Blogs darzustellen. In der Liste k&ouml;nnen Sie zwischen allen global und den nur f&uuml;r dieses Blog installierten Templates ausw&auml;hlen.';
+$messages['use_read_more'] = '"weiter..." Link in Artikeln nutzen.';
+$messages['use_read_more_help'] = 'Wenn diese Funktion gew&auml;hlt wird, wird nur der Text, der im Text-Feld eingegeben wurde, angezeigt. Um den Text aus dem Feld Erweiteter Text anzeigen zu k&ouml;nnen, wird jedem Artikel ein "weiter..." Link hinzugef&uuml;gt.';
+$messages['enable_wysiwyg'] = 'WYSIWYG Editor aktivieren.';
+$messages['enable_wysiwyg_help'] = 'Erm&ouml;glicht das Bearbeiten der Artikel mit Hilfe eines HTML-Editors. Hierzu ist mindestens Internet Explorer 5.5 oder Mozilla 1.3 erforderlich.';
+$messages['enable_comments'] = 'Kommentare standardm&auml;&szlig;ig erlauben.';
+$messages['enable_comments_help'] = 'Erlaubt das Kommentieren von Artikeln global. Wenn diese Funktion aktiviert ist,  k&ouml;nnen Sie trotzdem f&uuml;r einzelne Artikel Kommentare verbieten.';
+$messages['show_future_posts'] = 'Zuk&uuml;nftige Artikel im Kalender anzeigen.';
+$messages['show_future_posts_help'] = 'W&auml;hlen Sie, ob Artikel mit in der Zukunft liegendem Ver&ouml;ffentlichungsdatum im Kalender angezeigt und so f&uuml;r jeden Besucher sichtbar sein sollen.';
+$messages['comments_order'] = 'Reihenfolge der Kommentare';
+$messages['comments_order_help'] = 'Reihenfolge, in der die Kommentare auf der &Uuml;bersichtsseite angezeigt werden.';
+$messages['oldest_first'] = '&auml;lteste zuerst';
+$messages['newest_first'] = 'neue zuerst';
+$messages['categories_order'] = 'Reihenfolge der Kategorien';
+$messages['categories_order_help'] = 'Reihenfolge, in der die Kategorien auf der &Uuml;bersichtsseite angezeigt werden.';
+$messages['most_recent_updated_first'] = 'zuletzt aktualisierte zuerst';
+$messages['alphabetical_order'] = 'alphabetische Reihenfolge';
+$messages['reverse_alphabetical_order'] = 'umgekehrt alphabetische Reihenfolge';
+$messages['most_articles_first'] = 'meiste Artikel zuerst';
+$messages['link_categories_order'] = 'Reihenfolge der Linkkategorie';
+$messages['link_categories_order_help'] = 'Reihenfolge, in der die Linkkategorien auf der &Uuml;bersichtsseite angezeigt werden.';
+$messages['most_links_first'] = 'meiste Links zuerst';
+$messages['most_links_last'] = 'meiste Links zuletzt';
+$messages['time_offset'] = 'Zeitabgleich';
+$messages['time_offset_help'] = 'Zeit, die zu jeder Zeit im Blog hinzugef&uuml;gt wird, um Unterschiede zur Serverzeit auszugleichen.';
+$messages['close'] = 'Schlie&szlig;en';
+$messages['select'] = 'Auswahl';
+$messages['error_updating_settings'] = 'Beim Aktualisieren der Blog-Einstellungen ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
+$messages['error_invalid_number'] = 'Die Anzahl ist nicht korrekt.';
+$messages['error_incorrect_time_offset'] = 'Die Einstellung f&uuml;r den Zeitabgleich sind ung&uuml;ltig.';
+$messages['blog_settings_updated_ok'] = 'Die Blog-Einstellungen wurden erfolgreich aktualisiert.';
+$messages['hours'] = 'Stunden';
+
+// user settings
+$messages['username_help'] = '&Ouml;ffentlicher Benutzername, der nicht ge&auml;ndert werden kann.';
+$messages['full_name'] = 'Vorname und Name';
+$messages['full_name_help'] = 'Vollst&auml;ndiger Name';
+$messages['password_help'] = 'Geben Sie das neue Kennwort ein und best&auml;tigen Sie es, oder lassen Sie die Felder frei, um das Kennwort nicht zu &auml;ndern.';
+$messages['confirm_password'] = 'Kennwort best&auml;tigen';
+$messages['email'] = 'E-Mail';
+$messages['email_help'] = 'E-Mail Addresse, an die Benachrichtigungen gesendet werden sollen.';
+$messages['bio'] = 'Bio';
+$messages['bio_help'] = 'Hier k&ouml;nnen Sie eine kurze Selbstdarstellung eingeben.';
+$messages['picture'] = 'Bild';
+$messages['user_picture_help'] = 'Bitte w&auml;hlen Sie eines der von Ihnen in dieses Blog hochgeladenen Bilder als Ihr pers&ouml;nliches Bild aus.';
+$messages['error_invalid_password'] = 'Das Kennwort ist ung&uuml;ltig. Bitte stellen Sie sicher, dass es ausreichend lang ist.';
+$messages['error_passwords_dont_match'] = 'Die Kennw&ouml;rter stimmen leider nicht &uuml;berein.';
+$messages['error_updating_user_settings'] = 'Beim Aktualisieren der Benutzer-Einstellungen ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
+$messages['user_settings_updated_ok'] = 'Die Benutzer-Einstellungen wurden erfolgreich aktualisiert.';
+$messages['resource'] = 'Ressource';
+
+// plugin centre
+$messages['identifier'] = 'ID';
+$messages['error_plugins_disabled'] = 'Plugins sind leider deaktiviert.';
+
+// blog users
+$messages['revoke_permissions'] = 'Berechtigungen entziehen';
+$messages['error_no_users_selected'] = 'Es wurde kein Benutzer ausgew&auml;hlt.';
+$messages['user_removed_from_blog_ok'] = 'Der Benutzer %s hat keine Berechtigung mehr, dieses Blog zu bearbeiten.';
+$messages['users_removed_from_blog_ok'] = '%s Benutzer haben keinen Zugang mehr zu diesem Blog.';
+$messages['error_removing_user_from_blog'] = 'Beim Entziehen der Rechte f&uuml;r dieses Blog von Benutzer %s ist ein Fehler aufgetreten.';
+$messages['error_removing_user_from_blog2'] = 'Es ist ein Fehler aufgetreten beim Entziehen der Rechte f&uuml;r dieses Blog vom Benutzer mit der ID %s.';
+
+// new blog user
+$messages['new_blog_username_help'] = 'Benutzername des Benutzers, dem Sie Zugang zu diesem Blog geben m&ouml;chten. Neue Benutzer haben lediglich Zugang zu den Einstellungen und Ressourcen.';
+$messages['send_notification'] = 'Benachrichtigung senden';
+$messages['send_user_notification_help'] = 'E-Mail Benachrichtigung an diesen Benutzer senden';
+$messages['notification_text'] = 'Benachrichtigungstext';
+$messages['notification_text_help'] = 'Dieser Text wird in die Benachrichtigung eingef&uuml;gt.';
+$messages['error_adding_user'] = 'Beim Hinzuf&uuml;gen des Benutzers ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
+$messages['error_empty_text'] = 'Sie haben keinen Text eingegeben.';
+$messages['error_adding_user'] = 'Beim Hinzuf&uuml;gen des Benutzers ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
+$messages['error_invalid_user'] = 'Die Benutzer-ID ist nicht g&uuml;ltig, oder der Benutzer existiert nicht.';
+$messages['user_added_to_blog_ok'] = 'Dem Benutzer "%s" wurde erfolgreich Zugang zu diesem Blog einger&auml;umt.';
+
+// blog templates
+$messages['error_no_templates_selected'] = 'Es wurden keine Templates ausgew&auml;hlt.';
+$messages['error_template_is_current'] = 'Template "%s" kann nicht ausgew&auml;hlt werden, da es bereits verwendet wird.';
+$messages['error_removing_template'] = 'Beim L&ouml;schen des Templates "%s" ist ein Fehler aufgetreten.';
+$messages['template_removed_ok'] = 'Template "%s" wurde erfolgreich gel&ouml;scht';
+$messages['templates_removed_ok'] = '%s Templates wurden erfolgreich gel&ouml;scht.';
+
+// new blog template
+$messages['template_installed_ok'] = 'Template "%s" wurde erfolgreich hinzugef&uuml;gt.';
+$messages['error_installing_template'] = 'Beim Installieren des Templates "%s" ist ein Fehler aufgetreten.';
+$messages['error_missing_base_files'] = 'Einige Dateien des Template Sets sind nicht vorhanden.';
+$messages['error_add_template_disabled'] = 'Es k&ouml;nnen keine Templates hinzugef&uuml;gt werden, da diese Funktion f&uuml;r diese Site deaktiviert wurde.';
+$messages['error_must_upload_file'] = 'Es wurde kein Template-Set hochgeladen.';
+$messages['error_uploads_disabled'] = 'Die M&ouml;glichkeit, Dateien hochzuladen wurde f&uuml;r diese Site deaktiviert.';
+$messages['error_no_new_templates_found'] = 'Es wurden keine neuen Templates gefunden.';
+$messages['error_template_not_inside_folder'] = 'Die Dateien des Template-Sets m&uuml;ssen in ein Verzeichnis mit dem gleichen Namen wie das Template-Set geladen werden.';
+$messages['error_missing_base_files'] = 'Einige Dateien des Template Sets sind nicht vorhanden.';
+$messages['error_unpacking'] = 'Beim Entpacken der Datei ist ein Fehler aufgetreten.';
+$messages['error_forbidden_extensions'] = 'Das Template-Set enth&auml;lt Dateien mit verbotenen Erweiterungen.';
+$messages['error_creating_working_folder'] = 'Beim Erstellen eines tempor&auml;ren Verzeichnises zum Entpacken der Dateien ist ein Fehler aufgetreten.';
+$messages['error_checking_template'] = 'Beim Pr&uuml;fen des Templates "%s" ist ein Fehler aufgetreten.';
+$messages['template_package'] = 'Template-Set';
+$messages['blog_template_package_help'] = 'Benutzen Sie dieses Formular, um ein Template hochzuladen, dass nur f&uuml;r Ihr Blog verf&uuml;gbar sein soll. Wenn Sie mit diesem Formular kein Template-Set hochladen k&ouml;nnen, laden Sie es manuell in das Verzeichnis <b>%s</b>. In diesem Verzeichnis sind all Ihre Templates gespeichert. Anschlie&szlig;end klicken Sie auf <b>Templates scannen</b>. LifeType scannt daraufhin das Verzeichnis und f&uuml;gt automatisch alle neu erkannten Templates der Auswahl zu.';
+$messages['scan_templates'] = 'Templates scannen';
+
+// site users
+$messages['user_status_active'] = 'aktiv';
+$messages['user_status_disabled'] = 'gesperrt';
+$messages['user_status_all'] = 'Alle';
+$messages['user_status_unconfirmed'] = 'nicht best&auml;tigt';
+$messages['error_invalid_user2'] = 'Es existiert kein Benutzer mit der ID "%s".';
+$messages['error_deleting_user'] = 'Beim Sperren des Benutzers "%s" ist ein Fehler aufgetreten';
+$messages['user_deleted_ok'] = 'Benutzer "%s" wurde erfolgreich gesperrt';
+$messages['users_deleted_ok'] = '%s Benutzer erfolgreich gesperrt.';
+
+// create user
+$messages['user_added_ok'] = 'Benutzer "%s" erfolgreich hinzugef&uuml;gt';
+$messages['user_status_help'] = 'Aktueller Status des Benutzers';
+$messages['user_blog_help'] = 'Blog, welchem der Benutzer anfangs zugeordnet ist';
+$messages['none'] = 'Keins';
+
+// edit user
+$messages['error_invalid_user'] = 'Die Benutzer-ID ist nicht g&uuml;ltig, oder der Benutzer existiert nicht.';
+$messages['error_updating_user'] = 'Beim Aktualisieren der Benutzereinstellungen ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
+$messages['Blogs'] = 'Blogs verwalten';
+$messages['user_blogs_help'] = 'Blogs des Benutzers oder zu denen der Benutzer Zugang hat.';
+$messages['site_admin'] = 'Administrator';
+$messages['site_admin_help'] = 'Entscheiden Sie, ob der Benutzer Administrationsrechte zugewiesen bekommt und Zugang zum Administrationsbereich bekommt, um dort Verwaltungsaufgaben durchf&uuml;hren zu d&uuml;rfen.';
+$messages['user_updated_ok'] = 'Benutzer "%s" erfolgreich aktualisiert';
+
+// site blogs
+$messages['blog_status_all'] = 'Alle';
+$messages['blog_status_active'] = 'aktiv';
+$messages['blog_status_disabled'] = 'gesperrt';
+$messages['blog_status_unconfirmed'] = 'nicht best&auml;tigt';
+$messages['owner'] = 'Besitzer';
+$messages['quota'] = 'Kontingent';
+$messages['bytes'] = 'Bytes';
+$messages['error_no_blogs_selected'] = 'Es wurde kein Blog ausgew&auml;hlt.';
+$messages['error_blog_is_default_blog'] = 'Blog "%s" konnte nicht gel&ouml;scht werden, weil es das Standardblog ist.';
+$messages['blog_deleted_ok'] = 'Das Blog "%s" wurde erfolgreich gesperrt.';
+$messages['blogs_deleted_ok'] = '%s blogs erfolgreich gesperrt.';
+$messages['error_deleting_blog'] = 'Beim Sperren des Blogs "%s" ist ein Fehler aufgetreten.';
+$messages['error_deleting_blog2'] = 'Beim Sperren des Blogs mit der ID "%s" ist ein Fehler aufgetreten.';
+
+// create blog
+$messages['error_adding_blog'] = 'Beim Hinzuf&uuml;gen des Blogs ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
+$messages['blog_added_ok'] = 'Blog "%s" erfolgreich hinzugef&uuml;gt';
+
+// edit blog
+$messages['blog_status_help'] = 'Blogstatus';
+$messages['blog_owner_help'] = 'Benutzer, der dem Blog als Besitzer mit vollem Zugriff auf die Blogeinstellungen zugewiesen wird.';
+$messages['users'] = 'Benutzer';
+$messages['blog_quota_help'] = 'Ressourcenkontingent in Bytes. Stellen Sie 0 f&uuml;r unlimitiert ein oder lassen das Feld frei, um die globalen Einstellungen f&uuml;r dieses Blog zu benutzen.';
+$messages['edit_blog_settings_updated_ok'] = 'Das Blog %s wurde erfolgreich aktualisiert.';
+$messages['error_updating_blog_settings'] = 'Beim Aktualisieren des Blogs %s ist ein Fehler aufgetreten.';
+$messages['error_incorrect_blog_owner'] = 'Der Benutzer, der als Blog-Besitzer ausgew&auml;hlt wurde, ist ung&uuml;ltig.';
+$messages['error_fetching_blog'] = 'Beim Aufrufen des Blogs ist ein Fehler aufgetreten.';
+$messages['error_updating_blog_settings2'] = 'Beim Aktualisieren des Blogs ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
+$messages['add_or_remove'] = 'Benutzer hinzuf&uuml;gen oder entfernen.';
+
+// site locales
+$messages['locale'] = 'Sprachdatei';
+$messages['locale_encoding'] = 'Kodierung';
+$messages['locale_deleted_ok'] = 'Die Sprachdatei %s wurde erfolgreich gel&ouml;scht.';
+$messages['error_no_locales_selected'] = 'Es wurden keine Sprachdateien zum L&ouml;schen ausgew&auml;hlt.';
+$messages['error_deleting_only_locale'] = 'Die Sprachdatei kann nicht gel&ouml;scht werden, da es die letzte verf&uuml;gare im System ist.';
+$messages['locales_deleted_ok'] = '%s Sprachdateien wurden erfolgreich gel&ouml;scht.';
+$messages['error_deleting_locale'] = 'Beim L&ouml;schen der Sprachdatei %s ist ein Fehler aufgetreten.';
+$messages['error_locale_is_default'] = 'Die Sprachdatei %s kann nicht gel&ouml;scht werden, da es die Standarddatei f&uuml;r neue Blogs ist.';
+
+// add locale
+$messages['error_invalid_locale_file'] = 'Die Sprachdatei ist ung&uuml;ltig.';
+$messages['error_no_new_locales_found'] = 'Es wurden keine neuen Sprachdateien gefunden.';
+$messages['locale_added_ok'] = 'Die Sprachdatei %s wurde erfolgreich hinzugef&uuml;gt.';
+$messages['error_saving_locale'] = 'Beim Speichern der neuen Sprachdatei ist ein Fehler aufgetreten.';
+$messages['scan_locales'] = 'Sprachdateien scannen';
+$messages['add_locale_help'] = 'Benutzen Sie dieses Formular, um neue Sprachdateien hinzuzuf&uuml;gen. Wenn Sie mithilfe dieses Formulars keine neuen Dateien hochladen k&ouml;nnen, laden Sie die Sprachdatei manuell in das StandardVerzeichnis f&uuml;r Sprachdateien, normalerweise <b>./locales/</b>. Klicken Sie anschlie&szlig;end auf <b>Sprachdateien scannen</b> . LifeType scannt dann das Verzeichnis und f&uuml;gt die neuen Sprachdateien automatisch dem System zu.';
+
+// site templates
+$messages['error_template_is_default'] = 'Das Template %s kann nicht gel&ouml;scht werden, da es das Standardtemplate f&uuml;r neue Blogs ist.';
+
+// add template
+$messages['global_template_package_help'] = 'Benutzen Sie dieses Formular, um ein Template hochzuladen, dass f&uuml;r alle Blogs dieser Site verf&uuml;gbar sein soll. Wenn Sie mit diesem Formular kein Template-Set hochladen k&ouml;nnen, laden Sie es manuell in das Verzeichnis <b>%s</b>, dem Verzeichnis f&uuml;r all Ihre Template-Sets. Anschlie&szlig;end klicken Sie auf <b>Templates scannen</b>. LifeType scannt daraufhin das Verzeichnis und f&uuml;gt automatisch alle neu erkannten Templates der Auswahl zu.';
+
+// global settings
+$messages['site_config_saved_ok'] = 'Die Einstellungen wurden erfolgreich gespeichert.';
+$messages['error_saving_site_config'] = 'Beim Speichern der Einstellungen ist ein Fehler aufgetreten.';
+/// general settings
+$messages['help_comments_enabled'] = 'Kommentare f&uuml;r neue Blogs als Standard erlauben [Standard = Ja]';
+$messages['help_beautify_comments_text'] = 'In Kommentaren automatisch Abs&auml;tze formatieren und URLs verlinken [Standard = Ja]';
+$messages['help_temp_folder'] = 'Verzeichnis, in das LifeType tempor&auml;re Dateien, wie z.B. kompilierte Templates, speichert. Um die Sicherheit zu erh&ouml;hen, k&ouml;nnen Sie ein Verzeichnis ausserhalb des Webserver-Verzeichnisbaums nutzen. [Standard = ./tmp]';
+$messages['help_base_url'] = 'URL unter dem dieses Blog installiert ist.';
+$messages['help_subdomains_enabled'] = 'Subdomains aktivieren oder deaktivieren. Wenn Sie diese Funktion nutzen m&ouml;chten, lesen Sie bitte vorher die Dokumentation! [Standard = Nein]';
+$messages['help_include_blog_id_in_url'] = 'Diese Einstellung ist nur wichtig, wenn Subdomains und "normale" URLs aktiviert sind und bewirkt, dass intern generierte URLs nicht den "Blog-ID" Parameter verwenden. &Auml;ndern Sie diese Einstellung nur, wenn Sie genau wissen, was Sie tun! [Standard = Ja]';
+$messages['help_script_name'] = '&Auml;ndern Sie diese Einstellung, falls Sie die Datei index.php umbenennen m&uuml;ssen [Standard = index.php]';
+$messages['help_show_posts_max'] = 'Maximale Anzahl der Artikel, die auf der Hauptseite angezeigt werden. Diese Einstellung hat nur Auswirkungen auf neue Blogs. [Standard = 15]';
+$messages['help_recent_posts_max'] = 'Maximale Anzahl der Artikel, die auf der Hauptseite als aktuell angezeigt werden. Diese Einstellung hat nur Auswirkungen auf neue Blogs. [Standard = 10]';
+$messages['help_save_drafts_via_xmlhttprequest_enabled'] = 'Einstellung, ob Entw&uuml;rfe via Javascript gespeichert und XMLHTTP-Requests erlaubt werden sollen. [Standard = Ja ]';
+$messages['help_locale_folder'] = 'Verzeichnis, in dem die Sprachdateien gespeichert werden [Standard = ./locale]';
+$messages['help_default_locale'] = 'Standard Spracheinstellung f&uuml;r neue Blogs [Standard = en_UK]';
+$messages['help_default_blog_id'] = 'Standard Blog, das angezeigt wird, wenn kein anderes festgelegt ist [Standard = 1]';
+$messages['help_default_time_offset'] = 'Standard Zeitabgleich f&uuml;r neue Blogs [Standard = 0]';
+$messages['help_html_allowed_tags_in_comments'] = 'Leerzeichen-getrennte Liste der in Kommentaren erlaubten HTML-Tags [Standard = <a><i><br><br/><b>]';
+$messages['help_referer_tracker_enabled'] = 'Wenn diese Funktion aktiviert ist, werden die Referrer (verweisenden Seiten) in der Datenbank gespeichert. Deaktivieren Sie diese Funktion, wenn Sie die Performance der Blogs verbessern m&ouml;chten [Standard = Ja]';
+$messages['help_show_more_enabled'] = '"weiter..."-Link f&uuml;r neue Blogs freigeben [Standard = Ja]';
+$messages['help_update_article_reads'] = 'Aktivieren oder deaktivieren Sie die automatische Aktualisierung des Z&auml;hlers f&uuml;r die H&auml;ufigkeit des Zugriffs auf einzelne Artikel. Deaktivieren Sie diese Funktion, wenn Sie die Performance der Blogs verbessern m&ouml;chten. [Standard = Ja]';
+$messages['help_update_cached_article_reads'] = 'Aktivieren oder deaktivieren Sie die automatische Aktualisierung des Z&auml;hlers f&uuml;r die H&auml;ufigkeit des Zugriffs auf einzelne Artikel auch, wenn Caching aktiviert ist [Standard = Ja]';
+$messages['help_xmlrpc_ping_enabled'] = 'Aktivieren oder deaktivieren Sie das Senden von XMLRPC-Pings an Sites, die dieses Feature unterst&uuml;tzen [Standard = Ja]';
+$messages['help_send_xmlrpc_pings_enabled_by_default'] = 'Aktivieren oder deaktivieren Sie das automatische Senden von XMLRPC-Pings an Sites, die dieses Feature unterst&uuml;tzen beim Verfassen oder Aktualisieren von Artikeln [Standard = Ja]';
+$messages['help_xmlrpc_ping_hosts'] = 'URL Verweis zum XMLRPC-Interface f&uuml;r Sites, die die XMLRPC-Ping Spezifikation unterst&uuml;tzen. Schreiben Sie jeden URL in eine neue Zeile. [Standard = http://rpc.weblogs.com/RPC2]';
+$messages['help_trackback_server_enabled'] = 'Verarbeiten eingehender Trackbacks aktivieren oder deaktivieren [Standard = Ja]';
+$messages['help_htmlarea_enabled'] = 'Den WYSIWYG-Editor f&uuml;r neue Blogs aktivieren oder deaktivieren [Standard = Ja]';
+$messages['help_plugin_manager_enabled'] = 'Die Verwendung von Plugins erm&ouml;glichen [Standard = Ja]';
+$messages['help_minimum_password_length'] = 'Mindestl&auml;nge f&uuml;r Kennw&ouml;rter [Standard = 4]';
+$messages['help_xhtml_converter_enabled'] = 'Wenn aktiviert, versucht LifeType s&auml;mtlichen HTML-Code in g&uuml;ltiges XHTML zu konvertieren [Standard = Ja]';
+$messages['help_xhtml_converter_aggressive_mode_enabled'] = 'Wenn aktiviert, versucht LifeType s&auml;mtlichen HTML-Code agressiv in g&uuml;ltiges XHTML zu konvertieren (diese Einstellung ist sehr fehleranf&auml;llig und mit Vorsicht zu verwenden). [Standard = Nein]';
+$messages['help_session_save_path'] = 'Verzeichnis, in das LifeType Sessiondaten mithilfe der PHP Funktion session_save_path() speichert. Bitte stellen Sie sicher, dass dieses Verzeichnis f&uuml;r den Webserver beschreibbar ist. Wenn Sie diese Einstellung leer lassen, wird das StandardVerzeichnis von PHP benutzt. [Standard = (leer)]';
+// summary settings
+$messages['help_summary_page_show_max'] = 'Anzahl der Eintr&auml;ge, die auf der &Uuml;bersichtsseite angezeigt werden. Diese Einstellung gilt f&uuml;r alle Listen auf der &Uuml;bersichtsseite (aktuelle Artikel, aktivste Blogs, usw.) [Standard = 10]';
+$messages['help_summary_items_per_page'] = 'Anzahl der Blogs pro Seite in der "Blog Liste" [Standard = 25]';
+$messages['help_forbidden_usernames'] = 'Leerzeichen-getrennte Liste der nicht erlaubten Benutzernamen [Standard = admin www blog ftp]';
+$messages['help_force_one_blog_per_email_account'] = 'Begrenzung auf maximal ein Blog pro E-Mail Account [Standard = Nein]';
+$messages['help_summary_show_agreement'] = 'Vereinbarung anzeigen und von neuen Benutzern akzeptieren lassen, bevor die Registrierung abgeschlossen wird [Standard = Ja]';
+$messages['help_need_email_confirm_registration'] = 'Neue Benutzer zwingen Ihre Registrierung &uuml;ber das Klicken eines Links zu best&auml;tigen, der Ihnen per E-Mail an Ihren Account gesendet wird [Standard = Ja]';
+$messages['help_summary_disable_registration'] = 'Benutzern verbieten, neue Blogs zu registrieren [Standard = Nein]';
+// templates
+$messages['help_template_folder'] = 'Verzeichnis, in dem Templates gespeichert werden [Standard = ./templates]';
+$messages['help_default_template'] = 'Standardtemplate f&uuml;r neue Blogs [Standard = standard]';
+$messages['help_users_can_add_templates'] = 'Benutzern erm&ouml;glichen, eigene Templates hochzuladen [Standard = Ja]';
+$messages['help_template_compile_check'] = 'Aktivieren Sie diese Funktion, um Dateien durch Smarty automatisch auf aktuellere Versionen pr&uuml;fen zu lassen. Deaktivieren Sie diese Funktion, um die Perfomance zu steigern [Standard = Ja]';
+$messages['help_template_cache_enabled'] = 'Aktivieren des Template-Cache. Wenn aktiviert, wird, falls m&ouml;glich,  eine zwischengespeicherte Version von Seiten benutzt. Dadurch m&uuml;ssen weniger Daten aus der Datenbank abgerufen und Templates seltener neu gerendert werden. [Standard = Ja]';
+$messages['help_template_cache_lifetime'] = 'Verfallszeit des Cache in Sekunden. Setzen Sie den Wert auf -1, um den Cache nie verfallen zu lassen. Wenn Sie den Wert auf 0 setzen, wird der Cache deaktiviert. Setzen Sie hierzu allerdings besser "Aktivieren des Template-Cache" auf "Nein". [Standard = -1]';
+$messages['help_template_http_cache_enabled'] = 'Unterst&uuml;tzung f&uuml;r HTTP-Request aktivieren. Wenn aktiviert, f&uuml;gt LifeType dem HTTP-Header "If-Modified-Since"-Informationen zu. So mu&szlig; nur unbedingt erforderlicher Inhalt gesendet werden. Benutzen Sie diese Einstellung, um Bandbreite zu sparen. [Standard = Nein]';
+$messages['help_allow_php_code_in_templates'] = 'Nativen PHP-Code in Smarty-Templates innerhalb von {php}...{/php} Bl&ouml;cken erlauben [Standard = Nein]';
+// urls
+$messages['help_request_format_mode'] = 'W&auml;hlen Sie ein URL-Format. Wenn Sie benutzerdefinierte URLs verwenden m&ouml;chten, stellen Sie sicher, dass die folgenden Einstellungen ebenfalls konfiguriert sind. [Standard = einfach]';
+$messages['plain'] = 'einfach';
+$messages['search_engine_friendly'] = 'Suchmaschinenoptimiert';
+$messages['custom_url_format'] = 'benutzerdefinierte URLs';
+$messages['help_permalink_format'] = 'Format f&uuml;r Permalinks bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/{catname}/{year}/{month}/{day}/{postname}$]';
+$messages['help_category_link_format'] = 'Format f&uuml;r Links zu Kategorien bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/{catname}$]';
+$messages['help_blog_link_format'] = 'Format f&uuml;r Links zu Blogs bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}$]';
+$messages['help_archive_link_format'] = 'Format f&uuml;r Links zu Archiven bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/archives/{year}/?{month}/?{day}]';
+$messages['help_user_posts_link_format'] = 'Format f&uuml;r Links zu Artikeln eines bestimmten Benutzers bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/user/{username}$]';
+$messages['help_post_trackbacks_link_format'] = 'Format f&uuml;r Links zur Trackback-Seite bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/post/trackbacks/{postname}$]';
+$messages['help_template_link_format'] = 'Format f&uuml;r Links zu benutzerdefinierten statischen Templateseiten bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/page/{templatename}$]';
+$messages['help_album_link_format'] = 'Format f&uuml;r Links zu Ressource-Alben bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/album/{albumname}$]';
+$messages['help_resource_link_format'] = 'Format f&uuml;r Links zu Ressource-Seiten mit Dateien bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/resource/{albumname}/{resourcename}$]';
+$messages['help_resource_preview_link_format'] = 'Format f&uuml;r Links zu Ressource-Vorschauen bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/resource/{albumname}/preview/{resourcename}$]';
+$messages['help_resource_medium_size_preview_link_format'] = 'Format f&uuml;r Links zu gr&ouml;&szlig;enreduzierten Ressource-Vorschauen bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/resource/{albumname}/preview-med/{resourcename}$]';
+$messages['help_resource_download_link_format'] = 'Format f&uuml;r Links zu Dateien bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/resource/{albumname}/download/{resourcename}$]';
+// email
+$messages['help_check_email_address_validity'] = 'Beim Pr&uuml;fen von E-Mail Adressen pr&uuml;fen, ob unter der angegebenen Domain MX-Records definiert sind und die Adresse auf eine g&uuml;tige Mailbox verweist [Standard = Nein]';
+$messages['help_email_service_enabled'] = 'Versenden von E-Mails erm&ouml;glichen [Standard = Ja]';
+$messages['help_post_notification_source_address'] = 'E-Mail Adresse, die als Absenderadresse erscheint, wenn LifeType E-Mails versendet [Standard = noreply at your.host.com]';
+$messages['help_email_service_type'] = 'System, mit dem E-Mails versendet werden [Standard = PHP]';
+$messages['help_smtp_host'] = 'Wenn Sie SMTP zum Versenden von E-Mails verwenden m&ouml;chten, geben Sie hier den SMTP-Server an, der verwendet werden soll [Standard = (leer)]';
+$messages['help_smtp_port'] = 'Falls der SMTP-Server unter einem anderen Port als 25 l&auml;uft, geben Sie hier den entsprechenden Port an [Standard = (leer)]';
+$messages['help_smtp_use_authentication'] = 'Aktivieren Sie diese Einstellung, falls f&uuml;r das Senden von E-Mails am SMTP-Server Authentifizierung erforderlich ist [Standard = Nein]';
+$messages['help_smtp_username'] = 'Falls f&uuml;r das Senden von E-Mails am SMTP-Server Authentifizierung erforderlich ist, geben Sie hier den Benutzernamen an [Standard = (leer)]';
+$messages['help_smtp_password'] = 'Falls f&uuml;r das Senden von E-Mails am SMTP-Server Authentifizierung erforderlich ist, geben Sie hier das Kennwort f&uuml;r das angegebene Benutzerkonto an [Standard = (leer)]';
+// helpers
+$messages['help_path_to_tar'] = 'Pfad zum "tar"-Tool, ben&ouml;tigt zum Entpacken von Template-Sets aus .tar.gz- oder tar.bz2-Dateien [Standard = /bin/tar]';
+$messages['help_path_to_gzip'] = 'Pfad zum "gzip"-Tool, ben&ouml;tigt zum Entpacken von Template-Sets aus .tar.gz-Dateien [Standard = /bin/gzip]';
+$messages['help_path_to_bz2'] = 'Pfad zum "bzip2"-Tool, ben&ouml;tigt zum Entpacken von Template-Sets aus tar.bz2-Dateien [Standard = /usr/bin/bzip2]';
+$messages['help_path_to_unzip'] = 'Pfad zum "unzip"-Tool, ben&ouml;tigt zum Entpacken von Template-Sets aus .zip-Dateien [Standard = /usr/bin/unzip]';
+$messages['help_unzip_use_native_version'] = 'PHP zum entpacken von .zip-Dateien verwenden [Standard = Nein]';
+// uploads
+$messages['help_uploads_enabled'] = 'Benutzern erlauben, Dateien hochzuladen. Diese Einstellung betrifft die Ressourcenveraltung und das Hochladen benutzerdefinierter Templates und Sprachdateien. [Standard = Ja]';
+$messages['help_maximum_file_upload_size'] = 'Maximale Dateigr&ouml;&szlig;e in Bytes. PHP-Beschr&auml;nkungen k&ouml;nnen mit dieser Einstellung nicht umgangen werden. [Standard = 2000000]';
+$messages['help_upload_forbidden_files'] = 'Leerzeichen-getrennte Liste der nicht erlaubten Dateitypen. \'*\' und \'?\' k&ouml;nnen verwendet werden [Standard = *.php *.php3 *.php4 *.phtml]';
+// interfaces
+$messages['help_xmlrpc_api_enabled'] = 'Zugang zu Blogs via XMLRPC erm&ouml;glichen [Standard = Ja]';
+$messages['help_rdf_enabled'] = 'Atom und RSS Feeds erm&ouml;glichen [Standard = Ja]';
+$messages['help_default_rss_profile'] = 'Standardversion von RSS oder Atom, wenn nicht anders festgelegt [Standard = RSS 1.0]';
+// security
+$messages['help_security_pipeline_enabled'] = 'Sicherheits-Pipeline und alle zugeh&ouml;rigen Filter aktivieren. Diese Einstellung wirkt sich auch auf alle Plugins aus, die neue Filter registrieren [Standard = Ja]';
+$messages['help_maximum_comment_size'] = 'Maximale Gr&ouml;&szlig;e f&uuml;r Kommentare in Bytes. Um die Gr&ouml;&szlig;e nicht zu beschr&auml;nken, stellen Sie 0 ein. [Standard = 0]';
+// bayesian filter
+$messages['help_bayesian_filter_enabled'] = 'Den bayes\'schen Filter f&uuml;r verbesserte Spam-Filterung verwenden [Standard = Ja]';
+$messages['help_bayesian_filter_spam_probability_treshold'] = 'Schwelle, ab der ein Kommentar als Spam betrachtet wird [Standard = 0.9]';
+$messages['help_bayesian_filter_nonspam_probability_treshold'] = 'Schwelle, ab der ein Kommentar als "nicht-Spam" betrachtet wird [Standard = 0.2]';
+$messages['help_bayesian_filter_min_length_token'] = 'Minimall&auml;nge f&uuml;r Zeichenfolgen, um f&uuml;r den bayes\'schen Filter relevant zu sein [Standard = 3]';
+$messages['help_bayesian_filter_max_length_token'] = 'Maximall&auml;nge f&uuml;r Zeichenfolgen, um f&uuml;r den bayes\'schen Filter relevant zu sein  [Standard = 100]';
+$messages['help_bayesian_filter_number_significant_tokens'] = 'Anzahl ma&szlig;geblicher Zeichenfolgen [Standard = 15]';
+$messages['help_bayesian_filter_spam_comments_action'] = 'Aktion, nachdem ein Kommentar als "Spam" erkannt wurde. W&auml;hlen Sie "L&ouml;schen" erst, wenn der Spam-Filter ausreichend trainiert wurde [Standard = "als Spam makiert speichern"]';
+$messages['keep_spam_comments'] = 'In der Datenbank als "Spam" makiert speichern';
+$messages['throw_away_spam_comments'] = 'l&ouml;schen (nicht speichern)';
+// resources
+$messages['help_resources_enabled'] = 'Ressourcenveraltung erm&ouml;glichen [Standard = Ja]';
+$messages['help_resources_folder'] = 'Absoluter oder relativer Pfad zum Verzeichnis, in das Ressource-Dateien (Bilder, Videos etc.) gespeichert werden. [Standard = ./gallery]';
+$messages['help_thumbnail_method'] = 'Methode, um Vorschaubilder (Thumbnails) zu erstellen. Falls Sie PHP verwenden, ist GD-Support erforderlich [Standard = PHP]';
+$messages['help_path_to_convert'] = 'Pfad zum "convert"-Tool von ImageMagick. Erforderlich, falls die Vorschaubilder mit ImageMagick erstellt werden sollen [Standard = /usr/bin/convert]';
+$messages['help_thumbnail_format'] = 'Format, in dem Thumbnails gespeichert werden sollen. [Standard = wie Original]';
+$messages['help_thumbnail_height'] = 'Standardh&ouml;he f&uuml;r Thumbnails [Standard = 120]';
+$messages['help_thumbnail_width'] = 'Standardbreite f&uuml;r Thumbnails [Standard = 120]';
+$messages['help_medium_size_thumbnail_height'] = 'Standardh&ouml;he f&uuml;r Medium-Thumbnails [Standard = 480]';
+$messages['help_medium_size_thumbnail_width'] = 'Standardbreite f&uuml;r Medium-Thumbnails  [Standard = 640]';
+$messages['help_thumbnails_keep_aspect_ratio'] = 'Seitenverh&auml;hltnis beim Generieren von Thumbnails beibehalten. Generiert eventuell gr&ouml;&szlig;ere Thumbnails als oben eingestellt. [Standard = Ja]';
+$messages['help_thumbnail_generator_force_use_gd1'] = 'LifeType zwingen nur GD1 Funktionen zu nutzen [Standard = Nein]';
+$messages['help_thumbnail_generator_user_smoothing_algorithm'] = 'Algorithmus um Thumbnails zu gl&auml;tten. Findet nur bei der Erstellung von Thumbnails mit GD Verwendung. [Standard = PHP Imagecopyresampled]';
+$messages['help_resources_quota'] = 'Globales Maximalkontingent f&uuml;r Ressource-Dateien in Bytes (z.B. 5242880 Bytes = 5MB), 0 hebt die Beschr&auml;nkung auf. [Standard = 0]';
+$messages['help_resource_server_http_cache_enabled'] = 'Support f&uuml;r "If-Modified-Since"-Header und HTTP-conditional Requests aktivieren. Aktivieren Sie diese Einstellung f&uuml;r maximale Bandbreiten Einsparung. [Standard = Nein]';
+$messages['help_resource_server_http_cache_lifetime'] = 'Zeit in Mikrosekunden, f&uuml;r die Clients die gecachte Version von Ressourcen nutzen sollen [Standard = 86400]';
+$messages['same_as_image'] = 'Same as original image';
+// search
+$messages['help_search_engine_enabled'] = 'Suchmaschine aktivieren [Standard = Ja]';
+$messages['help_search_in_custom_fields'] = 'Suche in benutzerdefinierten Feldern erm&ouml;glichen [Standard = Ja]';
+$messages['help_search_in_comments'] = 'Suche in Kommentaren erm&ouml;glichen [Standard = Ja]';
+
+// cleanup
+$messages['purge'] = 'Reinigung';
+$messages['cleanup_spam'] = 'Spam Reinigung';
+$messages['cleanup_spam_help'] = 'Hiermit werden alle Kommentare entg&uuml;ltig gel&ouml;scht, die als Spam makiert sind. Es ist nicht m&ouml;glich, diese anschlie&szlig;end wiederherzustellen.';
+$messages['spam_comments_purged_ok'] = 'Spam Kommentare wurden entg&uuml;ltig gel&ouml;scht';
+$messages['cleanup_posts'] = 'Artikel Reinigung';
+$messages['cleanup_posts_help'] = 'Hiermit werden alle Artikel entg&uuml;ltig gel&ouml;scht, die von den Benutzern gel&ouml;scht (als "gel&ouml;scht" markiert) worden sind. Es ist nicht m&ouml;glich, diese anschlie&szlig;end wiederherzustellen.';
+$messages['posts_purged_ok'] = 'Artikel wurden entg&uuml;ltig gel&ouml;scht';
+$messages['purging_error'] = 'Fehler beim entg&uuml;ltigen l&ouml;schen der Daten';
+
+/// summary ///
+// front page
+$messages['summary'] = 'Zusammenfassung';
+$messages['register'] = 'anmelden';
+$messages['summary_welcome'] = 'Willkommen!';
+$messages['summary_most_active_blogs'] = 'aktivste Blogs';
+$messages['summary_most_commented_articles'] = 'am h&auml;ufigsten kommentierte Artikel';
+$messages['summary_most_read_articles'] = 'am h&auml;ufigsten gelesene Artikel';
+$messages['password_forgotten'] = 'Haben Sie Ihr Kennwort vergessen?';
+$messages['summary_newest_blogs'] = 'Neue Blogs';
+$messages['summary_latest_posts'] = 'aktuellste Artikel';
+$messages['summary_search_blogs'] = 'Blogs durchsuchen';
+
+// blog list
+$messages['updated'] = 'aktualisiert';
+$messages['total_reads'] = 'total';
+
+// blog profile
+$messages['blog'] = 'Blog';
+$messages['latest_posts'] = 'aktuellste Artikel';
+
+// registration
+$messages['register_step0_title'] = 'Nutzungsbedingungen akzeptieren';
+$messages['agreement'] = 'Nutzungsbedingungen';
+$messages['decline'] = 'ablehnen';
+$messages['accept'] = 'akzeptieren';
+$messages['read_service_agreement'] = 'Bitte lesen die Nutzungsbedingungen und klicken auf "akzeptieren, wenn Sie einverstanden sind.';
+$messages['register_step1_title'] = 'Benutzerkonto anlegen [1/4]';
+$messages['register_step1_help'] = 'Sie m&uuml;ssen zuerst ein neues Benutzerkonto anlegen, wenn Sie ein Blog einrichten m&ouml;chten. Der Benutzer wird der Besitzer dieses Blogs und hat Zugang zu allen Funktionen';
+$messages['register_next'] = 'Weiter';
+$messages['register_back'] = 'Zur&uuml;ck';
+$messages['register_step2_title'] = 'Blog einrichten [2/4]';
+$messages['register_blog_name_help'] = 'Name des neuen Blogs';
+$messages['register_step3_title'] = 'Template ausw&auml;hlen [3/4]';
+$messages['step1'] = 'Schritt 1';
+$messages['step2'] = 'Schritt 2';
+$messages['step3'] = 'Schritt 3';
+$messages['register_step3_help'] = 'W&auml;hlen Sie ein verf&uuml;gbares Template als Standard-Template f&uuml;r Ihr Blog. Es kann sp&auml;ter noch ge&auml;ndert werden.';
+$messages['error_must_choose_template'] = 'Bitte w&auml;hlen Sie ein Template';
+$messages['select_template'] = 'Template ausw&auml;hlen';
+$messages['register_step5_title'] = 'Herzlichen Gl&uuml;ckwunsch! [4/4]';
+$messages['finish'] = 'fertig';
+$messages['register_need_confirmation'] = 'Eine E-Mail Best&auml;tigung wurde an Ihre E-Mail Adresse geschickt. Klicken Sie auf dendarin enthaltenen Link, sobald Sie die Nachricht erhalten haben, um direkt zu starten!';
+$messages['register_step5_help'] = 'Gl&uuml;ckwunsch, das neue Benutzerkonto und das neue Blog wurden erfolgreich angelegt!';
+$messages['register_blog_link'] = 'Wenn Sie direkt einen Blick auf Ihr neues Blog werfen m&ouml;chten, gehen Sie zu: <a href="%2$s">%1$s</a>';
+$messages['register_blog_admin_link'] = 'Wenn Sie direkt einen Artikel verfassen m&ouml;chten, gehen Sie direkt zur <a href="admin.php">Administrationsbereich</a>';
+$messages['register_error'] = 'W&auml;hrend des Prozesses ist ein Fehler aufgetreten.';
+$messages['error_registration_disabled'] = 'Die Registrierung neuer Blogs ist f&uuml;r diese Site gesperrt worden.';
+// registration article topic and text
+$messages['register_default_article_topic'] = 'Herzlichen Gl&uuml;ckwunsch!';
+$messages['register_default_article_text'] = 'Wenn Sie diesen Artikel lesen k&ouml;nnen, war die Registrierung erfolgreich und Sie k&ouml;nnen direkt mit dem Bloggen beginnen.';
+$messages['register_default_category'] = 'Allgemein';
+// confirmation email
+$messages['register_confirmation_email_text'] = 'Bitte klicken Sie auf den unten stehenden Link um Ihren Blog zu aktivieren:
+
+%s
+
+Viel Spass beim Bloggen!';
+$messages['error_invalid_activation_code'] = 'Der Best&auml;tigungscode ist leider ung&uuml;ltig.';
+$messages['blog_activated_ok'] = 'Herzlichen Gl&uuml;ckwunsch, Ihr neues Benutzerkonto und Ihr neues Blog sind erfolgreich best&auml;tigt!';
+// forgot your password?
+$messages['reset_password'] = 'Kennwort zur&uuml;cksetzen';
+$messages['reset_password_username_help'] = 'Name des Benutzers, dessen Kennwort Sie zur&uuml;cksetzen m&ouml;chten.';
+$messages['reset_password_email_help'] = 'E-Mail Addresse, die zum Registrieren dieses Benutzers verwendet wurde.';
+$messages['reset_password_help'] = 'Benutzen Sie dieses Formular, um das Kennwort Ihres Benutzerkontos zur&uuml;ckzusetzen, falls Sie sich daran nicht erinnern k&ouml;nnen. Bitte geben Sie den Benutzernamen und die E-Mail Adresse ein, die zum Registrieren verwendet wurde.';
+$messages['error_resetting_password'] = 'Beim Zur&uuml;cksetzen des Kennworts ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben und versuchen Sie es erneut.';
+$messages['reset_password_error_incorrect_email_address'] = 'Die E-Mail Adresse ist ung&uuml;ltig, oder nicht die Adresse, mit der dieser Benutzer registriert wurde.';
+$messages['password_reset_message_sent_ok'] = 'Eine Nachricht mit einem Link wurde an die angegebene E-Mail Adresse gesendet. Bitte klicken Sie auf diesen Link, um Ihr Kennwort zur&uuml;ckzusetzen.';
+$messages['error_incorrect_request'] = 'Die URL-Parameter sind ung&uuml;ltig.';
+$messages['change_password'] = 'neues Kennwort erstellen';
+$messages['change_password_help'] = 'Bitte geben Sie das neue Kennwort ein und best&auml;tigen Sie es.';
+$messages['new_password'] = 'Neues Kennwort';
+$messages['new_password_help'] = 'Geben Sie hier Ihr neues Kennwort ein.';
+$messages['password_updated_ok'] = 'Ihr Kennwort wurde erfolgreich aktualisiert.';
+
+// Suggested by BCSE, some useful messages that not available in official locale
+$messages['upgrade_information'] = 'Diese Seite wird unsch&ouml;n dargestellt, da Sie einen Browser benutzen, der aktelle Web-Standards nicht unterst&uuml;tzt. Um diese Seite richtig darzustellen, empfehlen wir Ihnen den Browser zu <a href="http://www.webstandards.org/upgrade/" title="The Web Standards Project\'s Browser Upgrade initiative">aktualisieren</a>. Dies ist kostenlos und wird Sie nicht viel Zeit kosten.';
+$messages['jump_to_navigation'] = 'Zur Navigation wechseln.';
+$messages['comment_email_never_display'] = 'Zeilenumbr&uuml;che und Abs&auml;tze werden automatisch hinzugef&uuml;gt. Die E-Mail Adresse wird nicht angezeigt.';
+$messages['comment_html_allowed'] = '<acronym title="Hypertext Markup Language">HTML</acronym> erlaubt: &lt;<acronym title="Hyperlink">a</acronym> href="" title="" rel=""&gt; &lt;<acronym title="Acronym Description">acronym</acronym> title=""&gt; &lt;<acronym title="Quote">blockquote</acronym> cite=""&gt; &lt;<acronym title="Strike">del</acronym>&gt; &lt;<acronym title="Italic">em</acronym>&gt; &lt;<acronym title="Underline">ins</acronym>&gt; &lt;<acronym title="Bold">strong</acronym>&gt;';
+$messages['trackback_uri'] = 'Der <acronym title="Uniform Resource Identifier">URI</acronym> um diesem Artikel einen Trackback hinzuzuf&uuml;gen lautet: ';
+
+$messages['xmlrpc_ping_ok'] = 'XMLRPC Ping erfolgreich versandt an: ';
+$messages['error_sending_xmlrpc_ping'] = 'Fehler beim Pingen von: ';
+$messages['error_sending_xmlrpc_ping_message'] = 'Fehler beim Pingen von: ';
+
+//
+// new strings for 1.1
+//
+$messages['error_incorrect_trackback_id'] = 'Die Trackback-ID ist falsch';
+$messages['error_marking_trackback_as_spam'] = 'Beim Markieren des Trackbacks als Spam ist ein Fehler aufgetreten';
+$messages['trackback_marked_as_spam_ok'] = 'Der Trackback wurde erfolgreich als Spam markiert';
+$messages['error_marking_trackback_as_nonspam'] = 'Beim Markieren des Trackbacks als Kein-Spam ist ein Fehler aufgetreten';
+$messages['trackback_marked_as_nonspam_ok'] = 'Der Trackback wurde erfolgreich als Kein-Spam markiert';
+$messages['upload_here'] = 'Hier hochladen';
+$messages['reply_string'] = 'Re: ';
+$messages['cleanup_users'] = 'Bereinige Benutzer';
+$messages['cleanup_users_help'] = 'Diese Aktion wird alle Benutzer endg&uuml;ltig aus der Datenbank l&ouml;schen, welche vom Administrator als "gel&ouml;scht" markiert wurden. Gleichzeitig werden auch alle Blogs dieses Benutzers, und deren Inhalte gel&ouml;scht. Falls dieser Benutzer Schreibrechte f&uuml;r andere Blogs hat, werden dessen Beitr&auml;ge ebenfalls gel&ouml;scht. Diese Aktion kann nicht r&uuml;ckg&auml;ngig gemacht werden!';
+$messages['users_purged_ok'] = 'Benutzer erfolgreich bereinigt';
+$messages['cleanup_blogs'] = 'Bereinige Blogs';
+$messages['cleanup_blogs_help'] = 'Dies wird alle Blogs endg&uuml;ltig aus der Datenbank l&ouml;schen, welche vom Administrator als "gel&ouml;scht" markiert wurden. Alle Inhalte des Blogs werden endg&uuml;ltig gel&ouml;scht.  Diese Aktion kann nicht r&uuml;ckg&auml;ngig gemacht werden!';
+$messages['blogs_purged_ok'] = 'Blogs erfolgreich bereinigt';
+$messages['help_use_http_accept_language_detection'] = 'Die meisten Webbrowser, wie Mozilla Firefox, Safari oder Internet Explorer, senden mindestens einen Sprachcode, den der Benutzer verstehen <i>sollte</i>. Wenn dieses Feature aktiviert ist, versucht LifeType dem Benutzer automatisch in dieser Sprache zu antworten (falls diese installiert ist). [Standard = Nein]';
+
+$messages['error_invalid_blog_category'] = 'Ung&uuml;ltige Blogkategorie';
+$messages['error_adding_blog_category'] = 'Beim Hinzuf&uuml;gen der Blogkategorie ist ein Fehler aufgetreten';
+$messages['newBlogCategory'] = 'Neue Blogkategorie';
+$messages['editBlogCategories'] = 'Blogkategorien';
+$messages['blog_category_added_ok'] = 'Blogkategorie erfolgreich hinzugef&uuml;gt';
+$messages['error_blog_category_has_blogs'] = 'Die Blogkategorie "%s" hat ein oder mehrere zugeordnete Blogs. Bitte entfernen Sie zuerst die Zuordnung der Blogs zu dieser Kategorie, bevor Sie diese Kategorie l&ouml;schen.';
+$messages['error_deleting_blog_category'] = 'Beim l&ouml;schen der Blogkategorie "%s" ist ein Fehler aufgetreten';
+$messages['blog_category_deleted_ok'] = 'Die Blogkategorie "%s" wurde erfolgreich gel&ouml;scht';
+$messages['blog_categories_deleted_ok'] = '%s Blogkategorien erfolgreich gel&ouml;scht';
+$messages['error_deleting_blog_category2'] = 'Beim L&ouml;schen der Blogkategorie mit der ID %s ist ein Fehler aufgetreten';
+$messages['blog_category'] = 'Blogkategorie';
+$messages['blog_category_help'] = 'Globale Blogkategorie, die diesem Blog zugeordnet ist';
+
+$messages['help_use_captcha_auth'] = 'Benutze einen CAPTCHA-Mechanismus bei der Anmeldeprozedur, um die automatische Anmeldung durch Scripte oder Bots zu unterbinden [ Standard = Nein ]';
+$messages['help_skip_dashboard'] = 'Das Dashboard wird nicht mehr angezeigt, statt dessen wird der Benutzer direkt zum ersten Blog geleitet, zu welchem er die Zugriffsrechte hat [ Standard = Nein ]';
+
+$messages['manageGlobalArticleCategory'] = 'Globale Artikelkategorien';
+$messages['newGlobalArticleCategory'] = 'Neue globale Artikelkategorie';
+$messages['editGlobalArticleCategories'] = 'Globale Artikelkategorien';
+$messages['global_category_name_help'] = 'Name der neuen globalen Artikelkategorie';
+$messages['global_category_description_help'] = 'Beschreibung der neuen globalen Artikelkategorie';
+$messages['error_incorrect_global_category_id'] = 'Ung&uuml;ltige globale Artikelkategorie';
+$messages['global_category_deleted_ok'] = 'Artikelkategorie "%s" erfolgreich gel&ouml;scht';
+$messages['global_category_added_ok'] = 'Globale Artikelkategorie "%s" erfolgreich hinzugef&uuml;gt';
+$messages['error_deleting_global_category2'] = 'Beim L&ouml;schen der globalen Artikelkategorie mit der ID = %s ist ein Fehler aufgetreten';
+
+$messages['help_page_suffix_format'] = 'Endung, welche an URL angeh&auml;ngt werden soll, die Paging unterst&uuml;tzen [ Standard = /page/{page} ]';
+
+$messages['help_final_size_thumbnail_width'] = 'Endg&uuml;ltige Breite hochgeladener Bilder. Leer lassen oder Wert auf 0 setzen, um die Originalgr&ouml;&szlig;e beizubehalten [ Standard = 0 ]';
+$messages['help_final_size_thumbnail_height'] = 'Endg&uuml;ltige H&ouml;he hochgeladener Bilder. Leer lassen oder Wert auf 0 setzen, um die Originalgr&ouml;&szlig;e beizubehalten [ Standard = 0 ]';
+$messages['error_comment_too_big'] = 'Der Kommentar ist zu lang';
+$messages['error_you_have_been_blocked'] = 'Blockiert: Diese Abfrage wurde nicht ausgef&uuml;hrt.';
+$messages['created'] = 'Erzeugt';
+$messages['view'] = 'Ansicht';
+$messages['editUser'] = 'Bearbeite Benutzer';
+$messages['help_urlize_word_separator'] = 'Zeichen, welches f&uuml;r URLs die auf Lifetype verweisen sollen, als Worttrenner verwendet wird. Dies wird ebenso genutzt, wenn bei aktivierten Subdomains Hostnamen aus Blognamen erzeugt werden. [ Standard = _ ]';
+$messages['help_summary_template_cache_lifetime'] = 'Lebensdauer des Caches der &Uuml;bersicht in Sekunden. Ist ein Wert gesetzt, wird der Cache der &Uuml;bersicht in dieser Zeit erneuert, anstatt bei jeder &Auml;nderung. [ Standard = 0 ]';
+$messages['register_default_album_name'] = 'Standard';
+$messages['register_default_album_description'] = 'Benutzen Sie dieses Album zum Hochladen neuer Bilder.';
+$messages['show_in_summary'] = 'Zeige in der &Uuml;bersicht';
+$messages['show_in_summary_help'] = 'Zeige dieses Blog in der &Uuml;bersicht.';
+
+$messages['saving_message'] = 'Speichern...';
+$messages['show_option_panel'] = 'Zeige Optionen';
+$messages['hide_option_panel'] = 'Verberge Optionen';
+
+$messages['quick_launches'] = 'Schnellstart';
+
+$messages['confirmation_message_resent_ok'] = 'Die Best&auml;tigungsmail wurde erfolgreich neu gesendet.';
+
+$messages['goto_blog_page'] = 'Gehe zu %s';
+
+$messages['help_num_blogs_per_user'] = 'Zahl der Blogs, die ein Benutzer &uuml;ber das Administrationsinterface anlegen darf';
+
+$messages['massive_change_option'] = 'Optionen f&uuml;r Mehrfachbearbeitung';
+$messages['show_massive_change_option'] = 'Zeige Optionen f&uuml;r Mehrfachbearbeitung';
+$messages['hide_massive_change_option'] = 'Verberge Optionen f&uuml;r Mehrfachbearbeitung';
+$messages['change_status'] = '&Auml;ndere Status';
+$messages['change_category'] = '&Auml;ndere Kategorie';
+$messages['error_updating_comment_no_comment'] = 'Beim Aktualisieren des Kommentars ist ein Fehler aufgetreten. Kommentar #%s konnte nicht gefunden werden.';
+$messages['error_updating_comment_wrong_blog'] = 'Beim Aktualisieren des Kommentars ist ein Fehler aufgetreten. Kommentar (%s) ist nicht diesem Blog zugeordnet.';
+$messages['error_updating_comment'] = 'Es ist ein Fehler beim Aktualisieren von (%s) aufgetreten.';
+$messages['error_updating_comment_already_updated'] = '&Auml;nderungen f&uuml;r (%s) wurden nicht &uuml;bernommen.';
+$messages['comment_updated_ok'] = 'Der Kommentar wurde erfolgreich aktualisiert.';
+$messages['comments_updated_ok'] = '%s Kommentare erfolgreich aktualisiert.';
+
+$messages['error_post_status'] = 'W&auml;hlen Sie bitte den Artikel-Status.';
+$messages['error_comment_status'] = 'W&auml;hlen Sie bitte den Kommentar-Status.';
+$messages['admin_mode'] = 'Admin Modus';
+$messages['administrate_user_blog'] = 'Dieses Blog administrieren';
+$messages['trackbacks_updated_ok'] = '%s Trackbacks erfolgreich aktualisiert.';
+$messages['trackback_updated_ok'] = 'Trackback erfolgreich aktualisiert.';
+$messages['error_trackback_status'] = 'Bitte w&auml;hlen Sie einen g&uuml;ltigen Status.';
+$messages['error_incorrect_user'] = 'Benutzer ist ung&uuml;ltig';
+$messages['select'] = 'Auswahl';
+$messages['remove_selected'] = 'Entferne Auswahl';
+
+$messages['notification_subject'] = 'LifeType Benachrichtigungssystem';
+$messages['error_no_trackback_links_sent'] = 'Warnung: Trackbacks nicht gesendet.';
+
+$messages['logout_destination_url'] = 'URL auf welche der Benutzer beim Ausloggen geleitet wird (Standard: Login-Seite) [ Standard = leer ]';
+
+$messages['help_http_cache_lifetime'] = 'Lebensdauer des Browsercaches in Sekunden auf Benutzerseite (in dieser Zeit werden Seiten aus dem Browsercache des Benutzers aufgerufewn, was die Geschwindigkeit sp&uuml;rbar erh&ouml;ht, eventuell k&ouml;nnten aber aktuelle Artikel und Kommentare nicht angezeigt werden. [Standard = 1800]';
+
+$messages['trackbacks_no_trackback'] = 'Senden eines Trackbacks zu folgender URL fehlgeschlagen: ';
+
+$messages['error_comment_spam_throw_away'] = 'Das Senden dieser Nachricht wurde durch unseren Anti-Spamfilter blockiert.';
+$messages['error_comment_spam_keep'] = 'Der Anti-Spamfilter hat Ihren Beitrag zwischengespeichert. Nach Durchsicht durch den Betreiber des Blogs wird dieser in K&uuml;rze freigeschaltet.';
+
+$messages['blog_categories'] = 'Blogkategorien';
+$messages['global_article_categories'] = 'Globale Artikelkategorien';
+
+$messages['help_force_posturl_unique'] = 'Nur eindeutige Artikelbezeichnungen f�r die URL erstellen (Slug). Diese Funktion ist nur notwendig, wenn Sie das Datum aus den Benutzerdefinierten URLs entfernen. Also beispielsweise "http://domain.com/blog/mein-artikel". [ Standard = nein ]';
+
+$messages['default_send_notification'] = 'Benachrichtigungsfunktion Standardeinstellung';
+
+$messages['enable_pull_down_menu'] = 'PullDown-Men&uuml;';
+$messages['enable_pull_down_menu_help'] = 'Aktiviert oder deaktiviert das PullDown-Men&uuml;.';
+
+$messages['change_album'] = 'Wechsle Album';
+
+$messages['warning_autosave_message'] = '<img src="imgs/admin/icon_warning-16.png" alt="Fehler" class="InfoIcon"/><p class="ErrorText">M&ouml;glicherweise haben sie ungespeicherten Text bei fr&uuml;heren Verlassen dieser Seite hinterlassen. Wenn dem so ist, k&ouml;nnen Sie <a href="#" onclick="restoreAutoSave();">hier zum Wiederherstellen klicken</a> oder <a href="#" onclick="eraseAutoSave();">l&ouml;schen</a>.</p>';
+
+$messages['check_username'] = 'Pr&uuml;fe Benutzername';
+$messages['check_username_ok'] = 'Der Benutzername ist verf&uuml;gbar!';
+$messages['error_username_exist'] = 'Sorry! Der Benutzername ist bereits vergeben, bitte w&auml;hlen Sie einen anderen.';
+
+$messages['error_rule_email_dns_server_temp_fail'] = 'Tempor&auml;rer Fehler - Bitte sp&auml;ter noch einmal versuchen.';
+$messages['error_rule_email_dns_server_unreachable'] = 'Der E-Mail Server ist nicht erreichbar.';
+$messages['error_rule_email_dns_not_permitted'] = 'E-Mail nicht erlaubt.';
+
+$messages['blog_users_help'] = 'Benutzer, welche Zugriff auf dieses Blog haben.';
+
+$messages['summary_welcome_paragraph'] = 'Sie sollten hier eine Willkommensnachricht platzieren, welche Ihre Benutzer als Erstes zu sehen bekommen. Oder Sie entfernen den Text komplett, und bauen die ganze Seite neu. Schauen Sie in den Ordner templates/summary/, hier sind alle Templates der &Uuml;bersicht zu finden. Damit k&ouml;nnen Sie das Erscheinungsbild der &Uuml;bersicht an Ihre Bed&uuml;rfnisse anpassen.';
+
+$messages['first_day_of_week'] = '1';
+$messages['first_day_of_week_label'] = 'Erster Tag der Woche';
+$messages['first_day_of_week_help'] = 'Erster Wochentag Ihres Kalenders';
+
+$messages['help_subdomains_base_url'] = 'Wenn Subdomains aktiviert sind, wird diese URL als Basis-URL benutzt. Verwenden Sie {blogname} um den Blognamen zu erhalten, {username} f&uuml;r den Benutzernamen (Besitzer des Blogs) und {blogdomain} um den Benutzer eine Subdomain w&auml;hlen zu lassen, unter der sein Blog erreichbar sein wird. (z.B. http://{blogname}.yourdomain.com)';
+
+$messages['registration_default_subject'] = 'LifeType Registrierungsbest&auml;tigung';
+
+$messages['error_invalid_subdomain'] = 'Der Subdomainname ist ung&uuml;ltig oder nicht zul&auml;ssig';
+$messages['register_blog_domain_help'] = 'Name und Subdomain welche Sie f&uuml;r Ihr neues Blog verwenden m&ouml;chten';
+$messages['domain'] = 'Domain';
+$messages['help_subdomains_available_domains'] = 'Geben Sie die erlaubten Domains durch Leerzeichen getrennt ein.  Der Benutzer wird eine Auswahlm&ouml;glichkeit bekommen, um die f&uuml;r ihn passende Adresse auszuw&auml;hlen. Dies wird nur gebraucht, wenn Subdomains und Blogdomains {blogdomain} in der Subdomain-Basis-URL aktiviert und eingetragen sind. Verwenden sie ein \'?\' wenn Sie irgend eine Domain erlauben wollen.';
+$messages['subdomains_any_domain'] = '<- Multi-Domain aktiviert. Geben Sie die vollst&auml;ndige Domain ein.';
+$messages['error_updating_blog_subdomain'] = 'Beim Aktualisieren der Subdomain ist ein Fehler aufgetreten.  Bitte pr&uuml;fen Sie die Daten, und versuchen Sie es erneut.';
+$messages['error_updating_blog_main_domain'] = 'Beim Aktualisieren der Hauptdomain-Einstellungen ist ein Fehler aufgetreten. M&ouml;glicherweise hat der Seitenadministrator etwas falsch konfiguriert.';
+
+$messages['monthsshort'] = Array( 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' );
+$messages['weekdaysshort'] = Array( 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat' );
+
+$messages['search_type'] = 'Suche in';
+$messages['posts'] = 'Artikel';
+$messages['blogs'] = 'Blogs';
+$messages['resources'] = 'Resourcen';
+$messages['upload_in_progress'] = 'Daten werden gesendet, bitte warten...';
+$messages['error_incorrect_username'] = 'Der Benutzername ist nicht korrekt, er ist entweder schon vergeben, oder er ist zu lang (maximal 15 Zeichen!)';
+
+$messages['Miscellaneous'] = 'Verschiedenes';
+$messages['Plugins'] = 'Plugins';
+
+$messages['auth_img'] = 'Authentifizierungscode';
+$messages['auth_img_help'] = 'Bitte geben Sie den Code von dem Bild unten ein.';
+
+$messages['global_category'] = 'Globale Kategorie';
+$messages['global_article_category_help'] = 'Globale Kategorie f&uuml;r diesen Artikel';
+
+$messages['password_reset_subject'] = 'LifeType Passwortabfrage';
+
+//
+// new strings for LifeType 1.2
+//
+$messages['auth'] = 'Auth.';
+$messages['authenticated'] = 'Authentifiziert';
+$messages['dropdown_list_field'] = 'Drop-down Liste';
+$messages['values'] = 'Feld Werte';
+$messages['field_values'] = 'Werte, die als Optionen in diesem Feld dargestellt werden. Der erste Wert wird als Standard-Wert verwendet.';
+
+$messages['permission_added_ok'] = 'Berechtigungen erfolgreich hinzugef&uuml;gt';
+$messages['core_perm'] = 'Vorgegebene Berechtigungen';
+$messages['admin_only'] = 'Nur Admins';
+$messages['permissionsList'] = 'Berechtigungen';
+$messages['newPermission'] = 'Neue Berechtigungen';
+$messages['permission_name_help'] = 'Eindeutiger Name f&uuml;r die Berechtigung';
+$messages['permission_description_help'] = 'Beschreibung zur Berechtigung';
+$messages['core_perm_help'] = 'Wenn die Berechtigung Teil der vorgegebenen Berechtigungen ist, ist es nicht m&ouml;glich, diese zu l&ouml;schen.';
+$messages['admin_only_help'] = 'Ob diese Berechtigung nur von Administratoren gesetzt werden kann.';
+$messages['error_adding_new_permission'] = 'Fehler beim Hinzuf&uuml;gen der Berechtigung. Bitte pr&uuml;fen Sie Ihre Eingabe.';
+$messages['error_incorrect_permission_id'] = 'Der Berechtigungsidentifikator war nicht korrekt.';
+$messages['error_permission_cannot_be_deleted'] = 'Berechtigung "%s" kann nicht gel&ouml;scht werden, da sie entweder mind. einem Benutzer zugewiesen ist oder es sich um eine vorgegebene Berechtigung handelt.';
+$messages['error_deleting_permission'] = 'Fehler beim L&ouml;schen der Berechtigung "%s".';
+$messages['permission_deleted_ok'] = 'Berechtigung "%s" wurde erfolgreich gel&ouml;scht.';
+$messages['permissions_deleted_ok'] = '%s Berechtigungen erfolgreich gel&ouml;scht.';
+$messages['error_deleting_permission2'] = 'Fehler beim L&ouml;schen der Berechtigung mit Identifikation "%s".';
+
+$messages['help_hard_show_posts_max'] = 'Oberes Maximum der Anzahl Artikel pro Seite. Wenn Benutzer einen Wert &uuml;ber dieses Limit setzen, wird deren Einstellung ignoriert und dieser Wert verwendet. [Standard = 50]';
+$messages['help_hard_recent_posts_max'] = 'Oberes Maximum der Anzahl k&uuml;rzlicher erschienener Artikel auf Blog Seiten. Wenn Benutzer einen Wert &uuml;ber dieses Limit setzen, wird deren Einstellung ignoriert und dieser Wert verwendet. [Standard = 25]';
+
+$messages['error_permission_required'] = 'Sie besitzen nicht gen&uuml;gend Berechtigungen, um diese Aktion auszuf&uuml;hren.';
+$messages['user_permissions_updated_ok'] = 'Benutzer Berechtigungen erfolgreich aktualisiert.';
+
+// blog permissions
+$messages['add_album_desc'] = 'Neu Alben hinzuf&uuml;gen';
+$messages['add_blog_template_desc'] = 'Neue Templates hinzuf&uuml;gen';
+$messages['add_blog_user_desc'] = 'Neue Benutzer hinzuf&uuml;gen';
+$messages['add_category_desc'] = 'Neue Kategorie hinzuf&uuml;gen';
+$messages['add_custom_field_desc'] = 'Neues benutzerdefiniertes Feld hinzuf&uuml;gen';
+$messages['add_link_desc'] = 'Neue Links hinzuf&uuml;gen';
+$messages['add_link_category_desc'] = 'Neue Link-Kategorien hinzuf&uuml;gen';
+$messages['add_post_desc'] = 'Neue Artikel hinzuf&uuml;gen';
+$messages['add_resource_desc'] = 'Neue Ressourcen hinzuf&uuml;gen';
+$messages['blog_access_desc'] = 'Zugriff auf dieses Blog erlauben';
+$messages['update_album_desc'] = 'Alben aktualisieren';
+$messages['update_blog_desc'] = 'Blog Einstellungen Aktualisieren';
+$messages['update_blog_template_desc'] = 'Blog Template aktualisieren';
+$messages['update_blog_user_desc'] = 'Benutzer Berechtigung aktualisieren';
+$messages['update_category_desc'] = 'Kategorien aktualisieren';
+$messages['update_comment_desc'] = 'Kommentare aktualisieren';
+$messages['update_custom_field_desc'] = 'Benutzerdefinierte Felder aktualisieren';
+$messages['update_link_desc'] = 'Links aktualisieren';
+$messages['update_link_category_desc'] = 'Link Kategorien aktualisieren';
+$messages['update_post_desc'] = 'Artikel aktualisieren';
+$messages['update_resource_desc'] = 'Ressourcen aktualisieren';
+$messages['update_trackback_desc'] = 'Trackbacks aktualisieren';
+$messages['view_blog_templates_desc'] = 'Templates anzeigen';
+$messages['view_blog_users_desc'] = 'Benutzer anzeigen';
+$messages['view_categories_desc'] = 'Kategorien anzeigen';
+$messages['view_comments_desc'] = 'Kommentare anzeigen';
+$messages['view_custom_fields_desc'] = 'Benutzerdefinierte Felder anzeigen';
+$messages['view_links_desc'] = 'Links anzeigen';
+$messages['view_link_categories_desc'] = 'Link Kategorien anzeigen';
+$messages['view_posts_desc'] = 'Artikel anzeigen';
+$messages['view_resources_desc'] = 'Ressourcen anzeigen';
+$messages['view_trackbacks_desc'] = 'Trackbacks anzeigen';
+$messages['login_perm_desc'] = 'Benutzer darf sich einloggen';
+// admin permissions
+$messages['add_blog_category_desc'] = 'Benutzer darf Kategorien hinzuf&uuml;gen';
+$messages['add_global_article_category_desc'] = 'Benutzer darf globale Artikel Kategorien hinzuf&uuml;gen';
+$messages['add_locale_desc'] = 'Benutzer darf neue Sprachen hinzuf&uuml;gen';
+$messages['add_permission_desc'] = 'Benutzer darf neue Berechtigungen hinzuf&uuml;gen';
+$messages['add_site_blog_desc'] = 'Benutzer darf neue Blogs erstellen';
+$messages['add_template_desc'] = 'Benutzer darf neue Templates hinzuf&uuml;gen';
+$messages['add_user_desc'] = 'Benutzer darf neue Benutzer hinzuf&uuml;gen';
+$messages['edit_blog_admin_mode_desc'] = 'Benutzer darf andere Blogs administrieren (Admin Modus)';
+$messages['purge_data_desc'] = 'Benutzer darf Daten endg&uuml;ltig l&ouml;schen';
+$messages['update_blog_category_desc'] = 'Benutzer darf Kategorien &auml;ndern und l&ouml;schen';
+$messages['update_global_article_category_desc'] = 'Benutzer darf globale Kategorien &auml;ndern und l&ouml;schen';
+$messages['update_global_settings_desc'] = 'Benutzer darf globale Seiteneinstellungen &auml;ndern';
+$messages['update_locale_desc'] = 'Benutzer darf Sprachen &auml;ndern und l&ouml;schen';
+$messages['update_permission_desc'] = 'Benutzer darf Berechtigungen &auml;ndern und l&ouml;schen';
+$messages['update_plugin_settings_desc'] = 'Benutzer darf Plugin Einstellungen &auml;ndern';
+$messages['update_site_blog_desc'] = 'Benutzer darf Blogs &auml;ndern und l&ouml;schen';
+$messages['update_template_desc'] = 'Benutzer darf Templates &auml;ndern und l&ouml;schen';
+$messages['update_user_desc'] = 'Benutzer darf Benutzer &auml;ndern und l&ouml;schen';
+$messages['view_blog_categories'] = 'Benutzer darf Kategorien ansehen';
+$messages['view_global_article_categories_desc'] = 'Benutzer darf glboale Kategorien ansehen';
+$messages['view_global_settings_desc'] = 'Benutzer darf globale Seiteneinstellungen ansehen';
+$messages['view_locales_desc'] = 'Benutzer darf Sprachen ansehen';
+$messages['view_permissions_desc'] = 'Benutzer darf Berechtigungen ansehen';
+$messages['view_plugins_desc'] = 'Benutzer darf Plugins ansehen';
+$messages['view_site_blogs_desc'] = 'Benutzer darf Blogs ansehen';
+$messages['view_templates_desc'] = 'Benutzer darf Templates ansehen';
+$messages['view_users_desc'] = 'Benutzer darf andere Benutzer ansehen';
+$messages['update_blog_stats_desc'] = 'Benutzer darf Referrers l&ouml;schen';
+$messages['manage_admin_plugins_desc'] = 'Verwaltung der Admin-only Funktionen von Plugins';
+
+$messages['summary_welcome_msg'] = 'Willkommen, %s!';
+$messages['summary_go_to_admin'] = 'Gehe zum Administrationsmen&uuml;';
+
+$messages['error_can_only_update_own_articles'] = 'Ihre Berechtigungen erlauben nur Ihre eigenen Artikel zu &auml;ndern.';
+$messages['update_all_user_articles_desc'] = 'Erlauben die Artikel anderer Benutzer zu &auml;ndern.';
+$messages['error_can_only_view_own_articles'] = 'Ihre Berechtigungen erlauben nur Ihre eigenen Artikel zu sehen.';
+$messages['view_all_user_articles_desc'] = 'Erlauben die Artikel anderer Benutzer zu sehen.';
+$messages['error_fetching_permission'] = 'Fehler beim Laden der Berechtigung.';
+$messages['editPermission'] = 'Berechtigung &auml;ndern';
+$messages['error_updating_permission'] = 'Fehler beim Aktualisieren der Berechtigung';
+$messages['permission_updated_ok'] = 'Berechtigung erfolgreich aktualisiert!';
+$messages['error_adding_permission'] = 'Fehler beim Hinzuf&uuml;gen der Berechtigung';
+$messages['error_cannot_login'] = 'Sorry, Sie sind nicht berechtigt, sich anzumelden.';
+$messages['admin_user_permissions_help'] = 'Globale Berechtigungen dem Benutzer hinzugef&uuml;gt.';
+
+$messages['permissions'] = 'Berechtigungen';
+$messages['blog_user_permissions_help'] = 'Berechtigungen zu diesem Benutzer in diesem Blog hinzugef&uuml;gt.';
+$messages['pluginSettings'] = 'Plugin Einstellungen';
+$messages['user_can_override'] = 'Benutzer kann die Einstellung &uuml;berschreiben';
+$messages['user_cannot_override'] = 'Benutzer kann die Einstellung nicht &uuml;berschreiben';
+$messages['global_plugin_settings_saved_ok'] = 'Globale Plugin Einstellungen erfolgreich gespeichert!';
+$messages['error_updating_global_plugin_settings'] = 'Fehler beim Speichern der globalen Plugin Einstellungen.';
+$messages['error_incorrect_value'] = 'Der Wert ist nicht korrekt.';
+$messages['parameter'] = 'Parameter';
+$messages['value'] = 'Wert';
+$messages['override'] = '&Uuml;berschreiben';
+$messages['editCustomField'] = 'Benutzerdefiniertes Feld editieren';
+$messages['view_blog_stats_desc'] = 'Blog Statistik anzeigen';
+$messages['manage_plugins_desc'] = 'Blog Plugins verwalten';
+
+$messages['error_global_category_has_articles'] = 'Die globale Kategorie konnte nicht gel&ouml;scht werden, da sie noch Artikel enth&auml;lt.';
+$messages['error_adding_global_article_category'] = 'Fehler beim Hinzuf&uuml;gen der globalen Kategorie.';
+
+$messages['temp_folder_reset_ok'] = 'Das tempor&auml;re Verzeichnis wurde erfolgreich geleert.';
+$messages['cleanup_temp_help'] = 'Diese Funktion leert das tempor&auml;re Verzeichnis und erneuert somit den cache f&uuml;r alle Blogs.';
+$messages['cleanup_temp'] = 'Tempor&auml;res Verzeichnis leeren';
+
+$messages['comment_only_auth_users'] = 'Nur authentisierte Benutzer k&ouml;nnen kommentieren.';
+$messages['comment_only_auth_users_help'] = 'Nur Benutzer, die einen g&uuml;ltigen Benutzernamen haben und eingelogt sind, k&ouml;nnen einen Kommentar hinterlassen.';
+$messages['show_comments_max'] = 'Kommentare pro Seite';
+$messages['show_comments_max_help'] = 'Maximale Anzahl Kommentare pro Seite [ Standard = 20 ]';
+$messages['hard_show_comments_max_help'] = 'Fixes (globales) Limit f&uuml;r die Anzahle Kommentare pro Seite  [ Standard = 50 ]';
+
+$messages['error_resource_not_whitelisted_extension'] = 'Die Datei dieses Typs ist nicht erlaubt.';
+$messages['help_upload_allowed_files'] = 'Durch Leerschlag getrennte Liste von Dateitypen, welche f&uuml;r den upload erlaubt sind. Die Verwendung von \'*\' und \'?\' als Wildcards sind erlaubt. Wenn diese Option und die Option upload_forbitten_file gesetzt sind, wird diese (upload_allowed_files) bevorzugt. [Standard = None]';
+
+$messages['help_template_load_order'] = 'Definiert, in welcher Reihenfolge die Templates durchsucht und geladen werden. Wird die Option \'Lade Default Template zuerst\' gew&auml;hlt, wird LifeType zuerst die templates aus dem Ordner /templates/default/ laden. Ist ein Template dort nicht verf&uuml;gbar, l&auml;dt LifeType das Template aus dem Ordner des Blog Templates. Existiert das Template in beiden Verzeichnissen, wird das \'default\' genommen. Wird die Option auf \'Lade Benutzer Templates zuerst\'gesetzt, wird zuerst das Template des Blogs geladen. Wird kein Template gefunden, sucht LifeType im \'default\' Verzeichnis weiter.';
+$messages['template_load_order_user_first'] = 'Lade Default Templates zuerst';
+$messages['template_load_order_default_first'] = 'Lade Benutzer Templates zuerst';
+
+$messages['editBlogUser'] = 'Editiere einen Blog Benutzer';
+
+$messages['help_summary_service_name'] = 'Name Ihrer Seite, welcher an verschiedenen Orten im &Uuml;berblick und in RSS Feeds verwendet wird. [ Standard = (leer) ]';
+
+$messages['register_step2_help'] = 'Bitte geben Sie nun die notwendigen Informationen zum Erstellen eines Blogs ein.';
+
+$messages['create_date'] = 'Erstellungsdatum';
+
+$messages['insert_media'] = 'Medium einf&uuml;gen';
+$messages['insert_more'] = '"mehr..." Link ein- ausschalten';
+
+$messages['purging_please_wait'] = 'Bitte haben Sie etwas Geduld, die Daten werden gel&ouml;scht. Die Seite wird w&auml;hrend des Vorgangs aktualiesiert, stoppen Sie den Vorgang nicht.';
+
+$messages['error_cannot_delete_last_blog_category'] = 'Sie k&ouml;nnen die letzte Kategorie nicht l&ouml;schen.';
+
+$messages['help_logout_destination_url'] = 'URL auf welchen der Benutzer beim Ausloggen geleitet wird (Standard: Login-Seite) [ Standard = (leer) ]';
+$messages['help_default_global_article_category_id'] = 'Standard-ID f&uuml;r globale Artikelkategorien';
+$messages['help_blog_does_not_exist_url'] = 'URL, der aufgerufen werden soll, wenn ein Blog nicht existiert';
+
+$messages['error_invalid_blog_name'] = 'Der Blog Name ist ung&uuml;ltig.';
+
+/* strings for /default/ templates */
+
+
+$messages['help_forbidden_blognames'] = 'Leerschlag getrennte Liste von W&ouml;rtern, welche nicht als Blog Namen zugelassen sind. Regul&auml;r Ausdr&uuml;cke sind erlaubt. [ Standard = (leer) ]';
+
+$messages['posts_updated_ok'] = '%s Artikel erfolgreich aktualisiert.';
+$messages['error_updating_post2'] = 'Fehler beim Aktualisieren des Artikels mit der ID %s.';
+$messages['resources_updated_ok'] = '%s Ressourcen erfolgreich aktualisiert';
+$messages['error_updating_resource2'] = 'Fehler beim Aktualisieren der Ressource mit ID %s';
+$messages['albums_updated_ok'] = '%s Alben erfolgreich aktualisiert';
+$messages['error_updating_album2'] = 'Fehler beim Aktualisieren des Albums mit ID %s';
+$messages['links_updated_ok'] = '%s Links erfolgreich aktualisiert';
+$messages['error_updating_link2'] = 'Fehler beim aktualisieren des Links mit der ID %s';
+
+$messages['help_forbidden_blognames'] = 'Leerschlag getrennte Liste von W&ouml;rtern, welche nicht als Blog Namen zugelassen sind. Regul&auml;r Ausdr&uuml;cke sind erlaubt. [ Standard = (leer) ]';
+
+$messages['version'] = 'Version';
+
+$messages['error_resources_disabled'] = 'Sorry, das Hochladen neuer Ressourcen wurde deaktiviert.';
+$messages['help_login_admin_panel'] = 'Klicken Sie auf den Name des Blogs, um zu den Administrationsseiten zu gelangen.';
+
+$messages['blog_updated_ok'] = 'Blog "%s" was successfully updated';
+$messages['blogs_updated_ok'] = '%s blogs were successfully updated';
+$messages['error_updating_blog2'] = 'There was an error updating the blog whose identifier is "%s"';
+$messages['error_updating_blog'] = 'There was an error updating blog "%s"';
+
+$messages['error_updating_user'] = 'There was an error updating user "%s".';
+$messages['user_updated_ok'] = 'User "%s" was successfully updated.';
+$messages['users_updated_ok'] = '%s users were successfully updated';
+$messages['eror_updating_user2'] = 'There was an error updating user with identifier "%s"';
+
+$messages['error_select_status'] = 'Please select a valid status';
+?>
\ No newline at end of file

Modified: plog/trunk/locale/admin/locale_en_UK.php
===================================================================
--- plog/trunk/locale/admin/locale_en_UK.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/locale/admin/locale_en_UK.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -111,7 +111,6 @@
 $messages['post_status_published'] = 'Published';
 $messages['post_status_draft'] = 'Draft';
 $messages['post_status_deleted'] = 'Deleted';
-$messages['categories'] = 'Categories';
 $messages['post_categories_help'] = 'Select one or more categories.';
 $messages['post_comments_enabled_help'] = 'Enable comments';
 $messages['send_notification_help'] = 'Notification of new comments.';
@@ -189,6 +188,7 @@
 $messages['error_marking_comment_as_nonspam'] = 'There was an error marking the comment as no spam';
 $messages['comment_marked_as_nonspam_ok'] = 'The comment was marked as no spam successfully';
 
+
 // post trackbacks
 $messages['blog'] = 'Blog';
 $messages['excerpt'] = 'Excerpt';
@@ -212,7 +212,6 @@
 // categories
 $messages['posts'] = 'Posts';
 $messages['show_in_main_page'] = 'Show in front page';
-$messages['error_incorrect_category_id'] = 'The category identifier is not correct or no items were selected';
 $messages['error_category_has_articles'] = 'Category "%s" is used by some articles. Please edit the articles first and then remove the category';
 $messages['category_deleted_ok'] = 'Category "%s" deleted successfully';
 $messages['categories_deleted_ok'] = '%s categories deleted successfully';
@@ -250,7 +249,7 @@
 
 // new link
 $messages['link_name_help'] = 'Name given to this link.';
-$messages['link_url_help'] = 'Address where this link points.';
+$messages['link_url_help'] = 'Address where this link points. Example: http://www.domainname.com/ (NOTE: http:// must be included!)';
 $messages['link_description_help'] = 'Brief description of this link.';
 $messages['link_feed_help'] = 'A link to any of the RSS or Atom feeds of this link can also be provided.';
 $messages['link_category_help'] = 'Choose one of the available link categories.';
@@ -265,7 +264,6 @@
 $messages['link_updated_ok'] = 'Link "%s" was updated successfully';
 
 // link categories
-$messages['links'] = 'Links';
 $messages['error_invalid_link_category_id'] = 'The link category identifier was not correct or there was no link category selected';
 $messages['error_links_in_link_category'] = 'Link category "%s" is used by some links. Modify the links first and try again';
 $messages['error_removing_link_category'] = 'There was an error removing link category "%s"';
@@ -317,7 +315,7 @@
 $messages['error_incorrect_album_id'] = 'The album identifier is not correct';
 $messages['error_base_storage_folder_missing_or_unreadable'] = 'It was not possible for LifeType to create the necessary folders where resources are going to be installed. This might be due to several reasons, such as your PHP installation running with safe mode enabled or your user not having enough permissions to do so. You may still try to carry out the operation manually, by creating the following folders: <br/><br/>%s<br/><br/>If these folders already exist please make sure that they can be read and written by the user running the web server.';
 $messages['items_deleted_ok'] = '%s items deleted successfully';
-$messages['error_album_has_children'] = 'Album "%s" has children. Please edit first the album and try again';
+$messages['error_album_has_children'] = 'Album "%s" has children. Please empty the album first and then try again.';
 $messages['item_deleted_ok'] = 'Item "%s"deleted successfully';
 $messages['error_deleting_album'] = 'There was an error deleting album "%s"';
 $messages['error_deleting_album2'] = 'There was an error deleting album with identifier "%s"';
@@ -438,7 +436,6 @@
 $messages['user_picture_help'] = 'Please select a picture form the ones uploaded to this blog as your personal picture.';
 $messages['error_invalid_password'] = 'The password is not correct. Please make sure that it is not too short';
 $messages['error_passwords_dont_match'] = 'Sorry, passwords do not match';
-$messages['error_incorrect_email_address'] = 'The email address is not correct';
 $messages['error_updating_user_settings'] = 'There was an error updating your user settings. Please check the data and try again';
 $messages['user_settings_updated_ok'] = 'User settings updated successfully';
 $messages['resource'] = 'Resource';
@@ -678,7 +675,7 @@
 $messages['throw_away_spam_comments'] = 'Throw them away (do not save them)';
 // resources
 $messages['help_resources_enabled'] = 'Enable or disable resources. [Default = Yes]';
-$messages['help_resources_folder'] = 'Folder where resource files will be kept. Set outside the web server tree for increased security.  [Default = ./gallery]';
+$messages['help_resources_folder'] = 'Absolute or relative path to the folder where resource files (pictures, videos etc.) will be kept. [Default = ./gallery]';
 $messages['help_thumbnail_method'] = 'Method used to generate thumbnails. If using PHP, support for GD is required. [Default = PHP]';
 $messages['help_path_to_convert'] = 'Path to the "convert" tool from the ImageMagick package. Mandatory if the thumbnail method is "ImageMagick". [Default = /usr/bin/convert]';
 $messages['help_thumbnail_format'] = 'Format in which thumbnails are saved. [Default = Same as image]';
@@ -706,6 +703,7 @@
 $messages['cleanup_posts'] = 'Purge Posts';
 $messages['cleanup_posts_help'] = 'This will remove all posts that have been deleted by users (marked as "Deleted") It will not be possible to recover them once they have been removed.';
 $messages['posts_purged_ok'] = 'Posts purged successfully';
+$messages['purging_error'] = 'There was a failure while purging the data';
 
 /// summary ///
 // front page
@@ -816,7 +814,7 @@
 $messages['newBlogCategory'] = 'New Blog Category';
 $messages['editBlogCategories'] = 'Blog Categories';
 $messages['blog_category_added_ok'] = 'Blog category added successfully';
-$messages['error_blog_category_has_blogs'] = 'The blog category "%s" has some blogs assigned to it. Please edit first the blogs and then try again.';
+$messages['error_blog_category_has_blogs'] = 'The blog category "%s" has some blogs assigned to it. Please remove the blogs from the category and then try again.';
 $messages['error_deleting_blog_category'] = 'There was an error deleting blog category "%s"';
 $messages['blog_category_deleted_ok'] = 'Blog category "%s" was deleted successfully';
 $messages['blog_categories_deleted_ok'] = '%s blog categories deleted successfully';
@@ -891,8 +889,6 @@
 $messages['notification_subject'] = 'LifeType Notification System';
 $messages['error_no_trackback_links_sent'] = 'Warning: No Trackbacks were sent.';
 
-$messages['logout_destination_url'] = 'URL where users will be sent when logging out, like for examplethe front page of your service. Leave empty in order to use the default value (the login page). [ Default = empty ]';
-
 $messages['help_http_cache_lifetime'] = 'Lifetime in seconds of the client side cache (browsers will not return to the server for this long, and pages will be served from the local cache.  This greatly speeds up the browsing experience, but will delay post and comment visibility. [Default = 1800]';
 
 $messages['trackbacks_no_trackback'] = 'Sending a trackback to the following URL failed: ';
@@ -1130,7 +1126,6 @@
 $messages['help_blog_does_not_exist_url'] = 'URL where users will be forwarded when they attempt to reach a blog that does not exist in this site, instead of being forwarded to the site\'s default blog [ Default = empty ]';
 
 $messages['error_invalid_blog_name'] = 'The blog name is not valid';
-$messages['bookmark_it_to_lifetype'] = 'Bookmark it to LifeType!';
 
 /* strings for /default/ templates */
 
@@ -1146,7 +1141,20 @@
 $messages['links_updated_ok'] = '%s links updated successfully';
 $messages['error_updating_link2'] = 'There was an error updating the link with identifier %s';
 
-$messages['help_forbidden_blognames'] = 'List of strings separated by a blank space that are not allowed to be used as blog names. It is possible to use regular expressions instead of plain strings. [ Default = (empty) ]';
+$messages['version'] = 'Version';
 
-$messages['version'] = 'Version';
+$messages['error_resources_disabled'] = 'Sorry, support for uploading new resources has been disabled in this site';
+$messages['help_login_admin_panel'] = 'Click the blog name to enter the administration page.';
+
+$messages['blog_updated_ok'] = 'Blog "%s" was successfully updated';
+$messages['blogs_updated_ok'] = '%s blogs were successfully updated';
+$messages['error_updating_blog2'] = 'There was an error updating the blog whose identifier is "%s"';
+$messages['error_updating_blog'] = 'There was an error updating blog "%s"';
+
+$messages['error_updating_user'] = 'There was an error updating user "%s".';
+$messages['user_updated_ok'] = 'User "%s" was successfully updated.';
+$messages['users_updated_ok'] = '%s users were successfully updated';
+$messages['eror_updating_user2'] = 'There was an error updating user with identifier "%s"';
+
+$messages['error_select_status'] = 'Please select a valid status';
 ?>
\ No newline at end of file

Modified: plog/trunk/locale/admin/locale_es_ES.php
===================================================================
--- plog/trunk/locale/admin/locale_es_ES.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/locale/admin/locale_es_ES.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -426,7 +426,6 @@
 $messages['user_picture_help'] = 'Puede elegir una foto de las disponibles en esta bitácora como fichero para que sea su foto personal';
 $messages['error_invalid_password'] = 'El password no es correcto o por ejemplo, es demasiado corto';
 $messages['error_passwords_dont_match'] = 'El password y la confirmación no son iguales';
-$messages['error_incorrect_email_address'] = 'La dirección de correo no es válida';
 $messages['error_updating_user_settings'] = 'Hubo un error guardando sus datos. Compruebe los datos y vuélvalo a intentar';
 $messages['user_settings_updated_ok'] = 'Los datos de usuario fueron guardados correctamente';
 $messages['resource'] = 'Fichero';
@@ -444,7 +443,7 @@
 $messages['error_removing_user_from_blog2'] = 'Hubo un error eliminando el acceso a esta bitácora del usuario cuyo identificador es "%s"';
 
 // new blog user
-$messages['new_blog_username_help'] = 'Nombre del usuario al que se quiere dar acceso a esta bitácora. El usuario solo tendrá acceso a las secciones "Contenido" y "Ficheros"';
+$messages['new_blog_username_help'] = 'Nombre del usuario al que se quiere dar acceso a esta bitácora.';
 $messages['send_notification'] = 'Enviar notificación';
 $messages['send_user_notification_help'] = 'Enviar un mensaje de notificación a este usuario';
 $messages['notification_text'] = 'Texto';
@@ -1127,8 +1126,6 @@
 
 $messages['help_forbidden_blognames'] = 'Lista de cadenas separadas por un espacio en blanco que no se pueden usar como nombres de bitácora. Es posible usar una expresión regular en lugar de una simple cadena. [ Valor por defecto = (vacío) ]';
 
-$messages['bookmark_it_to_lifetype'] = 'Añadir como favorito en LifeType!';
-
 $messages['posts_updated_ok'] = '%s artículos fueron actualizados correctamente';
 $messages['error_updating_post2'] = 'Hubo un error actualizando el artículo cuyo identificador es %s';
 $messages['resources_updated_ok'] = '% ficheros fueron actualizados correctamente';
@@ -1155,4 +1152,20 @@
 $messages['Plugins'] = 'Plugins';
 $messages['help_hard_recent_posts_max'] = 'Número máximo para el número de artículos recientes que aparecen en cada bitácora. Si los usuarios configuran un valor por encima de éste, el valor del usuario será ignorado y éste será usado. [ Valor por defecto = 25 ]';
 $messages['version'] = 'Versión';
-?>
+
+$messages['error_resources_disabled'] = 'El soporte para añadir nuevos ficheros a su bitácora ha sido desactivado en est servidor.';
+
+$messages['help_login_admin_panel'] = 'Haga clic en el nombre de la bitácora para administrarla';
+
+$messages['blog_updated_ok'] = 'La bitácora "%s" fue actualizada correctamente.';
+$messages['blogs_updated_ok'] = '%s bitácoras fueron actualizadas correctamente';
+$messages['error_updating_blog2'] = 'Hubo un error actualizando la bitácora cuyo identificador es "%s"';
+$messages['error_updating_blog'] = 'Hubo un error actualizando la bitácora "%s"';
+
+$messages['error_updating_user'] = 'Hubo un error modificando el usuario "%s".';
+$messages['user_updated_ok'] = 'El usuario "%s" fue modificado correctamente.';
+$messages['users_updated_ok'] = '%s usuarios fueron modificados correctamente';
+$messages['eror_updating_user2'] = 'Hubo un error modificando el usuario cuyo identificador es "%s"';
+
+$messages['error_select_status'] = 'Seleccione un estado.';
+?>
\ No newline at end of file

Copied: plog/trunk/locale/admin/locale_fr_FR.php (from rev 5155, plog/branches/lifetype-1.2/locale/admin/locale_fr_FR.php)
===================================================================
--- plog/trunk/locale/admin/locale_fr_FR.php	                        (rev 0)
+++ plog/trunk/locale/admin/locale_fr_FR.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,1340 @@
+<?php
+
+// done by Nino NJOPKOU ( benoue at gmail.com ) and Loïc Pietrzak (new strings for LifeType 1.2)
+
+/////////////////                                          //////////////////
+///////////////// STRINGS FOR THE ADMINISTRATION INTERFACE //////////////////
+/////////////////                                          //////////////////
+
+// login page
+$messages["login"] = "Connexion";
+$messages["welcome_message"] = "Bienvenue sur LifeType";
+$messages["error_incorrect_username_or_password"] = "Désolé, pseudo ou mot de passe incorrect.";
+$messages["error_dont_belong_to_any_blog"] = " Désolé, vous n'êtes encore membre d'aucun blog";
+$messages["logout_message"] = "Déconnexion réussie.";
+$messages["logout_message_2"] = "<a href=\"admin.php\">Cliquez ici</a>pour vous reconnecter,
+ou <a href=\"%1\$s\">ici pour aller %2\$s</a>.";
+$messages["error_access_forbidden"] = "Accès interdit, vous devez vous identifier <a href=\"admin.php\">ici</a> avant .";
+$messages["username"] = "Pseudo";
+$messages["password"] = "Mot de passe";
+
+// dashboard
+$messages["dashboard"] = "Panneau de Configuration";
+$messages['recent_articles'] = 'Les derniers articles';
+$messages['recent_comments'] = 'Les derniers commentaires';
+$messages['recent_trackbacks'] = 'Les derniers trackbacks';
+$messages['blog_statistics'] = 'Statistiques';
+$messages['total_posts'] = 'Nombre d\'articles';
+$messages['total_comments'] = 'Nombre de commentaires';
+$messages['total_trackbacks'] = 'Nombre de trackbacks';
+$messages['total_viewed'] = 'Nombre d\'articles lus';
+$messages['in'] = 'Dans';
+
+// menu options
+$messages["newPost"] = "Nouveau";
+$messages["Manage"] = "Editer";
+$messages["managePosts"] = "Articles";
+$messages["editPosts"] = "Articles";
+$messages["editArticleCategories"] = "Catégories";
+$messages["newArticleCategory"] = "Nouvelle catégorie";
+$messages["manageLinks"] = "Liens";
+$messages["editLinks"] = "Liens";
+$messages["newLink"] = "Nouveau lien";
+$messages["editLink"] = "Editer un lien";
+$messages["editLinkCategories"] = "Catégorie de liens";
+$messages["newLinkCategory"] = "Nouvelle catégorie de liens";
+$messages["editLinkCategory"] = "Editer une catégorie de liens";
+$messages["manageCustomFields"] = "Champs personnalisés";
+$messages["blogCustomFields"] = "Champs personnalisés";
+$messages["newCustomField"] = "Nouveau champ personnalisé";
+$messages["resourceCenter"] = "Gestion des ressources";
+$messages["resources"] = "Ressources";
+$messages["newResourceAlbum"] = "Nouvel album";
+$messages["newResource"] = "Nouvelle ressource";
+$messages["controlCenter"] = "Réglages";
+$messages["manageSettings"] = "Paramètres";
+$messages["blogSettings"] = "Paramètres du blog";
+$messages["userSettings"] = "Paramètres du membre";
+$messages["pluginCenter"] = "Gestion des plugins";
+$messages["Stats"] = "Statistiques";
+$messages["manageBlogUsers"] = "Gerer les membres";
+$messages["newBlogUser" ] = "Nouveau membre";
+$messages["showBlogUsers"] = "Membres";
+$messages["manageBlogTemplates"] = "Gabarits";
+$messages["newBlogTemplate"] = "Nouveau gabarit";
+$messages["blogTemplates"] = "Gabarits";
+$messages["adminSettings"] = "Administration";
+$messages["Users"] = "Membres";
+$messages["createUser"] = "Créer membre";
+$messages["editSiteUsers"] = "Membres";
+$messages["Blogs"] = "Blogs";
+$messages["createBlog"] = "Créer un blog";
+$messages["editSiteBlogs"] = "Blogs";
+$messages["Locales"] = "Traductions";
+$messages["newLocale"] = "Nouvelle traduction";
+$messages["siteLocales"] = "Traductions";
+$messages["Templates"] = "Gabarits";
+$messages["newTemplate"] = "Nouveau gabarit";
+$messages["siteTemplates"] = "Gabarits";
+$messages["GlobalSettings"] = "Paramètres";
+$messages["editSiteSettings"] = "Général";
+$messages["summarySettings"] = "Portail";
+$messages["templateSettings"] = "Gabarits";
+$messages["urlSettings"] = "URLs";
+$messages["emailSettings"] = "Email";
+$messages["uploadSettings"] = "Uploads";
+$messages["helpersSettings"] = "Chemins externes";
+$messages["interfacesSettings"] = "Interfaces";
+$messages["securitySettings"] = "Securité";
+$messages["bayesianSettings"] = "Filtre Bayesien";
+$messages["resourcesSettings"] = "Ressources";
+$messages["searchSettings"] = "Recherche";
+$messages["cleanUpSection"] = "Nettoyer";
+$messages["cleanUp"] = "Nettoyer";
+$messages["editResourceAlbum"] = "Editer un album";
+$messages["resourceInfo"] = "Editer une ressource";
+$messages["editBlog"] = "Editer un blog";
+$messages["hours"] = "heures";
+
+// new post
+$messages["topic"] = "Sujet";
+$messages["topic_help"] = "Titre de l'article";
+$messages["text"] = "Texte";
+$messages["text_help"] = "Texte de l'article. Cette partie apparaîtra sur la page principale";
+$messages["extended_text"] = "Texte étendu";
+$messages["extended_text_help"] = "Texte étendu de l'article. Cette partie peut optionellement apparaître sur la page des articles ou sur la page principale. Voir les paramètres du blog pour plus d'informations.";
+$messages['trackback_urls'] = 'URLs réelles de Trackback';
+$messages['trackback_urls_help'] = "Si l'article auquel vous voulez envoyer le tracback ne supporte le mécanisme de reconnaissance des trackback, merci de préciser ici l'URL réelle de trackback et d'utiliser le saut de ligne pour séparer des URLs différentes";
+$messages["post_slug"] = "Slug";
+$messages["post_slug_help"] = "Le slug sera utilisé pour généré de beaux liens permanents";
+$messages["date"] = "Date";
+$messages["post_date_help"] = "Date à laquelle l'article a été posté";
+$messages["status"] = "Statut";
+$messages["post_status_help"] = "Selectionner un de ces statuts";
+$messages["post_status_published"] = "Publié";
+$messages["post_status_draft"] = "Brouillon";
+$messages["post_status_deleted"] = "Supprimé";
+$messages["categories"] = "Catégories";
+$messages["post_categories_help"] = "Sélectionnez une ou plusieurs catégories";
+$messages["post_comments_enabled_help"] = "Commentaires autorisés";
+$messages["send_notification_help"] = "Notification de nouveaux commentaires";
+$messages["send_trackback_pings_help"] = "Envoyer des trackbacks";
+$messages["send_xmlrpc_pings_help"] = "Envoyer des pings XML-RPC";
+$messages["save_draft_and_continue"] = "Sauvegarder le brouillon";
+$messages["preview"] = "Prévisualiser";
+$messages["add_post"] = "Poster!";
+$messages["error_saving_draft"] = "Il y a eu une erreur lors de la saugarde du brouillon";
+$messages["draft_saved_ok"] = "Brouillon sauvegardé";
+$messages["error_sending_request"] = "Il y a eu une erreur lors de l'envoi de la requête.";
+$messages["error_no_category_selected"] = "Veuillez choisir au moins une catégorie.";
+$messages["error_missing_post_topic"] = "Veuillez entrer un titre";
+$messages["error_missing_post_text"] = "Article vide";
+$messages["error_adding_post"] = "Il y a eu une erreur lors de la publication de l'article.";
+$messages["post_added_not_published"] = "Article correctement ajouté, mais pas encore publié.";
+$messages["post_added_ok"] = "Article correctement ajouté.";
+$messages["send_notifications_ok"] = "Une notification vous sera envoyée par mail à chaque nouveau commentaire ou trackback.";
+$messages['bookmarklet'] = "Bookmarklet";
+$messages['bookmarklet_help'] = "Copier ce lien dans votre barre d'outils ou cliquer droit dessus pour l'ajouter à vos favoris ou votre bookmark";
+$messages['blogit_to_lifetype'] = "Bloguer le sur LifeType!";
+$messages['original_post'] = "(Post original)";
+
+// send trackbacks
+$messages["error_sending_trackbacks"] = "Il y a eu une erreur en envoyant les trackbacks suivants :";
+$messages["send_trackbacks_help"] = "Veuillez sélectionner les URLs où vous souhaitez envoyer des Trackback pings. Veuillez vérifier que ces sites supportent les trackbacks.";
+$messages["send_trackbacks"] = "Envoyer des trackbacks";
+$messages["ping_selected"] = "Faire un ping vers les sites sélectionnés";
+$messages["trackbacks_sent_ok"] = "Trackbacks correctement envoyés aux URLs sélectionnées";
+
+// posts page
+$messages["show_by"] = "Trier par";
+$messages["category"] = "Catégorie";
+$messages["author"] = "Auteur";
+$messages["post_status_all"] = "Tous";
+$messages["author_all"] = "Tous";
+$messages["search_terms"] = "Recherche";
+$messages["show"] = "Montrer";
+$messages["delete"] = "Supprimer";
+$messages["actions"] = "Actions";
+$messages["all"] = "Tous";
+$messages["category_all"] = "Tous";
+$messages["error_incorrect_article_id"] = "ID d'article incorrect";
+$messages["error_deleting_article"] = "Il y a eu une erreur en supprimant l'article \"%s\"";
+$messages["article_deleted_ok"] = "Article \"%s\" supprimé";
+$messages["articles_deleted_ok"] = "%s articles supprimés";
+$messages["error_deleting_article2"] = "Il y a eu une erreur en supprimant l'article d'ID \"%s\"";
+
+// edit post page
+$messages["update"] = "Mettre à jour";
+$messages["editPost"] = "Editer l'article";
+$messages["error_fetching_post"] = "Erreur en récupérant l'article.";
+$messages["post_updated_ok"] = "Article \"%s\" mis à jour";
+$messages["error_updating_post"] = "Il y a eu une erreur en mettant à jour l'article";
+$messages["notification_added"] = "Une notification vous sera envoyée par mail à chaque nouveau commentaire ou trackback.";
+$messages["notification_removed"] = "Aucune notification ne vous sera envoyée par mail à chaque nouveau commentaire ou trackback.";
+
+// post comments
+$messages["url"] = "URL";
+$messages["comment_status_all"] = "Tous";
+$messages["comment_status_spam"] = "Spam";
+$messages["comment_status_nonspam"] = "Pas de Spam";
+$messages["error_fetching_comments"] = "Erreur en récupérant les commentaires.";
+$messages["error_deleting_comments"] = "Erreur en supprimant les commentaires ou il n'y avait pas de commentaire sélectionné";
+$messages["comment_deleted_ok"] = "Commentaire \"%s\" supprimé";
+$messages["comments_deleted_ok"] = "%s commentaires supprimés";
+$messages["error_deleting_comment"] = "Erreur en supprimant le commentaire \"%s\"";
+$messages["error_deleting_comment2"] = "Erreur en supprimant le commentaire d'ID %s";
+$messages["editComments"] = "Commentaires";
+$messages["mark_as_spam"] = "Marquer comme spam";
+$messages["mark_as_no_spam"] = "Marquer comme non-spam";
+$messages["error_incorrect_comment_id"] = "ID du commentaire incorrect.";
+$messages["error_marking_comment_as_spam"] = "Erreur de marquage du commentaire comme spam.";
+$messages["comment_marked_as_spam_ok"] = "Commentaire bien marqué comme spam.";
+$messages["error_marking_comment_as_nonspam"] = "Erreur de marquage du commentaire comme non-spam.";
+$messages["comment_marked_as_nonspam_ok"] = "Commentaire bien marqué comme non-spam.";
+
+// post trackbacks
+$messages["blog"] = "Blog";
+$messages["excerpt"] = "Extrait";
+$messages["error_fetching_trackbacks"] = "Erreur en récupérant les trackbacks";
+$messages["error_deleting_trackbacks"] = "Erreur en supprimant les trackbacks ou il n'y avait pas d'élément sélectionné";
+$messages["error_deleting_trackback"] = "Erreur en supprimant le trackback \"%s\"";
+$messages["error_deleting_trackback2"] = "Erreur en supprimant le trackback d'ID \"%s\"";
+$messages["trackback_deleted_ok"] = "Trackback \"%s\" supprimé";
+$messages["trackbacks_deleted_ok"] = "%s trackbacks supprimés";
+$messages["editTrackbacks"] = "Trackbacks";
+
+// post statistics
+$messages["referrer"] = "Referrer";
+$messages["hits"] = "Clics";
+$messages["error_no_items_selected"] = "Aucun élément sélectionné pour suppression";
+$messages["error_deleting_referrer"] = "Erreur en supprimant le referrer \"%s\"";
+$messages["error_deleting_referrer2"] = "Erreur en supprimant le referrer d'ID \"%s\"";
+$messages["referrer_deleted_ok"] = "Referrer \"%s\" supprimé";
+$messages["referrers_deleted_ok"] = "%s referrers supprimés";
+
+// categories
+$messages["posts"] = "Article";
+$messages["show_in_main_page"] = "Montrer sur la page principale ?";
+$messages["error_category_has_articles"] = "La categorie \"%s\" est utilisée par plusieurs articles. Editez les articles d'abord.";
+$messages["category_deleted_ok"] = "Categorie \"%s\" supprimée";
+$messages["categories_deleted_ok"] = "%s categories supprimées";
+$messages["error_deleting_category"] = "Erreur en supprimant la catégorie \"%s\"";
+$messages["error_deleting_category2"] = "Erreur en supprimant la catégorie d'ID \"%s\"";
+$messages["yes"] = "Oui";
+$messages["no"] = "Non";
+
+// new category
+$messages["name"] = "Nom";
+$messages["category_name_help"] = "Ecrire ci-dessous le nom de la catégorie";
+$messages["description"] = "Description";
+$messages["category_description_help"] = "Ecrire ci-dessous la description longue pour cette catégorie";
+$messages["show_in_main_page_help"] = "Montrer les articles sur la page principale ou seulement quand cette categorie particulière est passée en revue.";
+$messages["error_empty_name"] = "Vous devez choisir un nom";
+$messages["error_empty_description"] = "Vous devez entrer une description longue pour cette catégorie";
+$messages["error_adding_article_category"] = "Erreur en ajoutant la catégorie. Verifiez les données entrées et recommencez.";
+$messages["category_added_ok"] = "Categorie \"%s\" correctement ajoutée au blog";
+$messages["add"] = "Ajouter";
+$messages["reset"] = "Effacer";
+
+// update category
+$messages["error_updating_article_category"] = "Erreur en mettant à jour la catégorie de l'article.";
+$messages["error_fetching_category"] = "Erreur en récupérant la catégorie.";
+$messages["article_category_updated_ok"] = "Categorie \"%s\" correctement mise à jour";
+
+// links
+$messages["feed"] = "Flux";
+$messages["error_no_links_selected"] = "L'ID du lien est incorrect ou aucun élément sélectionné pour être supprimé";
+$messages["error_incorrect_link_id"] = "L'ID du lien est incorrect";
+$messages["error_removing_link"] = "Erreur en supprimant le lien \"%s\"";
+$messages["error_removing_link2"] = "Erreur en supprimant le lien d'ID \"%s\"";
+$messages["link_deleted_ok"] = "Lien \"%s\" supprimé";
+$messages["links_deleted_ok"] = "%s liens supprimés";
+
+// new link
+$messages["link_name_help"] = "Nom donné à ce lien";
+$messages["link_url_help"] = "Adresse vers laquelle ce lien pointe";
+$messages["link_description_help"] = "Brève description du lien";
+$messages["link_feed_help"] = "Un lien vers un flux RSS or Atom peut être ajouté";
+$messages["link_category_help"] = "Choisissez une catégorie de lien valide";
+$messages["error_adding_link"] = "Erreur en ajoutant le lien. Vérifiez les données entrées et recommencez.";
+$messages["error_invalid_url"] = "Adresse incorrecte";
+$messages["link_added_ok"] = "Lien \"%s\" ajouté";
+//*$messages['bookmarkit_to_lifetype'] = "Bookmark It to LifeType!";
+
+// update link
+$messages["error_updating_link"] = "Erreur en mettant à jour le lien. Vérifiez les données entrées et recommencez.";
+$messages["error_fetching_link"] = "Erreur en récupérant le lien";
+$messages["link_updated_ok"] = "Lien \"%s\" mis à jour";
+
+// link categories
+$messages["links"] = "Liens";
+$messages["error_invalid_link_category_id"] = "Catégorie de lien incorrecte ou aucune catégorie de liens sélectionnée.";
+$messages["error_links_in_link_category"] = "Catégorie \"%s\" ne peut être supprimée parce qu'elle contient des liens.";
+$messages["error_removing_link_category"] = "Erreur de suppression de la catégorie \"%s\".";
+$messages["link_category_deleted_ok"] = "Catégorie \"%s\" supprimée.";
+$messages["link_categories_deleted_ok"] = "%s catégories supprimées.";
+$messages["error_removing_link_category2"] = "Erreur suppression catégorie ID = %d";
+
+// new link category
+$messages["link_category_name_help"] = "Nom donné à cette catégorie de lien";
+$messages["error_adding_link_category"] = "Erreur en ajoutant la nouvelle catégorie";
+$messages["link_category_added_ok"] = "Catégorie \"%s\" ajoutée.";
+
+// edit link category
+$messages["error_updating_link_category"] = "Erreur en mettant à jour la catégorie de liens. Vérifiez les données entrées et recommencez.";
+$messages["link_category_updated_ok"] = "Catégorie de liens \"%s\" bien mise à jour.";
+$messages["error_fetching_link_category"] = "Erreur en récupérant la catégorie de liens.";
+
+// custom fields
+$messages["type"] = "Type";
+$messages["hidden"] = "Caché";
+$messages["fields_deleted_ok"] = "%s champs personnalisés supprimés";
+$messages["field_deleted_ok"] = "Champ personnalisé \"%s\" supprimé";
+$messages["error_deleting_field"] = "Erreur en suprimant le champ \"%s\"";
+$messages["error_deleting_field2"] = "Erreur en suprimant le champ d'ID \"%s\"";
+$messages["error_incorrect_field_id"] = "ID du champ non valide.";
+
+// new custom field
+$messages["field_name_help"] = "Nom du champ dans l'article";
+$messages["field_description_help"] = "Courte description du champ.";
+$messages["field_type_help"] = "Selectionnez un type de champ";
+$messages["field_hidden_help"] = "Si ce champ est caché, il ne sera pas visible lors de l'ajout ou de l'édition d'un article. Fonction principalement utilisée par les plugins.";
+$messages["error_adding_custom_field"] = "Erreur en ajoutant un champ. Vérifiez les données entrées et recommencez.";
+$messages["custom_field_added_ok"] = "Champ personnalisé \"%s\" ajouté";
+$messages["text_field"] = "Champ texte";
+$messages["text_area"] = "Boîte texte";
+$messages["checkbox"] = "Case à cocher";
+$messages["date_field"] = "Date";
+
+// edit custom field
+$messages["error_fetching_custom_field"] = "Erreur en récupérant le champ.";
+$messages["error_updating_custom_field"] = "Erreur en mettant à jour le champ. Vérifiez les données entrées et recommencez.";
+$messages["custom_field_updated_ok"] = "Champ personnalisé \"%s\" mis à jour.";
+
+// resources
+$messages["root_album"] = "Album principal";
+$messages["num_resources"] = "Nombre de ressources";
+$messages["total_size"] = "Taille totale";
+$messages["album"] = "Album";
+$messages["error_incorrect_album_id"] = "ID de l'album invalide";
+$messages["error_base_storage_folder_missing_or_unreadable"] = "Le système n'a pas pu créer les dossiers nécessaires où déposer les ressources. Plusieurs causes possibles : installation PHP en safe mode, droits insuffisants, ... Vous pouvez toujours procéder manuellement à la création des dossiers: <br/><br/>%s<br/><br/> Si ces dossiers existent déjà, veuillez vérifier que l'utilisateur du serveur web a les droits de lecture/écriture sur ceux-ci.";
+$messages["items_deleted_ok"] = "%s éléments supprimés";
+$messages["error_album_has_children"] = "L'album \"%s\" a des sous-albums. Veuillez d'abord éditer les albums fils.";
+$messages["item_deleted_ok"] = "Elément \"%s\" supprimé";
+$messages["error_deleting_album"] = "Erreur en supprimant l'album \"%s\"";
+$messages["error_deleting_album2"] = "Erreur en supprimant l'album d'ID \"%s\"";
+$messages["error_deleting_resource"] = "Erreur en supprimant la ressource \"%s\"";
+$messages["error_deleting_resource2"] = "Erreur en supprimant la ressource d'ID \"%s\"";
+$messages["error_no_resources_selected"] = "Aucun élément sélectionné pour être supprimé";
+$messages["resource_deleted_ok"] = "Ressource \"%s\" supprimée";
+$messages["album_deleted_ok"] = "Album \"%s\" supprimé";
+$messages["add_resource"] = "Ajouter la ressource";
+$messages["add_resource_preview"] = "Aperçu de la ressource";
+//*$messages['add_resource_medium'] = 'Add medium preview';
+$messages["add_album"] = "Ajouter l'album";
+
+// new album
+$messages["album_name_help"] = "Nom court du nouvel album";
+$messages["parent"] = "Parent";
+$messages["no_parent"] = "Pas de parent";
+$messages["parent_album_help"] = "Utilisez ceci pour imbriquer des albums les uns dans les autres afin de mieux organiser vos fichiers.";
+$messages["album_description_help"] = "Description longue du contenu de l'album";
+$messages["error_adding_album"] = "Erreur en ajoutant le nouvel album. Vérifiez les données entrées et recommencez.";
+$messages["album_added_ok"] = "Album \"%s\" ajouté";
+
+// edit album
+$messages["error_incorrect_album_id"] = "Id de l'album incorrect.";
+$messages["error_fetching_album"] = "Erreur en récupérant l'album.";
+$messages["error_updating_album"] = "Erreur en mettant l'album à jour. Vérifiez les données entrées et recommencez.";
+$messages["album_updated_ok"] = "Album \"%s\" mis à jour";
+$messages["show_album_help"] = "Si cette case est décochée, l'album ne sera pas visible dans la liste des album disponibles sur ce blog.";
+
+// new resource
+$messages["file"] = "Fichier";
+$messages["resource_file_help"] = "Fichier qui sera ajouté au blog. Utilisez le lien \"Ajouter\" pour ajouter plusieurs fichiers en même temps.";
+$messages["add_field"] = "Ajouter";
+$messages["resource_description_help"] = "Description longue du fichier";
+$messages["resource_album_help"] = "Sélectionnez l'album auquel le fichier sera ajouté.";
+$messages["error_no_resource_uploaded"] = "Aucun fichier sélectionné pour être ajouté.";
+$messages["resource_added_ok"] = "Ressource \"%s\" ajoutée";
+$messages["error_resource_forbidden_extension"] = "Type de fichier interdit";
+$messages["error_resource_too_big"] = "Fichier trop volumineux";
+$messages["error_uploads_disabled"] = "Uploads désactivés";
+$messages["error_quota_exceeded"] = "Quota dépassé !";
+$messages["error_adding_resource"] = "Erreur en ajoutant le fichier";
+
+// edit resource
+$messages["editResource"] = "Editer la ressource";
+$messages["resource_information_help"] = "Quelques informations à propos du fichier";
+$messages["information"] = "Information";
+$messages["size"] = "Taille";
+$messages["format"] = "Format";
+$messages["dimensions"] = "Dimensions";
+$messages["bits_per_sample"] = "Bits par échantillon";
+$messages["sample_rate"] = "Taux de l'échantillonnage";
+$messages["number_of_channels"] = "Nombre de canaux";
+$messages["legnth"] = "Longueur";
+$messages["thumbnail_format"] = "Taille de l'aperçu";
+$messages["regenerate_preview"] = "Regénérer l'aperçu";
+$messages["error_fetching_resource"] = "Erreur en récupérant la ressource";
+$messages["error_updating_resource"] = "Erreur en mettant à jour la ressource";
+$messages["resource_updated_ok"] = "Ressource \"%s\" mise à jour";
+
+// blog settings
+$messages["blog_link"] = "Lien vers le blog";
+$messages["blog_link_help"] = "Lien permanent vers ce blog";
+$messages["blog_name_help"] = "Titre du blog";
+$messages["blog_description_help"] = "Description longue du contenu de ce blog";
+$messages["language"] = "Langue";
+$messages["blog_language_help"] = "Langue utilisée pour afficher les textes dans le blog et dans la partie administration.";
+$messages["max_main_page_items"] = "Nombre d'articles sur la page principale";
+$messages["max_main_page_items_help"] = "Nombre d'articles qui peuvent être affichés à la fois sur la page principale de ce blog.";
+$messages["max_recent_items"] = "Nombre d'articles recents";
+$messages["max_recent_items_help"] = "Nombre maximum d'articles affichés comment récents sur la page principale.";
+$messages["template"] = "Gabarit";
+$messages["choose"] = "Choisir..";
+$messages["blog_template_help"] = "Gabarit qui sera utilisé pour afficher le contenu de ce blog. Cette liste contient les gabarits généraux et ceux installés uniquement pour ce blog";
+$messages["use_read_more"] = 'Utiliser le lien "suite..." dans les articles';
+$messages["use_read_more_help"] = 'Si cette case est cochée, seul le texte tapé dans "Texte" sera affiché sur la page principale. Et pour afficher le texte tapé dans "Texte étendu", un lien "suite..." sera ajouté à chaque article.';
+$messages["enable_wysiwyg"] = "Activer l'éditeur riche pour les articles";
+$messages["enable_wysiwyg_help"] = "Active un éditeur HTML complet pour l'édition des articles. L'éditeur fonctionne seulement sur Mozilla 1.3 et ultérieurs, IE 5.5 et ultérieurs.";
+$messages["enable_comments"] = "Active les commentaires par défaut.";
+$messages["enable_comments_help"] = "Active les commentaires pour tous les articles par défaut. Les commentaires pourront être activés ou désactivés pour un article particulier à sa création ou à son édition.";
+$messages["show_future_posts"] = "Montre les articles futurs dans le calendrier.";
+$messages["show_future_posts_help"] = "Les articles dont la date de publication n'est pas passée pourront apparaître dans le calendrier et donc seront visibles par les visiteurs.";
+$messages["comments_order"] = "Ordre des commentaires";
+$messages["comments_order_help"] = "Ordre dans lequel les commentaires apparaîtront sur la page principale.";
+$messages["oldest_first"] = "Les plus anciens en premier";
+$messages["newest_first"] = "Les plus recents en premier";
+$messages["categories_order"] = "Ordre des catégories";
+$messages["categories_order_help"] = "Ordre dans lequel les catégories apparaîtront sur la page principale.";
+$messages["most_recent_updated_first"] = "Les plus récemment mis à jour en premier";
+$messages["alphabetical_order"] = "Ordre alphabétique";
+$messages["reverse_alphabetical_order"] = "Ordre alphabétique inverse";
+$messages["most_articles_first"] = "Le plus lus en premier";
+$messages["link_categories_order"] = "Ordre des catégories de liens";
+$messages["link_categories_order_help"] = "Ordre dans lequel les catégories de liens apparaîtront sur la page principale.";
+$messages["most_links_first"] = "Le plus de liens en premier";
+$messages["most_links_last"] = "Le plus de liens en dernier";
+$messages["time_offset"] = "Fuseau horaire";
+$messages["time_offset_help"] = "Décalage horaire qui sera ajouté dynamiquement à toutes les dates et heures dans le blog";
+$messages["close"] = "Fermer";
+$messages["select"] = "Selectionner";
+$messages["error_updating_settings"] = "Erreur en mettant à jour les paramètres du blog. Vérifiez les données entrées et recommencez";
+$messages["error_invalid_number"] = "Nombre incorrect";
+$messages["error_incorrect_time_offset"] = "Fuseau horaire invalide";
+$messages["blog_settings_updated_ok"] = "Paramètres mis à jour";
+$messages['hours'] = 'Heures';
+
+// user settings
+$messages["username_help"] = "Pseudonyme public. Ce pseudonyme ne pourra être changé par la suite.";
+$messages["full_name"] = "Nom complet";
+$messages["full_name_help"] = "Nom complet de l'utilisateur";
+$messages["password_help"] = "Tapez et confirmez un nouveau mot de passe. Laissez vide pour ne pas le changer.";
+$messages["confirm_password"] = "Confirmez le mot de passe";
+$messages["email"] = "Email";
+$messages["email_help"] = "Email à laquelle les notifications seront envoyées";
+$messages["bio"] = "Votre bio";
+$messages["bio_help"] = "Votre portrait. Description de vous-même.";
+$messages["picture"] = "Photo";
+$messages["user_picture_help"] = "Sélectionnez une photo comme photo personnelle (parmi celles ajoutées à ce blog)";
+$messages["error_invalid_password"] = "Mot de passe inccorect. Vérifiez qu'il n'est pas trop court.";
+$messages["error_passwords_dont_match"] = "Désolé, mot de passe incorrect";
+$messages["error_updating_user_settings"] = "Erreur en mettant à jour les paramètres du membre. Vérifiez les données entrées et recommencez.";
+$messages["user_settings_updated_ok"] = "Paramètres membre mis à jour";
+$messages["resource"] = "Ressource";
+
+// plugin center
+$messages["identifier"] = "ID";
+//*$messages['error_plugins_disabled'] = 'Sorry, Plugins are disabled.';
+
+// blog users
+$messages["revoke_permissions"] = "Retirer des permissions";
+$messages["error_no_users_selected"] = "Aucun membre sélectionné.";
+$messages["user_removed_from_blog_ok"] = "Membre \"%s\" bien supprimé du blog.";
+$messages["users_removed_from_blog_ok"] = "%s membres supprimés";
+$messages["error_removing_user_from_blog"] = "Erreur en supprimant le membre \"%s\" du blog.";
+$messages["error_removing_user_from_blog2"] = "Erreur en supprimant le membre à l'ID \"%s\" du blog.";
+
+// new blog user
+$messages["new_blog_username_help"] = "Pseudo du membre qui aura accès à ce blog. Les nouveaux membres ont seulement accès aux sections \"Réglages\" et \"Gestion des ressources\".";
+$messages["send_notification"] = "Envoyer une notification";
+$messages["send_user_notification_help"] = "Envoyer un email de notification à ce membre";
+$messages["notification_text"] = "Texte de la notification";
+$messages["notification_text_help"] = "Texte qui sera inclu dans le message de notification";
+$messages["error_adding_user"] = "Erreur lors de l'autorisation d'accès. Vérifiez les données entrées et recommencez.";
+$messages["error_empty_text"] = "Vous devez entrer un texte";
+$messages["error_adding_user"] = "Erreur en ajoutant le membre. Vérifiez les données entrées et recommencez.";
+$messages["error_invalid_user"] = "Le membre \"%s\" n'est pas valide ou n'existe pas.";
+$messages["user_added_to_blog_ok"] = "Le membre \"%s\" peut désormais accéder à ce blog.";
+
+// blog templates
+$messages["error_no_templates_selected"] = "Aucun gabarit sélectionné";
+$messages["error_template_is_current"] = "Le gabarit \"%s\" ne peut être supprimé car c'est celui qui est utilisé.";
+$messages["error_removing_template"] = "Erreur en supprimant le gabarit \"%s\"";
+$messages["template_removed_ok"] = "Gabarit \"%s\" supprimé";
+$messages["templates_removed_ok"] = "%s gabarits supprimés";
+
+// new blog template
+$messages["template_installed_ok"] = "Gabarit \"%s\" ajouté";
+$messages["error_installing_template"] = "Erreur durant l'installation du gabarit \"%s\"";
+$messages["error_missing_base_files"] = "Fichier(s) manquant(s)";
+$messages["error_add_template_disabled"] = "Aucun gabarit ne peut être ajouté car cette fonction a été désactivée.";
+$messages["error_must_upload_file"] = "Pas de gabarit à télécharger";
+$messages["error_uploads_disabled"] = "Les uploads ont été désactivés";
+$messages["error_no_new_templates_found"] = "Pas de nouveau gabarit trouvé";
+$messages["error_template_not_inside_folder"] = "Les fichiers du gabarit doivent être dans un répertoire du même nom que le gabarit.";
+$messages["error_missing_base_files"] = "Fichier(s) du gabarit basique manquant(s)";
+$messages["error_unpacking"] = "Erreur en décompressant le fichier";
+$messages["error_forbidden_extensions"] = "Des fichiers d'extensions interdites sont inclus dans le gabarit";
+$messages["error_creating_working_folder"] = "Erreur durant la création du répertoire temporaire nécessaire à la décompression.";
+$messages["error_checking_template"] = "Erreur en vérifiant le gabarit : %s";
+$messages["template_package"] = "Package du gabarit";
+$messages["blog_template_package_help"]  = "Utilisez ce formulaire pour uploader un nouvau gabarit, qui ne sera utilisable que sur votre blog. Si vous ne pouvez pas uploader un gabarit par ce formulaire, uploadez-le à la main dans le répertoire <b>%s</b>, qui est le dossier où les gabarits de blog sont stockés et cliquez sur \"<b>Scanner les gabarits</b>\" . LifeType scannera le dossier et ajoutera automatiquement les nouveaux gabarits.";
+$messages["scan_templates"] = "Scanner les gabarits";
+
+// site users
+$messages["user_status_active"] = "Actif";
+$messages["user_status_disabled"] = "Inactif";
+$messages["user_status_all"] = "Tous";
+$messages["user_status_unconfirmed"] = "non confirmé";
+$messages["error_invalid_user2"] = "Le membre d'ID \"%s\" n'existe pas";
+$messages["error_deleting_user"] = "Erreur en supprimant le membre \"%s\"";
+$messages["user_deleted_ok"] = "Membre \"%s\" supprimé";
+$messages["users_deleted_ok"] = "%s membres supprimés";
+
+// create user
+$messages["user_added_ok"] = "Membre \"%s\" ajouté";
+$messages["error_incorrect_username"] = "Pseudo invalide ou déjà utilisé";
+$messages["user_status_help"] = "Statut actuel du membre";
+$messages["user_blog_help"] = "Blog avec lequel ce membre est initialisé";
+$messages["none"] = "Aucun";
+
+// edit user
+$messages["error_invalid_user"] = "ID du membre invalide ou le membre n'exite pas.";
+$messages["error_updating_user"] = "Erreur en mettant à jour les paramètres du membre. Vérifiez les données entrées et recommencez.";
+$messages["blogs"] = "Blogs";
+$messages["user_blogs_help"] = "Blogs du membre ou de ceux auxquels il a accès";
+$messages["site_admin"] = "Administrateur";
+$messages["site_admin_help"] = "Si ce membre est administrateur, il pourra accéder à la partie \"Administration\" et accomplir des tâches administratives.";
+$messages["user_updated_ok"] = "Membre \"%s\" mis à jour";
+
+// site blogs
+$messages["blog_status_all"] = "Tous";
+$messages["blog_status_active"] = "Actif";
+$messages["blog_status_disabled"] = "Inactif";
+$messages["blog_status_unconfirmed"] = "Non-validé";
+$messages["owner"] = "Propriétaire";
+$messages["quota"] = "Quota";
+$messages["bytes"] = "octets";
+$messages["error_no_blogs_selected"] = "Aucun blog sélectionné pour être désactivé";
+$messages["error_blog_is_default_blog"] = "Ce blog \"%s\" ne peut être supprimé car il s'agit du blog par défaut.";
+$messages["blog_deleted_ok"] = "Blog \"%s\" désactivé";
+$messages["blogs_deleted_ok"] = "%s blogs supprimés";
+$messages["error_deleting_blog"] = "Erreur en désactivant le blog \"%s\"";
+$messages["error_deleting_blog2"] = "Erreur en désactivant le blog d'ID \"%s\"";
+
+// create blog
+$messages["error_adding_blog"] = "Erreur en ajoutant le blog. Vérifiez les données entrées et recommencez";
+$messages["blog_added_ok"] = "Blog \"%s\" ajouté";
+
+// edit blog
+$messages["blog_status_help"] = "Status du blog";
+$messages["blog_owner_help"] = "Membre considéré comme propriétaire du blog, qui aura un contrôle total des paramètres du blog";
+$messages["users"] = "Membres";
+$messages["blog_quota_help"] = "Quota de ressource en octets. Mettre à 0 pour illimité, ou laisser vide pour utiliser le quota par défaut";
+$messages["blog_users_help"] = "Membres qui ont accès à ce blog. Sélectionner un membre à gauche et le mettre à droite pour qu'il ait des droits d'accès au blog";
+$messages["edit_blog_settings_updated_ok"] = "Blog \"%s\"mis à jour";
+$messages["error_updating_blog_settings"] = "Erreur en mettant à jour le blog \"%s\"";
+$messages["error_incorrect_blog_owner"] = "Membre sélectionné comme propriétaire, incorrect.";
+$messages["error_fetching_blog"] = "Erreur en récupérant le blog";
+$messages["error_updating_blog_settings2"] = "Erreur en mettant à jour le blog. Vérifiez les données entrées et recommencez.";
+$messages["add_or_remove"] = "Ajouter ou supprimer des membres";
+
+// site locales
+$messages["locale"] = "Traduction";
+$messages["locale_encoding"] = "Encodage";
+$messages["locale_deleted_ok"] = "Traduction \"%s\" supprimée";
+$messages["error_no_locales_selected"] = "Aucune traduction sélectionnée pour être supprimée";
+$messages["error_deleting_only_locale"] = "Cette traduction ne peut être supprimée car c'est la seule présente sur le système.";
+$messages["locales_deleted_ok"]= "%s traductions supprimées";
+$messages["error_deleting_locale"] = "Erreur en supprimant la traduction \"%s\"";
+$messages["error_locale_is_default"] = "La traduction \"%s\" ne peut être supprimée car il s'agit de la traduction par défaut pour les nouveaux blogs.";
+
+// add locale
+$messages["error_invalid_locale_file"] = "Fichier de traduction invalide";
+$messages["error_no_new_locales_found"] = "Pas de nouveau fichier de traduction trouvé";
+$messages["locale_added_ok"] = "Traduction \"%s\" ajouté";
+$messages["error_saving_locale"] = "Erreur en sauvegardant la nouvelle traduction";
+$messages["scan_locales"] = "Scanner les traductions";
+$messages["add_locale_help"] = "Utilisez ce formulaire pour uploader une nouvelle traduction. Si vous ne pouvez pas uploader de traduction par ce formulaire, uploadez-le manuellement dans le répertoire <b>%s</b>, qui est le dossier où les gabarits de blog sont stockés et cliquez sur \"<b>Scanner les traductions</b>\" . LifeType scannera le dossier et ajoutera automatiquement les nouvelles traductions.";
+
+// site templates
+$messages["error_template_is_default"] = "Le gabarit \"%s\" ne peut être supprimée car il s'agit du gabarit par défaut";
+
+// add template
+$messages["global_template_package_help"] = "Utilisez ce formulaire pour uploader un nouvau gabarit, qui sera utilisable sur tous les nouveaux blogs. Si vous ne pouvez pas uploader un gabarit par ce formulaire, uploadez-le manuellement dans le répertoire <b>%s</b>, qui est le dossier où les gabarits de blog sont stockés et cliquez sur \"<b>Scanner les gabarits</b>\" . LifeType scannera le dossier et ajoutera automatiquement les nouveaux gabarits.";
+
+// global settings
+$messages["site_config_saved_ok"] = "Paramètres de site sauvegardés";
+$messages["error_saving_site_config"] = "Erreur en sauvegardant les paramètres de site";
+
+/// general settings
+$messages["help_comments_enabled"] = "Par défaut, activer ou désactiver les commentaires sur les nouveaux blogs";
+$messages["help_beautify_comments_text"] = "Si activé, les commentaires postés seront formatés en ajoutant des paragraphes et des liens automatiques pour toutes les URLs";
+$messages["help_temp_folder"] = "Répertoire que LifeType peut utiliser pour écrire les données temporaires comme les templates compilés, etc. Utiliser un répertoire hors de cette partie du serveur pour augmenter la sécurité.";
+$messages["help_base_url"] = "URL de base où ce blog est installé";
+$messages["help_subdomains_enabled"] = "Activer ou désactiver les sous-domaines. Veuillez lire la documentation au sujet des sous-domaines pour plus d'informations.";
+$messages["help_subdomains_base_url"] = "Quand les sous-domaines sont activés, cette URL est utilisée à la place de l'URL de base (base_url). Utiliser {blogname} pour donner le nom du blog et {username} pour donner le nom du propriétaire du Blog afin de générer un lien vers le Blog";
+$messages["help_include_blog_id_in_url"] = "Si les sous-domaines sont activés et ques les URLs sont en mode \"normal\", force les URL générées à ne pas utiliser l'identifiant de blog. Ne changez ce paramètre que si vous savez exactement ce que vous faites.";
+$messages["help_script_name"] = "Changez ceci si vous souhaitez renommer index.php en autre chose.";
+$messages["help_show_posts_max"] = "Nombre maximum d'articles affichés sur la page principale. S'applique aux nouveaux blogs uniquement.";
+$messages["help_recent_posts_max"] = "Nombre maximum d'articles récents affichés sur la page principale. S'applique aux nouveaux blogs uniquement.";
+$messages["help_save_drafts_via_xmlhttprequest_enabled"] = "Active ou désactive la fonctionnalité de sauvegarde des brouillons par Ajax";
+$messages["help_locale_folder"] = "Répertoire où sont stockées les traductions";
+$messages["help_default_locale"] = "Langue par défaut des nouveaux blogs.";
+$messages["help_default_blog_id"] = "Blog affiché par défaut si aucun n'est spécifié";
+$messages["help_default_time_offset"] = "Zone horaire par défaut pour les nouveaux blogs";
+$messages["help_html_allowed_tags_in_comments"] = "Tags HTML autorisés dans les commentaires, séparés par des espaces.";
+$messages["help_referer_tracker_enabled"] = "Activer ou désactiver la fonctionnalité de sauvegarde des referers en base de données. Désactivez-la pour améliorer les performances.";
+$messages["help_show_more_enabled"] = "Activer ou désactiver par défaut le lien \"suite\" des articles pour les nouveaux blogs.";
+$messages["help_update_article_reads"] = "Activer ou désactiver le compteur de lectures. Désactivez pour améliorer les performances.";
+$messages["help_update_cached_article_reads"] = "Activer ou désactiver le compteur de lectures des articles mis en cache. Désactivez pour améliorer les performances.";
+$messages["help_xmlrpc_ping_enabled"] = "Activer ou désactiver les pings XML-RPC pour les sites qui les supportent";
+$messages["help_send_xmlrpc_pings_enabled_by_default"] = "Activer ou désactiver cette fonctionnalité par défaut lors de l'ajout ou de la modification d'articles";
+$messages["help_xmlrpc_ping_hosts"] = "URLs des sites disposant d'une interface XML-RPC. Une URL par ligne";
+$messages["help_trackback_server_enabled"] = "Activer ou désactiver la possibilité de recevoir des trackbacks";
+$messages["help_htmlarea_enabled"] = "Activer ou désactiver l'éditeur de texte riche par défaut";
+$messages["help_plugin_manager_enabled"] = "Activer ou désactiver les plugins";
+$messages["help_minimum_password_length"] = "Taille minimale des mots de passe";
+$messages["help_xhtml_converter_enabled"] = "Si cette case est cochée, le système convertira tous le code HTML en code XHTML valide";
+$messages["help_xhtml_converter_aggressive_mode_enabled"] = "Si cette case est cochée, le système essayera encore plus de convertir le code HTML en XHTML valide, mais il n'y aura plus d'erreurs";
+$messages["help_session_save_path"] = "Utilisez ce champ pour spécifier où LifeType sauvegarde des données de session, via la fonction PHP session_save_path(). Veuillez vous assurer que ce dossier est en lecture/écriture pour l'utilisateur du serveur web. Laissez vide pour conserver le dossier PHP par défaut.";
+
+// summary settings
+$messages["help_summary_page_show_max"] = "Nombre d'articles qui seront affichés sur la page résumé. Ce paramètre contrôle toutes les listes de la page de résumé.";
+$messages["help_summary_items_per_page"] = "Nombre de blogs par page dans la section \"Liste de blogs\"";
+$messages["help_forbidden_usernames"] = "Liste de noms d'utilisateur non autorisés à s'inscrire";
+$messages["help_force_one_blog_per_email_account"] = "Restreindre à seulement un blog par adresse email";
+$messages["help_summary_show_agreement"] = "Afficher un message d'avertissement et demander l'acceptation aux utilisateurs qui s'inscrivent";
+$messages["help_need_email_confirm_registration"] = "Obliger les utilisateurs à confirmer leur inscription en cliquant sur un lien envoyé par email (recommandé)";
+$messages["help_summary_disable_registration"] = "Autoriser les utilisateurs à créer des blogs";
+
+// templates
+$messages["help_template_folder"] = "Dossier où sont stockés les gabarits";
+$messages["help_default_template"] = "Gabarit par défaut des nouveaux blogs";
+$messages["help_users_can_add_templates"] = "Autoriser les utilisateurs à uploader leurs propres gabarits";
+$messages["help_template_compile_check"] = "Si décoché, le moteur de gabarits vérifiera à chaque fois si le gabarit a été modifié, et modifiera en conséquence les pages. Ne vérifiez pas pour améliorer les performances";
+$messages["help_template_cache_enabled"] = "Activer le cache de gabarits. Les gabarits seront précompilés, et aucun accès BDD ne sera nécessaire. Recommandé.";
+$messages["help_template_cache_lifetime"] = "Durée de vie du cache en secondes. Mettez -1 pour que le cache n'expire jamais. Si vous mettez à 0, le cache sera désactivé, mais préférez l'option \"Désactiver le cache\" pour réaliser cette fonctionnalité.";
+$messages["help_template_http_cache_enabled"] = "Activer le support des requêtes HTTP conditionnelles. Si activé, LifeType vérifiera le champ \"If-Modified-Since\" de l'en-tête HTTP et n'enverra une réponse que s'il y a lieu. Utilisez ceci pour sauvegarder de la bande passante.";
+$messages["help_allow_php_code_in_templates"] = "Autoriser l'utilisation de code PHP dans les gabarits Smarty ({php}...{/php}). Pour des raisons de sécurité, fortement déconseillé.";
+
+// urls
+$messages["help_request_format_mode"] = "Sélectionner un des formats d'URL disponibles. Si vous utlisez les URLs personnalisées, configurez les paramètres ci-dessous";
+$messages["plain"] = "Simple";
+$messages["search_engine_friendly"] = "Moteur de recherches";
+$messages["custom_url_format"] = "URLs personnalisées";
+$messages["help_permalink_format"] = "Format des liens permanents lors de l'utilisation des URLs personnalisées";
+$messages["help_category_link_format"] = "Format des liens vers les catégories lors de l'utilisation des URLs personnalisées";
+$messages["help_blog_link_format"] = "Format des liens vers les blogs lors de l'utilisation des URLs personnalisées";
+$messages["help_archive_link_format"] = "Format des liens vers les archives lors de l'utilisation des URLs personnalisées";
+$messages["help_user_posts_link_format"] = "Format des liens vers des articles postés par certains membres lors de l'utilisation des URLs personnalisées";
+$messages["help_post_trackbacks_link_format"] = "Format vers les trackbacks page lors de l'utilisation des URLs personnalisées";
+$messages["help_template_link_format"] = "Format des liens vers les pages de templates classiques personnalisées lors de l'utilisation des URLs personnalisées";
+$messages["help_album_link_format"] = "Format des liens vers les albums lors de l'utilisation des URLs personnalisées";
+$messages["help_resource_link_format"] = "format des liens vers les pages de ressources avec des fichiers lors de l'utilisation des URLs personnalisées";
+$messages["help_resource_preview_link_format"] = "Format des liens vers les aperçus des ressources lors de l'utilisation des URLs pérsonnalisées";
+$messages["help_resource_medium_size_preview_link_format"] = "Format des liens vers les aperçus de moyenne taille des ressources lors de l'utilisation des URLs pérsonnalisées";
+$messages["help_resource_download_link_format"] = "Format des liens vers les fichiers lors de l'utilisation des URLs pérsonnalisées";
+
+// email
+$messages["help_check_email_address_validity"] = "Vérifier l'adresse email des nouveaux membres.";
+$messages["help_email_service_enabled"] = "Activer/Désactiver service email.";
+$messages["post_notification_source_address"] = "Adresse email de l'expéditeur des notifications d'article.";
+$messages["help_email_service_type"] = "Méthode d'envoi des emails. A bien configurer.";
+$messages["help_smtp_host"] = "Hôte SMTP.";
+$messages["help_smtp_port"] = "Port SMTP.";
+$messages["help_smtp_use_authentication"] = "Si SMTPS compléter la suite.";
+$messages["help_smtp_username"] = "Pseudo pour SMTPS.";
+$messages["help_smtp_password"] = "MDP pour SMTPS.";
+
+// helpers
+$messages["help_path_to_tar"] = "Chemin vers 'tar'.";
+$messages["help_path_to_gzip"] = "Chemin vers  'gzip'.";
+$messages["help_path_to_bz2"] = "Chemin vers 'bzip2'.";
+$messages["help_path_to_unzip"] = "Chemin vers 'unzip'.";
+$messages["help_unzip_use_native_version"] = "Utiliser les fonctions PHP natives pour décompresser les fichiers .zip";
+
+// uploads
+$messages["help_uploads_enabled"] = "Activer/Désactiver l'upload de TOUS fichiers.";
+$messages["help_maximum_file_upload_size"] = "Taille maximale en octets des fichiers uploadés.";
+$messages["help_upload_forbidden_files"] = "Liste des extensions de fichiers interdits, séparés par un espace.";
+
+// interfaces
+$messages["help_xmlrpc_api_enabled"] = "Activer/Désactiver XMLRPC pour poster depuis votre bureau.";
+$messages["help_rdf_enabled"] = "Activer la syndication des contenus via Atom ou RSS";
+$messages["help_default_rss_profile"] = "Flux RSS/RDF généré par défaut";
+
+// security
+$messages["help_security_pipeline_enabled"] = "Activer les fonctions de sécurité.";
+$messages["help_maximum_comment_size"] = "Taille maximum en octets des commentaires.";
+
+// bayesian filter
+$messages["help_bayesian_filter_enabled"] = "Activer/Désactiver le filtrage Bayesien (spam).";
+$messages["help_bayesian_filter_spam_probability_treshold"] = "Valeur min pour spam (0.01 > 0.99)";
+$messages["help_bayesian_filter_nonspam_probability_treshold"] = "Valeur max pour non-spam.";
+$messages["help_bayesian_filter_min_length_token"] = "Taille minimum d'un token pour être parsé correctement.";
+$messages["help_bayesian_filter_max_length_token"] = "Taille maximum d'un token.";
+$messages["help_bayesian_filter_number_significant_tokens"] = "Nombre de token par commentaire";
+$messages["help_bayesian_filter_spam_comments_action"] = "Enregistrer dans la BDD les commentaires spam pour entraîner le filtre,  ou les rejeter.";
+$messages["keep_spam_comments"] = "Garder dans la base de données marqués comme \"Spam\"";
+$messages["throw_away_spam_comments"] = "Ne pas les sauvegarder";
+
+// resources
+$messages["help_resources_enabled"] = "Activer ou non les ressources";
+$messages["help_resources_folder"] = "Répertoire où les ressources sont stockées. Mettre hors de la partie du serveur utilisée pour augmenter la sécurité";
+$messages["help_thumbnail_method"] = "Méthode de génération d'aperçu. Si vous utilisez PHP, le support de GD est nécessaire.";
+$messages["help_path_to_convert"] = "Répertoire de l'outil \"convert\" du package ImageMagick. Obligatoire si la méthode de génération d'aperçu est \"ImageMagick\"";
+$messages["help_thumbnail_format"] = "Format dans lequel les aperçus seront sauvegardés";
+$messages["help_thumbnail_height"] = "Hauteur par défaut des petits aperçus";
+$messages["help_thumbnail_width"] = "Largeur par défaut des petits aperçus";
+$messages["help_medium_size_thumbnail_height"] = "Hauteur par défaut des aperçus de taille moyenne";
+$messages["help_medium_size_thumbnail_width"] = "Largeur par défaut des aperçus de taille moyenne";
+$messages["help_thumbnails_keep_aspect_ratio"] = "Garde les dimensions de l'aperçu propotionnelles. Pourrait généré des aperçus plus grand que la taille spécifiée au-dessus mais de meilleure qualité.";
+$messages["help_thumbnail_generator_force_use_gd1"] = "Forcer LifeType à utiliser uniquement les fontions GD1";
+$messages["help_thumbnail_generator_user_smoothing_algorithm"] = "Algorithme utilisé pour lisser les aperçus. Utilisé uniquement quand la méthode de génération d'aperçu est GD";
+$messages["help_resources_quota"] = "Quota de ressources pour les blogs par défaut";
+$messages["help_resource_server_http_cache_enabled"] = "Active le support des requêtes HTTP conditionnelles. A activer pour réduire l'utilisation de bande passante.";
+$messages["help_resource_server_http_cache_lifetime"] = "Temps en microsecondes pendant lequel les ressources sont mises en cache";
+//*$messages['same_as_image'] = 'Same as original image';
+
+// search
+$messages["help_search_engine_enabled"] = "Activer ou non le moteur de recherche";
+$messages["help_search_in_custom_fields"] = "Rechercher aussi dans les champs personnalisés";
+$messages["help_search_in_comments"] = "Rechercher aussi dans les commentaires";
+
+// cleanup
+$messages["purge"] = "Nettoyer";
+$messages["cleanup_spam"] = "Nettoyage des spams";
+$messages["cleanup_spam_help"] = "Ceci supprimera définitivement tous les commentaires marqués comme spam. Ils ne sera pas possible de revenir en arrière.";
+$messages["spam_comments_purged_ok"] = "Commentaires spam nettoyés";
+$messages["cleanup_posts"] = "Nettoyer les articles";
+$messages["cleanup_posts_help"] = "Ceci supprimera physiquement tous les articles supprimés (marqué comme \"supprimé\"). Il sera impossible de les récupérer après !";
+$messages["posts_purged_ok"] = "Articles nettoyés";
+
+/// summary ///
+// front page
+$messages["summary"] = "Portail";
+$messages["register"] = "S'inscrire";
+$messages["summary_welcome"] = "Bienvenue !";
+$messages["summary_most_active_blogs"] = "Blogs les plus actifs";
+$messages["summary_most_commented_articles"] = "Articles les plus commentés";
+$messages["summary_most_read_articles"] = "Articles les plus lus";
+$messages["password_forgotten"] = "Vous avez perdu votre mot de passe ?";
+$messages["summary_newest_blogs"] = "Nouveaux blogs";
+$messages["summary_latest_posts"] = "Derniers articles";
+$messages["summary_search_blogs"] = "Recherche d'un blog";
+
+// blog list
+$messages["updated"] = "Mis à jour";
+$messages["total_reads"] = "Total";
+
+// blog profile
+$messages["blog"] = "Blog";
+$messages["latest_posts"] = "Derniers articles";
+
+// registration
+$messages["register_step0_title"] = "Acceptation des conditions d'utilisation";
+//*$messages['agreement'] = 'Agreement';
+$messages["decline"] = "Refuser";
+$messages["accept"] = "Accepter";
+$messages["read_service_agreement"] = "Veuillez lire les termes de ce service et cliquer sur le bouton \"Accepter\" si vous êtes d'accord";
+$messages["register_step1_title"] = "Créer votre compte [1/4]";
+$messages["register_step1_help"] = "Vous devez créer un compte pour ensuite avoir un blog. Ce compte sera le compte principal de ce blog et aura accès à toutes ses fonctionnalités";
+$messages["register_next"] = "Suivant";
+$messages["register_back"] = "Retour";
+$messages["register_step2_title"] = "Créer votre Blog [2/4]";
+$messages["register_blog_name_help"] = "Nom du nouveau blog";
+$messages["register_step3_title"] = "Choisir un gabarit [3/4]";
+$messages["step1"] = "Etape 1";
+$messages["step2"] = "Etape 2";
+$messages["step3"] = "Etape 3";
+$messages["register_step3_help"] = "Sélectionnez un des gabarits disponibles qui sera celui par défaut de votre blog. Vous pourrez le changer ultérieurement";
+$messages["error_must_choose_template"] = "Vous devez choisir un gabarit";
+$messages["select_template"] = "Sélectionner un gabarit";
+$messages["register_step5_title"] = "Merci ! [4/4]";
+$messages["finish"] = "Fin";
+$messages["register_need_confirmation"] = "Un email de confirmation vous a été envoyé, cliquez sur le lien dès que vous recevrez ce message pour démarrer l'édition du blog";
+$messages["register_step5_help"] = "Merci, votre compte et votre blog ont été créés !";
+$messages["register_blog_link"] = 'Si vous voulez voir votre Blog, Vous pouvez aller ici : <a href="%2$s">%1$s</a>';
+$messages["register_blog_admin_link"] = "Si vous préférez rédiger et publier des articles sur votre blog, cliquez ici pour accéder à <a href=\"admin.php\">l'interface d'administration</a>";
+$messages["register_error"] = "Erreur durant la procédure";
+$messages["error_registration_disabled"] = "Désolé, les inscriptions sont momentanément suspendues";
+
+// registration article topic and text
+$messages["register_default_article_topic"] = "Félicitations !";
+$messages["register_default_article_text"] = "Si vous pouvez lire cet article, cela signifie que votre enregistrement s'est déroulé correctement et que vous pouvez démarrer l'édition et la publication d'articles.";
+$messages["register_default_category"] = "Général";
+
+// confirmation email
+$messages["register_confirmation_email_text"] = "Bonjour,
+Vous avez entamé la procédure de création d'un blog.
+Veuillez cliquer sur ce lien pour achever cette procédure et activer votre compte :
+
+%s
+
+Cordialement ";
+$messages["error_invalid_activation_code"] = "Désolé, votre numéro de confirmation est invalide.";
+$messages["blog_activated_ok"] = "Félicitations, votre compte et votre blog ont été activés !";
+
+// forgot your password?
+$messages["reset_password"] = "Réinitialiser votre mot de passe";
+$messages["reset_password_username_help"] = "Nom d'utilisateur (pour qui le mot de passe doit être réinitialisé)";
+$messages["reset_password_email_help"] = "Adresse email utilisée pour l'inscription de cet utilisateur";
+$messages["reset_password_help"] = "Utilisez ce formulaire pour réinitialiser votre mot de passe perdu. Entrez à la fois le nom d'utilisateur et l'adresse email utilisée pour l'inscription.";
+$messages["error_resetting_password"] = "Il y a eu une erreur lors de la réinitialisation du mot de passe. Vérifiez les données entrées et recommencez.";
+$messages["reset_password_error_incorrect_email_address"] = "L'adresse email spécifiée est incorrecte, ou ne correspond pas à celle utilisée pour l'inscription.";
+$messages["password_reset_message_sent_ok"] = "Un email vous a été envoyé. Cliquez sur le lien qu'il contient pour réinitialiser votre mot de passe.";
+$messages["error_incorrect_request"] = "Les paramètres d'URL sont incorrects.";
+$messages["change_password"] = "Nouveau mot de passe";
+$messages["change_password_help"] = "Confirmez votre nouveau mot de passe";
+$messages["new_password"] = "Nouveau mot de passe";
+$messages["new_password_help"] = "Entrez ici votre nouveau mot de passe";
+$messages["password_updated_ok"] = "Votre mot de passe a bien été mis à jour";
+
+// Suggested by BCSE, some useful messages that not available in official locale
+$messages["upgrade_information"] = "Cette page apparait brute et non stylée parce que vous utilisez un navigateur non conforme. Mettez à jour votre navigateur pour la voir dans les meilleures conditions.";
+$messages["jump_to_navigation"] = "Aller au menu";
+$messages["comment_email_never_display"] = "Retours à la ligne automatiques, adresse email jamais affichée.";
+$messages["comment_html_allowed"] = "<acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed: &lt;<acronym title=\"Hyperlink\">a</acronym> href=&quot;&quot; title=&quot;&quot; rel=&quot;&quot;&gt; &lt;<acronym title=\"Acronym Description\">acronym</acronym> title=&quot;&quot;&gt; &lt;<acronym title=\"Quote\">blockquote</acronym> cite=&quot;&quot;&gt; &lt;<acronym title=\"Strike\">del</acronym>&gt; &lt;<acronym title=\"Italic\">em</acronym>&gt; &lt;<acronym title=\"Underline\">ins</acronym>&gt; &lt;<acronym title=\"Bold\">strong</acronym>&gt;";
+$messages["trackback_uri"] = "L'<acronym title=\"Uniform Resource Identifier\">URI</acronym> de trackback pour cet article est : ";
+$messages["previous_post"] = "Précédent";
+$messages["next_post"] = "Suivant";
+$messages["comment_default_title"] = "(Sans titre)";
+$messages["guestbook"] = "Livre d'or";
+$messages["trackbacks"] = "Trackbacks";
+$messages["menu"] = "Menu";
+$messages["albums"] = "Albums";
+$messages['admin'] = 'Administrateur';
+$messages['xmlrpc_ping_ok'] = 'Ping XMLRPC envoyer avec succès';
+$messages['error_sending_xmlrpc_ping'] = "Erreur lors de l'envoi du ping XMLRPC vers : ";
+$messages['error_sending_xmlrpc_ping_message'] = "Erreur lors de l'envoi du ping XMLRPC : ";
+
+//
+// new strings for 1.1 -- no need to translate yet!
+//
+$messages['error_incorrect_trackback_id'] = "L'identifiant du trackback est incorrect"; // 'The trackback identifier is not correct';
+$messages['error_marking_trackback_as_spam'] = "Erreur lors du marquage du trackback comme spam"; //'There was an error marking the trackback as spam';
+$messages['trackback_marked_as_spam_ok'] = "Succès du marquage du trackback comme spam"; // 'The trackback was marked as successfully as spam';
+$messages['error_marking_trackback_as_nonspam'] = "Erreur lors du marquage du trackback comme non spam"; // 'There was an error marking the trackback as non-spam';
+$messages['trackback_marked_as_nonspam_ok'] = "Succès du marquage du trackback comme non spam"; //'The trackback was marked successfully as non-spam';
+$messages['upload_here'] = "Téléchargement ici"; //'Upload here';
+$messages['reply_string'] = 'Re: ';
+$messages['cleanup_users'] = "Purge des utilisateurs"; //'Purge Users';
+$messages['cleanup_users_help'] = "Cette action purge tous les utilisateurs qui avaient été supprimés par l'administrateur (marqué comme \"supprimé\"). Il enlèvera également tous les blogs et leurs contenus de cet utilisateur. Si un utilisateur avait des droits pour poster dans d'autres blogs, tous ces posts seront supprimés. Il n'est pas possible de revenir en arrière après la purge.";  //'This will remove all users that have been deleted by administrator (marked as "Deleted"). It will also remove any blogs that user own including everything in that blog. If user has permission to post in other blog, all posts made by them will be deleted as well.  It will not be possible to recover once users have been removed';
+$messages['users_purged_ok'] = "Purge des utilisateurs réussie"; //'Users purged successfully';
+$messages['cleanup_blogs'] = "Purge des blogs"; //'Purge Blogs';
+$messages['cleanup_blogs_help'] = "Cette action purge tous les blogs qui avaient été supprimés par l'administrateur (marqué comme \"supprimé\"). Il supprime tout le contenu de ces blogs. Il n'est pas possible de revenir en arrière après la purge."; //'This will remove all blogs that have been deleted by administrator (marked as "Deleted"). It will remove everthing in that blog.  It will not be possible to recover once users have been removed';
+$messages['blogs_purged_ok'] = "Purge des blogs réussite"; //'Blogs purged successfully';
+$messages['help_use_http_accept_language_detection'] = "La plupart des navigateurs, comme Mozilla Firefox, Safari ou Internet Explorer, envoie le code de la langue que de l'utilisateur est <i>sensé</i> comprendre. Si cette fonctionnalité est activée, LifeType essaye, si possible, de servir l'utilisateur avec la langue demandée. [Non par défaut]"; //'Most web browsers such as Mozilla Firefox, Safari or Internet Explorer send at least one language code the user <i>should</i> understand. If this feature is activated, pLog tries to serve the user with the requested language if it\'s available. [Default = No]';
+
+$messages['error_invalid_blog_category'] = "Catégorie de blog invalide"; //'Invalid blog category';
+$messages['error_adding_blog_category'] = "Erreur lors de l'ajout d'une catégorie de blog"; //'There was an error adding the blog category';
+$messages['newBlogCategory'] = "Nouvelle catégorie de blog"; //'New Blog Category';
+$messages['editBlogCategories'] = "catégorie de blog"; //'Blog Categories';
+$messages['blog_category_added_ok'] = "Succès de l'ajout de la catégorie de blog"; //'Blog category added successfully';
+$messages['error_blog_category_has_blogs'] = 'La catégorie de blog "%s" est assignée à certains blogs. Editer ces blogs et réessayer à nouveau.'; //'The blog category "%s" has some blogs assigned to it. Please edit first the blogs and then try again.';
+$messages['error_deleting_blog_category'] = 'Une erreur s\'est produite lors de la suppression de la catégorie de blog "%s".'; //'There was an error deleting blog category "%s"';
+$messages['blog_category_deleted_ok'] = 'La catégorie de blog "%s" a été supprimée avec succès'; //'Blog category "%s" was deleted successfully';
+$messages['blog_categories_deleted_ok'] = 'Catégorie de blog "%s" supprimée avec succès'; //'%s blog categories deleted successfully';
+$messages['error_deleting_blog_category2'] = 'Une erreur s\'est produite lors de la suppression de la catégorie de blog ayant comme identifiant %s.'; //'There was an error removing the blog category with id %s';
+$messages['blog_category'] = 'Catégorie de blog'; //'Blog Category';
+$messages['blog_category_help'] = "Catégorie générale de blog assignée à ce blog"; //'Global blog category assigned to this blog';
+
+$messages['help_use_captcha_auth'] = "Utiliser un mécanisme de CAPTCHA lors de processus d'inscription pour éviter automatiquement l'inscription des scripts robots"; //'Use a CAPTCHA mechanism in the registration process to prevent automatic registration by robotic scripts';
+$messages['help_skip_dashboard'] = "La page de tableau de bord ne sera plus affichée à la connection des utilisateurs qui seront dirigés vers le premier blog auquel ils appartiennent."; //'The dashboard page will not be shown anymore and instead users will be taken to the first blog to which they belong right away';
+
+$messages['manageGlobalArticleCategory'] = "Catégories globales d'article"; //'Global Article Categories';
+$messages['newGlobalArticleCategory'] = "Nouvelle catégorie globale d'article"; //'New Global Article Category';
+$messages['editGlobalArticleCategories'] = "Editer les catégories globales d'article"; //'Global Article Categories';
+$messages['global_category_name_help'] = "Nom de la nouvelle catégorie globale d'article"; //'Name of the new global article category';
+$messages['global_category_description_help'] = "Description de la nouvelle catégorie globale d'article"; //'Description of the new global article category';
+$messages['error_incorrect_global_category_id'] = "Catégorie globale d'article invalide"; //'Invalid global article category';
+$messages['global_category_deleted_ok'] = 'Catégorie d\'article "%s" supprimée avec succès'; //'Article category "%s" deleted successfully';
+$messages['global_category_added_ok'] = 'Catégorie d\'article "%s" ajoutée avec succès'; //'Global category "%s" added successfully';
+$messages['error_deleting_global_category2'] = 'Erreur lors de la suppression de la catégorie d\'article ayant comme ID "%s".'; //'There was an error removing article category with id = %s';
+
+$messages['help_page_suffix_format'] = "Suffixe qui sera apposé aux URLs qui supportent la pagination."; //'Suffix that will be appended to URLs that support paging';
+
+$messages['help_final_size_thumbnail_width'] = "Largeur finale des images téléchargées. Laisser vide ou à zéro pour stocker l'image originale"; //'Final width of uploaded images. Leave empty or as zero to store the full size image';
+$messages['help_final_size_thumbnail_height'] = "Hauteur finale des images téléchargées. Laisser vide ou à zéro pour stocker l'image originale"; //'Final height of uploaded images. Leave empty or as zero to store the full size image';
+$messages['error_comment_too_big'] = "Ce commentaire est trop long."; //'The comment is too big';
+$messages['error_you_have_been_blocked'] = "Bloqué : cette demande n'a pas été accomplie."; //'Blocked: this request was not completed.';
+$messages['created'] = "Créé"; //'Created';
+$messages['view'] = "Vue"; //'View';
+$messages['editUser'] = "Editer l'utilisateur"; //'Edit User';
+$messages['help_urlize_word_separator'] = "Caractère qui sera employé comme séparateur de mot pour les URLs des pages LifeType. Il sera aussi utilisé pour la génération des noms de blogs si le support des sous-domaines est activé. [\"_\" par défaut]"; //'Character that will be used as the word separator when generating URLs pointing to LifeType pages. This will also be used when generating hostnames from blog names if support for subdomains is activated. [Default = _]';
+$messages['help_summary_template_cache_lifetime'] = "Temps en secondes de mise en cache des pages sommaires. Si différent de 0, le cache sera conservé le temps indiqué au lieu d'être généré à chaque changement des données. [0 par défaut]"; //'Life time in seconds of the summary cached pages. If set to something else than \'0\' the summary pages will be kept for as long as indicated here insted of being refreshed every time data changes. [Default = 0]';
+$messages['register_default_album_name'] = "Général"; //'General';
+$messages['register_default_album_description'] = "Utiliser cet album pour télécharger de nouvelles images"; //'Use this album to upload new pictures.';
+$messages['show_in_summary'] = "Montrer dans le sommaire"; //'Show in Summary';
+$messages['show_in_summary_help'] = "Inclure ce blog dans le sommaire du site"; //'Include this blog in the summary page of this site.';
+
+$messages['saving_message'] = "Sauvegarde..."; //'Saving ...';
+$messages['show_option_panel'] = "Montrer les options"; //'Show Options';
+$messages['hide_option_panel'] = "Cacher les options"; //'Hide Options';
+
+$messages['quick_launches'] = "Lancement rapide"; //'Quick Launches';
+$messages['confirmation_message_resent_ok'] = "Message de confirmation renvoyé avec succès."; //'Confirmation message resent successfully.';
+$messages['goto_blog_page'] = "Aller à %s"; //'Go to %s';
+$messages['help_num_blogs_per_user'] = "Nombre de blog qu'un utilisateur peux créer par l'interface d'administration."; //'Number of blogs that an owner can create through the administration interface';
+
+$messages['massive_change_option'] = "Options d'édition en masse"; //'Bulk Edit Options';
+$messages['show_massive_change_option'] = "Montrer les options d'édition en masse"; //'Show Bulk Edit Options';
+$messages['hide_massive_change_option'] = "Cacher les options d'édition en masse"; //'Hide Bulk Edit Options';
+$messages['change_status'] = "Changer le statut"; //'Change Status';
+$messages['change_category'] = "Changer la catégorie"; //'Change Category';
+
+$messages['error_post_status'] = "Sélectionner les status du post."; //'Please select post status.';
+$messages['error_comment_status'] = "Sélectionner les status du commentaire."; //'Please select comment status.';
+$messages['admin_mode'] = "Mode d'administration"; //'Admin Mode';
+$messages['administrate_user_blog'] = "Administrer ce blog"; //'Administrate this blog';
+$messages['trackbacks_updated_ok'] = "%s Trackbacks misent à jour avec succès"; //'%s trackbacks updated successfully';
+$messages['trackback_updated_ok'] = "Trackback mis à jour avec succès"; //''Trackback updated successfully';
+$messages['error_trackback_status'] = "Sélectionner un statut valide"; //'Please select a valid status';
+$messages['error_incorrect_user'] = "Utilisateur invalide"; //'User is not valid';
+$messages['select'] = "Sélectionner"; //'Select';
+$messages['remove_selected'] = "Choix supprimés"; //'Remove Selected';
+
+$messages['notification_subject'] = "Système de notification de LifeType"; //'LifeType Notification System';
+$messages['error_no_trackback_links_sent'] = "Alerte: Aucun trackback n'a été envoyé."; //'Warning: No Trackbacks were sent.';
+
+$messages['help_logout_destination_url'] = "URL vers laquelle les utilisateurs sont renvoyés quand ils se déconnectent (par exemple, la page d'accueil du site). Si laisser vide, alors la URL sera celle de la page de connection. [vide par défaut]"; //'URL where users will be sent when logging out, like for example the front page of your service. Leave empty in order to use the default value (the login page) [Default = empty]';
+
+$messages['help_http_cache_lifetime'] = "Temps de vie, en secondes, des pages dans le cache côté client (Les navigateurs n'interrogeront pas le serveur, et donneront la page qu'ils auront conservés dans leur cache). Cela augmente la vitesse de chargement des pages lors de la navigation, mais les nouveaux posts ou commentaires ne seront pas tout de suite visible. [1800 par défaut]"; //'Lifetime in seconds of the client side cache (browsers will not return to the server for this long, and pages will be served from the local cache.  This greatly speeds up the browsing experience, but will delay post and comment visibility. [Default = 1800]';
+
+$messages['trackbacks_no_trackback'] = "L'envoi d'un trackback à l'URL suivante a échoué : "; //'Sending a trackback to the following URL failed: ';
+
+$messages['error_comment_spam_throw_away'] = "Vous ne pouvez pas poster ce message car le filtre anti-spam l'a bloqué."; //'You cannot post this message. Anti-spam filter has blocked it.';
+$messages['error_comment_spam_keep'] = "Le filtre anti-spam a placé votre commentaire dans une liste de modération dans l'attente de sa validation par le propriétaire de ce blog."; //'The anti-spam filter has put your comment in the moderation queue and it will have to be approved by the blog owner.';
+
+$messages['blog_categories'] = "Catégories de blog"; //'Blog Categories';
+$messages['global_article_categories'] = "Catégories globales d'article"; //'Global Article Categories';
+
+$messages['help_force_posturl_unique'] = "Forcer l'unicité des URLs de post d'un blog. Cela n'est nécessaire que si vous changez les URLs et enlevez l'indication des dates dans celles-ci. [Non par défaut]"; //'Force all post URLs within a blog to be unique.  This is only needed if you are changing the URLs and are removing the date portions of the URL. [Default = no]';
+
+$messages['default_send_notification'] = "Notification par défaut envoyée"; //'Default Send Notification';
+
+$messages['enable_pull_down_menu'] = "Abaisser le menu"; //'Pull Down Menu';
+$messages['enable_pull_down_menu_help'] = "Activer ou désactiver l'abaissement du menu."; //'Enable or disable the pull down menu.';
+
+$messages['change_album'] = "Changer l'album"; //'Change Album';
+
+$messages['warning_autosave_message'] = '<img src="imgs/admin/icon_warning-16.png" alt="Erreur" class="InfoIcon"/><p class="ErrorText">Vous semblez vouloir quitter cette page sans avoir sauver votre post.  Si oui, vous pouvez <a href="#" onclick="restoreAutoSave();">Cliquer ici pour le restaurer</a> ou <a href="#" onclick="eraseAutoSave();">le supprimer</a>.</p>'; //'<img src="imgs/admin/icon_warning-16.png" alt="Error" class="InfoIcon"/><p class="ErrorText">You seem to have left here without saving your post. If so, you may <a href="#" onclick="restoreAutoSave();">click here to restore it</a> or <a href="#" onclick="eraseAutoSave();">delete it</a>.</p>';
+
+$messages['before_unload_message'] = "Il semble que vous avez un post non sauvé. Etes vous sûre de vouloir quitter ?\n (Si vous ne cliquer pas sur OK dans les secondes du rédémarrage, le système d'auto-sauvegarde rédémarrera de nouveau)."; //'It seems you have unsaved post, are you sure you want to leave?\n (If you don\\\'t press the "Ok" button in restart-seconds seconds, the auto save mechanisim will restart again.)';
+
+$messages['check_username'] = "Vérifier votre nom d'utilisateur"; //'Check User Name';
+$messages['check_username_ok'] = "Félicitation! Votre nom d'utilisateur est disponible."; //'Congradulations! The user name is available!';
+$messages['error_username_exist'] = "Désolé! Votre nom d'utilisateur n'est pas disponible. Essayer en d'autres."; //'Sorry! The user name is not available, please try others.';
+
+$messages['error_rule_email_dns_server_temp_fail'] = "Echec temporaire - Essayer plus tard."; //'Temporary failure - try again later.';
+$messages['error_rule_email_dns_server_unreachable'] = "Serveur de mail inacessible."; //'Email server unreachable.';
+$messages['error_rule_email_dns_not_permitted'] = "Email interdit."; //'E-mail not permitted.';
+
+$messages['blog_users_help'] = "Utilisateurs qui ont accès à ce blog."; //'Users who have access to this blog.';
+
+$messages['summary_welcome_paragraph'] = "Vous devez écrire ici le message de bienvenue que vous voulez que vos utilisateurs voient. Ou enlever celui-ci complètement et réarranger la page entière. Ou prenez le temps :) de jeter un coup d'oeil à templates/summary où sont stockés les templates de cette page. Vous êtes libre de les changer."; // 'You should place here whatever welcome message you would like your users to see. Or remove this one completely and rearrange the whole page. Or something :) Take a look at templates/summary, that is where all template files that make up this page are stored. You are free to change them in any way you like.';
+
+$messages['first_day_of_week'] = 0;
+$messages['first_day_of_week_label'] = "Premier jour de la semaine"; //'First Day of Week';
+$messages['first_day_of_week_help'] = "Premier jour de la semaine dans le calendrier."; //'First Day of Week in calendar';
+
+$message['help_default_global_article_category_id'] = "Id par défaut de la catégorie globale d'article.";
+$message['help_blog_does_not_exist_url'] = "URl de renvoi en cas de blog inexistant.";
+$message['help_post_notification_source_address'] = "Adresse d'envoi des notifications";
+
+//
+// new strings for 1.1
+//
+$messages['error_incorrect_trackback_id'] = "L'identifiant du trackback est incorrect"; //'The trackback identifier is not correct';
+$messages['error_marking_trackback_as_spam'] = "Erreur lors du marquage du trackback comme spam"; //'There was an error marking the trackback as spam';
+$messages['trackback_marked_as_spam_ok'] ="Trackback marqué comme spam"; // 'The trackback was marked as successfully as spam';
+$messages['error_marking_trackback_as_nonspam'] = "Erreur lors du marquage du trackback comme non spam"; //'There was an error marking the trackback as non-spam';
+$messages['trackback_marked_as_nonspam_ok'] = "Trackback marqué comme non spam"; //'The trackback was marked successfully as non-spam';
+$messages['upload_here'] = "Télécharger ici"; //'Upload here';
+$messages['reply_string'] = "A"; //'Re: ';
+$messages['cleanup_users'] = "Purge des utilisateurs"; //'Purge Users';
+$messages['cleanup_users_help'] = "Cette action purge tous les utilisateurs qui avaient été supprimés par l'administrateur (marqué comme \"supprimé\"). Il enlèvera également tous les blogs et leurs contenus de cet utilisateur. Si un utilisateur avait des droits pour poster dans d'autres blogs, tous ces posts seront supprimés. Il n'est pas possible de revenir en arrière après la purge.";  //'This will remove all users that have been deleted by administrator (marked as "Deleted"). It will also remove any blogs that user own including everything in that blog. If user has permission to post in other blog, all posts made by them will be deleted as well.  It will not be possible to recover once users have been removed';
+$messages['users_purged_ok'] = "Purge des utilisateurs réussie"; //'Users purged successfully';
+$messages['cleanup_blogs'] = "Purge des blogs"; //'Purge Blogs';
+$messages['cleanup_blogs_help'] = "Cette action purge tous les blogs qui avaient été supprimés par l'administrateur (marqué comme \"supprimé\"). Il supprime tout le contenu de ces blogs. Il n'est pas possible de revenir en arrière après la purge."; //'This will remove all blogs that have been deleted by administrator (marked as "Deleted"). It will remove everthing in that blog.  It will not be possible to recover once users have been removed';
+$messages['blogs_purged_ok'] = "Purge des blogs réussie"; //'Blogs purged successfully';
+$messages['help_use_http_accept_language_detection'] = "La plupart des navigateurs, comme Mozilla Firefox, Safari ou Internet Explorer, envoie le code de la langue que de l'utilisateur est <i>supposé</i> comprendre. Si cette fonctionnalité est activée, LifeType essaye, si possible, de servir l'utilisateur avec la langue demandée. [Non par défaut]"; //'Most web browsers such as Mozilla Firefox, Safari or Internet Explorer send at least one language code the user <i>should</i> understand. If this feature is activated, LifeType tries to serve the user with the requested language if it\'s available. [Default = No]';
+
+$messages['error_invalid_blog_category'] = "Catégorie de blog invalide"; //'Invalid blog category';
+$messages['error_adding_blog_category'] = "Erreur lors de l'ajout de la catégorie de blogs"; //'There was an error adding the blog category';
+$messages['newBlogCategory'] = "Nouvelle catégorie de blogs"; //'New Blog Category';
+$messages['editBlogCategories'] = "Catégorie de blogs"; //'Blog Categories';
+$messages['blog_category_added_ok'] = "Nouvelle catégorie de blogs ajoutée avec succès"; //'Blog category added successfully';
+$messages['error_blog_category_has_blogs'] = 'La catégorie de blogs "%s" a des blogs qui lui sont assignés. Editez d\'abord ces blogs et reéssayer ensuite.'; //'The blog category "%s" has some blogs assigned to it. Please edit first the blogs and then try again.';
+$messages['error_deleting_blog_category'] = "Une erreur s'est produite lors de la suppression de la catégorie de blogs"; //'There was an error deleting blog category "%s"';
+$messages['blog_category_deleted_ok'] = 'La catégorie de blogs "%s" a été supprimé avec succès'; // 'Blog category "%s" was deleted successfully';
+$messages['blog_categories_deleted_ok'] = 'Catégorie de blogs "%s" supprimée avec succès'; // '%s blog categories deleted successfully';
+$messages['error_deleting_blog_category2'] = 'Une erreur s\'est produite lors de la suppression de la catégorie de blogs dont l\'identifiant est "%s" '; //'There was an error removing the blog category with id %s';
+$messages['blog_category'] = "Catégorie de blogs"; //'Blog Category';
+$messages['blog_category_help'] = "Catégorie générale de blog assignée à ce blog"; //'Global blog category assigned to this blog';
+
+$messages['help_use_captcha_auth'] = "Utiliser un mécanisme de CAPTCHA lors de processus d'inscription pour éviter automatiquement l'inscription des scripts robots"; //'Use a CAPTCHA mechanism in the registration process to prevent automatic registration by robotic scripts [ Default = No ]';
+$messages['help_skip_dashboard'] = "La page de tableau de bord ne sera plus affichée à la connection des utilisateurs qui seront dirigés vers le premier blog auquel ils appartiennent."; //'The dashboard page will not be shown anymore and instead users will be taken to the first blog to which they belong right away [ Default = No ]';
+
+$messages['manageGlobalArticleCategory'] = "Catégories globales d'articles"; //'Global Article Categories';
+$messages['newGlobalArticleCategory'] = "Nouvelle catégorie globale d'articles"; //'New Global Article Category';
+$messages['editGlobalArticleCategories'] = "Editer les catégories globales d'articles"; //''Global Article Categories';
+$messages['global_category_name_help'] = "Nom de la nouvelle catégorie globale d'article"; //'Name of the new global article category';
+$messages['global_category_description_help'] = "Description de la nouvelle catégorie globale d'article"; //'Description of the new global article category';
+$messages['error_incorrect_global_category_id'] = "Catégorie globale d'article invalide"; //'Invalid global article category';
+$messages['global_category_deleted_ok'] = "La catégorie d'article \" %s \" a été supprimée avec succès"; //Article category \"%s\" deleted successfully';
+$messages['global_category_added_ok'] = "La catégorie globale \" %s \" a été ajoutée avec succès"; //'Global category "%s" added successfully';
+$messages['error_deleting_global_category2'] = "Une erreur s'est produite lors du reetrait de la catégorie d'articles avec l'id=%s"; //'There was an error removing article category with id = %s';
+
+$messages['help_page_suffix_format'] = "Suffixe qui sera rajouté aux URLs supportant le paging [Default = \page\{page}]"; //'Suffix that will be appended to URLs that support paging [ Default = /page/{page} ]';
+
+$messages['help_final_size_thumbnail_width'] = "Largeur finale des images uploadées. Laisser vide ou égal à 0 pour stocker les images en taille initiale [ Default=0 ]"; //'Final width of uploaded images. Leave empty or as zero to store the full size image [ Default = 0 ]';
+
+$messages['help_final_size_thumbnail_height'] = "Hauteur finale des images téléchargées. Laisser vide ou égal à 0 pour stocker les images en taille initiale. [ Default = 0 ]"; //'Final height of uploaded images. Leave empty or as zero to store the full size image [ Default = 0 ]';
+
+$messages['error_comment_too_big'] = "Ce commentaire est trop long"; //'The comment is too big';
+
+$messages['error_you_have_been_blocked'] = "Interdit: cette requête n'a pas abouti"; //'Blocked: this request was not completed.';
+
+$messages['created'] = "Créé"; //'Created';
+
+$messages['view'] = "Voir"; //'View';
+
+$messages['editUser'] = "Paramètres de l'utilisateur"; //'Edit User';
+$messages['help_urlize_word_separator'] = 'Caractère qui sera employé comme séparateur de mot pour les URLs des pages LifeType. Il sera aussi utilisé pour la génération des noms de blogs si le support des sous-domaines est activé. [ _ par défaut (underscore)]'; //'Character that will be used as the word separator when generating URLs pointing to LifeType pages. This will also be used when generating hostnames from blog names if support for subdomains is activated. [ Default = _ ]';
+$messages['help_summary_template_cache_lifetime'] ="Durée de vie en secondes du sommaire du cache des pages. Si vous parémétrez une valur autre que \' 0 \' , le sommaire des pages sera conservé aussi longtemps qu'indiqué ici, au lieu d'être mis à jour à chaque changement de données."; // 'Life time in seconds of the summary cached pages. If set to something else than \'0\' the summary pages will be kept for as long as indicated here insted of being refreshed every time data changes. [ Default = 0 ]';
+$messages['register_default_album_name'] ="Général"; // 'General';
+$messages['register_default_album_description'] = "Utiliser cet album pour uploader les nouvelles images"; //'Use this album to upload new pictures.';
+$messages['show_in_summary'] ="Montrer dans le sommaire"; // 'Show in Summary';
+$messages['show_in_summary_help'] = "Inclure ce blog dans le sommaire du site"; //'Include this blog in the summary page of this site.';
+
+$messages['saving_message'] = "Enregistrement en cours..."; //'Saving ...';
+$messages['show_option_panel'] = "Montrer les options"; //'Show Options';
+$messages['hide_option_panel'] = "Masquer les options"; //'Hide Options';
+
+$messages['quick_launches'] = "Lancements rapides"; //'Quick Launches';
+
+$messages['confirmation_message_resent_ok'] = "Message de confirmation réenvoyé vec succès."; //'Confirmation message resent successfully.';
+
+$messages['goto_blog_page'] = "Aller à %s"; //'Go to %s';
+
+$messages['help_num_blogs_per_user'] = "Nombre de blogs que l'utilisateur peut créer à travers cette interface d'administration"; //'Number of blogs that an owner can create through the administration interface';
+
+$messages['massive_change_option'] = "Editer les options en masse"; //'Bulk Edit Options';
+$messages['show_massive_change_option'] ="Voir l'édition des options en masse"; // 'Show Bulk Edit Options';
+$messages['hide_massive_change_option'] ="Masquer l'édition des options en masse"; // 'Hide Bulk Edit Options';
+$messages['change_status'] = "Changer de statut"; //'Change Status';
+$messages['change_category'] = "Changer de catégorie"; //'Change Category';
+$messages['error_updating_comment_no_comment'] = "Une erreur s'est produite lors de la mise à jour du commentaire. Commentaire #%s introuvable."; //'There was an error updating the comment. Comment #%s could not be found';
+$messages['error_updating_comment_wrong_blog'] = "Une erreur s'est produite lors de la mise à jour du commentaire. Le commentaire (%s) n'a pas été posté sur ce blog."; //'There was an error updating the comment. Comment (%s) is not posted on this blog.';
+$messages['error_updating_comment'] = "Une erreur s'est produite lors de la mise à jour de (%s)"; //'There was an error updating (%s)';
+$messages['error_updating_comment_already_updated'] = "Aucun changement fait à (%s)"; //'No change made to (%s)';
+$messages['comment_updated_ok'] = "Commentaire mis à jour avec succès"; //'Comment successfully updated.';
+$messages['comments_updated_ok'] = "%s commentaires mis à jour avec succès"; //'%s comments successfully updated.';
+
+$messages['error_post_status'] ="SVP, sélectionnez le statut du post"; // 'Please select post status.';
+$messages['error_comment_status'] = "SVP, sélectionnez le statut du commentaire"; //'Please select comment status.';
+$messages['admin_mode'] ="Mode Administrateur"; // 'Admin Mode';
+$messages['administrate_user_blog'] = "Administrer ce blog"; //'Administrate this blog';
+$messages['trackbacks_updated_ok'] = "%s trackbacks mis à jour avec succès"; //'%s trackbacks updated successfully';
+$messages['trackback_updated_ok'] = "Trackback mis à jou ravec succès"; //'Trackback updated successfully';
+$messages['error_trackback_status'] = "Veuillez sélectionner un statut valide"; //Please select a valid status';
+$messages['error_incorrect_user'] = "User non valide"; //'User is not valid';
+$messages['select'] ="Sélectionnez"; //'Select';
+$messages['remove_selected'] = "Supprimer la sélection"; //'Remove Selected';
+
+$messages['notification_subject'] = "Système de notification"; //'LifeType Notification System';
+$messages['error_no_trackback_links_sent'] = "Attention: Aucun trackback envoyé"; //'Warning: No Trackbacks were sent.';
+
+$messages['logout_destination_url'] ="URL où les utilisateurs seront dirigés à la déconnexion, comme par exemple la page d'accueil de votre site. Laisser vide pour utiliser la valeur par défaut [Vide par défaut]"; //'URL where users will be sent when logging out, like for example the front page of your service. Leave empty in order to use the default value (the login page) [ Default = empty ]';
+
+$messages['help_http_cache_lifetime'] ="Durée de vie en secondes du cache coté client. Les navigateurs ne feront pas de requête vers le serveur pendant ce laps de temps, et les pages viendront du cache local. La navigation sera plus rapide, mais les posts et les commentaires ne seront pas immédiatemnt visibles."; //'Lifetime in seconds of the client side cache (browsers will not return to the server for this long, and pages will be served from the local cache.  This greatly speeds up the browsing experience, but will delay post and comment visibility. [Default = 1800]';
+
+$messages['trackbacks_no_trackback'] = "L'envoi d'un trackback à l'URL suivante a échoué"; //'Sending a trackback to the following URL failed: ';
+
+$messages['error_comment_spam_throw_away'] ="Vous ne pouvez pas poster ce message.Le filtre anti-spam l'a bloqué"; // 'You cannot post this message. Anti-spam filter has blocked it.';
+$messages['error_comment_spam_keep'] ="L'anti-spam a mis votre commentaire dans la file de modération,et il devra être approuvé par le propriétaire du blog."; // 'The anti-spam filter has put your comment in the moderation queue and it will have to be approved by the blog owner.';
+
+$messages['blog_categories'] = "Catégories de blogs"; //'Blog Categories';
+$messages['global_article_categories'] ="Catégories d'article global"; // 'Global Article Categories';
+
+$messages['help_force_posturl_unique'] = "Forcer l'unicité de toutes les URLs d'articles dans un blog. Nécessaire uniquement si vous changer les URLs et supprimer les dates dans les URLs"; //'Force all post URLs within a blog to be unique.  This is only needed if you are changing the URLs and are removing the date portions of the URL. [ Default = no ]';
+
+$messages['default_send_notification'] = "Notification d'envoi par défaut"; //'Default Send Notification';
+
+$messages['enable_pull_down_menu'] = "Menu Pull Down"; //'Pull Down Menu';
+$messages['enable_pull_down_menu_help'] = "Activer ou désactiver le melu pull down"; //'Enable or disable the pull down menu.';
+
+$messages['change_album'] = "Changer d'album"; //'Change Album';
+
+$messages['warning_autosave_message'] = '<img src="imgs/admin/icon_warning-16.png" alt="Erreur" class="InfoIcon"/><p class="ErrorText">Vous avez quitté cette page sans sauvegrder votre article. Si c\'est le cas,<a href="#" onclick="restoreAutoSave();">Cliquez ici pour le récupérer</a> ou a href="#" onclick="eraseAutoSave();"> supprimez le </a></p> '; // '<img src="imgs/admin/icon_warning-16.png" alt="Error" class="InfoIcon"/><p class="ErrorText">You seem to have left here without saving your post. If so, you may <a href="#" onclick="restoreAutoSave();">click here to restore it</a> or <a href="#" onclick="eraseAutoSave();">delete it</a>.</p>';
+
+$messages['check_username'] = "Vérifier le pseudo"; //'Check User Name';
+$messages['check_username_ok'] = "Le pseudo est disponible"; //'The user name is available!';
+$messages['error_username_exist'] = "Désolé, le pseudo n'est pas disponible. Essayez-en d'autres."; //'Sorry! The user name is not available, please try others.';
+
+$messages['error_rule_email_dns_server_temp_fail'] = "Echec temporaire - essayez plus tard"; //'Temporary failure - try again later.';
+$messages['error_rule_email_dns_server_unreachable'] = "Echec de la connexion au serveur mail"; //'Email server unreachable.';
+$messages['error_rule_email_dns_not_permitted'] = "Emails interdits"; //'E-mail not permitted.';
+
+$messages['blog_users_help'] = "Utilisateurs autorisés sur ce blog"; //'Users who have access to this blog.';
+
+$messages['summary_welcome_paragraph'] = "Placez ici le message de bienvenue que verrons vos utilisateurs. Ou supprimer complètement le message actuel et réorganiser la page entière. Ou autre chose ;-) Jetez un coup d'oeil dans templates/summary , c'est l'endroit où les fichiers qui constituent cette page sont stockés. Vous êtes libre de les modifier à votre guise."; //'You should place here whatever welcome message you would like your users to see. Or remove this one completely and rearrange the whole page. Or something :) Take a look at templates/summary, that is where all template files that make up this page are stored. You are free to change them in any way you like.';
+
+$messages['first_day_of_week'] = 0;
+$messages['first_day_of_week_label'] = "Premier jour de la semaine"; //'First Day of Week';
+$messages['first_day_of_week_help'] = "Premier jour de la semaine sur le calendrier"; //'First Day of Week in calendar';
+
+$messages['help_subdomains_base_url'] ="Quand les sous-domaines sont activés, cette URL ets utilisé à la place de base_url. Utilisez {blogname} pour obtenir le nom du blog, {username} pour obtenir le nom du propriétaire du blog et {blogdomain} pour permettre à l'utilisateur de spécifier un sous-domaine pour générer un lien vers un blog. ( Exple: http://{blogname}.yourdomain.com )"; //  'When subdomains are enabled, this base URL is used instead of base_url. Use {blogname} to get the blog name, {username} to get the name of the user owner of the blog and {blogdomain} to allow the user to specify any subdomain in order to generate a link to a blog. (e.g.. http://{blogname}.yourdomain.com)';
+
+$messages['registration_default_subject'] = "Confirmation d'enregistrement"; //'LifeType registration confirmation';
+
+$messages['error_invalid_subdomain'] = "Le nom du sous-domaine est invalide ou n'est pas unique"; //'The subdomain name is not valid or it is not unique';
+$messages['register_blog_domain_help'] = "Nom et sous-domaine que vous souhaitez utiliser pour votre nouveau blog"; //'Name and subdomain that you would like to use for your new blog';
+$messages['domain'] = 'Domain';
+$messages['help_subdomains_available_domains'] = "Entrer un ensemble des domaines pricnipaux autorisés en les séparant par des espaces. L'utilisateur verra une liste déroulante de ces valeurs et pourra ajouter le sous-domaine de son choix. Ceci est utilisé uniquement si vous activez les sous-domaines et utilisez {blogdomain} dans le subdomain_base_url du dessus. Utilisez un point d'interrogation \" ? \" si vous voulez autoriser un domaine. "; //'Enter a space delimited set of main domains allowed.  The user will be presented with a dropdown list of these values, and can add any subdomain he wants.  This is only used if you enabled subdomains and used {blogdomain} in the subdomain_base_url above. Use a \'?\' if you want to allow any domain.';
+$messages['subdomains_any_domain'] = "Multi domaine activé. Tapez le domaine complet"; //'<- Multi-domain enabled. Type in the full domain.';
+$messages['error_updating_blog_subdomain'] = "Une erreur s'est produite lors de la mise à jour du sous-domaine. Vérifiez encore les données et reéssayez"; //'There was an error updating the subdomain.  Please check the data and try again.';
+$messages['error_updating_blog_main_domain'] = "Une erreur s'est produite lors de la mise à à jour les paramètres du site. L'adminsitrateur a probablement mal configuré un paramètre"; //'There was an error updating the main domain setting. This probably means the site administrator has configured something incorrectly.';
+
+$messages['monthsshort'] = Array('Jan', 'Fev', 'Mar', 'Avr', 'Mai', 'Juin', 'Juil', 'Aou', 'Sep', 'Oct', 'Nov', 'Dec'); //Array( 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' );
+$messages['weekdaysshort'] = Array('Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam' ); //Array( 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat' );
+
+$messages['search_type'] = "Chercher dans"; //'Search in';
+$messages['posts'] = "Articles"; //'Posts';
+$messages['blogs'] = "Blogs"; //'Blogs';
+$messages['resources'] = "Ressources"; //'Resources';
+$messages['upload_in_progress'] = "Téléchargement en cours. Veuillez patienter"; //'Uploading. Please wait...';
+$messages['error_incorrect_username'] = "Le pseudo est incorrect. Il est déjà utilisé ou est trop long (maximum de 15 caractères)"; //'The username is not correct, it is already in use or it is too long (maximum 15 characters)';
+
+$messages['Miscellaneous'] = "Divers"; //'Miscellaneous';
+$messages['Plugins'] = "Plugins"; //'Plugins';
+
+$messages['auth_img'] = "Code d'authentification"; //'Authentication code';
+$messages['auth_img_help'] = "SVP, tapez le code que vous voyez dans l'image ci-dessous"; //'Please type the code you see in the image below for .';
+
+$messages['global_category'] = "Catégorie générale"; //'Global category';
+$messages['global_article_category_help'] = "Catégorie globale du site pour cet article"; //'Site wide category for this post';
+
+$messages['password_reset_subject'] = "Demande de réinitialisation du mot de passe"; //'LifeType Password Request';
+
+
+
+//
+// new strings for LifeType 1.2
+//
+$messages['auth'] = 'Auth';
+$messages['authenticated'] = 'Authentifié';
+$messages['dropdown_list_field'] = 'Liste déroulante';
+$messages['values'] = 'Valeurs des champs';
+$messages['field_values'] = 'Valeurs qui seront montrés en tant qu\'options dans ce champs. La première sera utilisée comme l\'option par défaut.';
+
+$messages['permission_added_ok'] = 'Permission ajoutée avec succès';
+$messages['core_perm'] = 'Permission de coeur.';
+$messages['admin_only'] = 'Admin-only';
+$messages['permissionsList'] = 'Permissions';
+$messages['newPermission'] = 'Nouvelle Permission';
+$messages['permission_name_help'] = 'Nom unique pour la permission';
+$messages['permission_description_help'] = 'Description de la permisson';
+$messages['core_perm_help'] = 'Si cette permission fait partie des permissions de coeur, il ne sera pas possible de l\'effacer';
+$messages['admin_only_help'] = 'Si cette permission peut être donnée par l\'utilisateur administrateur seulement';
+$messages['error_adding_new_permission'] = 'La nouvelle permission n\'a pas pu etre ajoutée, merci de vérifier vos données';
+$messages['error_incorrect_permission_id'] = 'L\'identifiant de permisson n\'est pas correct';
+$messages['error_permission_cannot_be_deleted'] = 'La permission "%s" n\'a  pas pu être effacée car soit elle a été donnée à au moins un utilisateur soit il s\'agit d\'une autorisation de coeur.';
+$messages['error_deleting_permission'] = 'Une erreur s\'est produite lors de l\'effacement de la permission "%s"';
+$messages['permission_deleted_ok'] = 'La permission "%s" a été supprimée avec succès';
+$messages['permissions_deleted_ok'] = 'Les permissions "%s" ont été supprimées avec succès';
+$messages['error_deleting_permission2'] = 'Il y a eu une erreur en supprimant la permission avec l\'identifiant "%s"';
+
+$messages['help_hard_show_posts_max'] = 'Nombre maximum possible d\'articles affichés sur les pages du blog. Si l\'utilisateur choisi une valeur au dessus de cette limite, ce nombre sera ignoré et remplacé par cette valeur. [ Défaut = 50 ]';
+$messages['help_hard_recent_posts_max'] = 'Nombre maximum possible d\'articles récents affichés sur les pages du blog. Si l\'utilisateur choisi une valeur au dessus de cette limite, ce nombre sera ignoré et remplacé par cette valeur. [ Défaut = 25 ]';
+
+$messages['error_permission_required'] = 'Vous n\'avez pas assez de permissions pour effectuer l\'action demandée';
+$messages['user_permissions_updated_ok'] = 'Permissions des utilisateurs mise à jour avec succès';
+
+// blog permissions
+$messages['add_album_desc'] = 'Ajouter de nouveaux albums';
+$messages['add_blog_template_desc'] = 'Ajouter de nouveaux gabarits';
+$messages['add_blog_user_desc'] = 'Ajouter de nouveaux utilisateurs';
+$messages['add_category_desc'] = 'Ajouter de nouvelles catégories';
+$messages['add_custom_field_desc'] = 'Ajouter de nouveaux champs personnalisés';
+$messages['add_link_desc'] = 'Ajouter de nouveaux liens';
+$messages['add_link_category_desc'] = 'Ajouter de nouvelles catégories de liens';
+$messages['add_post_desc'] = 'Ajouter de nouveaux articles';
+$messages['add_resource_desc'] = 'Ajouter de nouvelles ressources';
+$messages['blog_access_desc'] = 'Permettre l\'accès à ce blog';
+$messages['update_album_desc'] = 'Mettre à jour les albums existants';
+$messages['update_blog_desc'] = 'Mettre à jour les réglages du blog';
+$messages['update_blog_template_desc'] = 'Mettre à jour le gabarit d\'un blog';
+$messages['update_blog_user_desc'] = 'Mettre à jour les permissions des utilisateurs';
+$messages['update_category_desc'] = 'Mettre à jour les catégories existantes';
+$messages['update_comment_desc'] = 'Mettre à jour les commentaires existants';
+$messages['update_custom_field_desc'] = 'Mettre à jour les champs personnalisés existants';
+$messages['update_link_desc'] = 'Mettre à jour les liens existants';
+$messages['update_link_category_desc'] = 'Mettre à jour les catégories de liens existantes';
+$messages['update_post_desc'] = 'Mettre à jour les articles existants';
+$messages['update_resource_desc'] = 'Mettre à jour les ressources existantes';
+$messages['update_trackback_desc'] = 'Mettre à jour les trackbacks existants';
+$messages['view_blog_templates_desc'] = 'Voir les gabarits du blogs';
+$messages['view_blog_users_desc'] = 'Voir les utilisateurs du blog';
+$messages['view_categories_desc'] = 'Voir les catégories du blog';
+$messages['view_comments_desc'] = 'Voir les commentaires du blogs';
+$messages['view_custom_fields_desc'] = 'Voir les champs personnalisés du blog';
+$messages['view_links_desc'] = 'Voir les liens du blog';
+$messages['view_link_categories_desc'] = 'Voir les catégories de liens du blog';
+$messages['view_posts_desc'] = 'Voir les articles du blog';
+$messages['view_resources_desc'] = 'Voir les ressources du blog';
+$messages['view_trackbacks_desc'] = 'Voir les trackbacks du blog';
+$messages['login_perm_desc'] = 'L\'utilisateur est autorisé à se connecter';
+// admin permissions
+$messages['add_blog_category_desc'] = 'L\'utilisateur peut ajouter des catégories de blog';
+$messages['add_global_article_category_desc'] = 'L\'utilisateur peut ajouter des catégories d\'article globales';
+$messages['add_locale_desc'] = 'L\'utilisateur peut ajouter de nouvelles traductions';
+$messages['add_permission_desc'] = 'L\'utilisateur peut ajouter de nouvelles permissions';
+$messages['add_site_blog_desc'] = 'L\'utilisateur peut ajouter de nouveaux blogs';
+$messages['add_template_desc'] = 'L\'utilisateur peut ajouter de nouveau gabarits';
+$messages['add_user_desc'] = 'L\'utilisateur peut ajouter de nouveaux utilisateurs' ;
+$messages['edit_blog_admin_mode_desc'] = 'L\'utilisateur peut administrer d\'autres blogs (mode admin)';
+$messages['purge_data_desc'] = 'L\'utilisateur peut purger les données';
+$messages['update_blog_category_desc'] = 'L\'utilisateur peut mettre à jour et effacer les catégories de blogs';
+$messages['update_global_article_category_desc'] = 'L\'utilisateur peut mettre à jour et effacer les catégories d\'articles globales';
+$messages['update_global_settings_desc'] = 'L\'utilisateur peut mettre à jour les réglages du site';
+$messages['update_locale_desc'] = 'L\'utilisateur peut mettre à jour et effacer les traductions';
+$messages['update_permission_desc'] = 'L\'utilisateur peut mettre à jour et effacer les permissions';
+$messages['update_plugin_settings_desc'] = 'L\'utilisateur peut mettre à jour les réglages des plugins';
+$messages['update_site_blog_desc'] = 'L\'utilisateur peut mettre à jour et effacer les blogs';
+$messages['update_template_desc'] = 'L\'utilisateur peut mettre à jour et effacer les gabarits';
+$messages['update_user_desc'] = 'L\'utilisateur peut mettre à jour et effacer les utilisateurs';
+$messages['view_blog_categories'] = 'L\'utilisateur peut voir les catégories de blogs';
+$messages['view_global_article_categories_desc'] = 'L\'utilisateur peut voir les catégories d\'articles globales';
+$messages['view_global_settings_desc'] = 'L\'utilisateur peut voir les réglages du site';
+$messages['view_locales_desc'] = 'L\'utilisateur peut voir les traductions';
+$messages['view_permissions_desc'] = 'L\'utilisateur peut voir les permissions';
+$messages['view_plugins_desc'] = 'L\'utilisateur peut voir les plugins installés';
+$messages['view_site_blogs_desc'] = 'L\'utilisateur peut voir les blogs du site';
+$messages['view_templates_desc'] = 'L\'utilisateur peut voir les gabarits';
+$messages['view_users_desc'] = 'L\'utilisateur peut voir les utilisateurs';
+$messages['update_blog_stats_desc'] = 'L\'utilisateur peut effacer les referrers';
+$messages['manage_admin_plugins_desc'] = 'Gérer les caractéristiques admin-only des plugins';
+
+$messages['summary_welcome_msg'] = 'Bienvenue, %s!';
+$messages['summary_go_to_admin'] = "Aller à l'interface d'administration";
+
+$messages['error_can_only_update_own_articles'] = 'Vos permissions vous permettent seulement de modifier vos propres articles.';
+$messages['update_all_user_articles_desc'] = 'Permettre de modifier les articles des autres utilisateurs';
+$messages['error_can_only_view_own_articles'] = 'Vos permissions vous permettent seulement de voir vos propres articles.';
+$messages['view_all_user_articles_desc'] = 'Permettre de voir les articles des autres utilisateurs';
+$messages['error_fetching_permission'] = 'Une erreur s\'est produite lors du chargement de la permission';
+$messages['editPermission'] = 'Editer la permission';
+$messages['error_updating_permission'] = 'Une erreur s\'est produite lors de la mise à jour de la permission';
+$messages['permission_updated_ok'] = 'Permission ajoutée avec succès';
+$messages['error_adding_permission'] = 'Une erreur s\'est produite lors de l\'ajout de la permission';
+$messages['error_cannot_login'] = 'Désolé, vous n\'êtes pas autorisé à vous connecter';
+$messages['admin_user_permissions_help'] = 'Permission Site-wide accordée à cet utilisateur';
+
+$messages['permissions'] = 'Permissions';
+$messages['blog_user_permissions_help'] = 'Permissions accordées à cet utilisateur pour ce blog';
+$messages['pluginSettings'] = 'Réglages du Plugin';
+$messages['user_can_override'] = 'Les utilisateurs peuvent faire des modifications';
+$messages['user_cannot_override'] = 'Les utilisateurs ne peuvent pas faire de modifications';
+$messages['global_plugin_settings_saved_ok'] = 'Réglages globals des plugins sauvegardés avec succès';
+$messages['error_updating_global_plugin_settings'] = 'Une erreur s\'est produite lors de la sauvegarde des réglages globals des plugins';
+$messages['error_incorrect_value'] = 'La valeur n\'est pas correcte';
+$messages['parameter'] = 'Paramètre';
+$messages['value'] = 'Valeur';
+$messages['override'] = 'Override';
+$messages['editCustomField'] = 'Editer les champs personnalisés';
+$messages['view_blog_stats_desc'] = 'Voir les statistiques des blogs';
+$messages['manage_plugins_desc'] = 'Gérer les plugins du blog';
+
+$messages['error_global_category_has_articles'] = 'La catégorie d\'article globale n\'a pas pu être effacée car elle contient encore des articles';
+$messages['error_adding_global_article_category'] = 'Une erreur s\'est produite lors de l\'ajout de la catégorie d\'article globale';
+
+$messages['temp_folder_reset_ok'] = 'Le dossier contenant les fichiers temporaires a été nettoyé avec succès';
+$messages['cleanup_temp_help'] = 'Ceci va entrainer un nettoyage du dossier contenant les fichiers temporaires, forçant le cache des données et des gabarits à être mis à jour pour tous les blogs.';
+$messages['cleanup_temp'] = 'Purger le dossier temporaire';
+
+$messages['comment_only_auth_users'] = 'Seuls les utilisateurs authentifiés peuvent ajouter un commentaire';
+$messages['comment_only_auth_users_help'] = 'Seuls les utilisateurs qui ont un identifiant et un mot de passe valides et qui sont connectés pourront laisser un commentaire';
+$messages['show_comments_max'] = 'Nombre de commentaires par page';
+$messages['show_comments_max_help'] = 'Nombre maximum de commentaires par page [ Défaut = 20 ]';
+$messages['hard_show_comments_max_help'] = 'Limite maximum pour le nombre de commentaires par page [ Défaut = 50 ]';
+
+$messages['error_resource_not_whitelisted_extension'] = 'Le type de fichier n\'est pas autorisé.';
+$messages['help_upload_allowed_files'] = 'Liste de mots séparés d\'un espace représentant les types de fichiers qui peuvent être chargés. L\'utilisation de \'*\' et \'?\' est authorisée. Si la liste des fichiers interdits ainsi que cette option sont actives, la whitelist (fichiers autorisés à être téléchargés) sera prise en compte et la blacklist ignorée [Défaut = Aucun]';
+
+$messages['help_template_load_order'] = 'Défini dans quel ordre les fichiers de gabarits sont recherchés et chargés. Si le réglage est sur \'charger le gabarit par défaut en premier\', Lifetype essaiera de charger en premier les fichiers du dossier templates/default/ et s\'il ne sont pas présents dans ce dossier, essaiera de charger les fichiers de gabarit de l\'utilisateur. Si un même fichier de gabarit est présent au deux endroits, celui du gabarit par défaut sera choisi. Si le réglage est sur \'charger le gabarit de l\'utilisateur en premier\', le gabarit de l\'utilisateur sera toujours choisi en premier et s\'il n\'est pas disponible, le gabarit par défaut sera choisi. Si un même fichier de gabarit est présent au deux endroits, celui de l\'utilisateur sera choisi.';
+$messages['template_load_order_user_first'] = 'Charger le gabarit par défaut en premier';
+$messages['template_load_order_default_first'] = 'Charger le gabarit de l\'utilisateur en premier';
+
+$messages['editBlogUser'] = 'Editer l\'utilisateur du blog';
+
+$messages['help_summary_service_name'] = 'Nom de votre site/service qui apparaîtra  à plusieurs endroits sur la première page ainsi que sur les RSS feeds [ Défaut = vide ]';
+
+$messages['register_step2_help'] = 'Merci de fournir maintenant les informations requisent afin de créer un blog.';
+
+$messages['create_date'] = 'Date créé';
+
+$messages['insert_media'] = 'Inserer un média';
+$messages['insert_more'] = 'Toggle "More..." link';
+
+$messages['purging_please_wait'] = 'Merci de patienter pendant que les données sont purgées. Cette page sera automatiquement rafraîchie jusqu\'à la fin de l\'opération, merci de ne pas essayer d\'arrêter les procédure';
+
+$messages['error_cannot_delete_last_blog_category'] = 'Vous ne pouvez pas effacer la dernière catégorie de blogs.';
+
+$messages['help_logout_destination_url'] = 'URL où les utilisateurs seront dirigés quand ils se déconnecteront, au lieu de la page de connection de l\'interface d\'administration [ Valeur par défaut = vide ]';
+$messages['help_default_global_article_category_id'] = 'Identifiant de la catégorie d\'articles globale [ Défaut = vide ]';
+$messages['help_blog_does_not_exist_url'] = 'URL où les utilisateurs seront dirigés quand ils essaieront d\'accéder un blog qui n\'existe pas sur ce site, au lieu d\être dirigés vers la page par défaut du site [ Défaut = vide ]';
+
+$messages['error_invalid_blog_name'] = 'Le nom du blog n\'est pas valide';
+
+/* strings for /default/ templates */
+$messages['help_forbidden_blognames'] = 'Liste des chaînes de caractères séparées par un espace qui ne peuvent pas être utilisées comme nom de blog. Il est possible d\'utiliser des expressions régulières au lieu de chaînes de caractères pleines. [ Défault = (vide) ]';
+
+$messages['posts_updated_ok'] = 'L\'article %s a été mis à jour avec succès';
+$messages['error_updating_post2'] = 'Une erreur s\'est produite lors de la mise à jour de l\'article avec l\'identifiant %s';
+$messages['resources_updated_ok'] = 'Les ressources %s ont été mis à jour avec succès';
+$messages['error_updating_resource2'] = 'Une erreur s\'est produite lors de la mise àjour de la ressource avec l\'identifiant %s';
+$messages['albums_updated_ok'] = 'Les albums %s ont été mis à jour avec succès';
+$messages['error_updating_album2'] = 'Une erreur s\'est produite lors de la mise à jour de l\'album avec l\'identifiant %s';
+$messages['links_updated_ok'] = 'Les liens %s ont été mis à jour avec succès';
+$messages['error_updating_link2'] = 'Une erreur s\'est produite lors de la mise àjour du lien avec l\'identifiant %s';
+
+$messages['version'] = 'Version';
+
+$messages['error_resources_disabled'] = 'Désolé, mais le chargement de nouvelles ressources  à été désactivé pour ce site';
+$messages['help_login_admin_panel'] = 'Cliquez sur le nom du blog pour accéder à l\'interface d\'administration.';
+
+$messages['Logout'] = 'Déconnexion';
+$messages['bookmarkit_to_lifetype'] = "Mettre en favori sur LifeType!";
+$messages['add_resource_medium'] = 'Ajouter une prévisualisation moyenne';
+$messages['error_plugins_disabled'] = 'Désolé, les plugins sont désactivés.';
+$messages['help_post_notification_source_address'] = 'Adresse e-mail qui apparaitra dans le champs "From:" lors de l\'envoi de mails depuis LifeType. [Défaut = noreply at your.host.com]';
+$messages['same_as_image'] = 'Même que l\'image originale';
+$messages['agreement'] = 'Acceptation des conditions'; 
+
+$messages['blog_updated_ok'] = 'Blog "%s" was successfully updated';
+$messages['blogs_updated_ok'] = '%s blogs were successfully updated';
+$messages['error_updating_blog2'] = 'There was an error updating the blog whose identifier is "%s"';
+$messages['error_updating_blog'] = 'There was an error updating blog "%s"';
+
+$messages['error_updating_user'] = 'There was an error updating user "%s".';
+$messages['user_updated_ok'] = 'User "%s" was successfully updated.';
+$messages['users_updated_ok'] = '%s users were successfully updated';
+$messages['eror_updating_user2'] = 'There was an error updating user with identifier "%s"';
+
+$messages['error_select_status'] = 'Please select a valid status';
+?>
\ No newline at end of file

Copied: plog/trunk/locale/admin/locale_it_IT.php (from rev 5155, plog/branches/lifetype-1.2/locale/admin/locale_it_IT.php)
===================================================================
--- plog/trunk/locale/admin/locale_it_IT.php	                        (rev 0)
+++ plog/trunk/locale/admin/locale_it_IT.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,1158 @@
+<?php
+
+// login page
+$messages['login'] = 'Login';
+$messages['welcome_message'] = 'Benvenuto in LifeType';
+$messages['error_incorrect_username_or_password'] = 'Nome utente o password errati.'; 
+$messages['error_dont_belong_to_any_blog'] = 'Spiacente ma non appartieni ancora a nessun blog.';
+$messages['logout_message'] = 'Logout effettuato con successo.'; 
+$messages['logout_message_2'] = 'Clicca <a href="%1$s">qui</a> per andare %2$s</a>.';
+$messages['error_access_forbidden'] = 'Accesso negato. Devi prima effettuare il login.';
+$messages['username'] = 'Utente';
+$messages['password'] = 'Password';
+
+// dashboard
+$messages['dashboard'] = 'Bacheca'; 
+$messages['recent_articles'] = 'Ultimi articoli';
+$messages['recent_comments'] = 'Ultimi commenti';
+$messages['recent_trackbacks'] = 'Ultimi trackback';
+$messages['blog_statistics'] = 'Statistiche del blog';
+$messages['total_posts'] = 'Totale articoli';
+$messages['total_comments'] = 'Totale commenti';
+$messages['total_trackbacks'] = 'Totale trackback';
+$messages['total_viewed'] = 'Totale visualizzazioni articoli';
+$messages['in'] = 'In';
+
+// menu options
+$messages['newPost'] = 'Nuovo articolo';
+$messages['Manage'] = 'Gestione';
+$messages['managePosts'] = 'Gestione articoli';
+$messages['editPosts'] = 'Articoli';
+$messages['editArticleCategories'] = 'Categorie';
+$messages['newArticleCategory'] = 'Nuova categoria';
+$messages['manageLinks'] = 'Gestione link';
+$messages['editLinks'] = 'Link';
+$messages['newLink'] = 'Nuovo link';
+$messages['editLink'] = 'Modifica link';
+$messages['editLinkCategories'] = 'Classificazione link';
+$messages['newLinkCategory'] = 'Nuova Classificazione link';
+$messages['editLinkCategory'] = 'Modifica classificazione link';
+$messages['manageCustomFields'] = 'Gestisci i campi personalizzati';
+$messages['blogCustomFields'] = 'Campi personalizzati';
+$messages['newCustomField'] = 'Nuovo campo personalizzato';
+$messages['resourceCenter'] = 'Centro risorse';
+$messages['resources'] = 'Risorse';
+$messages['newResourceAlbum'] = 'Nuovo album';
+$messages['newResource'] = 'Nuova risorsa';
+$messages['controlCenter'] = 'Centro di controllo';
+$messages['manageSettings'] = 'Impostazioni';
+$messages['blogSettings'] = 'Impostazioni blog';
+$messages['userSettings'] = 'Impostazioni utente';
+$messages['pluginCenter'] = 'Centro plugin';
+$messages['Stats'] = 'Statistiche';
+$messages['manageBlogUsers'] = 'Gestione utenti blog';
+$messages['newBlogUser'] = 'Nuovo utente blog';
+$messages['showBlogUsers'] = 'Utenti blog';
+$messages['manageBlogTemplates'] = 'Stili per il blog'; 
+$messages['newBlogTemplate'] = 'Nuovo stile per il blog'; 
+$messages['blogTemplates'] = 'Stili per il blog'; 
+$messages['adminSettings'] = 'Amministrazione';
+$messages['Users'] = 'Utenti';
+$messages['createUser'] = 'Creazione utente';
+$messages['editSiteUsers'] = 'Utenti sito';
+$messages['Blogs'] = 'Gestione blog';
+$messages['createBlog'] = 'Crea blog';
+$messages['editSiteBlogs'] = 'Blog';
+$messages['Locales'] = 'Gestione linguaggi';
+$messages['newLocale'] = 'Aggiungi linguaggio'; 
+$messages['siteLocales'] = 'Linguaggi disponibili'; 
+$messages['Templates'] = 'Gestione stili'; 
+$messages['newTemplate'] = 'Nuovo stile'; 
+$messages['siteTemplates'] = 'Stili per il sito'; 
+$messages['GlobalSettings'] = 'Impostazioni globali';
+$messages['editSiteSettings'] = 'Generale';
+$messages['summarySettings'] = 'Sommario';
+$messages['templateSettings'] = 'Stili'; 
+$messages['urlSettings'] = 'URL';
+$messages['emailSettings'] = 'Email';
+$messages['uploadSettings'] = 'Upload';
+$messages['helpersSettings'] = 'Programmi esterni';
+$messages['interfacesSettings'] = 'Interfacce';
+$messages['securitySettings'] = 'Sicurezza';
+$messages['bayesianSettings'] = 'Filtro bayesiano';
+$messages['resourcesSettings'] = 'Risorse';
+$messages['searchSettings'] = 'Impostazioni di ricerca';
+$messages['cleanUpSection'] = 'Pulizia';
+$messages['cleanUp'] = 'Pulizia';
+$messages['editResourceAlbum'] = 'Modifica album';
+$messages['resourceInfo'] = 'Modifica risorsa';
+$messages['editBlog'] = 'Modifica blog';
+$messages['Logout'] = 'Logout';
+
+// new post
+$messages['topic'] = 'Argomento';
+$messages['topic_help'] = 'Titolo dell\'articolo';
+$messages['text'] = 'Testo';
+$messages['text_help'] = 'Testo dell\'articolo. Questa parte apparirà sempre nella pagina iniziale';
+$messages['extended_text'] = 'Testo esteso';
+$messages['extended_text_help'] = 'Testo esteso dell\'articolo. Questa parte può apparire nella pagina dell\'articolo  completo o nella pagina iniziale. Fare riferimento alle impostazioni del blog.';
+$messages['trackback_urls'] = 'URL letterali dei Trackback '; 
+$messages['trackback_urls_help'] = 'Se l\'articolo al quale desideri trasmettere il trackback non supporta il meccanismo di autorilevamento dei Trackback, inserisci qui l\'URL letterale del trackback e per ogni URL che inserisci usa una nuova riga.'; 
+$messages['post_slug'] = 'Permalink Personalizzato';
+$messages['post_slug_help'] = 'Usa questo campo per migliorare la leggibilità del permalink';
+$messages['date'] = 'Data';
+$messages['post_date_help'] = 'Data in cui questo articolo dovrà essere pubblicato';
+$messages['status'] = 'Stato';
+$messages['post_status_help'] = 'Seleziona uno stato';
+$messages['post_status_published'] = 'Pubblicato';
+$messages['post_status_draft'] = 'Bozza';
+$messages['post_status_deleted'] = 'Cancellato';
+
+$messages['post_categories_help'] = 'Seleziona una o più categorie';
+$messages['post_comments_enabled_help'] = 'Abilita i commenti';
+$messages['send_notification_help'] = 'Notifica nuovi commenti';
+$messages['send_trackback_pings_help'] = 'Invia trackback';
+$messages['send_xmlrpc_pings_help'] = 'Invia ping XMLRPC';
+$messages['save_draft_and_continue'] = 'Salva bozza';
+$messages['preview'] = 'Anteprima';
+$messages['add_post'] = 'Pubblica sul blog';
+$messages['error_saving_draft'] = 'Errore durante il salvataggio della bozza';
+$messages['draft_saved_ok'] = 'Bozza salvata';
+$messages['error_sending_request'] = 'Errore nell\'invio della richiesta';
+$messages['error_no_category_selected'] = 'Seleziona almeno una categoria';
+$messages['error_missing_post_topic'] = 'Inserisci un argomento per l\'articolo';
+$messages['error_missing_post_text'] = 'Scrivi il testo dell\'articolo';
+$messages['error_adding_post'] = 'Errore durante l\'aggiunta dell\'articolo';
+$messages['post_added_not_published'] = 'Articolo aggiunto ma non pubblicato';
+$messages['post_added_ok'] = 'Articolo aggiunto.';
+$messages['send_notifications_ok'] = 'Una notifica verrà inviata per ciascun commento o trackback.';
+$messages['bookmarklet'] = "Bookmarklet";
+$messages['bookmarklet_help'] = "Trascina il collegamento sulla barra degli strumenti o clicca su di esso col pulsante destro per scegliere \"Aggiungi ai preferiti\"."; 
+$messages['blogit_to_lifetype'] = "Bloggalo su LifeType!"; 
+$messages['original_post'] = "(Articolo originale)"; 
+
+// send trackbacks
+$messages['error_sending_trackbacks'] = 'Si è verificato un errore durante l\'invio dei seguenti trackback';
+$messages['send_trackbacks_help'] = 'Seleziona dai seguenti URL dove vuoi inviare il ping di trackback. Assicurati che i siti supportino il trackback.';
+$messages['send_trackbacks'] = 'Trackback inviati';
+$messages['ping_selected'] = 'Ping selezionati';
+$messages['trackbacks_sent_ok'] = 'Trackback inviati con successo ai seguenti URL';
+
+// posts page
+$messages['show_by'] = 'Mostra per';
+$messages['category'] = 'Categoria';
+$messages['author'] = 'Autore';
+$messages['post_status_all'] = 'Qualunque';
+$messages['author_all'] = 'Tutti'; 
+$messages['search_terms'] = 'Criteri di ricerca';
+$messages['show'] = 'Mostra';
+$messages['delete'] = 'Cancella';
+$messages['actions'] = 'Azioni';
+$messages['all'] = 'Qualunque';
+$messages['category_all'] = 'Tutte'; 
+$messages['error_incorrect_article_id'] = 'Id articolo errato';
+$messages['error_deleting_article'] = 'Errore durante la cancellazione dell\'articolo "%s"';
+$messages['article_deleted_ok'] = 'Articolo "%s" cancellato';
+$messages['articles_deleted_ok'] = '%s articoli cancellati';
+$messages['error_deleting_article2'] = 'Errore durante la cancellazione dell\'articolo con id "%s"';
+
+// edit post page
+$messages['update'] = 'Aggiorna';
+$messages['editPost'] = 'Modifica articolo';
+$messages['error_fetching_post'] = 'Errore durante la lettura dell\'articolo';
+$messages['post_updated_ok'] = 'Articolo "%s" modificato';
+$messages['error_updating_post'] = 'Errore durante la modifica dell\'articolo';
+$messages['notification_added'] = 'Riceverai una notifica per ciascun commento o trackback';
+$messages['notification_removed'] = 'NON riceverai una notifica per ciascun commento o trackback';
+
+// post comments
+$messages['url'] = 'URL';
+$messages['comment_status_all'] = 'Qualunque';
+$messages['comment_status_spam'] = 'Spam';
+$messages['comment_status_nonspam'] = 'Non Spam';
+$messages['error_fetching_comments'] = 'Errore durante la lettura dei commenti all\'articolo';
+$messages['error_deleting_comments'] = 'Errore durante la cancellazione del commento o nessun commento selezionato';
+$messages['comment_deleted_ok'] = 'Commento "%s" cancellato';
+$messages['comments_deleted_ok'] = '%s commenti cancellati';
+$messages['error_deleting_comment'] = 'Errore in fase di cancellazione del commento "%s"';
+$messages['error_deleting_comment2'] = 'Errore in fase di cancellazione del commento con id %s';
+$messages['editComments'] = 'Commenti';
+$messages['mark_as_spam'] = 'Marca come spam';
+$messages['mark_as_no_spam'] = 'Marca come non spam';
+$messages['error_incorrect_comment_id'] = 'Id del commento non corretto';
+$messages['error_marking_comment_as_spam'] = 'Errore durante la marcatura del commento come spam';
+$messages['comment_marked_as_spam_ok'] = 'Il commento è stato marcato come spam';
+$messages['error_marking_comment_as_nonspam'] = 'Errore durante la marcatura del commento come non spam';
+$messages['comment_marked_as_nonspam_ok'] = 'Il commento è stato marcato come non spam';
+
+// post trackbacks
+$messages['blog'] = 'Blog';
+$messages['excerpt'] = 'Brano';
+$messages['error_fetching_trackbacks'] = 'Errore durante la lettura dei trackback';
+$messages['error_deleting_trackbacks'] = 'Errore durante la cancellazione dei trackback o nessun elemento selezionato';
+$messages['error_deleting_trackback'] = 'Errore durante la cancellazione del trackback "%s"';
+$messages['error_deleting_trackback2'] = 'Errore durante la cancellazione del trackback con id "%s"';
+$messages['trackback_deleted_ok'] = 'Trackback "%s" cancellato';
+$messages['trackbacks_deleted_ok'] = '%s trackback cancellati ';
+$messages['editTrackbacks'] = 'Trackback';
+
+// post statistics
+$messages['referrer'] = 'Origine';
+$messages['hits'] = 'Visualizzazioni';
+$messages['error_no_items_selected'] = 'Nessun item da rimuovere selezionato';
+$messages['error_deleting_referrer'] = 'Errore in fase di cancellazione dell\'origine "%s"';
+$messages['error_deleting_referrer2'] = 'Errore in fase di cancellazione dell\'origine con id "%s"';
+$messages['referrer_deleted_ok'] = 'Origine "%s" cancellata';
+$messages['referrers_deleted_ok'] = '%s origini cancellate';
+
+// categories
+$messages['posts'] = 'Articoli';
+$messages['show_in_main_page'] = 'Mostra nella pagina iniziale';
+
+$messages['error_category_has_articles'] = 'La categoria "%s" è usata per catalogare qualche articolo. Modificare gli articoli prima di eliminare la categoria';
+$messages['category_deleted_ok'] = 'Categoria "%s" eliminata';
+$messages['categories_deleted_ok'] = '%s categorie eliminate';
+$messages['error_deleting_category'] = 'Errore durante la cancellazione della categoria "%s"';
+$messages['error_deleting_category2'] = 'Errore durante la cancellazione della categoria con id "%s"';
+$messages['yes'] = 'Sì';
+$messages['no'] = 'No';
+
+// new category
+$messages['name'] = 'Nome';
+$messages['category_name_help'] = 'Nome da mostrare per visualizzare la categoria';
+$messages['description'] = 'Descrizione';
+$messages['category_description_help'] = 'Descrizione estesa della categoria';
+$messages['show_in_main_page_help'] = 'Gli articoli sotto questa categoria devono essere mostrati nella pagina principale o solo quando si accede a questa particolare categoria';
+$messages['error_empty_name'] = 'Devi definire un nome';
+$messages['error_empty_description'] = 'Devi dare una descrizione';
+$messages['error_adding_article_category'] = 'Errore durante l\'aggiunta di una nuova categoria. Verifica i dati e quindi riprova'; 
+$messages['category_added_ok'] = 'Categoria "%s" aggiunta';
+$messages['add'] = 'Aggiungi';
+$messages['reset'] = 'Annulla';
+
+// update category
+$messages['error_updating_article_category'] = 'Errore durante la modifica della categoria';
+$messages['error_fetching_category'] = 'Errore durante la lettura della categoria';
+$messages['article_category_updated_ok'] = 'Categoria "%s" modificata';
+
+// links
+$messages['feed'] = 'Feed';
+$messages['error_no_links_selected'] = 'L\'id del link non è corretto o non sono stati selezionati elementi da eliminare';
+$messages['error_incorrect_link_id'] = 'L\'id del link non è corretto';
+$messages['error_removing_link'] = 'Si è verificato un errore in fase di cancellazione del link "%s"';
+$messages['error_removing_link2'] = 'Si è verificato un errore in fase di cancellazione del link con id "%s"';
+$messages['link_deleted_ok'] = 'Link "%s" eliminato';
+$messages['links_deleted_ok'] = '%s link eliminati';
+
+// new link
+$messages['link_name_help'] = 'Nome da dare a questo link';
+$messages['link_url_help'] = 'Indirizzo a cui punta questo link'; 
+$messages['link_description_help'] = 'Breve descrizione del link';
+$messages['link_feed_help'] = 'E\' possibile linkare feed di tipo  RSS o Atom';
+$messages['link_category_help'] = 'Selezionare una delle categorie di link';
+$messages['error_adding_link'] = 'Si e verificato un errore durante l\'aggiunta del nuovo link. Verifica le informazioni inserite e quindi riprova'; 
+$messages['error_invalid_url'] = 'L\'indirizzo non è corretto';
+$messages['link_added_ok'] = 'Link "%s" aggiunto';
+$messages['bookmarkit_to_lifetype'] = "Annotalo su LifeType!"; 
+
+// update link
+$messages['error_updating_link'] = 'Si e verificato un errore durante la modifica del link. Verifica le informazioni inserite e quindi riprova'; 
+$messages['error_fetching_link'] = 'Errore durante la lettura del link';
+$messages['link_updated_ok'] = 'Link "%s" modificato';
+
+// link categories
+$messages['error_invalid_link_category_id'] = 'L\'identificativo della categoria del link non è corretto o non è stata selezionata nessuna categoria';
+$messages['error_links_in_link_category'] = 'La categoria "%s" è usata da qualche link. Modifica i link quindi riprova';
+$messages['error_removing_link_category'] = 'E\' avvenuto un errore durante la rimozione della categoria "%s"';
+$messages['link_category_deleted_ok'] = 'La categoria "%s" è stata rimossa';
+$messages['link_categories_deleted_ok'] = '%s categorie rimosse';
+$messages['error_removing_link_category2'] = 'E\' avvenuto un errore durante la rimozione della categoria con identificativo "%s"';
+
+// new link category
+$messages['link_category_name_help'] = 'Nome per questa categoria di link';
+$messages['error_adding_link_category'] = 'E\' avvenuto un errore durante l\'aggiunta della categoria'; 
+$messages['link_category_added_ok'] = 'La categoria "%s" è stata aggiunta';
+
+// edit link category
+$messages['error_updating_link_category'] = 'E\' avvenuto un errore durante l\'aggiunta della categoria . Controlla i dati e riprova';
+$messages['link_category_updated_ok'] = 'Categoria "%s" aggiornata con successo';
+$messages['error_fetching_link_category'] = 'E\' avvenuto un errore durante la lettura della categoria';
+
+// custom fields
+$messages['type'] = 'Tipo';
+$messages['hidden'] = 'Nascosto';
+$messages['fields_deleted_ok'] = '%s campi personalizzati eliminati con successo';
+$messages['field_deleted_ok'] = 'Il campo personalizzato "%s" è stato cancellato';
+$messages['error_deleting_field'] = 'E\' avvenuto un errore durante la cancellazione del campo personalizzato "%s"';
+$messages['error_deleting_field2'] = 'E\' avvenuto un errore durante l\'eliminazione del campo personalizzato "%s"';
+$messages['error_incorrect_field_id'] = 'L\'id del campo personalizzato non è valido';
+
+// new custom field
+$messages['field_name_help'] = 'Identificativo che verrà utilizzato nell\'articolo per riferirsi al valore di questo campo.';
+$messages['field_description_help'] = 'Breve descrizione del campo, che verrà mostrata durante l\'aggiunta o la modifica degli articoli.';
+$messages['field_type_help'] = 'Seleziona uno dei tipi di campo';
+$messages['field_hidden_help'] = 'Se un campo è nascosto, non verrà mostrato durante l\'edizione o la modifica dell\'articolo. Questa caratteristica è utilizzata principalmente dai plugin.';
+$messages['error_adding_custom_field'] = 'E\' avvenuto un errore durante l\'inserimento del campo personalizzato. Controlla i dati e riprova.';
+$messages['custom_field_added_ok'] = 'Campo personalizzato "%s" inserito con successo';
+$messages['text_field'] = 'Campo di testo';
+$messages['text_area'] = 'Area di testo';
+$messages['checkbox'] = 'Checkbox';
+$messages['date_field'] = 'Campo data';
+
+// edit custom field
+$messages['error_fetching_custom_field'] = 'E\' avvenuto un errore durante la lettura del campo personalizzato';
+$messages['error_updating_custom_field'] = 'E\' avvenuto un errore durante l\'aggiornamento del campo personalizzato. Controlla i dati e riprova.';
+$messages['custom_field_updated_ok'] = 'Campo personalizzato "%s" aggiornato';
+
+// resources
+$messages['root_album'] = 'Album principale';
+$messages['num_resources'] = 'Numero di risorse';
+$messages['total_size'] = 'Dimensione totale';
+$messages['album'] = 'Album';
+$messages['error_incorrect_album_id'] = 'L\'identificativo dell\'album non è corretto'; 
+$messages['error_base_storage_folder_missing_or_unreadable'] = 'pLog non è riuscito a creare le cartelle necessarie per le risorse. Ci sono diversi motivi possibili, in particolare, PHP potrebbe essere configurato in modalità sicura (safe mode), oppure il tuo utente potrebbe non avere i permessi per crearle. Puoi comunque provare ad effettuare l\'operazione manualmente, creando le seguenti cartelle: <br/><br/>%s<br/><br/>Se queste cartelle esistono già, controlla che siano leggibili e scrivibili dall\'utente che esegue il server web';
+$messages['items_deleted_ok'] = '%s elementi cancellati con successo';
+$messages['error_album_has_children'] = 'L\'album "%s" contiene dei sottoelementi. Modifica l\'album e riprova'; 
+$messages['item_deleted_ok'] = 'Elemento "%s" eliminato con successo';
+$messages['error_deleting_album'] = 'E\' avvenuto un errore durante la cancellazione dell\'album "%s"';
+$messages['error_deleting_album2'] = 'E\' avvenuto un errore durante la cancellazione dell\'album con id "%s"';
+$messages['error_deleting_resource'] = 'E\' avvenuto un errore durante la cancellazione della risorsa "%s"';
+$messages['error_deleting_resource2'] = 'E\' avvenuto un errore durante la cancellazione della risorsa con id "%s"'; 
+$messages['error_no_resources_selected'] = 'Non hai selezionato alcun elemento da cancellare';
+$messages['resource_deleted_ok'] = 'Risorsa "%s" cancellata con successo';
+$messages['album_deleted_ok'] = 'Album "%s" cancellato con successo';
+$messages['add_resource'] = 'Aggiungi risorsa';
+$messages['add_resource_preview'] = 'Aggiungi anteprima';
+$messages['add_resource_medium'] = 'Aggiungi anteprima media';
+$messages['add_album'] = 'Aggiungi album';
+
+// new album
+$messages['album_name_help'] = 'Nome breve per l\'album';
+$messages['parent'] = 'Album contenitore'; 
+$messages['no_parent'] = 'Nessun album contenitore'; 
+$messages['parent_album_help'] = 'Usa questa funzione per avere album annidati all\'interno di altri, per organizzare meglio i tuoi file';
+$messages['album_description_help'] = 'Descrizione estesa del contenuto dell\'album';
+$messages['error_adding_album'] = 'E\' avvenuto un errore durante l\'inserimento del nuovo album. Controlla i dati e riprova.';
+$messages['album_added_ok'] = 'Album "%s" aggiunto con successo';
+
+// edit album
+$messages['error_incorrect_album_id'] = 'L\'identificativo dell\'album non è corretto';
+$messages['error_fetching_album'] = 'E\' avvenuto un errore durante la lettura dell\'album';
+$messages['error_updating_album'] = 'E\' avvenuto un errore durante l\'aggiornamento dell\'album. Controlla i dati e riprova.';
+$messages['album_updated_ok'] = 'Album "%s" aggiornato con successo';
+$messages['show_album_help'] = 'Se disabilitato, l\'album non verrà mostrato nella lista degli album disponibili in questo blog';
+
+// new resource
+$messages['file'] = 'File';
+$messages['resource_file_help'] = 'File che verranno aggiunti al blog corrente. Usa il link "Aggiungi campo" per caricare più di un file allo stesso tempo'; 
+$messages['add_field'] = 'Aggiungi campo';
+$messages['resource_description_help'] = 'Descrizione estesa del contenuto del file';
+$messages['resource_album_help'] = 'Seleziona l\'album al quale questo file verrà aggiunto';
+$messages['error_no_resource_uploaded'] = 'Non hai selezionato il file da caricare';
+$messages['resource_added_ok'] = 'Risorsa "%s" inserita con successo';
+$messages['error_resource_forbidden_extension'] = 'Il file non è stato aggiunto in quanto è di un tipo non ammesso (estensione vietata)';
+$messages['error_resource_too_big'] = 'Il file non è stato aggiunto in quanto troppo grande';
+$messages['error_uploads_disabled'] = 'Il file non è stato aggiunto in quanto gli upload sono stati disabilitati';
+$messages['error_quota_exceeded'] = 'Il file non è stato aggiunto in quanto lo spazio disponibile per le risorse è stato superato';
+$messages['error_adding_resource'] = 'E\' avvenuto un errore nell\'aggiunta della risorsa';
+
+// edit resource
+$messages['editResource'] = 'Modifica risorsa';
+$messages['resource_information_help'] = 'Alcune informazioni sul file';
+$messages['information'] = 'Informazioni';
+$messages['size'] = 'Dimensione';
+$messages['format'] = 'Formato';
+$messages['dimensions'] = 'Dimensioni';
+$messages['bits_per_sample'] = 'Bit per campione (bps)';
+$messages['sample_rate'] = 'Frequenza di campionamento';
+$messages['number_of_channels'] = 'Numero di canali';
+$messages['legnth'] = 'Lunghezza';
+$messages['thumbnail_format'] = 'Miniatura';
+$messages['regenerate_preview'] = 'Rigenera l\'anteprima';
+$messages['error_fetching_resource'] = 'E\' avvenuto un errore durante la lettura della risorsa';
+$messages['error_updating_resource'] = 'E\' avvenuto un errore durante l\'aggiornamento della risorsa';
+$messages['resource_updated_ok'] = 'Risorsa "%s" aggiornata con successo';
+
+// blog settings
+$messages['blog_link'] = 'Link al blog';
+$messages['blog_link_help'] = 'Link permanente del blog';
+$messages['blog_name_help'] = 'Titolo del blog';
+$messages['blog_description_help'] = 'Descrizione estesa del blog';
+$messages['language'] = 'Lingua';
+$messages['blog_language_help'] = 'Lingua usata per la visualizzazione dei testi del blog, sia nella parte pubblica che in quella amministrativa';
+$messages['max_main_page_items'] = 'Numero di elementi nella pagina principale';
+$messages['max_main_page_items_help'] = 'Numero di articoli da mostrare contemporaneamente nella pagina principale del blog';
+$messages['max_recent_items'] = 'Numero di elementi recenti';
+$messages['max_recent_items_help'] = 'Numero massimo di articoli che verranno mostrati come recenti nella pagina principale';
+$messages['template'] = 'Stile';
+$messages['choose'] = 'Scegli';
+$messages['blog_template_help'] = 'Stile da usare per la presentazione dei contenuti del blog. La lista include gli stili globali e tutti gli stili speciali installati solo per questo blog.';
+$messages['use_read_more'] = 'Usa il link "continua..." negli articoli';
+$messages['use_read_more_help'] = 'Se abilitato, solamente quanto scritto nella casella "Testo" verrà mostrato nella pagina principale. Per visualizzare anche il "Testo esteso", sarà necessario cliccare sul link "continua...", che sarà aggiunto ad ogni articolo';
+$messages['enable_wysiwyg'] = 'Abilita l\'editor visuale per gli articoli';
+$messages['enable_wysiwyg_help'] = 'Abilita un potente editor visuale del codice HTML. L\'editor funziona con Internet Explorer 5.5 o superiore o con Mozilla 1.3 o superiore';
+$messages['enable_comments'] = 'Abilita i commenti in maniera predefinita';
+$messages['enable_comments_help'] = 'Abilita i commenti in tutti gli articoli in maniera predefinita. I commenti possono comunque essere abilitati e disabilitati per i singoli articoli, alla loro creazione o modifica';
+$messages['show_future_posts'] = 'Mostra gli articoli nel futuro nel calendario';
+$messages['show_future_posts_help'] = 'Decide se gli articoli che hanno una data nel futuro devono apparire nel calendario ed essere visibili agli utenti';
+$messages['comments_order'] = 'Ordine dei commenti';
+$messages['comments_order_help'] = 'Ordine nel quale i commenti devono apparire nella pagina principale';
+$messages['oldest_first'] = 'I più vecchi in cima';
+$messages['newest_first'] = 'I più recenti in cima';
+$messages['categories_order'] = 'Ordine delle categorie';
+$messages['categories_order_help'] = 'Ordine nel quale le categorie devono apparire nella pagina principale';
+$messages['most_recent_updated_first'] = 'Quelle con modifiche più recenti in cima';
+$messages['alphabetical_order'] = 'In ordine alfabetico';
+$messages['reverse_alphabetical_order'] = 'In ordine alfabetico inverso';
+$messages['most_articles_first'] = 'Quelle con più articoli in cima';
+$messages['link_categories_order'] = 'Ordine delle categorie di link';
+$messages['link_categories_order_help'] = 'Ordine nel quale le categorie dei link devono apparire nella pagina principale';
+$messages['most_links_first'] = 'Quelle con più link in cima';
+$messages['most_links_last'] = 'Quelle con più link in fondo';
+$messages['time_offset'] = 'Fuso orario';
+$messages['time_offset_help'] = 'Numero di ore da aggiungere dinamicamente ad ogni data ed ora nel blog';
+$messages['close'] = 'Chiudi';
+$messages['select'] = 'Seleziona';
+$messages['error_updating_settings'] = 'E\' avvenuto un errore durante l\'aggiornamento delle impostazioni del blog. Controlla i dati e riprova.';
+$messages['error_invalid_number'] = 'Il numero non è corretto';
+$messages['error_incorrect_time_offset'] = 'Il fuso orario non è valido';
+$messages['blog_settings_updated_ok'] = 'Impostazioni del blog aggiornate con successo';
+$messages['hours'] = 'Ore';
+
+// user settings
+$messages['username_help'] = 'Nome utente pubblico. Non è possibile modificarlo.';
+$messages['full_name'] = 'Nome completo';
+$messages['full_name_help'] = 'Nome completo';
+$messages['password_help'] = 'Scrivi una password e confermala, oppure lascia vuoto per lasciare invariata quella corrente';
+$messages['confirm_password'] = 'Conferma la password';
+$messages['email'] = 'Email';
+$messages['email_help'] = 'Indirizzo email al quale spedire le modifiche';
+$messages['bio'] = 'Informazioni su di te';
+$messages['bio_help'] = 'Puoi scrivere qui una descrizione più estesa di te stesso';
+$messages['picture'] = 'Immagine';
+$messages['user_picture_help'] = 'Seleziona un\'immagine da quelle caricate su questo blog come immagine personale';
+$messages['error_invalid_password'] = 'La password non è corretta. Controlla che non sia troppo corta';
+$messages['error_passwords_dont_match'] = 'Le password non coincidono';
+$messages['error_updating_user_settings'] = 'E\' avvenuto un errore durante l\'aggiornamento delle impostazioni. Controlla i dati e riprova';
+$messages['user_settings_updated_ok'] = 'Impostazioni utente aggiornate con successo';
+$messages['resource'] = 'Risorsa';
+
+// plugin centre
+$messages['identifier'] = 'Identificativo';
+$messages['error_plugins_disabled'] = 'Spiacente, i plugin sono disabilitati';
+
+// blog users
+$messages['revoke_permissions'] = 'Revoca i permessi';
+$messages['error_no_users_selected'] = 'Non è stato selezionato alcun utente';
+$messages['user_removed_from_blog_ok'] = 'L\'utente "%s" non ha più l\'autorizzazione ad accedere a questo blog';
+$messages['users_removed_from_blog_ok'] = '%s utenti non hanno più l\'autorizzazione ad accedere a questo blog';
+$messages['error_removing_user_from_blog'] = 'E\' avvenuto un problema durante la rimozione dei diritti di accesso a questo blog all\'utente "%s"';
+$messages['error_removing_user_from_blog2'] = 'E\' avvenuto un problema durante la rimozione dei diritti di accesso a questo blog agli utenti con gli identificativi "%s"';
+
+// new blog user
+$messages['new_blog_username_help'] = 'Username dell\'utente al quale vuoi concedere l\'autorizzazione all\'accesso a questo blog. I nuovi utenti avranno accesso solamente alle sezioni "Gestisci" e "Risorse.';
+$messages['send_notification'] = 'Invia la notifica';
+$messages['send_user_notification_help'] = 'Invia una notifica via email a questo utente';
+$messages['notification_text'] = 'Testo della notifica';
+$messages['notification_text_help'] = 'Testo da includere nel messaggio di notifica';
+$messages['error_adding_user'] = 'E\' avvenuto un errore durante la concessione delle autorizzazioni all\'utente. Controlla i dati e riprova';
+$messages['error_empty_text'] = 'E\' necessario specificare del testo';
+$messages['error_adding_user'] = 'E\' avvenuto un errore durante l\'inserimento dell\'utente. Controlla i dati e riprova.';
+$messages['error_invalid_user'] = 'Lo username "%s" non è valido o non esiste';
+$messages['user_added_to_blog_ok'] = 'L\'utente "%s" ha ora l\'autorizzazione ad accedere a questo blog';
+
+// blog templates
+$messages['error_no_templates_selected'] = 'Nessuno stile selezionato';
+$messages['error_template_is_current'] = 'Lo stile "%s" non può essere selezionato, in quanto è quello corrente';
+$messages['error_removing_template'] = 'E\' avvenuto un errore durante la cancellazione dello stile "%s"';
+$messages['template_removed_ok'] = 'Lo stile "%s" è stata cancellato';
+$messages['templates_removed_ok'] = '%s stili cancellati';
+
+// new blog template
+$messages['template_installed_ok'] = 'Lo stile "%s" è stato aggiunto';
+$messages['error_installing_template'] = 'E\' avvenuto un errore durante l\'installazione dello stile "%s"';
+$messages['error_missing_base_files'] = 'Mancano alcuni file dello stile';
+$messages['error_add_template_disabled'] = 'Non possono essere aggiunti nuovi stili, in quanto questa funzionalità è stata disabilitata in questo sito';
+$messages['error_must_upload_file'] = 'Non è stato caricato un pacchetto con uno stile';
+$messages['error_uploads_disabled'] = 'Gli upload sono stati disabilitati in questo sito';
+$messages['error_no_new_templates_found'] = 'Nessun nuovo stile trovato';
+$messages['error_template_not_inside_folder'] = 'I file dello stile devono essere contenuti in una cartella con lo stesso nome dello stile';
+$messages['error_missing_base_files'] = 'Alcuni dei file di base dello stile sono mancanti';
+$messages['error_unpacking'] = 'E\' avvenuto un errore durante la decompressione del file';
+$messages['error_forbidden_extensions'] = 'Lo stile contiene dei file con estensioni non permesse';
+$messages['error_creating_working_folder'] = 'E\' avvenuto un errore durante la creazione di una cartella temporanea per la decompressione dello stile';
+$messages['error_checking_template'] = 'E\' avvenuto un errore durante il controllo dello stile: %s';
+$messages['template_package'] = 'Pacchetto dello stile';
+$messages['blog_template_package_help']  = 'Utilizza questo modulo per caricare un nuovo stile, che sarà reso disponibile esclusivamente a questo blog. Se non fosse possibile caricare un pacchetto contenente uno stile mediante questo modulo, carica i file manualmente, e posizionali in <b>%s</b>, cioè nella cartella che contiene gli stili del tuo blog. Quindi clicca sul pulsante "<b>Cerca stili</b>". pLog effettuerà una ricerca nella cartella, ed aggiungerà automaticamente tutti gli stili trovati.';
+$messages['scan_templates'] = 'Cerca stili';
+
+// site users
+$messages['user_status_active'] = 'Attivo';
+$messages['user_status_disabled'] = 'Disabilitato';
+$messages['user_status_all'] = 'Qualunque';
+$messages['user_status_unconfirmed'] = 'Non confermato';
+$messages['error_invalid_user2'] = 'L\'utente con identificativo "%s" non esiste';
+$messages['error_deleting_user'] = 'E\' avvenuto un errore durante la disabilitazione dell\'utente "%s"';
+$messages['user_deleted_ok'] = 'Utente "%s" disabilitato';
+$messages['users_deleted_ok'] = '%s utenti disabilitati';
+
+// create user
+$messages['user_added_ok'] = 'Utente "%s" inserito con successo';
+$messages['user_status_help'] = 'Stato corrente per questo utente:';
+$messages['user_blog_help'] = 'Blog al quale assegnare inizialmente l\'utente';
+$messages['none'] = 'Nessuno';
+
+// edit user
+$messages['error_invalid_user'] = 'L\'identificativo dell\'utente non è corretto o l\'utente non esiste';
+$messages['error_updating_user'] = 'E\' avvenuto un errore durante l\'aggiornamento delle impostazioni dell\'utente. Controlla i dati e riprova.';
+$messages['blogs'] = 'Blog';
+$messages['user_blogs_help'] = 'Blog che questo utente possiede al momento, o ai quali ha accesso';
+$messages['site_admin'] = 'Amministratore';
+$messages['site_admin_help'] = 'Selezionare, se questo utente ha privilegi di amministratore e ha i diritti di accesso all\'area amministrativa e di effettuare le operazioni di amministrazione';
+$messages['user_updated_ok'] = 'Utente "%s" aggiornato con successo';
+
+// site blogs
+$messages['blog_status_all'] = 'Qualunque';
+$messages['blog_status_active'] = 'Attivo';
+$messages['blog_status_disabled'] = 'Disabilitato';
+$messages['blog_status_unconfirmed'] = 'Non confermato';
+$messages['owner'] = 'Proprietario';
+$messages['quota'] = 'Quota';
+$messages['bytes'] = 'byte';
+$messages['error_no_blogs_selected'] = 'Nessun blog è stato selezionato per la disabilitazione';
+$messages['error_blog_is_default_blog'] = 'Il blog "%s" non può essere disabilitato in quanto è stato selezionato come blog predefinito';
+$messages['blog_deleted_ok'] = 'Il blog "%s" è stato disabilitato';
+$messages['blogs_deleted_ok'] = '%s blog disabilitati';
+$messages['error_deleting_blog'] = 'E\' avvenuto un errore durante la disabilitazione del blog "%s"';
+$messages['error_deleting_blog2'] = 'E\' avvenuto un errore durante la disabilitazione del blog con identificativo "%s"';
+
+// create blog
+$messages['error_adding_blog'] = 'E\' avvenuto un errore durante l\'inserimento del blog. Controlla i dati e riprova.';
+$messages['blog_added_ok'] = 'Il blog "%s" è stato aggiunto';
+
+// edit blog
+$messages['blog_status_help'] = 'Stato del blog';
+$messages['blog_owner_help'] = 'Amministratore del blog, cioè l\'utente che ha il controllo completo delle impostazioni del blog';
+$messages['users'] = 'Utenti';
+$messages['blog_quota_help'] = 'Spazio su disco massimo per le risorse in byte. Imposta a 0 o lascia vuoto per far usare al blog lo spazio su disco generale';
+$messages['edit_blog_settings_updated_ok'] = 'Blog "%s" aggiornato con successo';
+$messages['error_updating_blog_settings'] = 'E\' avvenuto un errore durante l\'aggiornamento del blog "%s"';
+$messages['error_incorrect_blog_owner'] = 'L\'utente selezionato come amministratore del blog non è corretto';
+$messages['error_fetching_blog'] = 'E\' avvenuto un errore durante la lettura del blog';
+$messages['error_updating_blog_settings2'] = 'E\' avvenuto un errore durante l\'aggiornamento del blog. Controlla i dati e riprova.';
+$messages['add_or_remove'] = 'Aggiungi o rimuovi utenti';
+
+// site locales
+$messages['locale'] = 'Lingua';
+$messages['locale_encoding'] = 'Codifica';
+$messages['locale_deleted_ok'] = 'Lingua "%s" cancellata';
+$messages['error_no_locales_selected'] = 'Non è stata selezionata alcuna lingua da cancellare';
+$messages['error_deleting_only_locale'] = 'La lingua non può essere cancellata perché è l\'ultima rimasta nel sistema';
+$messages['locales_deleted_ok']= '%s lingue cancellate';
+$messages['error_deleting_locale'] = 'E\' avvenuto un errore durante la cancellazione della lingua "%s"';
+$messages['error_locale_is_default'] = 'La lingua "%s" non può essere cancellata in quanto è stata selezionata come lingua predefinita per i nuovi blog';
+
+// add locale
+$messages['error_invalid_locale_file'] = 'Il file della lingua non è valido';
+$messages['error_no_new_locales_found'] = 'Non sono state trovate nuove lingue';
+$messages['locale_added_ok'] = 'Lingua "%s" inserita con successo';
+$messages['error_saving_locale'] = 'E\' avvenuto un errore durante il salvataggio della nuova lingua';
+$messages['scan_locales'] = 'Cerca lingue';
+$messages['add_locale_help'] = 'Utilizza questo modulo per caricare una nuova lingua. Se non fosse possibile caricare un file mediante questo modulo, caricalo manualmente, e posizionalo in <b>%s</b>, cioè nella cartella che contiene i file di lingua. Quindi clicca sul pulsante "<b>Cerca lingue</b>". pLog effettuerà una ricerca nella cartella, ed aggiungerà automaticamente tutte le lingue trovate.';
+
+// site templates
+$messages['error_template_is_default'] = 'Lo stile "%s" non può essere rimosso in quanto è quello predefinito per i nuovi blog';
+
+// add template
+$messages['global_template_package_help'] = 'Utilizza questo modulo per caricare un nuovo stile, che sarà reso disponibile a tutti i blog nel sito. Se non fosse possibile caricare un pacchetto contenente uno stile mediante questo modulo, carica i file manualmente, e posizionali in <b>%s</b>, cioè nella cartella che contiene gli stili del tuo blog. Quindi clicca sul pulsante "<b>Cerca stili</b>". pLog effettuerà una ricerca nella cartella, ed aggiungerà automaticamente tutti gli stili trovati.';
+
+// global settings
+$messages['site_config_saved_ok'] = 'Le impostazioni del sito sono state salvate';
+$messages['error_saving_site_config'] = 'E\' avvenuto un errore durante il salvataggio delle impostazioni del sito';
+/// general settings
+$messages['help_comments_enabled'] = 'Abilita automaticamente i commenti per i nuovi blog. [Predefinito = Sì]';
+$messages['help_beautify_comments_text'] = 'Se abilitato, i commenti aggiunti dagli utenti verranno formattati aggiungendo i marcatori di paragrafo e rendendo cliccabili gli URL [Predefinito = Sì]';
+$messages['help_temp_folder'] = 'Cartella che pLog può usare per scrivere i propri dati temporanei, come le cornici compilate, ecc. Utilizza una cartella al di fuori di quelle accessibili dal server web, per aumentare la sicurezza. [Predefinito = ./tmp]';
+$messages['help_base_url'] = 'URL di base dove è installato questo blog';
+$messages['help_subdomains_enabled'] = 'Abilita o disabilita i sottodomini. Consulta la documentazione per avere maggiori informazioni su questo argomento [Predefinito = No]';
+$messages['help_include_blog_id_in_url'] = 'Significativo solamente se sono abilitati sia i sottodomini che gli URL "normali". Forza gli URL generati internamente ad omettere il parametro "blogId". Non cambiare questa impostazione se non ne comprendi a pieno le conseguenze [Predefinito = Sì]';
+$messages['help_script_name'] = 'Modifica questa impostazione se desideri rinominare index.php [Predefinito = index.php]';
+$messages['help_show_posts_max'] = 'Numero massimo di articoli mostrati nella pagina principale. Significativo solo per i nuovi blog [Predefinito = 15]';
+$messages['help_recent_posts_max'] = 'Numero massimo di articoli recenti mostrati nella pagina principale. Significativo solo per i nuovi blog [Predefinito = 10]';
+$messages['help_save_drafts_via_xmlhttprequest_enabled'] = 'Abilita la funzionalità che permette di salvare le bozze utilizzando Javascript e XmlHttpRequest [Predefinito = Sì]';
+$messages['help_locale_folder'] = 'Cartella dove sono contenuti i file di lingua [Predefinito = ./locale]';
+$messages['help_default_locale'] = 'Lingua predefinita per i nuovi blog [Predefinito = en_UK]';
+$messages['help_default_blog_id'] = 'Blog da mostrare se non ne viene esplicitamente specificato uno [Predefinito = 1]';
+$messages['help_default_time_offset'] = 'Fuso orario predefinito per i nuovi blog [Predefinito = 0]';
+$messages['help_html_allowed_tags_in_comments'] = 'Lista, separata da spazi, dei tag HTML che sono permessi nei commenti [Predefinito = &lt;a&gt;&lt;i&gt;&lt;br&gt;&lt;br/&gt;&lt;b&gt;]';
+$messages['help_referer_tracker_enabled'] = 'Abilita la caratteristica che permette di salvare i referrer nel database. Imposta a No (disabilitato) per aumentare le prestazioni [Predefinito = Sì]';
+$messages['help_show_more_enabled'] = 'Abilita la caratteristica "Continua..." in modo predefinito per i nuovi blog [Predefinito = Sì]';
+$messages['help_update_article_reads'] = 'Abilita l\' aggiornamento del contatore del numero di volte in cui l\'articolo è stato letto. Imposta a No (disabilitato) per aumentare le prestazioni [Predefinito = Sì]';
+$messages['help_update_cached_article_reads'] = 'Abilita l\' aggiornamento del contatore del numero di volte in cui l\'articolo è stato letto, anche nel caso nel quale il caching è stato abilitato [Predefinito = Sì]';
+$messages['help_xmlrpc_ping_enabled'] = 'Abilita la spedizione di ping XMLRPC a siti che supportano questa caratteristica [Predefinito = Sì]';
+$messages['help_send_xmlrpc_pings_enabled_by_default'] = 'Abilita in modo predefinito questa caratteristica quando un articolo viene postato o aggiornato [Predefinito = Sì]';
+$messages['help_xmlrpc_ping_hosts'] = 'URL che puntano alle interfacce ping XMLRPC dei siti che li supportano. Inserire un URL per riga [Predefinito = http://rpc.weblogs.com/RPC2]';
+$messages['help_trackback_server_enabled'] = 'Abilita la ricezione di trackback in ingresso [Predefinito = Sì]';
+$messages['help_htmlarea_enabled'] = 'Abilita l\'editor visuale degli articoli per i nuovi blog in maniera predefinita [Predefinito = Sì]';
+$messages['help_plugin_manager_enabled'] = 'Abilita i plugin [Predefinito = Sì]';
+$messages['help_minimum_password_length'] = 'Lunghezza minima delle password [Predefinito = 4]';
+$messages['help_xhtml_converter_enabled'] = 'Se abilitato, pLog tenterà di convertire il codice HTML in codice XHTML corretto [Predefinito = Sì]';
+$messages['help_xhtml_converter_aggressive_mode_enabled'] = 'Se abilitato, pLog tenterà di convertire il codice HTML in codice XHTML in modo più aggressivo. Questo tuttavia potrà generare errori [Predefinito = No]';
+$messages['help_session_save_path'] = 'Usa questa impostazione per cambiare la cartella nella quale pLog tiene i dati della sessione, mediante la funzione di PHP session_save_path(). Assicurati che la cartella sia scrivibile dal server. Lascia vuoto per utilizzare la cartella delle sessioni predefinita di PHP [Predefinito = (vuoto)]';
+// summary settings
+$messages['help_summary_page_show_max'] = 'Numero di elementi che verranno mostrati nella pagina di riepilogo. Questo parametro controlla tutte le lista nella pagina di sommario (articoli recenti, blog più attivi, ecc.) [Predefinito = 10]';
+$messages['help_summary_items_per_page'] = 'Numero di blog per pagina nella sezione "Lista dei blog" [Predefinito = 25]';
+$messages['help_forbidden_usernames'] = 'Lista di nomi utente, separati da spazi, che non possono essere registrati [Predefinito = admin www blog ftp]';
+$messages['help_force_one_blog_per_email_account'] = 'Permetti solo un blog per indirizzo email [Predefinito = No]';
+$messages['help_summary_show_agreement'] = 'Mostra agli utenti un testo con le condizioni da accettare prima di completare il processo di registrazione [Predefinito = Sì]';
+$messages['help_need_email_confirm_registration'] = 'Obbliga gli utenti a confermare la loro registrazione, cliccando un link contenuto in un messaggio email inviato al loro account [Predefinito = Sì]';
+$messages['help_summary_disable_registration'] = 'Disabilita la possibilità di registrare nuovi blog in questo sito [Predefinito = No]';
+// templates
+$messages['help_template_folder'] = 'Cartella dove vengono salvati gli stili [Predefinito = ./templates]';
+$messages['help_default_template'] = 'Stile predefinito per i nuovi blog [Predefinito = standard]';
+$messages['help_users_can_add_templates'] = 'Permette agli utenti di caricare i propri stili [Predefinito = Sì]';
+$messages['help_template_compile_check'] = 'Se abilitato, Smarty controllerà ogni volta se i file dello stile sono stati modificati, e, se sì, userà la nuova versione. Disabilitare per aumentare le prestazioni. [Predefinito = Sì]';
+$messages['help_template_cache_enabled'] = 'Abilita la cache degli stili. Se abilitata, la versione in cache dello stile verrà utilizzata quando possibile. Non sarà necessario estrarre dati dal database, e gli stili non dovranno venire ricompilati [Predefinito = Sì]';
+$messages['help_template_cache_lifetime'] = 'Tempo di validità in secondi della cache. Imposta a -1 per forzare la cache a non scadere mai. Se impostato a 0 la cache verrà disabilitata, per ottenere lo stesso effetto è tuttavia preferibile impostare l\'opzione template_cache_enabled a "No" [Predefinito = -1]';
+$messages['help_template_http_cache_enabled'] = 'Abilita il supporto per le richieste HTTP condizionate. Se abilitate, pLog prenderà in considerazione l\'intestazione HTTP "If-Modified-Since", e spedirà il contenuto solo se strettamente necessario. Abilita per risparmiare banda. [Predefinito = No]';
+$messages['help_allow_php_code_in_templates'] = 'Permetti di incorporare codice PHP negli stili Smarty, racchiudendolo in blocchi {php}...{/php} [Predefinito = No]';
+// urls
+$messages['help_request_format_mode'] = 'Seleziona uno dei formati URL disponibili. Se utilizzi URL personalizzati, imposta le opzioni qui sotto [Predefinito = Normale]';
+$messages['plain'] = 'Normale';
+$messages['search_engine_friendly'] = 'Amichevole ai motori di ricerca';
+$messages['custom_url_format'] = 'URL personalizzati';
+$messages['help_permalink_format'] = 'Formato per i link permanenti (permalink) quanto vengono utilizzati URL personalizzati [Predefinito = /blog/{blogname}/{catname}/{year}/{month}/{day}/{postname}$]';
+$messages['help_category_link_format'] = 'Formato dei link alle categorie quando vengono utilizzati URL personalizzati [Predefinito = /blog/{blogname}/{catname}$]';
+$messages['help_blog_link_format'] = 'Formato dei link ai blog quando vengono utilizzati URL personalizzati [Predefinito = /blog/{blogname}$]';
+$messages['help_archive_link_format'] = 'Formato dei link agli archivi quando vengono utilizzati URL personalizzati  [Predefinito = /blog/{blogname}/archives/{year}/?{month}/?{day}]';
+$messages['help_user_posts_link_format'] = 'Formato dei link agli articoli inviati da un certo utente quando vengono utilizzati URL personalizzati [Predefinito = /blog/{blogname}/user/{username}$]';
+$messages['help_post_trackbacks_link_format'] = 'Formato dei link alla pagina dei trackback quando vengono utilizzati URL personalizzati [Predefinito = /blog/{blogname}/post/trackbacks/{postname}$]';
+$messages['help_template_link_format'] = 'Formato dei link alle pagine di stile statiche personalizzate quando vengono utilizzati URL personalizzati [Predefinito = /blog/{blogname}/page/{templatename}$]';
+$messages['help_album_link_format'] = 'Formato dei link agli album delle risorse quando vengono utilizzati URL personalizzati  [Predefinito = /blog/{blogname}/album/{albumname}$]';
+$messages['help_resource_link_format'] = 'Formato dei link alle pagine delle risorse quando vengono utilizzati URL personalizzati  [Predefinito = /blog/{blogname}/resource/{albumname}/{resourcename}$]';
+$messages['help_resource_preview_link_format'] = 'Formato dei link alle anteprime delle risorse quando vengono utilizzati URL personalizzati  [Predefinito = /blog/{blogname}/resource/{albumname}/preview/{resourcename}$]';
+$messages['help_resource_medium_size_preview_link_format'] = 'Formato dei link alle anteprime di medie dimensioni delle risorse quando vengono utilizzati URL personalizzati  [Predefinito = /blog/{blogname}/resource/{albumname}/preview-med/{resourcename}$]';
+$messages['help_resource_download_link_format'] = 'Formato dei link ai file quando vengono utilizzati URL personalizzati  [Predefinito = /blog/{blogname}/resource/{albumname}/download/{resourcename}$]';
+// email
+$messages['help_check_email_address_validity'] = 'Durante il controllo dell\'indirizzo email, esegui alcuni controlli di base per vedere se esiste un record MX nel dominio specificato, e, in tal caso, se la casella è effettivamente valida [Predefinito = No]';
+$messages['help_email_service_enabled'] = 'Abilita la spedizione di email [Predefinito = Sì]';
+$messages['help_post_notification_source_address'] = 'Indirizzo email che compare nel campo "Da:" ("From:") nelle email spedite da pLog [Predefinito = noreply at your.host.com]';
+$messages['help_email_service_type'] = 'Sistema da usare per la spedizione delle email [Predefinito = PHP]';
+$messages['help_smtp_host'] = 'Se viene utilizzato SMTP per la spedizione delle email, imposta qui il server SMTP che verrà utilizzato per la spedizione [Predefinito = (vuoto)]';
+$messages['help_smtp_port'] = 'Se il server SMTP utilizza una porta differente dalla 25, configura qui il suo valore [Predefinito = (vuoto)]';
+$messages['help_smtp_use_authentication'] = 'Rispondi Sì se il server richiede l\'autenticazione di base [Predefinito = No]';
+$messages['help_smtp_username'] = 'Se il server SMTP richiede autenticazione, imposta qui il nome utente [Predefinito = (vuoto)]';
+$messages['help_smtp_password'] = 'Se il server SMTP richiede autenticazione, imposta qui la password [Predefinito = (vuoto)]';
+// helpers
+$messages['help_path_to_tar'] = 'Percorso al comando "tar", necessario per scompattare i pacchetti stile in formato .tar.gz o tar.bz2 [Predefinito = /bin/tar]';
+$messages['help_path_to_gzip'] = 'Percorso al comando "gzip", necessario per scompattare i pacchetti stile in formato .tar.gz [Predefinito = /bin/gzip]';
+$messages['help_path_to_bz2'] = 'Percorso al comando "bzip2", necessario per scompattare i pacchetti stile in formato .tar.bz2 [Predefinito = /usr/bin/bzip2]';
+$messages['help_path_to_unzip'] = 'Percorso al comando "unzip", necessario per scompattare i pacchetti stile in formato .zip [Predefinito = /usr/bin/unzip]';
+$messages['help_unzip_use_native_version'] = 'Usa lo zip fornito nativamente da PHP per scompattare gli archivi zip [Predefinito = No]';
+// uploads
+$messages['help_uploads_enabled'] = 'Abilita gli utenti a caricare file. Questo riguarda la sezione delle risorse e il caricamento di cornici personalizzate e lingue [Predefinito = Sì]';
+$messages['help_maximum_file_upload_size'] = 'Dimensione massima del file in byte. Questo limite non può superare quello impostato per PHP [Predefinito = 2000000]';
+$messages['help_upload_forbidden_files'] = 'Lista dei tipi di file che non possono essere caricati. E\' possibile usare \'*\' e \'?\' [Predefinito = *.php *.php3 *.php4 *.phtml]';
+// interfaces
+$messages['help_xmlrpc_api_enabled'] = 'Abilita l\'accesso ai blog mediante XMLRPC [Predefinito = No]';
+$messages['help_rdf_enabled'] = 'Abilita la preparazione dei contenuti mediante Atom e RSS (syndication) [Predefinito = Sì]';
+$messages['help_default_rss_profile'] = 'Versione predefinita di RSS o Atom da usare per la preparazione dei contenuti, quando non specificato diversamente [Predefinito = RSS 1.0]';
+// security
+$messages['help_security_pipeline_enabled'] = 'Abilita la pipeline relativa alla sicurezza e tutti i filtri connessi. Questo influenza anche i plugin che registrano nuovi filtri  [Predefinito = Sì]';
+$messages['help_maximum_comment_size'] = 'Dimensione massima in byte che un commento può avere. Imposta a 0 per disabilitare questo controllo [Predefinito = 0]';
+// bayesian filter
+$messages['help_bayesian_filter_enabled'] = 'Abilita il filtro Bayesiano per ottenere un filtraggio automatico dello spam [Predefinito = Sì]';
+$messages['help_bayesian_filter_spam_probability_treshold'] = 'Soglia massima prima della quale un commento può essere considerato spam [Predefinito = 0.9]';
+$messages['help_bayesian_filter_nonspam_probability_treshold'] = 'Soglia minima dopo la quale un articolo può essere considerato non spam [Predefinito = 0.2]';
+$messages['help_bayesian_filter_min_length_token'] = 'Lunghezza minima di un simbolo affinché venga considerato significativo per il filtro Bayesiano [Predefinito = 3]';
+$messages['help_bayesian_filter_max_length_token'] = 'Lunghezza massima di un simbolo affinché venga considerato significativo per il filtro Bayesiano [Predefinito = 100]';
+$messages['help_bayesian_filter_number_significant_tokens'] = 'Numero di simboli significativi [Predefinito = 15]';
+$messages['help_bayesian_filter_spam_comments_action'] = 'Cosa fare con i commenti classificati spam  [Predefinito = Conserva]';
+$messages['keep_spam_comments'] = 'Conservali nel database, marcandoli come "Spam"';
+$messages['throw_away_spam_comments'] = 'Cancellali senza salvarli';
+// resources
+$messages['help_resources_enabled'] = 'Abilita le risorse [Predefinito = Sì]';
+$messages['help_resources_folder'] = 'Cartella dove le risorse sono salvate. Seleziona una cartella al di fuori del server, per aumentare la sicurezza [Predefinito = ./gallery]';
+$messages['help_thumbnail_method'] = 'Metodo utilizzato per la generazione delle miniature. Se viene usato PHP, è necessario il supporto per GD [Predefinito = PHP]';
+$messages['help_path_to_convert'] = 'Percorso del comando "convert" di ImageMagick. Obbligatorio se il metodo di creazione delle miniature è "ImageMagick" [Predefinito = /usr/bin/convert]';
+$messages['help_thumbnail_format'] = 'Formato nel quale vengono salvate le miniature [Predefinito = Quello dell\'immagine]';
+$messages['help_thumbnail_height'] = 'Altezza predefinita per le miniature piccole [Predefinito = 120]';
+$messages['help_thumbnail_width'] = 'Larghezza predefinita per le miniature piccole [Predefinito = 120]';
+$messages['help_medium_size_thumbnail_height'] = 'Altezza predefinita per le miniature [Predefinito = 480]';
+$messages['help_medium_size_thumbnail_width'] = 'Larghezza predefinita per le miniature medie [Predefinito = 640]';
+$messages['help_thumbnails_keep_aspect_ratio'] = 'Mantieni le proporzioni nella generazione delle anteprime. Se abilitato, le anteprime potrebbero essere di dimensioni maggiori di quanto specificato sopra, tuttavia la qualità è migliore [Predefinito = Sì]';
+$messages['help_thumbnail_generator_force_use_gd1'] = 'Permetti a pLog di usare solamente le funzioni di GD-1 [Predefinito = No]';
+$messages['help_thumbnail_generator_user_smoothing_algorithm'] = 'Algoritmo per lo smoothing delle miniature. Utilizzato solamente se il metodo per le miniature è GD [Predefinito = Sì]';
+$messages['help_resources_quota'] = 'Spazio su disco massimo disponibile per i blog in byte (esempio: 5242880 Byte = 5MB). Impostare a 0 per non porre limite [Predefinito = 0]';
+$messages['help_resource_server_http_cache_enabled'] = 'Abilita il supporto per le richieste HTTP condizionate, con intestazione "If-Modified-Since".. Abilita per migliorare il risparmio di banda [Predefinito = No]';
+$messages['help_resource_server_http_cache_lifetime'] = 'Tempo in microsecondi per il quale i client devono usare la versione in cache delle risorse [Predefinito = 9999999]';
+$messages['same_as_image'] = 'Come l\'immagine originale';
+// search
+$messages['help_search_engine_enabled'] = 'Abilita il motore di ricerca [Predefinito = Sì]';
+$messages['help_search_in_custom_fields'] = 'Cerca nei campi personalizzati  [Predefinito = Sì]';
+$messages['help_search_in_comments'] = 'Cerca nei commenti [Predefinito = Sì]';
+
+// cleanup
+$messages['purge'] = 'Pulisci';
+$messages['cleanup_spam'] = 'Pulisci lo spam';
+$messages['cleanup_spam_help'] = 'Tutti i commenti marcati dagli utenti come spam verranno eliminati. Non sarà possibile annullare l\'operazione, una volta cancellati';
+$messages['spam_comments_purged_ok'] = 'Commenti marcati come spam cancellati';
+$messages['cleanup_posts'] = 'Pulisci gli articoli';
+$messages['cleanup_posts_help'] = 'Tutti gli articoli cancellati (marcati dagli utenti come "cancellati") verranno eliminati. Non sarà possibile annullare l\'operazione, una volta cancellati';
+$messages['posts_purged_ok'] = 'Articoli cancellati';
+
+/// summary ///
+// front page
+$messages['summary'] = 'Sommario';
+$messages['register'] = 'Registrati';
+$messages['summary_welcome'] = 'Benvenuto!';
+$messages['summary_most_active_blogs'] = 'I blog più attivi';
+$messages['summary_most_commented_articles'] = 'Gli articoli più commentati';
+$messages['summary_most_read_articles'] = 'Gli articoli più letti';
+$messages['password_forgotten'] = 'Dimenticato la password?';
+$messages['summary_newest_blogs'] = 'I blog più recenti';
+$messages['summary_latest_posts'] = 'Gli articoli più recenti';
+$messages['summary_search_blogs'] = 'Cerca nei blog';
+
+// blog list
+$messages['updated'] = 'Aggiornato';
+$messages['total_reads'] = 'tota'; //XXX: what's this?!
+
+// blog profile
+$messages['blog'] = 'Blog';
+$messages['latest_posts'] = 'Articoli recenti';
+
+// registration
+$messages['register_step0_title'] = 'Accettazione delle condizioni del servizio';
+$messages['agreement'] = 'Accordo'; 
+$messages['decline'] = 'Rifiuta';
+$messages['accept'] = 'Accetta';
+$messages['read_service_agreement'] = 'Leggi le condizioni di questo servizio, e clicca sul pulsante "Accetta" se sei d\'accordo';
+$messages['register_step1_title'] = 'Crea un utente [1/4]';
+$messages['register_step1_help'] = 'Per prima cosa, per avere un blog è necessario creare un utente. Questo utente sarà il proprietario del blog, ed avrà accesso a tutte le sue funzionalità.';
+$messages['register_next'] = 'Avanti';
+$messages['register_back'] = 'Indietro';
+$messages['register_step2_title'] = 'Crea un blog [2/4]';
+$messages['register_blog_name_help'] = 'Nome del nuovo blog';
+$messages['register_step3_title'] = 'Seleziona uno stile [3/4]';
+$messages['step1'] = 'Passo 1';
+$messages['step2'] = 'Passo 2';
+$messages['step3'] = 'Passo 3';
+$messages['register_step3_help'] = 'Seleziona uno degli stili disponibili, che diventerà quello predefinito del tuo blog. Sarà sempre possibile cambiarlo in seguito';
+$messages['error_must_choose_template'] = 'E\' necessario selezionare uno stile';
+$messages['select_template'] = 'Seleziona uno stile';
+$messages['register_step5_title'] = 'Congratulazioni! [4/4]';
+$messages['finish'] = 'Termina';
+$messages['register_need_confirmation'] = 'Un messaggio di posta elettronica è stato spedito al tuo indirizzo email, per confermare l\'attivazione. Appena lo ricevi, clicca sul link che contiene, per poter iniziare a usare il tuo blog!';
+$messages['register_step5_help'] = 'Congratulazioni! Il tuo nuovo utente e il tuo blog sono stati creati';
+$messages['register_blog_link'] = 'Se vuoi dare un\'occhiata al tuo nuovo blog, usa questo link: <a href="%2$s">%1$s</a>';
+$messages['register_blog_admin_link'] = 'Se preferisci scrivere un articolo subito, clicca qui per entrare nell\'<a href="admin.php">interfaccia di amministrazione</a>';
+$messages['register_error'] = 'E\' avvenuto un errore durante l\'operazione';
+$messages['error_registration_disabled'] = 'Spiacente, ma la creazione di nuovi blog è stata disabilitata in questo sito';
+// registration article topic and text
+$messages['register_default_article_topic'] = 'Congratulazioni!';
+$messages['register_default_article_text'] = 'Se stai leggendo questo articolo, significa che il processo di registrazione è stato completato con successo: puoi cominciare ad usare il tuo blog!';
+$messages['register_default_category'] = 'Generale';
+// confirmation email
+$messages['register_confirmation_email_text'] = 'Visita la seguente pagina per attivare il tuo blog:
+
+%s
+
+Ciao!
+
+Se il link dovesse risultare spezzato su piu\' righe, utilizzare il copia incolla per ricomporlo.';
+$messages['error_invalid_activation_code'] = 'Spiacente, ma il codice di conferma non è valido';
+$messages['blog_activated_ok'] = 'Congratulazioni! Il tuo nuovo utente ed il tuo blog sono stati convalidati con successo';
+// forgot your password?
+$messages['reset_password'] = 'Reimposta la tua password';
+$messages['reset_password_username_help'] = 'Nome dell\'utente a cui reimpostare la password';
+$messages['reset_password_email_help'] = 'Indirizzo email che è stato utilizzato per registrare questo utente';
+$messages['reset_password_help'] = 'Usa questo form per reimpostare la password del tuo utente, nel caso te la fossi dimenticata. Inserisci il nome dell\'utente, di cui vorresti reimpostare la password, e l\'indirizzo email che è stato usato, per registrare l\'utente';
+$messages['error_resetting_password'] = 'E\' avvenuto un errore durante l\'azzeramento della password. Controlla i dati e riprova';
+$messages['reset_password_error_incorrect_email_address'] = 'L\'indirizzo email non è corretto, o non è l\'indirizzo usato per la registrazione di questo utente';
+$messages['password_reset_message_sent_ok'] = 'Un messaggio con un link è stato inviato al tuo indirizzo di posta elettronica. Visita il link che contiene, per reimpostare la tua password';
+$messages['error_incorrect_request'] = 'I parametri nell\'URL non sono corretti';
+$messages['change_password'] = 'Imposta la nuova password';
+$messages['change_password_help'] = 'Inserisci e conferma la tua nuova password';
+$messages['new_password'] = 'Nuova password';
+$messages['new_password_help'] = 'Inserisci qui la tua nuova password';
+$messages['password_updated_ok'] = 'La password è stata modificata';
+
+// Suggested by BCSE, some useful messages that not available in official locale
+$messages['upgrade_information'] = 'Questa pagina ha un aspetto semplice e senza stile, perché stai usando un browser che non è compatibile con gli standard. Per vederlo nel suo aspetto migliore, ti preghiamo di <a href="http://www.webstandards.org/upgrade/" title="The Web Standards Project\'s Browser Upgrade initiative">aggiornarlo</a> ad un browser che supporti gli standard del web. E\' gratis, ed è indolore.';
+$messages['jump_to_navigation'] = 'Vai alla navigazione.';
+$messages['comment_email_never_display'] = 'Le interruzioni di linea e paragrafo sono automatiche. La tua email non sarà mai mostrata.';
+$messages['comment_html_allowed'] = '<acronym title="Hypertext Markup Language">HTML</acronym> permesso: &lt;<acronym title="Link ipertestuale">a</acronym> href=&quot;&quot; title=&quot;&quot; rel=&quot;&quot;&gt; &lt;<acronym title="Descrizione di acronimo">acronym</acronym> title=&quot;&quot;&gt; &lt;<acronym title="Indentazione">blockquote</acronym> cite=&quot;&quot;&gt; &lt;<acronym title="Sbarrato">del</acronym>&gt; &lt;<acronym title="Corsivo">em</acronym>&gt; &lt;<acronym title="Sottolineato">ins</acronym>&gt; &lt;<acronym title="Grassetto">strong</acronym>&gt;';
+$messages['trackback_uri'] = 'L\'<acronym title="Uniform Resource Identifier">URI</acronym> per il trackback di questa entità è: ';
+
+
+
+$messages['xmlrpc_ping_ok'] = 'Ping XMLRPC inviato correttamente: ';
+$messages['error_sending_xmlrpc_ping'] = 'C\'è stato un errore inviando il ping XMLRPC a: ';
+$messages['error_sending_xmlrpc_ping_message'] = 'C\'è stato un errore inviando il ping XMLRPC: ';
+
+//
+// new strings for 1.1
+//
+$messages['error_incorrect_trackback_id'] = 'L\'identificatore del trackback non è corretto';
+$messages['error_marking_trackback_as_spam'] = 'Si è verificato un errore marcando il trackback come spam';
+$messages['trackback_marked_as_spam_ok'] = 'Il trackback è stato marcato come spam';
+$messages['error_marking_trackback_as_nonspam'] = 'Si è verificato un errore marcando il trackback come non-spam';
+$messages['trackback_marked_as_nonspam_ok'] = 'Il trackback è stato marcato come non-spam';
+$messages['upload_here'] = 'Carica qui';
+$messages['reply_string'] = 'Re: ';
+$messages['cleanup_users'] = 'Pulisci gli utenti';
+$messages['cleanup_users_help'] = 'Tutti gli utenti marcati come "Cancellato" da un amministratore verranno eliminati. Eliminerà anche ogni blog posseduto dall\'utente e ogni cosa presente nei blog. Se l\'utente è abilitato a scrivere su altri blog, ogni suo articolo verrà eliminato. Non sarà possibile annullare l\'operazione, una volta cancellati.';
+$messages['users_purged_ok'] = 'Utenti cancellati';
+$messages['cleanup_blogs'] = 'Pulisci i Blog';
+$messages['cleanup_blogs_help'] = 'Tutti i blog marcati come "Cacellato" da un amministratore verranno eliminati. Eliminerà ogni cosa nei blog. Non sarà possibile annullare l\'operazione, una volta cancellati.';
+$messages['blogs_purged_ok'] = 'Blog cancellati';
+$messages['help_use_http_accept_language_detection'] = 'Molti browser come Mozilla Firefox, Safari o Internet Explorer inviano almeno un codice di lingua che l\'utente <i>dovrebbe</i> capire. Se questa caratteristica è attiva, LifeType proverà a servire l\'utente con il linguaggio richiesto se questo è disponibile. [ Predefinito = No ]';
+
+$messages['error_invalid_blog_category'] = 'Categoria di blog invalida';
+$messages['error_adding_blog_category'] = 'Si è verificato un errore aggiungendo la categoria del blog';
+$messages['newBlogCategory'] = 'Nuova categoria di Blog';
+$messages['editBlogCategories'] = 'Categorie di Blog';
+$messages['blog_category_added_ok'] = 'Categoria di Blog aggiunta';
+$messages['error_blog_category_has_blogs'] = 'La categoria di blog "%s" ha alcuni blog assegnati. Modifica prima i blog e quindi riprova.';
+$messages['error_deleting_blog_category'] = 'Si è verificato un errore eliminando la categoria di blog "%s"';
+$messages['blog_category_deleted_ok'] = 'La categoria di blog "%s" è stata cancellata con successo';
+$messages['blog_categories_deleted_ok'] = 'Le categorie di blog %s sono state cancellate con successo';
+$messages['error_deleting_blog_category2'] = 'Si è verificato un errore cancellando la categoria di blog con id %s';
+$messages['blog_category'] = 'Categoria del Blog';
+$messages['blog_category_help'] = 'Categoria globale del Global';
+
+$messages['help_use_captcha_auth'] = 'Utilizza un meccanismo CAPTCHA nel processo di registrazione per prevenire la registrazione automatica tramite script o robots [ Predefinito = No ]';
+$messages['help_skip_dashboard'] = 'La bacheca non verrà più mostrata e gli utenti verranno portati direttamente al primo blog a cui appartengono [ Predefinito = No ]';
+
+$messages['manageGlobalArticleCategory'] = 'Categorie articoli globali';
+$messages['newGlobalArticleCategory'] = 'Nuova categoria articoli globale';
+$messages['editGlobalArticleCategories'] = 'Categorie articoli globali';
+$messages['global_category_name_help'] = 'Nome della nuova categoria articoli globale';
+$messages['global_category_description_help'] = 'Descrizione della nuova categoria articoli globale';
+$messages['error_incorrect_global_category_id'] = 'Categoria articoli globale invalida';
+$messages['global_category_deleted_ok'] = 'Categoria articoli "%s" eliminata con successo';
+$messages['global_category_added_ok'] = 'Categoria globale "%s" aggiunta con successo';
+$messages['error_deleting_global_category2'] = 'Si è verificato un errore cancellando la categoria articoli con id = %s';
+
+$messages['help_page_suffix_format'] = 'Suffisso che sarà appeso agli URL che supportano la paginazione [ Predefinito = /page/{page} ]';
+
+$messages['help_final_size_thumbnail_width'] = 'Larghezza finale delle immagini caricate. Lascialo vuoto o a zero per salvare l\'immagine a dimensione originale [ Predefinito = 0 ]';
+$messages['help_final_size_thumbnail_height'] = 'Altezza finale delle immagini caricate. Lascialo vuoto o a zero per salvare le immagini a dimensione originale [ Predefinito = 0 ]';
+$messages['error_comment_too_big'] = 'Il commento è troppo grande';
+$messages['error_you_have_been_blocked'] = 'Bloccato: questa richiesta non è stata completata.';
+$messages['created'] = 'Creato';
+$messages['view'] = 'Visto';
+$messages['editUser'] = 'Modifica utente';
+$messages['help_urlize_word_separator'] = 'Carattere che sarà usato come parola separatore per la generazione degli URL delle pagine. Sarà usato anche per la generazione degli hostnames partendo dal nome dei blog se il supporto per i sottodomini è attivato. [ Predefinito = _ ]';
+$messages['help_summary_template_cache_lifetime'] = 'Tempo di vita in secondi delle pagine di sommario cachate. Se impostato ad un valore diverso da \'0\', le pagine di sommario verrranno mantenute uguali per il tempo qui indicato invece di essere aggiornate ogni volta che i dati vengono modificati. [ Predefinito = 0 ]';
+$messages['register_default_album_name'] = 'Generale';
+$messages['register_default_album_description'] = 'Usa questo album per caricare nuove immagini.';
+$messages['show_in_summary'] = 'Mostra nel sommario';
+$messages['show_in_summary_help'] = 'Includi questo blog nella pagina sommario di questo sito.';
+
+$messages['saving_message'] = 'Salvataggio ...';
+$messages['show_option_panel'] = 'Mostra Opzioni';
+$messages['hide_option_panel'] = 'Nascondi Opzioni';
+
+$messages['quick_launches'] = 'Lancio rapido';
+
+$messages['confirmation_message_resent_ok'] = 'Messaggio di conferma reinviato con successo.';
+
+$messages['goto_blog_page'] = 'Vai a %s';
+
+$messages['help_num_blogs_per_user'] = 'Numero di blog che un proprietario può creare attraverso l\'interfaccia di amministrazione';
+
+$messages['massive_change_option'] = 'Opzioni di modifica di massa';
+$messages['show_massive_change_option'] = 'Mostra opzioni di modifica di massa';
+$messages['hide_massive_change_option'] = 'Nascondi opzioni di modifica di massa';
+$messages['change_status'] = 'Cambia stato';
+$messages['change_category'] = 'Cambia categoria';
+$messages['error_updating_comment_no_comment'] = 'Si è verificato un errore aggiornando il commento. Il commento #%s non è stato trovato';
+$messages['error_updating_comment_wrong_blog'] = 'Si è verificato un errore aggiornando il commento. Il commento (%s) non fa parte di questo blog.';
+$messages['error_updating_comment'] = 'Si è verificato un errore aggiornando (%s)';
+$messages['error_updating_comment_already_updated'] = 'Nessuna modifica fatta a (%s)';
+$messages['comment_updated_ok'] = 'Commento aggiornato con successo.';
+$messages['comments_updated_ok'] = '%s commenti aggiornati con successo.';
+
+$messages['error_post_status'] = 'Seleziona lo stato di un articolo.';
+$messages['error_comment_status'] = 'Seleziona lo stato di un commento.';
+$messages['admin_mode'] = 'Modalità admin';
+$messages['administrate_user_blog'] = 'Amministra questo blog';
+$messages['trackbacks_updated_ok'] = '%s trackback aggiornati con successo';
+$messages['trackback_updated_ok'] = 'Trackback aggiornato con successo';
+$messages['error_trackback_status'] = 'Scegli uno stato valido';
+$messages['error_incorrect_user'] = 'Utente non valido';
+$messages['select'] = 'Scegli';
+$messages['remove_selected'] = 'Rimuovi selezionato';
+
+$messages['notification_subject'] = 'Sistema di notifica di LifeType';
+$messages['error_no_trackback_links_sent'] = 'Attenzione: Trackback non inviati.';
+
+$messages['logout_destination_url'] = 'Indirizzo URL dove saranno rediretti gli utenti quando fanno il log out, come ad esempio la pagina principale del sito. Lascialo vuoto per usare il valore predefinito (la pagina di login) [ Predefinito = vuoto ]';
+
+$messages['help_http_cache_lifetime'] = 'Durata in secondi della cache lato client (i browser non faranno richieste al server per questo periodo e le pagine saranno prese dalla cache locale. Questo aumenta notevolmente la velocità di caricamento, ma ritarderà la visibilità di commenti e articoli. [Predefinito = 1800]';
+
+$messages['trackbacks_no_trackback'] = 'Invio di trackback ai seguenti URL fallito: ';
+
+$messages['error_comment_spam_throw_away'] = 'Non puoi postare questo messaggio. Il filtro anti-spam l\'ha bloccato.';
+$messages['error_comment_spam_keep'] = 'Il filtro anti-spam ha messo il tuo commento nella coda di moderazione e dovrà essere approvato dal proprietario del blog.';
+
+$messages['blog_categories'] = 'Categorie di Blog';
+$messages['global_article_categories'] = 'Categorie articoli globali';
+
+$messages['help_force_posturl_unique'] = 'Forza gli URL degli articoli all\'interno del blog ad essere unici. Questo è necessario solo se stai cambiando gli URL e stai rimuovendo la porzione di data dagli URL. [ Predefinito = no ]';
+
+$messages['default_send_notification'] = 'Invio notifiche come predefinito';
+
+$messages['enable_pull_down_menu'] = 'Menu Pull Down';
+$messages['enable_pull_down_menu_help'] = 'Abilita o disabilita il menu pull down.';
+
+$messages['change_album'] = 'Cambia Album';
+
+$messages['warning_autosave_message'] = '<img src="imgs/admin/icon_warning-16.png" alt="Error" class="InfoIcon"/><p class="ErrorText">Sembra che tu sia uscito senza salvare il tuo articolo. Se è così, puoi <a href="#" onclick="restoreAutoSave();">cliccare qui e recuperarlo</a> oppure <a href="#" onclick="eraseAutoSave();">cancellarlo</a>.</p>';
+
+$messages['check_username'] = 'Controlla nome utente';
+$messages['check_username_ok'] = 'Il nome utente è disponibile!';
+$messages['error_username_exist'] = 'Spiacente! Il nome utente non è disponibile, prova con un altro. (Il nome utente deve essere tutto minuscolo)';
+
+$messages['error_rule_email_dns_server_temp_fail'] = 'Guasto provvisorio - riprova più tardi.';
+$messages['error_rule_email_dns_server_unreachable'] = 'Server Email non raggiungibile.';
+$messages['error_rule_email_dns_not_permitted'] = 'E-mail non permessa.';
+
+$messages['blog_users_help'] = 'Utenti che hanno accesso a questo blog.';
+
+$messages['summary_welcome_paragraph'] = 'This message is only a placeholder and should be edited when customizing this page for your service. This message is currently stored in the en_UK locale file but you may also edit the template templates/summary/index.template and place your text there.';
+
+$messages['first_day_of_week'] = 0;
+$messages['first_day_of_week_label'] = 'Primo giorno della settimana';
+$messages['first_day_of_week_help'] = 'Primo giorno della settimana nel calendario.';
+
+$messages['help_subdomains_base_url'] = 'Quando i sottodomini sono abilitati, questo URL sarà utilizzato come base al posto di base_url. Usa {blogname} per ottenere il nome del blog, {username} per ottenere il nome dell\'utente proprietario del blog e {blogdomain} per permettere all\'utente di specificare un sottodominio per generare un link al blog. (es. http://{blogname}.tuodominio.it)';
+
+$messages['registration_default_subject'] = 'Conferma di registrazione a LifeType';
+
+$messages['error_invalid_subdomain'] = 'Il nome del sottodominio non è valido o non è univoco';
+$messages['register_blog_domain_help'] = 'Nome e sottodominio che vuoi usare per il tuo nuovo blog';
+$messages['domain'] = 'Dominio';
+$messages['help_subdomains_available_domains'] = 'Inserisci un elenco di domini principali permessi. All\'utente sarà mostrato una lista di quest\'elenco e potrà aggiungere i sottodomini che vorrà. Questo è usato solo se hai abilitato i sottodomini e usato {blogdomain} in subdomain_base_url qui sopra. Usa \'?\' se vuoi permettere qualsiasi dominio.';
+$messages['subdomains_any_domain'] = '<- Multi-dominio abilitato. Scrivi il dominio completo.';
+$messages['error_updating_blog_subdomain'] = 'Si è verificato un errore aggiornando il sottodominio. Controlla i dati e riprova.';
+$messages['error_updating_blog_main_domain'] = 'Si è verificato un errore aggiornando i settaggi del dominio principale. Questo probabilmente significa che l\'amministratore del sito ha configurato qualcosa in modo incorretto.';
+
+$messages['monthsshort'] = Array( 'Gen', 'Feb', 'Mar', 'Apr', 'Mag', 'Giu', 'Lug', 'Ago', 'Set', 'Ott', 'Nov', 'Dec' );
+$messages['weekdaysshort'] = Array( 'Do', 'Lu', 'Ma', 'Me', 'Gi', 'Ve', 'Sa' );
+
+$messages['search_type'] = 'Cerca in';
+$messages['posts'] = 'Articoli';
+$messages['blogs'] = 'Blog';
+$messages['resources'] = 'Risorse';
+$messages['upload_in_progress'] = 'Caricamento in corso. Attendere prego...';
+$messages['error_incorrect_username'] = 'Il nome utente non è corretto, è già in uso, contiene caratteri maiuscoli o è troppo lungo (massimo 15 caratteri)';
+
+$messages['Miscellaneous'] = 'Miscellaneous';
+$messages['Plugins'] = 'Plugins';
+
+$messages['auth_img'] = 'Convalida';
+$messages['auth_img_help'] = 'Inserisci il codice che vedi nell\'immagine qui sotto.';
+
+$messages['global_category'] = 'Categoria globale';
+$messages['global_article_category_help'] = 'Categoria globale per questo articolo.';
+
+$messages['password_reset_subject'] = 'Richiesta password di LifeType';
+
+//
+// new strings for LifeType 1.2
+//
+$messages['auth'] = 'Auth';
+$messages['authenticated'] = 'Autenticato';
+$messages['dropdown_list_field'] = 'Lista Drop-down';
+$messages['values'] = 'Valori del campo';
+$messages['field_values'] = 'Valori che saranno mostrati come opzioni in questo campo. Il primo sarà usato come opzione predefinita.';
+
+$messages['permission_added_ok'] = 'Permesso aggiunto con successo';
+$messages['core_perm'] = 'Permessi del core';
+$messages['admin_only'] = 'Solo amministratori';
+$messages['permissionsList'] = 'Permessi';
+$messages['newPermission'] = 'Nuovo permesso';
+$messages['permission_name_help'] = 'Nome univoco per il permesso';
+$messages['permission_description_help'] = 'Descrizione data per il permesso';
+$messages['core_perm_help'] = 'Se il permesso è parte dei permessi del core, non sarà possibile cancellarlo';
+$messages['admin_only_help'] = 'Se questo permesso può essere assegnato solo dagli utenti amministratori';
+$messages['error_adding_new_permission'] = 'Si è verificato un errore aggiungendo il nuovo permesso, ricontrolla i dati';
+$messages['error_incorrect_permission_id'] = 'L\'identificatore del permesso non è corretto';
+$messages['error_permission_cannot_be_deleted'] = 'Il permesso "%s" non può essere cancellato perchè è stato assegnato either it has been ad almeno un utente o è un permesso del core.';
+$messages['error_deleting_permission'] = 'Si è verificato un errore cancellando il permesso "%s"';
+$messages['permission_deleted_ok'] = 'Il permesso "%s" è stato cancellato con successo';
+$messages['permissions_deleted_ok'] = '%s permessi cancellati con successo';
+$messages['error_deleting_permission2'] = 'Si è verificato un errore cancelland il permesso con l\'identificatore "%s"';
+
+$messages['help_hard_show_posts_max'] = 'Limite massimo di articoli mostrati per pagina nel blog. Se gli utenti imposteranno un valore personalizzato oltre questo limite, verrà ignorato e il valore qui specificato usato. [ Predefinito = 50 ]';
+$messages['help_hard_recent_posts_max'] = 'Limite massimo di articoli recenti mostrato per pagina nel blog. Se gli utenti imposteranno un valore personalizzato oltre questo limite, verrà ignorato e il valore qui specificato usato [ Predefinito = 25 ]';
+
+$messages['error_permission_required'] = 'Non hai abbastanza permessi per eseguire l\'operazione richiesta';
+$messages['user_permissions_updated_ok'] = 'Permessi dell\'utente aggiornati con successo';
+
+// blog permissions
+$messages['add_album_desc'] = 'Aggiungi nuovi album';
+$messages['add_blog_template_desc'] = 'Aggiungi nuovi stili per il blog';
+$messages['add_blog_user_desc'] = 'Aggiungi nuovi utenti del blog';
+$messages['add_category_desc'] = 'Aggiungi nuove categorie';
+$messages['add_custom_field_desc'] = 'Aggiungi nuovi campi personalizzati';
+$messages['add_link_desc'] = 'Aggiungi nuovi link';
+$messages['add_link_category_desc'] = 'Aggiungi nuove categorie di link';
+$messages['add_post_desc'] = 'Aggiungi nuovi articoli';
+$messages['add_resource_desc'] = 'Aggiungi nuove risorse';
+$messages['blog_access_desc'] = 'Permetti l\'accesso al blog';
+$messages['update_album_desc'] = 'Aggiorna album esistenti';
+$messages['update_blog_desc'] = 'Aggiorna i settaggi del blog';
+$messages['update_blog_template_desc'] = 'Aggiorna uno stile del blog';
+$messages['update_blog_user_desc'] = 'Aggiorna i permessi degli utenti';
+$messages['update_category_desc'] = 'Aggiorna categorie esistenti';
+$messages['update_comment_desc'] = 'Aggiorna commenti esistenti';
+$messages['update_custom_field_desc'] = 'Aggiorna campi personalizzati esistenti';
+$messages['update_link_desc'] = 'Aggiorna link esistenti';
+$messages['update_link_category_desc'] = 'Aggiorna categorie di link esistenti';
+$messages['update_post_desc'] = 'Aggiorna articoli esistenti';
+$messages['update_resource_desc'] = 'Aggiorna risorse esistenti';
+$messages['update_trackback_desc'] = 'Aggiorna trackback esistenti';
+$messages['view_blog_templates_desc'] = 'Guarda gli stili per il blog';
+$messages['view_blog_users_desc'] = 'Guarda gli utenti del blog';
+$messages['view_categories_desc'] = 'Guarda le categorie del blog';
+$messages['view_comments_desc'] = 'Guarda i commenti del blog';
+$messages['view_custom_fields_desc'] = 'Guarda i campi personalizzati del blog';
+$messages['view_links_desc'] = 'Guarda i link del blog';
+$messages['view_link_categories_desc'] = 'Guarda le categorie di link del blog';
+$messages['view_posts_desc'] = 'Guarda gli articoli del blog';
+$messages['view_resources_desc'] = 'Guarda le risorse del blog';
+$messages['view_trackbacks_desc'] = 'Guarda i trackback del blog';
+$messages['login_perm_desc'] = 'L\'utente è abilitato al log in';
+// admin permissions
+$messages['add_blog_category_desc'] = 'L\'utente può aggiungere categorie al blog';
+$messages['add_global_article_category_desc'] = 'L\'Utente può aggiungere categorie articoli globali';
+$messages['add_locale_desc'] = 'L\'utente può aggiungere nuove localizzazioni';
+$messages['add_permission_desc'] = 'L\'utente può aggiungere nuovi permessi';
+$messages['add_site_blog_desc'] = 'L\'utente può aggiungere nuovi blog';
+$messages['add_template_desc'] = 'L\'utente può aggiungere nuovi stili';
+$messages['add_user_desc'] = 'L\'utente può aggiungere nuovi utenti';
+$messages['edit_blog_admin_mode_desc'] = 'L\'utente può amministrare altri blog (modalità admin)';
+$messages['purge_data_desc'] = 'L\'utente può eliminare i dati';
+$messages['update_blog_category_desc'] = 'L\'utente può aggiornare e cancellare categorie del blog';
+$messages['update_global_article_category_desc'] = 'L\'utente può aggiornare e cancellare categorie articoli globali';
+$messages['update_global_settings_desc'] = 'L\'utente può aggiornare i settaggi del sito';
+$messages['update_locale_desc'] = 'L\'utente può aggiornare e cancellare le localizzazioni';
+$messages['update_permission_desc'] = 'L\'utente può aggiornare e cancellare i permessi';
+$messages['update_plugin_settings_desc'] = 'L\'utente può aggiornare i settaggi dei plugin';
+$messages['update_site_blog_desc'] = 'L\'utente può aggiornare e cancellare blog';
+$messages['update_template_desc'] = 'L\'utente può aggiornare e cancellare gli stili';
+$messages['update_user_desc'] = 'L\'utente può aggiornare e cancellare gli utenti';
+$messages['view_blog_categories'] = 'L\'utente può vedere le categorie del blog';
+$messages['view_global_article_categories_desc'] = 'L\'utente può vedere le categorie articoli globali';
+$messages['view_global_settings_desc'] = 'L\'utente può vedere i settaggi del sito';
+$messages['view_locales_desc'] = 'L\'utente può vedere le localizzazioni';
+$messages['view_permissions_desc'] = 'L\'utente può vedere i permessi';
+$messages['view_plugins_desc'] = 'L\'utente può vedere i plugin installati';
+$messages['view_site_blogs_desc'] = 'L\'utente può vedere i blog del sito';
+$messages['view_templates_desc'] = 'L\'utente può vedere gli stili';
+$messages['view_users_desc'] = 'L\'utente può vedere gli utenti';
+$messages['update_blog_stats_desc'] = 'L\'utente può cancellare le origini (referrers)';
+$messages['manage_admin_plugins_desc'] = 'Controlla le opzioni solo per amministratori dei plugin';
+
+$messages['summary_welcome_msg'] = 'Benvenuto, %s!';
+$messages['summary_go_to_admin'] = 'Vai all\'interfaccia di amministrazione';
+
+$messages['error_can_only_update_own_articles'] = 'I tuoi permessi ti consentono di modificare solo i tuoi articoli.';
+$messages['update_all_user_articles_desc'] = 'Permetti di modificare articoli di altri utenti';
+$messages['error_can_only_view_own_articles'] = 'I tuoi permessi ti consentono di vedere solo i tuoi articoli.';
+$messages['view_all_user_articles_desc'] = 'Permetti di vedere articoli di altri utenti';
+$messages['error_fetching_permission'] = 'Si è verificato un errore caricando i permessi';
+$messages['editPermission'] = 'Modifica permessi';
+$messages['error_updating_permission'] = 'Si è verificato un errore aggiornando i permessi';
+$messages['permission_updated_ok'] = 'Permessi aggiornati con successo';
+$messages['error_adding_permission'] = 'Si è verificato un errore aggiungendo i permessi';
+$messages['error_cannot_login'] = 'Spiacente, non ti è permesso eseguire il log in';
+$messages['admin_user_permissions_help'] = 'Permessi a livello di sito concessi a quest\'utente';
+
+$messages['permissions'] = 'Permessi';
+$messages['blog_user_permissions_help'] = 'Permessi assegnati a quest\'utente in questo blog';
+$messages['pluginSettings'] = 'Opzioni Plugin';
+$messages['user_can_override'] = 'Users can override';
+$messages['user_cannot_override'] = 'Users cannot override';
+$messages['global_plugin_settings_saved_ok'] = 'Opzioni del plugin globale salvati con successo';
+$messages['error_updating_global_plugin_settings'] = 'Si è verificato un errore salvando le opzioni del plugin globale';
+$messages['error_incorrect_value'] = 'Il valore non è corretto';
+$messages['parameter'] = 'Parametri';
+$messages['value'] = 'Valore';
+$messages['override'] = 'Override';
+$messages['editCustomField'] = 'Modifica campo personalizzato';
+$messages['view_blog_stats_desc'] = 'Guarda le statistiche del blog';
+$messages['manage_plugins_desc'] = 'Controlla i plugin del blog';
+
+$messages['error_global_category_has_articles'] = 'The global article category cannot be deleted because it still has articles';
+$messages['error_adding_global_article_category'] = 'There was an error adding the global article category';
+
+$messages['temp_folder_reset_ok'] = 'La cartella temporanea è stata svuotata con successo';
+$messages['cleanup_temp_help'] = 'Questo innescherà una pulizia della cartella temporanea, forzando la cache dei dati e degli stili ad essere azzerata per tutti i blog.';
+$messages['cleanup_temp'] = 'Svuota la cartella temporanea';
+
+$messages['comment_only_auth_users'] = 'Solo gli utenti autenticati possono commentare';
+$messages['comment_only_auth_users_help'] = 'Solo gli utenti che hanno un nome utente e una password validi e hanno fatto il login saranno abilitati a lasciare commenti';
+$messages['show_comments_max'] = 'Commenti per pagina';
+$messages['show_comments_max_help'] = 'Numero massimo di commenti per pagina [ Predefinito = 20 ]';
+$messages['hard_show_comments_max_help'] = 'Limite massimo di commenti per pagina [ Predefinito = 50 ]';
+
+$messages['error_resource_not_whitelisted_extension'] = 'Il tipo di file è tra quelli non permessi.';
+$messages['help_upload_allowed_files'] = 'Elenco (separato da spazi) di tipi di file che sono permessi negll\'upload. L\'uso di \'*\' e \'?\' è permesso. Se entrambi upload_forbidden_file e quest\'opzione sono configurati, la whitelist (upload_allowed_files) avrà la precedenza rispetto alla blacklist [Predefinito = nulla]';
+
+$messages['help_template_load_order'] = 'Definisce in che ordine i file degli stili sono cercati e caricati. Se viene usato \'Carica prima lo stile predefinito\', LifeType cercherà di trovare i file prima nella cartella templates/default/ e se non disponibili qui, allora caricherà i file dello stile dell\'utente. Se lo stesso file dello stile esiste in entrambi i posti, quello predefinito avrà la precedenza. Se impostato a \'Carica prima lo stile dell\'utente\', gli stili dell\'utente saranno sempre caricati per primi e se non disponibili, allora quelli predefiniti saranno usati. Se lo stesso file dello stile esiste in entrambi i posti, lo stile dell\'utente ha sempre la precedenza.';
+$messages['template_load_order_user_first'] = 'Carica prima lo stile predefinito';
+$messages['template_load_order_default_first'] = 'Carica prima lo stile dell\'utente';
+
+$messages['editBlogUser'] = 'Modifica utenti blog';
+
+$messages['help_summary_service_name'] = 'Nome del tuo sito/servizio che apparirà in diversi punti nella pagina principale così come nei feed RSS [ Predefinito = vuoto ]';
+
+$messages['register_step2_help'] = 'Fornisci le informazioni richieste per creare il blog.';
+
+$messages['create_date'] = 'Data di creazione';
+
+$messages['insert_media'] = 'Inserisci media';
+$messages['insert_more'] = 'Togli il link "(Continua)"';
+
+$messages['purging_please_wait'] = 'Per favore attendi mentre i dati vengono eliminati. Questa pagina continuerà ad aggiornarsi da sola finchè tutti i dati saranno processati, per favore non provare a fermare questo processo';
+
+$messages['error_cannot_delete_last_blog_category'] = 'Non puoi cancellare l\'ultima categoria del blog.';
+
+$messages['help_logout_destination_url'] = 'URL a cui gli utenti saranno indirizzati quando faranno il log out dal servizio, al posto della pagina di login dell\'interfaccia di amministrazione [ Predefinito = vuoto ]';
+$messages['help_default_global_article_category_id'] = 'Identificatore della categoria globale degli articoli predefinita [ Predefinito = vuoto ]';
+$messages['help_blog_does_not_exist_url'] = 'URL a cui gli utenti saranno indirizzati quando proveranno ad aprire un blog che non esiste, al posto di essere indirizzati al blog predefinito del sito [ Predefinito = vuto ]';
+
+/// missing strings ///
+$messages['comment_no_topic'] = 'Nessun argomento';
+$messages['purging_error'] = 'Si è verificato un errore durante l\'eliminazione dei dati';
+$messages['error_invalid_blog_name'] = 'Il nome del blog non è valido';
+$messages['help_forbidden_blognames'] = 'Lista di nomi separati da uno spazio che non sono validi come nome per i blog. E\' possibile usare espressioni regolari al posto dei nomi. [ Predefinito = (vuoto) ]';
+$messages['posts_updated_ok'] = '%s articoli aggiornati con successo';
+$messages['error_updating_post2'] = 'Si è verificato un errore aggiornando l\'articolo con l\'identificatore %s';
+$messages['resources_updated_ok'] = '% risorse aggiornate con successo';
+$messages['error_updating_resource2'] = 'Si è verificato un errore aggiornando la risorsa con l\'identificatore %s';
+$messages['albums_updated_ok'] = '%s album aggiornati con successo';
+$messages['error_updating_album2'] = 'Si è verificato un errore aggiornando l\'albumo con l\'identificatore %s';
+$messages['links_updated_ok'] = '%s link aggiornati con successo';
+$messages['error_updating_link2'] = 'Si è verificato un errore aggiornando il link con l\'identificatore %s';
+$messages['version'] = 'Versione';
+$messages['error_resources_disabled'] = 'Spiacenti, il supporto per il caricamento di nuove risorse è stato disabilitato in questo sito';
+$messages['help_login_admin_panel'] = 'Clicca sul nome del blog per entrare nella pagina di amministrazione.';
+
+$messages['blog_updated_ok'] = 'Blog "%s" was successfully updated';
+$messages['blogs_updated_ok'] = '%s blogs were successfully updated';
+$messages['error_updating_blog2'] = 'There was an error updating the blog whose identifier is "%s"';
+$messages['error_updating_blog'] = 'There was an error updating blog "%s"';
+
+$messages['error_updating_user'] = 'There was an error updating user "%s".';
+$messages['user_updated_ok'] = 'User "%s" was successfully updated.';
+$messages['users_updated_ok'] = '%s users were successfully updated';
+$messages['eror_updating_user2'] = 'There was an error updating user with identifier "%s"';
+
+$messages['error_select_status'] = 'Please select a valid status';
+?>
\ No newline at end of file

Copied: plog/trunk/locale/admin/locale_nl_NL.php (from rev 5155, plog/branches/lifetype-1.2/locale/admin/locale_nl_NL.php)
===================================================================
--- plog/trunk/locale/admin/locale_nl_NL.php	                        (rev 0)
+++ plog/trunk/locale/admin/locale_nl_NL.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,1238 @@
+<?php
+
+/////////////////                                          //////////////////
+///////////////// STRINGS FOR THE ADMINISTRATION INTERFACE //////////////////
+/////////////////                                          //////////////////
+
+// login page
+$messages['login'] = 'Login';
+$messages['welcome_message'] = 'Welkom bij LifeType';
+$messages['error_incorrect_username_or_password'] = 'Foutieve inlognaam of wachtwoord.';
+$messages['error_dont_belong_to_any_blog'] = 'Sorry, je bent nog niet aan een blog gekoppeld.';
+$messages['logout_message'] = 'Je bent uitgelogd..';
+$messages['logout_message_2'] = 'Klik <a href="%1$s">hier</a> om naar %2$s te gaan</a>.';
+$messages['error_access_forbidden'] = 'Geen toegang. Je moet eerst hier inloggen.';
+$messages['username'] = 'Inlognaam';
+$messages['password'] = 'Wachtwoord';
+
+// dashboard
+$messages['dashboard'] = 'Onderhoud';
+$messages['recent_articles'] = 'Meest recente artikelen';
+$messages['recent_comments'] = 'Meest recente commentaar';
+$messages['recent_trackbacks'] = 'Meest recente Trackbacks';
+$messages['blog_statistics'] = 'Blog statistieken';
+$messages['total_posts'] = 'Aantal artikelen';
+$messages['total_comments'] = 'Aantal commentaar';
+$messages['total_trackbacks'] = 'Aantal Trackbacks';
+$messages['total_viewed'] = 'Aantal bekeken documenten';
+$messages['in'] = 'in';
+
+// menu options
+$messages['newPost'] = 'Nieuw Bericht';
+$messages['Manage'] = 'Beheer';
+$messages['managePosts'] = 'Beheer Berichten';
+$messages['editPosts'] = 'Berichten';
+$messages['editArticleCategories'] = 'Categorieen';
+$messages['newArticleCategory'] = 'Nieuwe Categorie';
+$messages['manageLinks'] = 'Beheer Uw Links';
+$messages['editLinks'] = 'Links';
+$messages['newLink'] = 'Nieuwe Link';
+$messages['editLink'] = 'Verander Link';
+$messages['editLinkCategories'] = 'Link Categorie';
+$messages['newLinkCategory'] = 'Nieuw Link Categorie';
+$messages['editLinkCategory'] = 'Verander Link Categorie';
+$messages['manageCustomFields'] = 'Beheer Eigen Velden';
+$messages['blogCustomFields'] = 'Eigen Velden';
+$messages['newCustomField'] = 'Nieuwe Eigen Velden';
+$messages['resourceCenter'] = 'Bestanden Centrum';
+$messages['resources'] = 'Bestanden';
+$messages['newResourceAlbum'] = 'Nieuwe Album';
+$messages['newResource'] = 'Nieuw Bestand';
+$messages['controlCenter'] = 'Controle Centrum';
+$messages['manageSettings'] = 'Instellingen';
+$messages['blogSettings'] = 'Blog Instellingen';
+$messages['userSettings'] = 'Gebruikers Instellingen';
+$messages['pluginCenter'] = 'Plugin Centrum';
+$messages['Stats'] = 'Statistieken';
+$messages['manageBlogUsers'] = 'Beheer Blog Gebruikers';
+$messages['newBlogUser'] = 'Nieuwe Blog Gebruiker';
+$messages['showBlogUsers'] = 'Blog Gebruikers';
+$messages['manageBlogTemplates'] = 'Blog Templates';
+$messages['newBlogTemplate'] = 'Nieuwe Blog Template';
+$messages['blogTemplates'] = 'Blog Templates';
+$messages['adminSettings'] = 'Administratie';
+$messages['Users'] = 'Gebruikers';
+$messages['createUser'] = 'Maak Een Gebruiker Aan';
+$messages['editSiteUsers'] = 'Site Gebruikers';
+$messages['Blogs'] = 'Beheer Blogs';
+$messages['createBlog'] = 'Maak Een Blog Aan';
+$messages['editSiteBlogs'] = 'Blogs';
+$messages['Locales'] = 'Beheer Locales';
+$messages['newLocale'] = 'Nieuwe Locale';
+$messages['siteLocales'] = 'Site Locales';
+$messages['Templates'] = 'Beheer Templates';
+$messages['newTemplate'] = 'Nieuwe Template';
+$messages['siteTemplates'] = 'Site Templates';
+$messages['GlobalSettings'] = 'Globale Instellingen';
+$messages['editSiteSettings'] = 'Algemeen';
+$messages['summarySettings'] = 'Samenvatting';
+$messages['templateSettings'] = 'Templates';
+$messages['urlSettings'] = 'URLs';
+$messages['emailSettings'] = 'Email';
+$messages['uploadSettings'] = 'Uploads';
+$messages['helpersSettings'] = 'Externe Helpers';
+$messages['interfacesSettings'] = 'Interfaces';
+$messages['securitySettings'] = 'Veiligheid';
+$messages['bayesianSettings'] = 'Bayesian Filter';
+$messages['resourcesSettings'] = 'Bestanden';
+$messages['searchSettings'] = 'Zoeken';
+$messages['cleanUpSection'] = 'Opruimen';
+$messages['cleanUp'] = 'Opruimen';
+$messages['editResourceAlbum'] = 'Pas Album Aan';
+$messages['resourceInfo'] = 'Pas Bestanden Aan';
+$messages['editBlog'] = 'Pas Blog Aan';
+$messages['Logout'] = 'Uitloggen';
+
+// new post
+$messages['newPost'] = 'Nieuw document';
+$messages['Manage'] = 'Beheer documenten';
+$messages['managePosts'] = 'Beheer documenten';
+$messages['editPosts'] = 'Documenten';
+$messages['editArticleCategories'] = 'Categorieen';
+$messages['newArticleCategory'] = 'Nieuwe categorie';
+$messages['manageLinks'] = 'Beheer links';
+$messages['editLinks'] = 'Links';
+$messages['newLink'] = 'Nieuwe link';
+$messages['editLink'] = 'Wijzig link';
+$messages['editLinkCategories'] = 'Link categorie';
+$messages['newLinkCategory'] = 'Nieuwe link categorie';
+$messages['editLinkCategory'] = 'Wijzig link categorie';
+$messages['manageCustomFields'] = 'Beheer eigen velden';
+$messages['blogCustomFields'] = 'Eigen velden';
+$messages['newCustomField'] = 'Nieuw eigen veld';
+$messages['resourceCenter'] = 'Bestandsbeheer';
+$messages['resources'] = 'Bestanden';
+$messages['newResourceAlbum'] = 'Nieuw album';
+$messages['newResource'] = 'Nieuw bestand';
+$messages['controlCenter'] = 'Beheer blog';
+$messages['manageSettings'] = 'Instellingen';
+$messages['blogSettings'] = 'Blog instellingen';
+$messages['userSettings'] = 'Gebruikersinstellingen';
+$messages['pluginCenter'] = 'Plugin beheer';
+$messages['Stats'] = 'Statistieken';
+$messages['manageBlogUsers'] = 'Beheer blog gebruikers';
+$messages['newBlogUser'] = 'Nieuwe blog gebruiker';
+$messages['showBlogUsers'] = 'Blog gebruikers';
+$messages['manageBlogTemplates'] = 'Beheer blog templates';
+$messages['newBlogTemplate'] = 'Nieuwe blog template';
+$messages['blogTemplates'] = 'Blog templates';
+$messages['adminSettings'] = 'Site beheer';
+$messages['Users'] = 'Gebruikers';
+$messages['createUser'] = 'Maak gebruiker aan';
+$messages['editSiteUsers'] = 'Site gebruikers';
+$messages['Blogs'] = 'Beheer blogs';
+$messages['createBlog'] = 'Maak blog aan';
+$messages['editSiteBlogs'] = 'Blogs';
+$messages['Locales'] = 'Beheer locales';
+$messages['newLocale'] = 'Nieuwe locale';
+$messages['siteLocales'] = 'Site locales';
+$messages['Templates'] = 'Beheer templates';
+$messages['newTemplate'] = 'Nieuwe template';
+$messages['siteTemplates'] = 'Site templates';
+$messages['GlobalSettings'] = 'Site instellingen';
+$messages['editSiteSettings'] = 'Algemeen';
+$messages['summarySettings'] = 'Samenvatting';
+$messages['templateSettings'] = 'Templates';
+$messages['urlSettings'] = 'URLs';
+$messages['emailSettings'] = 'E-mail';
+$messages['uploadSettings'] = 'Uploads';
+$messages['helpersSettings'] = 'Externe helpers';
+$messages['interfacesSettings'] = 'Interfaces';
+$messages['securitySettings'] = 'Beveiliging';
+$messages['bayesianSettings'] = 'Bayesiaans filter';
+$messages['resourcesSettings'] = 'Bestanden';
+$messages['searchSettings'] = 'Zoeken';
+$messages['cleanUpSection'] = 'Opschonen';
+$messages['cleanUp'] = 'Opschonen';
+$messages['editResourceAlbum'] = 'Wijzig album';
+$messages['resourceInfo'] = 'Wijzig bestand';
+$messages['editBlog'] = 'Wijzig blog';
+$messages['Logout'] = 'Uitloggen';
+
+// send trackbacks
+$messages['error_sending_trackbacks'] = 'Er is een fout opgetreden bij het versturen van de volgende Trackbacks';
+$messages['send_trackbacks_help'] = 'Selecteer de URLs waarnaar de Trackback pings moeten worden verstuurd. Controleer dat deze sites Trackback ondersteunt.';
+$messages['send_trackbacks'] = 'Verstuur Trackbacks';
+$messages['ping_selected'] = 'Ping geselecteerd';
+$messages['trackbacks_sent_ok'] = 'Trackbacks zijn naar de geselecteerde URLs verstuurd';
+
+// posts page
+$messages['show_by'] = 'Sorteer op';
+$messages['category'] = 'Categorie';
+$messages['author'] = 'Auteur';
+$messages['post_status_all'] = 'Alles';
+$messages['author_all'] = 'Allen';
+$messages['search_terms'] = 'Zoekopdracht';
+$messages['show'] = 'Toon';
+$messages['delete'] = 'Verwijder';
+$messages['actions'] = 'Acties';
+$messages['all'] = 'Alles';
+$messages['category_all'] = 'Allen';
+$messages['error_incorrect_article_id'] = 'Foutief artikel ID';
+$messages['error_deleting_article'] = 'Fout tijdens het verwijderen van document "%s"';
+$messages['article_deleted_ok'] = 'Document "%s" verwijderd';
+$messages['articles_deleted_ok'] = '%s documenten verwijderd';
+$messages['error_deleting_article2'] = 'Fout tijdens het verwijderen van het document met ID  "%s"';
+
+// edit post page
+$messages['update'] = 'Wijzigen';
+$messages['editPost'] = 'Wijzig document';
+$messages['error_fetching_post'] = 'Fout tijdens ophalen van het document';
+$messages['post_updated_ok'] = 'Document "%s" is gewijzigd';
+$messages['error_updating_post'] = 'Fout tijdens wijzigen van het document';
+$messages['notification_added'] = 'Er wordt een bericht verstuurd zodra er commentaar of een Trackback is geplaatst';
+$messages['notification_removed'] = 'Er wordt geen bericht verstuurd na plaatsing van commentaar of Trackbacks';
+
+// post comments
+$messages['url'] = 'URL';
+$messages['comment_status_all'] = 'Alles';
+$messages['comment_status_spam'] = 'Spam';
+$messages['comment_status_nonspam'] = 'geen spam';
+$messages['error_fetching_comments'] = 'Fout tijdens ophalen van commentaar';
+$messages['error_deleting_comments'] = 'Fout tijdens verwijderen van commentaar, of niets geselecteerd';
+$messages['comment_deleted_ok'] = 'Commentaar "%s" verwijderd';
+$messages['comments_deleted_ok'] = '%s stuks commentaar verwijderd';
+$messages['error_deleting_comment'] = 'Fout tijdens verwijderen van commentaar "%s"';
+$messages['error_deleting_comment2'] = 'Fout tijdens verwijderen van commentaar met ID %s';
+$messages['editComments'] = 'Commentaar';
+$messages['mark_as_spam'] = 'Markeer als spam';
+$messages['mark_as_no_spam'] = 'Markeer als geen spam';
+$messages['error_incorrect_comment_id'] = 'Het commentaar ID is niet correct';
+$messages['error_marking_comment_as_spam'] = 'Fout tijdens het markeren als spam';
+$messages['comment_marked_as_spam_ok'] = 'Het commentaar is gemarkeerd als spam';
+$messages['error_marking_comment_as_nonspam'] = 'Fout tijdens het markeren als geen spam';
+$messages['comment_marked_as_nonspam_ok'] = 'Deze commentaar is gemarkeerd als geen spam';
+$messages['comment_no_topic'] = 'Geen onderwerp';
+
+// post trackbacks
+$messages['blog'] = 'Blog';
+$messages['excerpt'] = 'Samenvatting';
+$messages['error_fetching_trackbacks'] = 'Fout tijdens het ophalen van Trackbacks';
+$messages['error_deleting_trackbacks'] = 'Fout tijdens verwijderen van Trackbacks, of geen items geselecteerd';
+$messages['error_deleting_trackback'] = 'Fout tijdens verwijderen van Trackback "%s"';
+$messages['error_deleting_trackback2'] = 'Fout tijdens verwijderen van Trackback met ID "%s"';
+$messages['trackback_deleted_ok'] = 'Trackback "%s" verwijderd';
+$messages['trackbacks_deleted_ok'] = '%s Trackbacks verwijderd';
+$messages['editTrackbacks'] = 'Trackbacks';
+
+// post statistics
+$messages['referrer'] = 'Verwijzing';
+$messages['hits'] = 'Hits';
+$messages['error_no_items_selected'] = 'Er zijn geen items geselecteerd om te verwijderen';
+$messages['error_deleting_referrer'] = 'Fout tijdens verwijderen van verwijzing "%s"';
+$messages['error_deleting_referrer2'] = 'Fout tijden verwijderen van de verwijzing met ID "%s"';
+$messages['referrer_deleted_ok'] = 'Verwijzing "%s" verwijderd';
+$messages['referrers_deleted_ok'] = '%s verwijzingen verwijderd';
+
+// categories
+$messages['posts'] = 'Documenten';
+$messages['show_in_main_page'] = 'Toon op de voorpagina';
+$messages['error_incorrect_category_id'] = 'Incorrecte categorie of geen items geselecteerd';
+$messages['error_category_has_articles'] = 'De categorie "%s" wordt momenteel gebruikt door sommige artikelen. Deze artikelen moeten eerst worden aangepast voordat de categorie verwijderd kan worden';
+$messages['category_deleted_ok'] = 'Categorie "%s" verwijderd';
+$messages['categories_deleted_ok'] = '%s categorieen verwijderd';
+$messages['error_deleting_category'] = 'Fout tijdens verwijderen van categorie "%s"';
+$messages['error_deleting_category2'] = 'Fout tijdens verwijderen van de categorie met ID "%s"';
+$messages['yes'] = 'Ja';
+$messages['no'] = 'Nee';
+
+// new category
+$messages['name'] = 'Naam';
+$messages['category_name_help'] = 'Naam waaronder de categorie wordt weergegeven';
+$messages['description'] = 'Omschrijving';
+$messages['category_description_help'] = 'Waarvoor wordt deze categorie gebruikt';
+$messages['show_in_main_page_help'] = 'Moeten documenten in deze categorie worden getoond op de hoofdpagina, of alleen als er in deze categorie wordt gekeken';
+$messages['error_empty_name'] = 'Voer een naam in';
+$messages['error_empty_description'] = 'Voer een omschrijving in';
+$messages['error_adding_article_category'] = 'Fout tijdens toevoegen van de categorie. Controleer het ingevoerde en probeer het opnieuw';
+$messages['category_added_ok'] = 'Categorie "%s" is toegevoegd aan de blog';
+$messages['add'] = 'Toevoegen';
+$messages['reset'] = 'Opnieuw';
+
+// update category
+$messages['error_updating_article_category'] = 'Fout tijdens aanpassen van de categorie';
+$messages['error_fetching_category'] = 'Fout tijdens ophalen van categorieen';
+$messages['article_category_updated_ok'] = 'Categorie "%s" is aangepast';
+
+// links
+$messages['feed'] = 'Verkort lezen';
+$messages['error_no_links_selected'] = 'Het link ID is incorrect of geen items geselecteerd';
+$messages['error_incorrect_link_id'] = 'Het link ID is incorrect';
+$messages['error_removing_link'] = 'Fout tijdens verwijderen van link "%s"';
+$messages['error_removing_link2'] = 'Fout tijdens verwijderen van de link met ID "%s"';
+$messages['link_deleted_ok'] = 'Link "%s" is verwijderd';
+$messages['links_deleted_ok'] = '%s links verwijderd';
+
+// new link
+$messages['link_name_help'] = 'Naam voor deze link';
+$messages['link_url_help'] = 'Adres waar de link naar verwijst';
+$messages['link_description_help'] = 'Korte omschrijving van de link';
+$messages['link_feed_help'] = 'Er kan ook een link naar één van de RSS of Atom feeds worden opgegeven';
+$messages['link_category_help'] = 'Kies een categorie voor deze link';
+$messages['error_adding_link'] = 'Fout tijdens toevoegen van de link. Controleer de gegevens en probeer het opnieuw';
+$messages['error_invalid_url'] = 'Het adres is incorrect';
+$messages['link_added_ok'] = 'Link "%s" is toegevoegd';
+$messages['bookmarkit_to_lifetype'] = "Sla op in LifeType!";
+
+// update link
+$messages['error_updating_link'] = 'Fout tijdens het aanpassen van de link. Controleer de gegevens en probeer het opnieuw';
+$messages['error_fetching_link'] = 'Fout tijdens ophalen van de link';
+$messages['link_updated_ok'] = 'Link "%s" is aangepast';
+
+// link categories
+$messages['links'] = 'Links';
+$messages['error_invalid_link_category_id'] = 'De link categorie is incorrect of niet geselecteerd';
+$messages['error_links_in_link_category'] = 'Link categorie "%s" wordt gebruikt door sommige links. Pas deze links eerst aan en probeer het opnieuw';
+$messages['error_removing_link_category'] = 'Fout tijdens verwijderen van link categorie "%s"';
+$messages['link_category_deleted_ok'] = 'Link categorie "%s" verwijderd';
+$messages['link_categories_deleted_ok'] = '%s link categorieen verwijderd';
+$messages['error_removing_link_category2'] = 'Fout tijdens verwijderen van link categorie met ID "%s"';
+
+// new link category
+$messages['link_category_name_help'] = 'Naam voor deze link categorie';
+$messages['error_adding_link_category'] = 'Fout tijdens toevoegen van de link categorie';
+$messages['link_category_added_ok'] = 'Link categorie "%s" is toegevoegd';
+
+// edit link category
+$messages['error_updating_link_category'] = 'Fout tijdens aanpassen van de link categorie. Controleer de gegevens en probeer het opnieuw.';
+$messages['link_category_updated_ok'] = 'Link categorie "%s" aangepast';
+$messages['error_fetching_link_category'] = 'Fout tijdens ophalen van de link categorie';
+
+// custom fields
+$messages['type'] = 'Type';
+$messages['hidden'] = 'Verborgen';
+$messages['fields_deleted_ok'] = '%s eigen velden verwijderd';
+$messages['field_deleted_ok'] = 'Eigen veld "%s" verwijderd';
+$messages['error_deleting_field'] = 'Fout tijdens verwijderen eigen veld "%s"';
+$messages['error_deleting_field2'] = 'Fout tijdens verwijderen eigen veld met ID "%s"';
+$messages['error_incorrect_field_id'] = 'De naam van het eigen veld is incorrect';
+
+
+// new custom field
+$messages['field_name_help'] = 'Naam die wordt gebruikt om naar dit veld te verwijzen';
+$messages['field_description_help'] = 'Korte omschrijving van het eigen veld, dat wordt getoond bij het toevoegen of aanpassen van berichten';
+$messages['field_type_help'] = 'Kies één van de veldtypes';
+$messages['field_hidden_help'] = 'Verborgen velden worden niet getoond bij het aanmaken of wijzigen van berichten. Deze worden voornamelijk gebruikt door plugins';
+$messages['error_adding_custom_field'] = 'Fout tijdens toevoegen van het eigen veld. Controleer de gegevens en probeer het opnieuw';
+$messages['custom_field_added_ok'] = 'Eigen veld "%s" toegevoegd';
+$messages['text_field'] = 'Tekstveld';
+$messages['text_area'] = 'Tekstblok';
+$messages['checkbox'] = 'Keuzeveld';
+$messages['date_field'] = 'Datumveld';
+
+// edit custom field
+$messages['error_fetching_custom_field'] = 'Fout tijdens ophalen van het eigen veld';
+$messages['error_updating_custom_field'] = 'Fout tijdens aanpassen van het eigen veld. Controleer de gegevens en probeer het opnieuw';
+$messages['custom_field_updated_ok'] = 'Eigen veld "%s" is aangepast';
+
+// resources
+$messages['root_album'] = 'Hoofdalbum';
+$messages['num_resources'] = 'Aantal bestanden';
+$messages['total_size'] = 'Totale grootte';
+$messages['album'] = 'Album';
+$messages['error_incorrect_album_id'] = 'Het album ID is niet correct';
+$messages['error_base_storage_folder_missing_or_unreadable'] = 'Het is niet mogelijk om de noodzakelijke mappen aan te maken. Hiervoor kunnen diverse redenen zijn, zoals een PHP installatie in safe mode, of onvoldoende rechten op het systeem. Er kan geprobeerd worden om deze operatie zelf uit te voeren, door handmatig de volgende folders aan te maken: <br /><br />%s<br /><br />Als deze folders al bestaan, controleer dan dat de webserver in deze folders kan lezen en schrijven.';
+$messages['items_deleted_ok'] = '%s items verwijderd';
+$messages['error_album_has_children'] = 'Album "%s" heeft elementen in zich. Verwijderd deze eerst, en probeer het dan opnieuw';
+$messages['item_deleted_ok'] = 'Item "%s" verwijderd';
+$messages['error_deleting_album'] = 'Fout tijdens verwijderen van album "%s"';
+$messages['error_deleting_album2'] = 'Fout tijdens verwijderen van album met ID "%s"';
+$messages['error_deleting_resource'] = 'Fout tijdens verwijderen van bestand "%s"';
+$messages['error_deleting_resource2'] = 'Fout tijdens verwijderen van bestand met ID "%s"';
+$messages['error_no_resources_selected'] = 'Er zijn niets geselecteerd om te verwijderen';
+$messages['resource_deleted_ok'] = 'Bestand "%s" verwijderd';
+$messages['album_deleted_ok'] = 'Album "%s" verwijderd';
+$messages['add_resource'] = 'Voeg bestand toe';
+$messages['add_resource_preview'] = 'Voeg kleine thumbnail toe';
+$messages['add_resource_medium'] = 'Voeg middelgrote thumbnail toe';
+$messages['add_album'] = 'Voeg album toe';
+
+// new album
+$messages['album_name_help'] = 'Verkorte naam voor het nieuwe album';
+$messages['parent'] = 'Parent';
+$messages['no_parent'] = 'Geen parent';
+$messages['parent_album_help'] = 'Gebruik dit voor albums in albums, om zo beter bestanden te kunnen organiseren';
+$messages['album_description_help'] = 'Omschrijving van de inhoud van dit album';
+$messages['error_adding_album'] = 'Fout tijdens toevoegen van het album. Controleer de gegevens en probeer het opnieuw';
+$messages['album_added_ok'] = 'Album "%s" toegevoegd';
+
+// edit album
+$messages['error_incorrect_album_id'] = 'Het album ID is niet correct';
+$messages['error_fetching_album'] = 'Fout tijdens ophalen van het album';
+$messages['error_updating_album'] = 'Fout tijdens het aanpassen van het album. Controleer de gegevens en probeer het opnieuw';
+$messages['album_updated_ok'] = 'Album "%s" aangepast';
+$messages['show_album_help'] = 'Indien uitgeschakeld wordt het album niet getoond in de lijst van beschikbare albums voor deze blog';
+
+// new resource
+$messages['file'] = 'Bestand';
+$messages['resource_file_help'] = 'Bestand dat aan deze blog wordt toegevoegd. Klik op "Veld toevoegen" om meerdere bestanden ineens toe te voegen';
+$messages['add_field'] = 'Veld toevoegen';
+$messages['resource_description_help'] = 'Omschrijving van de inhoud van dit veld';
+$messages['resource_album_help'] = 'Kies het album waar dit bestand in wordt geplaatst';
+$messages['error_no_resource_uploaded'] = 'Er is geen bestand opgegeven om toe te voegen';
+$messages['resource_added_ok'] = 'Bestand "%s" toegevoegd';
+$messages['error_resource_forbidden_extension'] = 'Bestand niet toegevoegd omdat het type ervan niet is toegestaan';
+$messages['error_resource_too_big'] = 'Bestand niet toegevoegd omdat het te groot is';
+$messages['error_uploads_disabled'] = 'Bestand niet toegevoegd omdat deze functionaliteit is uitgeschakeld';
+$messages['error_quota_exceeded'] = 'Bestand niet toegevoegd omdat de toegewezen schijfruimte is overschreden';
+$messages['error_adding_resource'] = 'Fout tijdens toevoegen van het bestand';
+
+
+// edit resource
+$messages['editResource'] = 'Bestand aanpassen';
+$messages['resource_information_help'] = 'Hieronder kun je informatie over dit bestand terugvinden';
+$messages['information'] = 'Informatie';
+$messages['size'] = 'Grootte';
+$messages['format'] = 'Formaat';
+$messages['dimensions'] = 'Afmetingen';
+$messages['bits_per_sample'] = 'Bits per sample';
+$messages['sample_rate'] = 'Sample rate';
+$messages['number_of_channels'] = 'Aantal kanalen';
+$messages['legnth'] = 'Lengte';
+$messages['thumbnail_format'] = 'Thumbnail formaat';
+$messages['regenerate_preview'] = 'Herbereken preview';
+$messages['error_fetching_resource'] = 'Fout tijdens ophalen van het bestand';
+$messages['error_updating_resource'] = 'Fout tijdens aanpassen van het bestand';
+$messages['resource_updated_ok'] = 'Bestand "%s" aangepast';
+
+
+// blog settings
+$messages['blog_link'] = 'Blog link';
+$messages['blog_link_help'] = 'Permanente link naar deze blog';
+$messages['blog_name_help'] = 'Titel van deze blog';
+$messages['blog_description_help'] = 'Omschrijving van de inhoud van deze blog';
+$messages['language'] = 'Taal';
+$messages['blog_language_help'] = 'Gebruikte taal van deze blog, voor zowel de publieke als administratieve kant';
+$messages['max_main_page_items'] = 'Aantal items op de hoofdpagina';
+$messages['max_main_page_items_help'] = 'Aantal documenten dat minimaal op de hoofdpagina moet worden getoond';
+$messages['max_recent_items'] = 'Aantal recente items';
+$messages['max_recent_items_help'] = 'Maximum aantal documenten dat als recent op de hoofdpagina wordt getoond';
+$messages['template'] = 'Template';
+$messages['choose'] = 'Kies';
+$messages['blog_template_help'] = 'Template dat wordt gebruikt om de inhoud van deze blog weer te geven. Deze lijst bevat globale templates plus alle templates die voor deze blog zijn geupload';
+$messages['use_read_more'] = 'Gebruik "meer..." link in berichten';
+$messages['use_read_more_help'] = 'Indien ingeschakeld wordt alleen de tekst uit het bovenste tekstkader weergegeven op de hoofdpagina. Om de tekst uit het onderste tekstkader weer te geven wordt een "meer..." link onderaan het bericht toegevoegd';
+$messages['enable_wysiwyg'] = 'Gebruik de WYSIWYG invoermogelijkheid';
+$messages['enable_wysiwyg_help'] = 'Maakt gebruik van een krachtige ("What You See Is What You Get" berichteninvoer om berichten als tekst of HTML op te maken. Dit werkt alleen voor browsers vanaf Internet Explorer 5.5 of Mozilla/Firefox 1.3';
+$messages['enable_comments'] = 'Voeg commentaar toe';
+$messages['enable_comments_help'] = 'Maak commentaar standaard beschikbaar voor alle berichten. Dit kan later per bericht aan- of uitgeschakeld worden voor nieuwe of bestaande berichten';
+$messages['show_future_posts'] = 'Toon toekomstige berichten in de kalender';
+$messages['show_future_posts_help'] = 'Zorgt ervoor dat berichten met een plaatsingsdatum in de toekomst in de kalender zichtbaar zijn voor gebruikers';
+$messages['comments_order'] = 'Volgorde commentaar';
+$messages['comments_order_help'] = 'Volgorde waarop commentaar op de voorpagina getoond wordt';
+$messages['oldest_first'] = 'Oude berichten eerst';
+$messages['newest_first'] = 'Nieuwe berichten eerst';
+$messages['categories_order'] = 'Volgorde commentaar';
+$messages['categories_order_help'] = 'Volgorde waarop categorieen op de voorpagina getoond worden';
+$messages['most_recent_updated_first'] = 'Laatst aangepaste eerst';
+$messages['alphabetical_order'] = 'Alfabetisch, A eerst';
+$messages['reverse_alphabetical_order'] = 'Alfabetisch, Z eerst';
+$messages['most_articles_first'] = 'Meeste artikelen eerst';
+$messages['link_categories_order'] = 'Volgorde link categorieen';
+$messages['link_categories_order_help'] = 'Volgorde waarop link categorieen op de voorpagina worden getoond';
+$messages['most_links_first'] = 'Meeste links eerst';
+$messages['most_links_last'] = 'Meeste links laatst';
+$messages['time_offset'] = 'Tijd offset';
+$messages['time_offset_help'] = 'Tijdverschil in uren dat dynamisch aan elk bericht wordt toegevoegd';
+$messages['close'] = 'Sluiten';
+$messages['select'] = 'Kiezen';
+$messages['error_updating_settings'] = 'Fout tijdens aanpassen van de blog instellingen. Controleer de gegevens en probeer het opnieuw';
+$messages['error_invalid_number'] = 'Het nummer is niet correct';
+$messages['error_incorrect_time_offset'] = 'De tijd offset is niet correct';
+$messages['blog_settings_updated_ok'] = 'Blog instellingen aangepast';
+$messages['hours'] = 'Uur';
+
+// user settings
+$messages['username_help'] = 'Algemene gebruikersnaam. Deze kan niet worden aangepast';
+$messages['full_name'] = 'Volledige naam';
+$messages['full_name_help'] = 'De volledige naam van de gebruiker';
+$messages['password_help'] = 'Typ en bevestig een nieuw wachtwoord, of laat deze leeg als het niet gewijzigd hoeft te worden';
+$messages['confirm_password'] = 'Bevestig wachtwoord';
+$messages['email'] = 'E-mail';
+$messages['email_help'] = 'E-mail adres waar notificaties naartoe worden verstuurd';
+$messages['bio'] = 'Wie ben je';
+$messages['bio_help'] = 'Hier kun je een uitgebreide beschrijving en biografie van jezelf ingeven';
+$messages['picture'] = 'Foto';
+$messages['user_picture_help'] = 'Kies één van de geuploade bestanden als persoonlijke foto';
+$messages['error_invalid_password'] = 'Het wachtwoord is niet correct. Zorg dat het niet te kort is.';
+$messages['error_passwords_dont_match'] = 'De wachtwoorden komen niet overeen';
+$messages['error_updating_user_settings'] = 'Fout tijdens aanpassen van de gebruikergegevens. Controleer de gegevens en probeer het opnieuw';
+$messages['user_settings_updated_ok'] = 'Gebruikersinstellingen aangepast';
+$messages['resource'] = 'Bestand';
+
+// plugin centre
+$messages['identifier'] = 'ID';
+$messages['error_plugins_disabled'] = 'Sorry, Plugins zijn voor deze site uitgeschakeld.';
+
+// blog users
+$messages['revoke_permissions'] = 'Rechten intrekken';
+$messages['error_no_users_selected'] = 'Er zijn geen gebruikers geselecteerd';
+$messages['user_removed_from_blog_ok'] = 'Gebruiker "%s" heeft geen rechten meer om deze blog aan te passen';
+$messages['users_removed_from_blog_ok'] = '%s gebruikers hebben geen rechten meer om deze blog aan te passen';
+$messages['error_removing_user_from_blog'] = 'Fout tijdens verwijderen van rechten voor gebruiker "%s"';
+$messages['error_removing_user_from_blog2'] = 'Fout tijdens verwijderen van rechten van de gebruiker met ID "%s"';
+
+// new blog user
+$messages['new_blog_username_help'] = 'Gebruikersnaam van de persoon die je toegang tot deze blog wilt geven. Deze gebruikers krijgen alleen toegang tot de "Beheer" and "Bestanden" gedeelten.';
+$messages['send_notification'] = 'Stuur bericht';
+$messages['send_user_notification_help'] = 'Stuur een e-mail naar deze gebruiker';
+$messages['notification_text'] = 'Tekst voor dit bericht';
+$messages['notification_text_help'] = 'Tekst die aan dit bericht wordt toegevoegd';
+$messages['error_adding_user'] = 'Fout tijdens toekennen van rechten voor de gebruiker. Controleer de gegevens en probeer het opnieuw';
+$messages['error_empty_text'] = 'Voer een bericht in';
+$messages['error_adding_user'] = 'Fout tijdens toevoegen van de gebruiker. Controleer de gegevens en probeer het opnieuw';
+$messages['error_invalid_user'] = 'Gebruiker "%s" is niet toe te voegen of bestaat niet';
+$messages['user_added_to_blog_ok'] = 'Gebruiker "%s" heeft rechten tot deze blog gekregen';
+
+// blog templates
+$messages['error_no_templates_selected'] = 'Er zijn geen templated geselecteerd';
+$messages['error_template_is_current'] = 'Template "%s" kan niet worden verwijderd omdat deze nu in gebruik is';
+$messages['error_removing_template'] = 'Fout tijdens verwijderen van template "%s"';
+$messages['template_removed_ok'] = 'Template "%s" verwijderd';
+$messages['templates_removed_ok'] = '%s templates verwijderd';
+
+// new blog template
+$messages['template_installed_ok'] = 'Template "%s" is toegevoegd';
+$messages['error_installing_template'] = 'Fout tijdens installatie van template "%s"';
+$messages['error_missing_base_files'] = 'Sommige van de bestanden voor deze template ontbreken';
+$messages['error_add_template_disabled'] = 'Nieuwe templates kunnen niet worden toegevoegd omdat dit voor deze site is uitgeschakeld';
+$messages['error_must_upload_file'] = 'Er is geen template geupload';
+$messages['error_uploads_disabled'] = 'Uploads zijn voor deze site uitgeschakeld';
+$messages['error_no_new_templates_found'] = 'Geen nieuwe templates gevonden';
+$messages['error_template_not_inside_folder'] = 'Alle bestanden in een template moeten in één folder met de naam van die template worden geplaatst';
+$messages['error_missing_base_files'] = 'Enkele standaard bestanden voor deze template ontbreken';
+$messages['error_unpacking'] = 'Fout tijdens uitpakken van het bestand';
+$messages['error_forbidden_extensions'] = 'De template bevat bestanden met niet-toegestane extensies';
+$messages['error_creating_working_folder'] = 'Fout tijdens aanmaken van een tijdelijke map voor het uitpakken van de bestanden';
+$messages['error_checking_template'] = 'Fout tijdens controle van de template %s';
+$messages['template_package'] = 'Templatebestand';
+$messages['blog_template_package_help']  = 'Gebruik dit formulier om nieuwe templates te uploaden. Deze worden alleen beschikbaar voor deze blog. Als het niet mogelijk is om te uploaden via dit formulier kan het handmatig worden geplaatst in de <b>%s</b> map. Klik vervolgens op de "<b>Scan templates</b>" knop. SP Communitiez doorloopt deze folder en voegt automatisch alle nieuwe templates toe.';
+$messages['scan_templates'] = 'Scan templates';
+
+// site users
+$messages['user_status_active'] = 'Actief';
+$messages['user_status_disabled'] = 'Geblokkeerd';
+$messages['user_status_all'] = 'Alle';
+$messages['user_status_unconfirmed'] = 'Onbekend';
+$messages['error_invalid_user2'] = 'Gebruiker met ID "%s" bestaat niet';
+$messages['error_deleting_user'] = 'Fout tijdens blokkeren van gebruiker "%s"';
+$messages['user_deleted_ok'] = 'Gebruiker "%s" geblokkeerd';
+$messages['users_deleted_ok'] = '%s gebruikers geblokkeerd';
+
+// create user
+$messages['user_added_ok'] = 'Gebruiker "%s" aangemaakt';
+$messages['user_status_help'] = 'Huidige status voor deze gebruiker';
+$messages['user_blog_help'] = 'Blog die initieel aan deze gebruiker wordt toegewezen';
+$messages['none'] = 'Geen';
+
+// edit user
+$messages['error_invalid_user'] = 'Het gebruikers ID is niet correct of de gebruiker bestaat niet';
+$messages['error_updating_user'] = 'Fout tijdens aanpassen van gebruikersinstellingen. Controleer de gegevens en probeer het opnieuw';
+$messages['blogs'] = 'Blogs';
+$messages['user_blogs_helps'] = 'Blogs van deze gebruiker of waartoe deze toegang heeft';
+$messages['site_admin'] = 'Beheerder';
+$messages['site_admin_help'] = 'Bepaalt of deze gebruiker beheersrechten tot de site krijgt en daartoe toegang tot het beheersgedeelte, om zo de nodige beheerstaken uit te voeren.';
+$messages['user_updated_ok'] = 'Gebruiker "%s" aangepast';
+
+// site blogs
+$messages['blog_status_all'] = 'Alle';
+$messages['blog_status_active'] = 'Actief';
+$messages['blog_status_disabled'] = 'Geblokkeerd';
+$messages['blog_status_unconfirmed'] = 'Onbekend';
+$messages['owner'] = 'Eigenaar';
+$messages['quota'] = 'Limiet';
+$messages['bytes'] = 'bytes';
+$messages['error_no_blogs_selected'] = 'Geen blogs geselecteerd om te verwijderen';
+$messages['error_blog_is_default_blog'] = 'Blog "%s" kan niet worden verwijderd; het is de standaard blog';
+$messages['blog_deleted_ok'] = 'Blog "%s" verwijderd';
+$messages['blogs_deleted_ok'] = '%s blogs verwijderd';
+$messages['error_deleting_blog'] = 'Fout tijdens verwijderen van blog "%s"';
+$messages['error_deleting_blog2'] = 'Fout tijdens verwijderen van blog met ID "%s"';
+
+// create blog
+$messages['error_adding_blog'] = 'Fout tijdens toevoegen van de blog. Controleer de gegevens en probeer het opnieuw';
+$messages['blog_added_ok'] = 'Blog "%s" met succes toegevoegd';
+
+
+// edit blog
+$messages['blog_status_help'] = 'Blog status';
+$messages['blog_owner_help'] = 'Gebruiker die eigenaar van de blog is, met volledige controle over de blog';
+$messages['users'] = 'Gebruikers';
+$messages['blog_quota_help'] = 'Bestandslimiet in bytes. Zet op 0 voor ongelimiteerd of vul niets in voor de standaard limiet';
+$messages['edit_blog_settings_updated_ok'] = 'Blog "%s" is aangepast';
+$messages['error_updating_blog_settings'] = 'Fout tijdens aanpassen van blog "%s"';
+$messages['error_incorrect_blog_owner'] = 'De gebruiker opgegeven als blog eigenaar is incorrect';
+$messages['error_fetching_blog'] = 'Fout tijdens ophalen van bloggegevens';
+$messages['error_updating_blog_settings2'] = 'Fout tijdens aanpassen van de blog. Controleer de gegevens en probeer het opnieuw';
+$messages['add_or_remove'] = 'Toevoegen of verwijderen van gebruikers';
+
+// site locales
+$messages['locale'] = 'Locale';
+$messages['locale_encoding'] = 'Encoding';
+$messages['locale_deleted_ok'] = 'Locale "%s" verwijderd';
+$messages['error_no_locales_selected'] = 'Er zijn geen locales geselecteerd om te verwijderen';
+$messages['error_deleting_only_locale'] = 'De locale kan niet worden verwijderd omdat deze als enige is overgebleven';
+$messages['locales_deleted_ok']= '%s locales verwijderd';
+$messages['error_deleting_locale'] = 'Fout tijdens verwijderen van locale "%s"';
+$messages['error_locale_is_default'] = 'Locale "%s" kan niet worden verwijderd omdat dit de standaard locale voor nieuwe blogs is';
+
+// add locale
+$messages['error_invalid_locale_file'] = 'The locale file is incorrect';
+$messages['error_no_new_locales_found'] = 'Geen nieuwe locale bestanden gevonden';
+$messages['locale_added_ok'] = 'Locale "%s" toegevoegd';
+$messages['error_saving_locale'] = 'Fout tijdens opslaan van de nieuwe locale';
+$messages['scan_locales'] = 'Scan locales';
+$messages['add_locale_help'] = 'Gebruik dit formulier om een nieuwe locale te uploaden. Als het niet mogelijk is om dit via dit formulier te doen, voer het dan handmatig uit door het in de <b>./locales/</b> map te plaatsen, welke de standaard locatie voor locale bestanden is, en klik op de "<b>Scan locales</b>" knop. SP Communitiez doorzoekt deze folder en voegt dan automatich nieuw gevonden locales toe.';
+
+// site templates
+$messages['error_template_is_default'] = 'Template "%s" kan niet worden verwijderd omdat het de standaard template voor nieuwe blogs is';
+
+// add template
+$messages['global_template_package_help'] = 'Gebruik dit formulier om een nieuwe templates te uploaden. Als het niet mogelijk is om dit via dit formulier te doen, voer het dan handmatig uit door het in de <b>%s</b> map te plaatsen, welke de standaard locatie voor globaal beschikbare templates is, en klik op de "<b>Scan templates</b>" knop. SP Communitiez doorzoekt deze folder en voegt dan automatich nieuw gevonden templates toe.';
+
+// global settings
+$messages['site_config_saved_ok'] = 'Site instellingen opgeslagen';
+$messages['error_saving_site_config'] = 'Fout tijdens opslaan van site gegevens';
+/// general settings
+$messages['help_comments_enabled'] = 'Standaard toevoegen van commentaar aan nieuwe blogs [Standaard = Ja]';
+$messages['help_beautify_comments_text'] = 'Standaard opmaken van paragrafen en URL links in commentaarberichten [Standaard = Ja]';
+$messages['help_temp_folder'] = 'Map die SP Communitiez gebruikt om tijdelijke data op te slaan, zoals vertaalde templates. Gebruik een map die niet te benaderen is door de webserver voor extra beveiliging [Standaard = ./tmp]';
+$messages['help_base_url'] = 'Start-URL voor deze blog';
+$messages['help_subdomains_enabled'] = 'Ondersteuning voor subdomeinen. Zie de documentatie voor meer informatie hierover [Standaard = Nee]';
+$messages['help_include_blog_id_in_url'] = 'Alleen van toepassing wanneer subdomeinen worden gebruikt en "normale" URLs aangeschakeld zijn. Verplicht intern gegenereerde URLs die de "blogId" parameter niet tonen. Pas dit alleen aan als je zeker weet waar je mee bezig bent! [Standaard = Ja]';
+$messages['help_script_name'] = 'Vul hier iets in als index.php moet worden hernoemd naar een andere naam [Standaard = index.php]';
+$messages['help_show_posts_max'] = 'Maximum aantal berichten in de hoofdpagina als standaard voor nieuwe blogs [Standaard = 15]';
+$messages['help_recent_posts_max'] = 'Maximum aantal recente berichten in de hoofdpagina als standaard voor nieuwe blogs [Standaard = 10]';
+$messages['help_save_drafts_via_xmlhttprequest_enabled'] = 'Bepaalt of het opslaan van ontwerpdocumenten via Javascript en XmlHttpRequest gebruikt kan worden [Standaard = Ja]';
+$messages['help_locale_folder'] = 'Folder waar de locale bestanden worden opgeslagen [Standaard = ./locale]';
+$messages['help_default_locale'] = 'Standaard locale voor nieuwe blogs [Standaard = en_UK]';
+$messages['help_default_blog_id'] = 'Standaard blog ID dat wordt getoond als er geen wordt gespecificeerd [Standaard = 1]';
+$messages['help_default_time_offset'] = 'Standaard tijd-offset voor nieuwe blogs [Standaard = 0]';
+$messages['help_html_allowed_tags_in_comments'] = 'Lijst met HTML tags die toegestaan zijn in commentaar, gescheiden door spaties [Standaard = &lt;a&gt;&lt;i&gt;&lt;br&gt;&lt;br/&gt;&lt;b&gt;]';
+$messages['help_referer_tracker_enabled'] = 'Toestaan van de optie om referrers in de database op te slaan. Schakel dit uit voor een betere performance [Standaard = Ja]';
+$messages['help_show_more_enabled'] = 'Toestaan van de "Meer..." link voor nieuwe blogs [Standaard = Ja]';
+$messages['help_update_article_reads'] = 'Toestaan van het aanpassen van de lees-teller. Schakel dit uit voor een betere performance [Standaard = Ja]';
+$messages['help_update_cached_article_reads'] = 'Toestaan van het aanpassen van de lees-teller, zelfs wanneer caching is aangeschakeld [Standaard = Ja]';
+$messages['help_xmlrpc_ping_enabled'] = 'Toestaan dat XMLRPC pings worden verzonden naar sites die deze optie ondersteunen [Standaard = Nee]';
+$messages['help_send_xmlrpc_pings_enabled_by_default'] = 'Toestaan dat deze optie standaard wordt gebruikt bij het plaatsen of aanpassen van een artikel [Standaard = Ja]';
+$messages['help_xmlrpc_ping_hosts'] = 'URL verwijzing naar de XMLRPC interface voor sites die de XMLRPC ping specificatie ondersteunen. Plaats meerdere URLs op een nieuwe regel [Standaard = http://rpc.weblogs.com/RPC2]';
+$messages['help_trackback_server_enabled'] = 'Toestaan dat inkomen Trackbacks worden ontvangen [Standaard = Ja]';
+$messages['help_htmlarea_enabled'] = 'Toestaan dat de WYSIWYG editor standaard in nieuwe blogs wordt gebruikt [Standaard = Ja]';
+$messages['help_plugin_manager_enabled'] = 'Toestaan dat plugins worden gebruikt [Standaard = Ja]';
+$messages['help_minimum_password_length'] = 'Minimum password lengte [Standaard = 4]';
+$messages['help_xhtml_converter_enabled'] = 'Indien aangeschakeld zal SP Communitiez proberen alle HTML code in XHTML code om te zetten [Standaard = Ja]';
+$messages['help_xhtml_converter_aggressive_mode_enabled'] = 'Indien aangeschakeld zal SP Communitiez extra goed proberen om XHTML van HTML code te maken. Dit geeft een vergroot risico op fouten [Standaard = Nee]';
+$messages['help_session_save_path'] = 'Pad waar SP Communitiez session data opslaat via de PHP functie session_save_path(). Deze folder moet schrijfbaar zijn voor de webserver. Laat leeg om het standaard pad te gebruiken [Standaard = (leeg)]';
+// summary settings
+$messages['help_summary_page_show_max'] = 'Aantal items dat in de samenvattingspagina getoond wordt. Deze instelling geldt voor alle samengevatte lijsten (recente artikelen, meest actieve blogs etc) [Standaard = 10]';
+$messages['help_summary_items_per_page'] = 'Aantal blogs per pagina in de "Blogs lijst" sectie [Standaard = 25]';
+$messages['help_forbidden_usernames'] = 'Lijst van gebruikersnamen die niet geregistreerd mogen worden, gescheiden door een spatie [Standaard = admin www blog ftp]';
+$messages['help_force_one_blog_per_email_account'] = 'Beperk het aantal blogs tot één per e-mail account [Standaard = Nee]';
+$messages['help_summary_show_agreement'] = 'Toon een overeenkomsttekst en laat toekomstige gebruikers deze accepteren voorafgaand aan het registratieproces [Standaard = Ja]';
+$messages['help_need_email_confirm_registration'] = 'Laat gebruikers hun registratie bevestigen door op een link te klikken die hen via e-mail wordt toegestuurd [Standaard = Ja]';
+$messages['help_summary_disable_registration'] = 'Laat gebruikers nieuwe blogs op deze site aanmaken [Standaard = Ja]';
+// templates
+$messages['help_template_folder'] = 'Folder waar templates worden opgeslagen [Standaard = ./templates]';
+$messages['help_default_template'] = 'Standaard template voor nieuwe blogs [Standaard = standard]';
+$messages['help_users_can_add_templates'] = 'Sta toe dat gebruikers hun eigen templates uploaden [Standaard = Ja]';
+$messages['help_template_compile_check'] = 'Controleer regelmatig of templates zijn aangepast, en gebruik deze wanneer dat het geval is. Schakel dit uit voor een betere performance [Standaard = Ja]';
+$messages['help_template_cache_enabled'] = 'Schakel template caching in. Dit zorgt ervoor dat er geen gegevens uit de database hoeven worden opgehaald en templates niet opnieuw vertaald te hoeven worden [Standaard = Ja]';
+$messages['help_template_cache_lifetime'] = 'Tijdsduur in seconden voor de template cache. Kies -1 om de cache zoveel mogelijk te benutten. Als de waarde op 0 staat, wordt caching uitgeschakeld. Het wordt echter aangeraden om in plaats daarvan template_cache_enabled op "Nee" te zetten [Standaard = 0]';
+$messages['help_template_http_cache_enabled'] = 'Schakel ondersteuning voor HTTP conditional requests in. Dit zorgt ervoor dat SP Communitiez de "If-Modified-Since" HTTP header gebruikt en alleen gegevens verstuurt indien dit strikt noodzakelijk is. Schakel dit aan om bandbreedte te besparen [Standaard = Nee]';
+$messages['help_allow_php_code_in_templates'] = 'Sta toe dat PHP code in Smarty templates wordt gebruikt binnen {php}...{/php} blokken [Standaard = Nee]';
+// urls
+$messages['help_request_format_mode'] = 'Selecteer één van onderstaande URL formaten. Als voor aangepaste URLs wordt gekozen, moeten alle onderstaande instellingen worden geconfigureerd [Standaard = Kaal]';
+$messages['plain'] = 'Kaal';
+$messages['search_engine_friendly'] = 'Zoekmachine-vriendelijk';
+$messages['custom_url_format'] = 'Aangepaste URLs';
+$messages['help_permalink_format'] = 'Formaat voor Permalinks bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/{catname}/{year}/{month}/{day}/{postname}$]';
+$messages['help_category_link_format'] = 'Formaat voor links naar categorieen bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/{catname}$]';
+$messages['help_blog_link_format'] = 'Formaat voor links naar blog bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}$]';
+$messages['help_archive_link_format'] = 'Formaat voor links naar archieven bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/archives/{year}/?{month}/?{day}]';
+$messages['help_user_posts_link_format'] = 'Formaat voor artikelen geplaatst door een bepaalde gebruiker bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/user/{username}$]';
+$messages['help_post_trackbacks_link_format'] = 'Formaat voor links naar de Trackbacks pagina bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/post/trackbacks/{postname}$]';
+$messages['help_template_link_format'] = 'Formaat voor links naar aangepaste statische template pagina\'s bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/page/{templatename}$]';
+$messages['help_album_link_format'] = 'Formaat voor links naar albums bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/album/{albumname}$]';
+$messages['help_resource_link_format'] = 'Formaat voor links naar afbeeldingen bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/resource/{albumname}/{resourcename}$]';
+$messages['help_resource_preview_link_format'] = 'Formaat voor links naar verkleinde plaatjes bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/resource/{albumname}/preview/{resourcename}$]';
+$messages['help_resource_medium_size_preview_link_format'] = 'Formaat voor links naar middelgrote plaatjes bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/resource/{albumname}/preview-med/{resourcename}$]';
+$messages['help_resource_download_link_format'] = 'Formaat voor links naar te downloaden bestanden bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/resource/{albumname}/download/{resourcename}$]';
+// email
+$messages['help_check_email_address_validity'] = 'Controleer bij opgave van een e-mail adres of er een MX record voor bestaat en of de opgegeven  mailbox ook bestaat [Standaard = Nee]';
+$messages['help_email_service_enabled'] = 'Verstuur e-mails vanaf deze website [Standaard = Ja]';
+$messages['help_post_notification_source_address'] = 'Email adres dat verschijnt in het "From:" veld bi het versturen van e-mails [Standaard = noreply at mijndomein.nl]';
+$messages['help_email_service_type'] = 'Welk systeem moet er gebruikt worden om de e-mails te versturen [Standaard = PHP]';
+$messages['help_smtp_host'] = 'Bij gebruik van SMTP als mailsysteem, gebruik het onderstaande adres als SMTP server [Standaard = (leeg)]';
+$messages['help_smtp_port'] = 'Wanneer de SMTP server een andere poort gebruikt dan 25, gebruik dan onderstaande poort [Standaard = (leeg)]';
+$messages['help_smtp_use_authentication'] = 'Vereist de opgegeven SMTP server authenticatie  [Standaard = Nee]';
+$messages['help_smtp_username'] = 'Wanneer de SMTP server authenticatie vereist, gebruik dan onderstaande gebruikersnaam [Standaard = (leeg)]';
+$messages['help_smtp_password'] = 'Wanneer de SMTP server authenticatie vereist, gebruik dan onderstaand wachtwoord [Standaard = (leeg)]';
+// helpers
+$messages['help_path_to_tar'] = 'Pad naar de "tar" applicatie, benodigd voor het uitpakken van templates in .tar.gz of tar.bz2 formaten [Standaard = /bin/tar]';
+$messages['help_path_to_gzip'] = 'Pad naar de "gzip" applicatie, benodigd voor het uitpakken van templates in .tar.gz formaat [Standaard = /bin/gzip]';
+$messages['help_path_to_bz2'] = 'Pad naar de "bzip2" applicatie, benodigd voor het uitpakken van templates in .tar.bz2 formaat [Standaard = /usr/bin/bzip2]';
+$messages['help_path_to_unzip'] = 'Pad naar de "unzip" applicatie, benodigd voor het uitpakken van templates in .zip formaat [Standaard = /usr/bin/unzip]';
+$messages['help_unzip_use_native_version'] = 'gebruik de standaard PHP oplossing om .zip bestanden uit te pakken [Standaard = Nee]';
+// uploads
+$messages['help_uploads_enabled'] = 'Geef op of gebruikers bestanden mogen uploaden. Dit heeft invloed op het gedeelte met bestanden en het uploaden van aangepaste templates en locales [Standaard = Ja]';
+$messages['help_maximum_file_upload_size'] = 'Maximum te uploaden bestandsgrootte in bytes. Deze limiet mag nooit groter zijn dan de serverinstelling [Standaard = 2000000]';
+$messages['help_upload_forbidden_files'] = 'Lijst van bestanden die niet geupload mogen worden, gescheiden door spaties. Gebruik van \'*\' en \'?\' is toegestaan [Standaard = *.php *.php3 *.php4 *.phtml]';
+// interfaces
+$messages['help_xmlrpc_api_enabled'] = 'Sta toegang tot blogs via XMLRPC toe [Standaard = Ja]';
+$messages['help_rdf_enabled'] = 'Sta streaming content toe via Atom of RSS feeds [Standaard = Ja]';
+$messages['help_default_rss_profile'] = 'Standaard versie voor streaming content [Standaard = RSS 1.0]';
+// security
+$messages['help_security_pipeline_enabled'] = 'Schakel het gebruik van security pipelining en gerelateerde filters in. Dit heeft ook effect op plugins die nieuwe filters registreren [Standaard = Ja]';
+$messages['help_maximum_comment_size'] = 'Maximum grootte in bytes dat een commentaar kan hebben. Voer 0 in om dit uit te schakelen [Standaard = 0]';
+// bayesian filter
+$messages['help_bayesian_filter_enabled'] = 'Schakel de Bayesian filter aan voor verbeterde automatische spam filtering [Standaard = Ja]';
+$messages['help_bayesian_filter_spam_probability_treshold'] = 'Bovengrens waarop een commentaar wordt gezien als spam [Standaard = 0.9]';
+$messages['help_bayesian_filter_nonspam_probability_treshold'] = 'Ondergrens waarbij een bericht wordt gezien als niet-spam [Standaard = 0.2]';
+$messages['help_bayesian_filter_min_length_token'] = 'Minimum lengte van een token waarbij deze als zinvol wordt beschouwd voor het Bayesian filter [Standaard = 3]';
+$messages['help_bayesian_filter_max_length_token'] = 'Maximum lengte van een token waarbij deze als zinvol wordt beschouwd voor het Bayesian filter [Standaard = 100]';
+$messages['help_bayesian_filter_number_significant_tokens'] = 'Aantal significante tokens [Standaard = 15]';
+$messages['help_bayesian_filter_spam_comments_action'] = 'Wat moet er gebeuren met commentaar dat als spam wordt beschouwd. Selecteer "Weggooien" pas als het filter voldoende is getraind [Standaard = Bewaren]';
+$messages['keep_spam_comments'] = 'Bewaren, markeer als "Spam"';
+$messages['throw_away_spam_comments'] = 'Weggooien (niet opslaan)';
+// resources
+$messages['help_resources_enabled'] = 'Sta het gebruik van bestanden toe [Standaard = Ja]';
+$messages['help_resources_folder'] = 'Folder waar bestanden worden opgeslagen. Gebruik een folder die niet te benaderen is door de webserver voor extra beveiliging [Standaard = ./gallery]';
+$messages['help_thumbnail_method'] = 'Methode voor het genereren van thumbnails. Wanneer PHP wordt gebruikt is ondersteuning voor GD vereist [Standaard = PHP]';
+$messages['help_path_to_convert'] = 'Pad naar de "convert" applicatie van ImageMagick. Vereist bij de selectie van "ImageMagick" voor het genereren van thumbnails [Standaard = /usr/bin/convert]';
+$messages['help_thumbnail_format'] = 'Formaat waarin thumbnails worden opgeslagen [Standaard = Same as image]';
+$messages['help_thumbnail_height'] = 'Standaard hoogte voor kleine thumbnails [Standaard = 120]';
+$messages['help_thumbnail_width'] = 'Standaard breedte voor kleine thumbnails [Standaard = 120]';
+$messages['help_medium_size_thumbnail_height'] = 'Standaard hoogte voor middelgrote thumbnails [Standaard = 480]';
+$messages['help_medium_size_thumbnail_width'] = 'Standaard breedte voor middelgrote thumbnails [Standaard = 640]';
+$messages['help_thumbnails_keep_aspect_ratio'] = 'Bewaar de formaatverhouding van het origineel bij het aanmaken van thumbnails. [Standaard = Ja]';
+$messages['help_thumbnail_generator_force_use_gd1'] = 'Forceer SP Communitiez om alleen GD1 functies te gebruiken [Standaard = Nee]';
+$messages['help_thumbnail_generator_user_smoothing_algorithm'] = 'Algoritme om mooie thumbnails te genereren, bij de keuze van GD als methode [Standaard = PHP ImageCopyResampled]';
+$messages['help_resources_quota'] = 'Algemene limiet voor blogs in bytes, of specificeer 0 voor geen limiet [Standaard = 0]';
+$messages['help_resource_server_http_cache_enabled'] = 'Ondersteuning van de "If-Modified-Since" HTTP header en HTTP conditionele verzoeken. Aanschakelen voor efficiënter gebruik van bandbreedte [Standaard = Nee]';
+$messages['help_resource_server_http_cache_lifetime'] = 'Tijd in microseconden dat gebruikers de bestandsversie in cache moeten gebruiken [Standaard = 9999999]';
+$messages['same_as_image'] = 'Hetzelfde als het originele bestand';
+// search
+$messages['help_search_engine_enabled'] = 'Sta het gebruik van de zoekmachine toe [Standaard = Ja]';
+$messages['help_search_in_custom_fields'] = 'Zoek in eigen velden [Standaard = Ja]';
+$messages['help_search_in_comments'] = 'Zoek in commentaar [Standaard = Ja]';
+
+// cleanup
+$messages['purge'] = 'Verwijderen';
+$messages['cleanup_spam'] = 'Verwijder spam';
+$messages['cleanup_spam_help'] = 'Dit verwijdert alle commentaar die door gebruikers als spam zijn gemarkeerd. Het is na bevestiging niet meer mogelijk om deze actie herstellen.';
+$messages['spam_comments_purged_ok'] = 'Alle berichten gemarkeerd als spam zijn verwijderd';
+$messages['cleanup_posts'] = 'Verwijder berichten';
+$messages['cleanup_posts_help'] = 'Dit verwijdert alle berichten die door gebruikers zijn gemarkeerd als "Verwijderd". Het is na bevestiging niet meer mogelijk om deze actie herstellen.';
+$messages['posts_purged_ok'] = 'Alle berichten gemarkeerd ter verwijderingen zijn daadwerkelijk verwijderd';
+
+/// summary ///
+// front page
+$messages['summary'] = 'Samenvatting';
+$messages['register'] = 'Registreer';
+$messages['summary_welcome'] = 'Welkom!';
+$messages['summary_most_active_blogs'] = 'Meest actieve blogs';
+$messages['summary_most_commented_articles'] = 'Meest becommentarieerd';
+$messages['summary_most_read_articles'] = 'Best gelezen artikelen';
+$messages['password_forgotten'] = 'Wachtwoord vergeten?';
+$messages['summary_newest_blogs'] = 'Nieuwste blogs';
+$messages['summary_latest_posts'] = 'Nieuwste berichten';
+$messages['summary_search_blogs'] = 'Doorzoek blogs';
+
+// blog list
+$messages['updated'] = 'Aangepast';
+$messages['total_reads'] = 'tot.';
+
+// blog profile
+$messages['blog'] = 'Blog';
+$messages['latest_posts'] = 'Laatste bericht';
+
+// registration
+$messages['register_step0_title'] = 'Gebruikersvoorwaarden';
+$messages['agreement'] = 'Overeenkomst';
+$messages['decline'] = 'Afwijzen';
+$messages['accept'] = 'Accepteren';
+$messages['read_service_agreement'] = 'Lees de gebrukkersvoorwaarden voor deze dienst en klik op "Accepteren" als je ermee accoord gaat';
+$messages['register_step1_title'] = 'Nieuwe gebruiker [1/4]';
+$messages['register_step1_help'] = 'Allereerst moet een nieuwe gebruiker worden gedefinieerd om een blog aan te kunnen maken. Deze gebruiker wordt eigenaar van de blog en heeft toegang tot alle functionaliteiten';
+$messages['register_next'] = 'Volgende';
+$messages['register_back'] = 'Terug';
+$messages['register_step2_title'] = 'Nieuwe blog [2/4]';
+$messages['register_blog_name_help'] = 'Naam voor je nieuwe blog';
+$messages['register_step3_title'] = 'Kies een template [3/4]';
+$messages['step1'] = 'Stap 1';
+$messages['step2'] = 'Stap 2';
+$messages['step3'] = 'Stap 3';
+$messages['register_step3_help'] = 'Kies één van de beschikbare templates als de standaard voor je blog. Dit kan later altijd worden aangepast';
+$messages['error_must_choose_template'] = 'Kies een template';
+$messages['select_template'] = 'Kies een template';
+$messages['register_step5_title'] = 'Gefeliciteerd! [4/4]';
+$messages['finish'] = 'Klaar';
+$messages['register_need_confirmation'] = 'Een e-mail met de bevestiging is naar het opgegeven e-mail adres verstuurd. Klik op de link in die mail om te beginnen met bloggen!';
+$messages['register_step5_help'] = 'Gefeliciteerd, je gebruikersaccount en blog zijn aangemaakt!';
+$messages['register_blog_link'] = 'Als je je blog wilt bekijken, kun je deze link gebruiken: <a href="%2$s">%1$s</a>';
+$messages['register_blog_admin_link'] = 'Als je direct met je blog aan de slag wilt, kun je direct naar het <a href="admin.php">beheersscherm</a>';
+$messages['register_error'] = 'Fout tijdens het registratieproces';
+$messages['error_registration_disabled'] = 'Sorry, registratie van nieuwe blogs is voor deze site uitgeschakeld';
+// registration article topic and text
+$messages['register_default_article_topic'] = 'Gefeliciteerd!';
+$messages['register_default_article_text'] = 'Als je dit bericht kunt lezen dan is het registratieproces succesvol verlopen en kun je beginnen met bloggen.';
+$messages['register_default_category'] = 'Algemeen';
+// confirmation email
+$messages['register_confirmation_email_text'] = 'Klik op de link hieronder om je eigen blog te activeren:
+
+%s
+
+Veel plezier!';
+$messages['error_invalid_activation_code'] = 'Sorry, de bevestigingscode is niet correct';
+$messages['blog_activated_ok'] = 'Gefeliciteerd, je nieuwe gebruikersaccount en bijbehorende blog zijn succesvol bevestigd!';
+// forgot your password?
+$messages['reset_password'] = 'Wijzig je wachtwoord';
+$messages['reset_password_username_help'] = 'Gebuikersnaam waarvan het wachtwoord gereset moet worden';
+$messages['reset_password_email_help'] = 'E-mail adres dat gebruikt is om deze gebruiker te registreren';
+$messages['reset_password_help'] = 'Gebruik dit formulier om het wachtwoord van een gebruiker te resetten, mocht je dit vergeten zijn. Voer de naam van de gebruiker in, alsmede het e-mail adres dat gebruikt is tijdens het registratieproces';
+$messages['error_resetting_password'] = 'Fout tijdens het resetten van het wachtwoord. Controleer de gegevens en probeer het opnieuw';
+$messages['reset_password_error_incorrect_email_address'] = 'Het e-mail adres is niet correct of is niet het e-mail adres dat gebruikt is om de gebruiker te registreren';
+$messages['password_reset_message_sent_ok'] = 'Een e-mail met een link is verstuurd naar je e-mail adres. Klik op die link om het wachtwoord te resetten';
+$messages['error_incorrect_request'] = 'De parameters in de URL zijn niet correct';
+$messages['change_password'] = 'Nieuw wachtwoord';
+$messages['change_password_help'] = 'Voer een nieuwe wachtwoord in';
+$messages['new_password'] = 'Nieuw wachtwoord';
+$messages['new_password_help'] = 'Bevestig wachtwoord';
+$messages['password_updated_ok'] = 'Je wachtwoord is aangepast';
+
+// Suggested by BCSE, some useful messages that not available in official locale
+$messages['upgrade_information'] = 'Deze pagina ziet er niet uit omdat je een webbrowser gebruikt die alleen oude standaarden ondersteunt. Om de pagina te zien zoals deze hoort te zijn, kun je het beste <a href="http://www.mozilla.org/" target="_blank">upgraden</a> naar een up-to-date browser die alle webstandaarden ondersteunt. Gratis en simpel!';
+$messages['jump_to_navigation'] = 'Naar navigatie.';
+$messages['comment_email_never_display'] = 'regels en paragrafen breken automatisch af. E-mail adressen worden nooit getoond.';
+$messages['comment_html_allowed'] = 'Toegestane <acronym title="Hypertext Markup Language">HTML</acronym>: &lt;<acronym title="Hyperlink">a</acronym> href=&quot;&quot; title=&quot;&quot; rel=&quot;&quot;&gt; &lt;<acronym title="Acronym Description">acronym</acronym> title=&quot;&quot;&gt; &lt;<acronym title="Quote">blockquote</acronym> cite=&quot;&quot;&gt; &lt;<acronym title="Strike">del</acronym>&gt; &lt;<acronym title="Italic">em</acronym>&gt; &lt;<acronym title="Underline">ins</acronym>&gt; &lt;<acronym title="Bold">strong</acronym>&gt;';
+$messages['trackback_uri'] = 'De <acronym title="Uniform Resource Identifier">URI</acronym> voor trackback naar dit bericht is: ';
+
+$messages['xmlrpc_ping_ok'] = 'XMLRPC Ping met succes verzonden: ';
+$messages['error_sending_xmlrpc_ping'] = 'Er was een fout tijdens het zenden van de XMLRPC ping naar: ';
+$messages['error_sending_xmlrpc_ping_message'] = 'Er was een fout tijdens het zenden van de XMLRPC ping: ';
+
+//
+// new strings for 1.1
+//
+$messages['error_incorrect_trackback_id'] = 'De trackback id is niet juist';
+$messages['error_marking_trackback_as_spam'] = 'Er was een fout om de trackback als spam te markeren';
+$messages['trackback_marked_as_spam_ok'] = 'De trackback was met succes gemarkeerd als spam';
+$messages['error_marking_trackback_as_nonspam'] = 'Er was een fout om de trackback als niet-spam te markeren';
+$messages['trackback_marked_as_nonspam_ok'] = 'De trackback was met succes gemarkeerd als niet-spam';
+$messages['upload_here'] = 'Hier uploaden';
+$messages['reply_string'] = 'Re: ';
+$messages['cleanup_users'] = 'Purge Gebruikers';
+$messages['cleanup_users_help'] = 'Dit zal alle gebruikers verwijderen die door de admin werden uitgeschakeld (gemarkeerd als "Uitgeschakeld"). Dit zal ook alle blogs verwijderen die de gebruiker bezit inclusief alles in de blog. Indien de gebruiker rechten heeft om in andere blogs berichten achter te laten, zullen ook deze berichten verwijderd worden. Eens gebruikers werden verwijderd kan men dit niet meer omkeren.';
+$messages['users_purged_ok'] = 'Gebruikers met succes gepurged';
+$messages['cleanup_blogs'] = 'Purge Blogs';
+$messages['cleanup_blogs_help'] = 'Dit zal alle blogs verwijderen die door de admin werden uitgeschakeld (gemarkeerd als "Uitgeschakeld"). Alles in deze blog zal verwijderd worden. Eens verwijderd kan men dit niet meer omkeren.';
+$messages['blogs_purged_ok'] = 'Blogs met succes gepurged';
+$messages['help_use_http_accept_language_detection'] = 'De meeste web browsers zoals Mozilla Firefox, Safari of Internet Explorer stuurt tenminste 1 taalcode die de gebruiker <i>moeten</i> verstaan. Indien deze feature geactiveerd is, probeert LifeType de gebruiker de gewenste taal aan te bieden indien beschikbaar. [Standaard = Neen]';
+
+$messages['error_invalid_blog_category'] = 'Verkeerde blog categorie';
+$messages['error_adding_blog_category'] = 'Er is een fout opgetreden met het toevoegen van de blog categorie';
+$messages['newBlogCategory'] = 'Nieuwe Blog Categorie';
+$messages['editBlogCategories'] = 'Blog Categorieen';
+$messages['blog_category_added_ok'] = 'Blog categorie met succes toegevoegd';
+$messages['error_blog_category_has_blogs'] = 'De blog categorie "%s" heeft er enkele blogs aan toegekend. Verander eerst de blogs en probeer dan opnieuw.';
+$messages['error_deleting_blog_category'] = 'Er is een fout opgetreden met het verwijderen van blog categorie "%s"';
+$messages['blog_category_deleted_ok'] = 'Blog categorie "%s" met succes verwijderd';
+$messages['blog_categories_deleted_ok'] = '%s blog categorieen met succes verwijderd';
+$messages['error_deleting_blog_category2'] = 'met succes verwijderd blog categorie met het id %s';
+$messages['blog_category'] = 'Blog Categorie';
+$messages['blog_category_help'] = 'Globale blog categorie toegewezen aan deze blog.';
+
+$messages['help_use_captcha_auth'] = 'Gebruik een CAPTCHA mechanisme in het registratie proces om te voorkomen dat robots zich automatisch kunnen registreren. [ Standaard = Neen ]';
+$messages['help_skip_dashboard'] = 'De onderhoudspagina zal niet meer getoond worden. In plaats hiervan zal de gebruiker dadelijk omgeleid worden naar de eerste blog waar hij is aan toegewezen. [ Standaard = Neen ]';
+
+$messages['manageGlobalArticleCategory'] = 'Globale Artikel Categorieen';
+$messages['newGlobalArticleCategory'] = 'Nieuwe Globale Artikel Categorie';
+$messages['editGlobalArticleCategories'] = 'Globale Artikel Categorieen';
+$messages['global_category_name_help'] = 'Naam van de nieuwe globale artikel categorie.';
+$messages['global_category_description_help'] = 'Beschrijving van de nieuwe globale artikel categorie.';
+$messages['error_incorrect_global_category_id'] = 'Verkeerde globale artikel categorie';
+$messages['global_category_deleted_ok'] = 'Artikel categorie "%s" met succes verwijderd';
+$messages['global_category_added_ok'] = 'Globale categorie "%s" met succes verwijderd';
+$messages['error_deleting_global_category2'] = 'Er is een fout opgetreden met het verwijderen van artikel categorie met het id = %s';
+
+$messages['help_page_suffix_format'] = 'Suffix die zal toegewezen worden aan URLs die paging ondersteunen. [standaard = /page/{page} ]';
+
+$messages['help_final_size_thumbnail_width'] = 'Breedte van de geuploade foto\'s. Laat blanco of als nulwaarde om de foto op te slaan met zijn originele afletingen. [ Standaard = 0 ]';
+$messages['help_final_size_thumbnail_height'] = 'Hoogte van de geuploade foto\'s. Laat blanco of als nulwaarde om de foto op te slaan met zijn originele afletingen. [ Standaard = 0 ]';
+$messages['error_comment_too_big'] = 'Het commentaar is te groot';
+$messages['error_you_have_been_blocked'] = 'Geblokeerd: De aanvraag was niet voltooid.';
+$messages['created'] = 'Aangemaakt';
+$messages['view'] = 'Bekijk';
+$messages['editUser'] = 'Gebruiker aanpassen';
+$messages['help_urlize_word_separator'] = 'Karakter dat zal gebruikt worden voor het splitsen van woorden wanneer er URLs gegenereerd worden die wijzen naar LifeType pagina\'s. Dit wordt ook gebruik wanneer er hostnamen gegenereerd worden van blog namen indien ondersteuning van subdomeinen is geactiveerd. [ Standaard = - ]';
+$messages['help_summary_template_cache_lifetime'] = 'Life tijd in seconden van de summary cached pagina. Indien anders ingesteld dan \'0\' zal de summary pagina zoalng behouden worden als hier aangegeven in plaats van te refreshen elke keer de tijdsdata veranderd. [ Standaard = 0 ]';
+$messages['register_default_album_name'] = 'Algemaan';
+$messages['register_default_album_description'] = 'Gebruik de album om nieuwe foto\'s te uploaden.';
+$messages['show_in_summary'] = 'Laat zien in Samenvattingspagina';
+$messages['show_in_summary_help'] = 'Voeg deze blog toe aan de Samenvattingspagina van deze website.';
+
+$messages['saving_message'] = 'Bewaren ...';
+$messages['show_option_panel'] = 'Toon Opties';
+$messages['hide_option_panel'] = 'Verberg Opties';
+
+$messages['quick_launches'] = 'Snelle lanceringen';
+
+$messages['confirmation_message_resent_ok'] = 'Bevestigingsbericht met succes opnieuw verzonden.';
+
+$messages['goto_blog_page'] = 'Ga naar %s';
+
+$messages['help_num_blogs_per_user'] = 'Aantal blogs dat de eigenaar kan aanmaken via het adminpaneel.';
+
+$messages['massive_change_option'] = 'Massa Aanpassingsopties';
+$messages['show_massive_change_option'] = 'Toon Massa Aanpassingsopties';
+$messages['hide_massive_change_option'] = 'Verberg Massa Aanpassingsopties';
+$messages['change_status'] = 'Verander Status';
+$messages['change_category'] = 'Verander Categorie';
+$messages['error_updating_comment_no_comment'] = 'Er is een fout opgetreden tijdens het aanpassen van het commentaar. Commentaar #%s kon niet gevonden worden';
+$messages['error_updating_comment_wrong_blog'] = 'Er is een fout opgetreden tijdens het aanpassen van het commentaar. Commentaar (%s) is niet gepost in deze blog.';
+$messages['error_updating_comment'] = 'Er is een fout opgetreden tijdens het aanpassen (%s)';
+$messages['error_updating_comment_already_updated'] = 'Geen veranderingen gemaakt in (%s)';
+$messages['comment_updated_ok'] = 'Commentaar met succes aangepast.';
+$messages['comments_updated_ok'] = '%s Commentaar met succes aangepast.';
+
+$messages['error_post_status'] = 'Selecteer berichtenstatus.';
+$messages['error_comment_status'] = 'Selecteer commentaar status.';
+$messages['admin_mode'] = 'Admin Mode';
+$messages['administrate_user_blog'] = 'Administratie van deze blog';
+$messages['trackbacks_updated_ok'] = '%s trackbacks met succes aangepast';
+$messages['trackback_updated_ok'] = 'Trackbacks met succes aangepast';
+$messages['error_trackback_status'] = 'Selecteer een correcte status';
+$messages['error_incorrect_user'] = 'Gebruiker is niet correct';
+$messages['select'] = 'Selecteer';
+$messages['remove_selected'] = 'Verwijder Selectie';
+
+$messages['notification_subject'] = 'LifeType Waarschuwings Systeem';
+$messages['error_no_trackback_links_sent'] = 'Waarschuwing: Er werden geen Trackbacks verstuurd.';
+
+$messages['logout_destination_url'] = 'URL waar gebruikers naartoe worden geleid na het uitloggen, bijvoorbeeld naar de beginpagina van uw service. Laat leeg om de default instelling te gebruiken (de login pagina). [ Standaard = leeg ]';
+
+$messages['help_http_cache_lifetime'] = 'Seconden van de client side cache (browsers zullen niet terug gaan naar de voor deze periode, en pagina\'s zullen aangeboden worden uit de locale cache. Dit verbeterd het surfplezier, maar vertragen het zien van de berichten en commentaren. [Standaard = 1800]';
+
+$messages['trackbacks_no_trackback'] = 'Versturen van een trackback naar de volgende URL mislukt: ';
+
+$messages['error_comment_spam_throw_away'] = 'Dit bericht kan niet worden geplaatst. Anti-spam filter heeft dit geblokkeerd.';
+$messages['error_comment_spam_keep'] = 'De anti-spam filter heeft uw commentaar in moderation queue geplaatst en zal moeten goedgekeurd worden door de eigenaar van deze blog.';
+
+$messages['blog_categories'] = 'Blog Categorieen';
+$messages['global_article_categories'] = 'Globale Artikel Categorieen';
+
+$messages['help_force_posturl_unique'] = 'Verplicht alle commentaar URLs in een blog om uniek te zijn. Dit is enkel nodig indien u de URLs aanpast en de data porties verwijderd van de URL. [ Standaard = neen ]';
+
+$messages['default_send_notification'] = 'Default Verstuur Bericht';
+
+$messages['enable_pull_down_menu'] = 'Pull Down Menu';
+$messages['enable_pull_down_menu_help'] = 'Selecteer of deselecteer om het pull down menu te gebruiken.';
+
+$messages['change_album'] = 'Verander Album';
+
+$messages['warning_autosave_message'] = '<img src="imgs/admin/icon_warning-16.png" alt="Error" class="InfoIcon"/><p class="ErrorText">Blijkt dat je bent vergeten je bericht te bewaren. Indien zo, mag je <a href="#" onclick="restoreAutoSave();">Klik hier om dit aan te passen</a> or <a href="#" onclick="eraseAutoSave();">Verwijder het</a>.</p>';
+
+$messages['check_username'] = 'Controleer Gebruikersnaam';
+$messages['check_username_ok'] = 'Deze gebruikersnaam niet beschikbaar!';
+$messages['error_username_exist'] = 'Sorry! Deze gebruikersnaam niet beschikbaar, probeer een andere.';
+
+$messages['error_rule_email_dns_server_temp_fail'] = 'Tijdelijk mislukt - probeer later opnieuw.';
+$messages['error_rule_email_dns_server_unreachable'] = 'Email server onbereikbaar.';
+$messages['error_rule_email_dns_not_permitted'] = 'E-mail is niet toegestaan of reeds in gebruik.';
+
+$messages['blog_users_help'] = 'Gebruikers die toegang hebben tot deze blog.';
+
+$messages['summary_welcome_paragraph'] = 'Dit is enkel een standaard tekst en dient aangepast te worden wanneer u uw service beschikbaar maakt. Dit bericht is opgeslagen in de en_NL locale file maar je kan ook de template templates/summary/index.template aanpassen om je tekst hier te plaatsen.';
+
+$messages['first_day_of_week'] = 0;
+$messages['first_day_of_week_label'] = 'Eerste Dag van de Week';
+$messages['first_day_of_week_help'] = 'Eerste Dag van de Week in de kalender.';
+
+$messages['help_subdomains_base_url'] = 'Indien subdomeinen geactiveerd zijn, zal deze base URL gebruikt worden in plaats van base_url. Gebruik {blognaam} om de blognaam te krijgen, {gebruikersnaam} om de naam te krijge van de gebruiker van de blog en {blogdomein} om de gebruiker toe te staan een specifiek subdomein te gebruiken om een lnik te verkrijgen naar zijn blog. (bv. http://{blognaam}.uwdomein.com)';
+
+$messages['registration_default_subject'] = 'LifeType registratie confirmatie';
+
+$messages['error_invalid_subdomain'] = 'De naam van het subdomein is niet correct of is reeds in gebruik';
+$messages['register_blog_domain_help'] = 'Naam en subdomein dat u wenst te gebruiken voor uw nieuwe blog.';
+$messages['domain'] = 'Domein';
+$messages['help_subdomains_available_domains'] = 'Enter a space delimited set of main domains allowed. Er zal de gebruiker een dropdown lijst getoond worden van deze waarden, en kan naar wens elk subdomein toevoegen. Dit wordt enkel gebruikt indien subdomeinen geactiveerd zijn en indien gebruik gemaakt is van {blogdomein} in de subdomein_base_url hierboven. Gebruik een \'?\' indien je elk domein toelaat.';
+$messages['subdomains_any_domain'] = '<- Multi-domein geactiveerd. Geef het volledige domein in.';
+$messages['error_updating_blog_subdomain'] = 'Er is een fout opgetreden met het aanpassen van het subdomein. Controleer de gegevens en probeer opnieuw.';
+$messages['error_updating_blog_main_domain'] = 'Er is een fout opgetreden met het aanpassen van de domeininstellingen. Dit komt waarschijnlijk omdat de Admin van de website een verkeerde instelling heeft gebruikt, contacteer hem.';
+
+$messages['monthsshort'] = Array( 'Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec' );
+$messages['weekdaysshort'] = Array( 'Zo', 'Ma', 'Di', 'Wo', 'Do', 'Vr', 'Za' );
+
+$messages['search_type'] = 'Zoek in';
+$messages['posts'] = 'Berichten';
+$messages['blogs'] = 'Blogs';
+$messages['resources'] = 'Bestanden';
+$messages['upload_in_progress'] = 'Uploading. Even geduld...';
+$messages['error_incorrect_username'] = 'De gebruikersnaam is niet juist, het is reeds in gebruik of te lang (maximum 15 karakters)';
+
+$messages['Miscellaneous'] = 'Miscellaneous';
+$messages['Plugins'] = 'Plugins';
+
+$messages['auth_img'] = 'authenticatie code';
+$messages['auth_img_help'] = 'Type de code die je ziet hier in.';
+
+$messages['global_category'] = 'Globale categorie';
+$messages['global_article_category_help'] = 'Gehele website categorie voor dit bericht.';
+
+$messages['password_reset_subject'] = 'LifeType Aanvraag Paswoord';
+
+//
+// new strings for LifeType 1.2
+//
+$messages['auth'] = 'Auth';
+$messages['authenticated'] = 'Authenticatie';
+$messages['dropdown_list_field'] = 'Drop-down lijst';
+$messages['values'] = 'Veldwaarden';
+$messages['field_values'] = 'Waarden die als opties zullen getoond worden in dit veld. De eerste zal als standaard waarde getoond worden.';
+
+$messages['permission_added_ok'] = 'Rechten met succes toegevoegd';
+$messages['core_perm'] = 'Core Rechten';
+$messages['admin_only'] = 'Enkel Admin';
+$messages['permissionsList'] = 'Rechten';
+$messages['newPermission'] = 'Nieuwe Rechten';
+$messages['permission_name_help'] = 'Unieke naam voor dit recht';
+$messages['permission_description_help'] = 'Omschrijving toegewezen voor dit recht';
+$messages['core_perm_help'] = 'Indien dit recht een onderdeel is van de core rechten, kan het niet meer verwijderd worden';
+$messages['admin_only_help'] = 'Dit recht kan enkel toegewezen worden door admin gebruikers';
+$messages['error_adding_new_permission'] = 'Er is een fout opgetreden bij het toevoegen van het nieuwe recht, controleer de gegevens';
+$messages['error_incorrect_permission_id'] = 'De rechtenbeheerder was niet juist';
+$messages['error_permission_cannot_be_deleted'] = 'Recht "%s" kan niet worden verwijderd, ofwel is het toegewezen aan tenminste 1 gebruiker owel is het een core recht.';
+$messages['error_deleting_permission'] = 'Er is een fout opgetreden bij het verwijderen van recht "%s"';
+$messages['permission_deleted_ok'] = 'Recht "%s" met succes verwijderd';
+$messages['permissions_deleted_ok'] = '%s recht met succes verwijderd';
+$messages['error_deleting_permission2'] = 'Er is een fout opgetreden met het verwijderen van recht met ID "%s"';
+
+$messages['help_hard_show_posts_max'] = 'Maximum limiet voor artikelen om in blog pagina\'s te tonen. Indien de gebruiker een eigen waarde instelt voor deze limiet, zal het genegeerd worden en de waarde die hier aangegeven is zal gebruik worden. [ Standaard = 50 ]';
+$messages['help_hard_recent_posts_max'] = 'Maximum limiet voor recente artikelen om in blog pagina\'s te tonen. Indien de gebruiker een eigen waarde instelt voor deze limiet, zal het genegeerd worden en de waarde die hier aangegeven is zal gebruik worden [ Standaard = 25 ]';
+
+$messages['error_permission_required'] = 'Je hebt niet genoeg rechten om deze handeling uit te voeren';
+$messages['user_permissions_updated_ok'] = 'Gebruikersrechten met succes aangepast';
+
+// blog permissions
+$messages['add_album_desc'] = 'Voeg nieuwe albums toe';
+$messages['add_blog_template_desc'] = 'Voeg nieuwe blog templates toe';
+$messages['add_blog_user_desc'] = 'Voeg nieuwe blog gebruikers toe';
+$messages['add_category_desc'] = 'voeg nieuwe categorieen toe';
+$messages['add_custom_field_desc'] = 'Voeg nieuwe eigen velden toe';
+$messages['add_link_desc'] = 'Voeg nieuwe links toe';
+$messages['add_link_category_desc'] = 'Voeg nieuwe link categorieen toe';
+$messages['add_post_desc'] = 'Voeg nieuwe berichten toe';
+$messages['add_resource_desc'] = 'Voeg nieuwe bestanden toe';
+$messages['blog_access_desc'] = 'Sta toegang tot deze blog toe';
+$messages['update_album_desc'] = 'Pas bestaande albums aan';
+$messages['update_blog_desc'] = 'Pas de blog instellingen aan';
+$messages['update_blog_template_desc'] = 'Pas een blog template aan';
+$messages['update_blog_user_desc'] = 'Pas gebruikersrechten aan';
+$messages['update_category_desc'] = 'Pas bestaande categorieen aan';
+$messages['update_comment_desc'] = 'Pas bestaande commentaren aan';
+$messages['update_custom_field_desc'] = 'Pas bestaande eigen velden aan';
+$messages['update_link_desc'] = 'Pas bestaande links aan';
+$messages['update_link_category_desc'] = 'Pas bestaande link categorieen aan';
+$messages['update_post_desc'] = 'Pas bestaande berichten aan';
+$messages['update_resource_desc'] = 'Pas bestaande bestanden aan';
+$messages['update_trackback_desc'] = 'Pas bestaande trackbacks aan';
+$messages['view_blog_templates_desc'] = 'Bekijk de blog templates';
+$messages['view_blog_users_desc'] = 'Bekijk de blog gebruikers';
+$messages['view_categories_desc'] = 'Bekijk de blog categorieen';
+$messages['view_comments_desc'] = 'Bekijk de blog commentaren';
+$messages['view_custom_fields_desc'] = 'Bekijk de blog eigen velden';
+$messages['view_links_desc'] = 'Bekijk de blog links';
+$messages['view_link_categories_desc'] = 'Bekijk de blog link categorieen';
+$messages['view_posts_desc'] = 'Bekijk de blog berichten';
+$messages['view_resources_desc'] = 'Bekijk de blog bestanden';
+$messages['view_trackbacks_desc'] = 'Bekijk de blog trackbacks';
+$messages['login_perm_desc'] = 'De gebruiker heeft toegang om in te loggen';
+// admin permissions
+$messages['add_blog_category_desc'] = 'De gebruiker kan blog categorieen toevoegen';
+$messages['add_global_article_category_desc'] = 'De gebruiker kan globale artikel categorieen toevoegen';
+$messages['add_locale_desc'] = 'De gebruiker kan nieuwe locales toevoegen';
+$messages['add_permission_desc'] = 'De gebruiker kan nieuwe rechten toevoegen';
+$messages['add_site_blog_desc'] = 'De gebruiker kan nieuwe blogs toevoegen';
+$messages['add_template_desc'] = 'De gebruiker kan nieuwe templates toevoegen';
+$messages['add_user_desc'] = 'De gebruiker kan nieuwe gebruikers toevoegen';
+$messages['edit_blog_admin_mode_desc'] = 'De gebruiker kan andere blogs beheren (admin mode)';
+$messages['purge_data_desc'] = 'De gebruiker kan data purgen';
+$messages['update_blog_category_desc'] = 'De gebruiker kan blog categorieen aanpassen en verwijderen';
+$messages['update_global_article_category_desc'] = 'De gebruiker kan globale artikel categorieen aanpassen en verwijderen';
+$messages['update_global_settings_desc'] = 'De gebruiker kan de website instellingen aanpassen';
+$messages['update_locale_desc'] = 'De gebruiker kan locales aanpassen en verwijderen';
+$messages['update_permission_desc'] = 'De gebruiker kan rechten aanpassen en verwijderen';
+$messages['update_plugin_settings_desc'] = 'De gebruiker kan plugin instellingen aanpassen';
+$messages['update_site_blog_desc'] = 'De gebruiker kan blogs aanpassen en verwijderen';
+$messages['update_template_desc'] = 'De gebruiker kan templates aanpassen en verwijderen';
+$messages['update_user_desc'] = 'De gebruiker kan gebruikers aanpassen en verwijderen';
+$messages['view_blog_categories'] = 'De gebruiker kan de blog categorieen bekijken';
+$messages['view_global_article_categories_desc'] = 'De gebruiker kan de globale artikel categorieen bekijken';
+$messages['view_global_settings_desc'] = 'De gebruiker kan de website instellingen bekijken';
+$messages['view_locales_desc'] = 'De gebruiker kan de locales bekijken';
+$messages['view_permissions_desc'] = 'De gebruiker kan de rechten bekijken';
+$messages['view_plugins_desc'] = 'De gebruiker kan de geinstalleerde plugins bekijken';
+$messages['view_site_blogs_desc'] = 'De gebruiker kan de website blogs bekijken';
+$messages['view_templates_desc'] = 'De gebruiker kan de templates bekijken';
+$messages['view_users_desc'] = 'De gebruiker kan de gebruikers bekijken';
+$messages['update_blog_stats_desc'] = 'De gebruikers kunnen verwijzingen verwijderen';
+$messages['manage_admin_plugins_desc'] = 'Beheer de enkel-admin eigenschappen van de plugins';
+
+$messages['summary_welcome_msg'] = 'Welkom, %s!';
+$messages['summary_go_to_admin'] = 'Ga naar admin interface';
+
+$messages['error_can_only_update_own_articles'] = 'Uw rechten staan u toe om enkel uw eigen berichten aan te passen.';
+$messages['update_all_user_articles_desc'] = 'Sta toe om andere gebruikers hun berichten aan te passen';
+$messages['error_can_only_view_own_articles'] = 'Uw rechten staan u toe om enkel uw eigen berichten te zien.';
+$messages['view_all_user_articles_desc'] = 'Sta toe om andere gebruikers hun berichten te zien';
+$messages['error_fetching_permission'] = 'Er is een fout opgetreden met het ophalen van de rechten';
+$messages['editPermission'] = 'Pas Rechten Aan';
+$messages['error_updating_permission'] = 'Er is een fout opgetreden met het updaten van de rechten';
+$messages['permission_updated_ok'] = 'Rechten met succes toegevoegd';
+$messages['error_adding_permission'] = 'Er is een fout opgetreden met het toevoegen van de rechten';
+$messages['error_cannot_login'] = 'Sorry, u heeft geen toegang';
+$messages['admin_user_permissions_help'] = 'Rechten over de volledige website toegekend aan deze gebruiker';
+
+$messages['permissions'] = 'Rechten';
+$messages['blog_user_permissions_help'] = 'Rechten toegekend aan deze gebruiker in deze blog';
+$messages['pluginSettings'] = 'Plugin Instellingen';
+$messages['user_can_override'] = 'Gebruikers kunnen overschrijven';
+$messages['user_cannot_override'] = 'Gebruikers overschrijven niet mogelijk';
+$messages['global_plugin_settings_saved_ok'] = 'Globale plugin instellingen met succes bewaard';
+$messages['error_updating_global_plugin_settings'] = 'Er is een fout opgetreden met het bewaren van de globale plugin instellingen';
+$messages['error_incorrect_value'] = 'The waarde is niet correct';
+$messages['parameter'] = 'Parameter';
+$messages['value'] = 'Waarde';
+$messages['override'] = 'Overschrijf';
+$messages['editCustomField'] = 'Verander je Eigen Velden';
+$messages['view_blog_stats_desc'] = 'Bekijk de blog statistieken';
+$messages['manage_plugins_desc'] = 'Beheer blog plugins';
+
+$messages['error_global_category_has_articles'] = 'Het globale artikel categorie kan niet verwijderd worden mits het nog berichten heeft';
+$messages['error_adding_global_article_category'] = 'Er is een fout opgetreden met het toevoegen het globale artikel categorie';
+
+$messages['temp_folder_reset_ok'] = 'De tijdelijke folder werd met succes opgeruimd';
+$messages['cleanup_temp_help'] = 'Dit zal een schoonmaak triggeren van de tijdelijk folder, de data cache and de template cache verplichten tot het resetten van alle blogs.';
+$messages['cleanup_temp'] = 'Purge tijdelijke folder';
+
+$messages['comment_only_auth_users'] = 'Enekel geauthenticeerde gebruikers kunnen reageren';
+$messages['comment_only_auth_users_help'] = 'Enkel de gebruikers met een geldige gebruikersnaam, paswoord en ingelogged zijn kunnen berichten plaatsen';
+$messages['show_comments_max'] = 'Berichten per pagina';
+$messages['show_comments_max_help'] = 'Maximum aantal berichten per pagina [ Standaard = 20 ]';
+$messages['hard_show_comments_max_help'] = 'Limiet voor het aantal berichten per pagina [ Standaard = 50 ]';
+
+$messages['error_resource_not_whitelisted_extension'] = 'Het type document behoort niet tot degene die zijn toegelaten.';
+$messages['help_upload_allowed_files'] = 'Spatie-gescheiden lijst van de documenten die zijn toegestaan om te uploaden. Gebruik van \'*\' en \'?\' is toegestaan. Indien beide upload_forbidden_file en deze optie zijn ingesteld, krijgt de witte lijst (upload_allowed_files) voorrang op de zwarte lijst [Standaard = Geen]';
+
+$messages['help_template_load_order'] = 'Zorgt ervoor in welke volgorde de template files worden gezocht en geladen. Indien je gebruik maakt van \'Laad standaard templates eerst\', zal LifeType proberen om eerst documenten te vinden in de templates/standaard/ folder en indien daar niet beschikbaar, zal het gebruik maken van de gebruiker\'s template documenten. Indien dezelfde template bestaat op beide plaatsen, krijgt de standaard template voorrang. Indien opgeslagen als \'Laad gebruiker templates eerst\', worden gebruikers templates altijd eerst geladen en indien beschikbaar, zal de standaard gebruikt worden. Indien dezelfde template bestaat op beide plaatsen, krijgt de gebruikers template voorrang.';
+$messages['template_load_order_user_first'] = 'Laad standaard eerst de templates';
+$messages['template_load_order_default_first'] = 'Laad eerst de gebruikers template';
+
+$messages['editBlogUser'] = 'Pas Blog Gebruiker aan';
+
+$messages['help_summary_service_name'] = 'Naam van uw website/service dat op verschillende plaatsen te zien zal zijn, op de eerste pagina als en in de RSS feeds [ Standaard = leeg ]';
+
+$messages['register_step2_help'] = 'Gelieve nu de benodigde data te voorzien om de blog aan te maken.';
+
+$messages['create_date'] = 'Datum aangemaakt';
+
+$messages['insert_media'] = 'Voeg media toe';
+$messages['insert_more'] = 'Toggle "Meer..." link';
+
+$messages['purging_please_wait'] = 'Gelieve te wachten totdat de data is gepurged. Deze pagina blijft zichzelf refreshen totdat alle data werd geprocessed, gelieve dit proces niet te beeindigen';
+
+$messages['error_cannot_delete_last_blog_category'] = 'Je kan de laatste blog categorie niet verwijderen.';
+
+$messages['help_logout_destination_url'] = 'URL waar gebruikers naartoe geleid worden indien ze uitloggen, in plaats van de login pagina van de admin interface [ Standaard Waarde = leeg ]';
+$messages['help_default_global_article_category_id'] = 'ID van de standaard globale artikel categorie [ Standaard = leeg ]';
+$messages['help_blog_does_not_exist_url'] = 'URL waar gebruikers naartoe geleid worden indien ze een blog proberen aan te roepen die niet bestaat in deze website, in plaats van geforward te worden naar de standaard blog [ Standaard = leeg ]';
+
+$messages['error_invalid_blog_name'] = 'De blognaam is niet juist';
+$messages['bookmark_it_to_lifetype'] = 'Sla op in LifeType!';
+
+/* strings for /default/ templates */
+
+
+$messages['help_forbidden_blognames'] = 'Lijst van strings afgescheiden met een spatie die niet zijn toegelaten om als blognaam te worden gebruikt. [ Standaard = (leeg) ]';
+
+$messages['posts_updated_ok'] = '%s berichten met succes aangepast';
+$messages['error_updating_post2'] = 'Er is een fout opgetreden met het aanpassen van artikel met ID %s';
+$messages['resources_updated_ok'] = '% bestanden met succes aangepast';
+$messages['error_updating_resource2'] = 'Er is een fout opgetreden met het aanpassen van de bestanden met ID %s';
+$messages['albums_updated_ok'] = '%s albums met succes aangepast';
+$messages['error_updating_album2'] = 'Er is een fout opgetreden met het aanpassen van album met ID %s';
+$messages['links_updated_ok'] = '%s links met succes aangepast';
+$messages['error_updating_link2'] = 'Er is een fout opgetreden met het aanpassen van de link met ID %s';
+
+$messages['help_forbidden_blognames'] = 'Lijst van strings afgescheiden met een spatie die niet zijn toegelaten om als blognaam te worden gebruikt. [ Standaard = (leeg) ]';
+
+$messages['version'] = 'Versie';
+
+$messages['error_resources_disabled'] = 'Sorry, er is geen toelating om nieuwe bestanden up te loaden in deze website';
+
+$messages['topic'] = 'Onderwerp';
+$messages['topic_help'] = 'Titel van het bericht.';
+$messages['text'] = 'Tekst';
+$messages['text_help'] = 'Tekst van het bericht. Dit deel zal altijd op de eerste pagina verschijnen.';
+$messages['extended_text'] = 'Uitgebreide Tekst';
+$messages['extended_text_help'] = 'Uitgebreide tekst van het bericht. Optioneel, kan dit bericht alleen in de berichten pagina of in de hoofdpagina verschijnen. Ga naar de blog instellingen voor meer informatie.';
+$messages['trackback_urls'] = 'Echte Trackback Urls';
+$messages['trackback_urls_help'] = 'Indien het artikel waar je de teackback wil naartoe sturen geen Trackback Auto-Discover mechanisme ondersteunt, mag je de echt trackback url hier plaatsen en een nieuwe regel gebruiken voor elke url.';
+$messages['post_slug'] = 'Slug';
+$messages['post_slug_help'] = 'De slug zal worden gebruikt om mooie permanente links te genereren.';
+$messages['date'] = 'Datum';
+$messages['post_date_help'] = 'Datum waarop dit bericht zal gepubliceerd worden.';
+$messages['status'] = 'Status';
+$messages['post_status_help'] = 'Selecteer een status.';
+$messages['post_status_published'] = 'Gepubliceerd';
+$messages['post_status_draft'] = 'Draft';
+$messages['post_status_deleted'] = 'Gewist';
+$messages['categories'] = 'Categorieen';
+$messages['post_categories_help'] = 'Selecteer een categorie.';
+$messages['post_comments_enabled_help'] = 'Gebruik commentaren';
+$messages['send_notification_help'] = 'Berichtgeving van nieuwe commentaren.';
+$messages['send_trackback_pings_help'] = 'Stuur trackbacks';
+$messages['send_xmlrpc_pings_help'] = 'Stuur XMLRPC pings';
+$messages['save_draft_and_continue'] = 'Bewaar draft';
+$messages['preview'] = 'Voorbeeld';
+$messages['add_post'] = 'Bloggen!';
+$messages['error_saving_draft'] = 'Er is een fout opgetreden tijdens het bewaren van de draft';
+$messages['draft_saved_ok'] = 'Draft artikel %s met succes bewaard';
+$messages['error_sending_request'] = 'Er is een fout opgetreden tijdens het versturen van de aanvraag';
+$messages['error_no_category_selected'] = 'Selecteer een categorie';
+$messages['error_missing_post_topic'] = 'Maak een bericht onderwerp';
+$messages['error_missing_post_text'] = 'Gebruik tekst voor het bericht';
+$messages['error_adding_post'] = 'Er is een fout opgetreden tijdens het aanmaken van het bericht';
+$messages['post_added_not_published'] = 'Bericht met succes aangemaakt maar niet gepubliceerd';
+$messages['post_added_ok'] = 'Bericht met succes aangemaakt.';
+$messages['send_notifications_ok'] = 'U wordt op de hoogte gebracht telkens er nieuwe commentaar of trackbacks zijn.';
+$messages['bookmarklet'] = "Bookmarklet";
+$messages['bookmarklet_help'] = "Sleep deze link naar uw toolbar of klik rechts en kies voor Voeg Toe aan Favorieten.";
+$messages['blogit_to_lifetype'] = "Blog It to LifeType!";
+$messages['original_post'] = "(Origineel Bericht)";
+$messages['user_blogs_help'] = 'Blogs waarvan deze gebruiker de eigenaar van is of waar hij toegang tot heeft.';
+$messages['purging_error'] = 'Het is misgelopen tijdens het purgen van de data';
+$messages['help_login_admin_panel'] = 'Klik op de blog naam om op de administratie pagina te komen.';
+
+$messages['blog_updated_ok'] = 'Blog "%s" was successfully updated';
+$messages['blogs_updated_ok'] = '%s blogs were successfully updated';
+$messages['error_updating_blog2'] = 'There was an error updating the blog whose identifier is "%s"';
+$messages['error_updating_blog'] = 'There was an error updating blog "%s"';
+
+$messages['error_updating_user'] = 'There was an error updating user "%s".';
+$messages['user_updated_ok'] = 'User "%s" was successfully updated.';
+$messages['users_updated_ok'] = '%s users were successfully updated';
+$messages['eror_updating_user2'] = 'There was an error updating user with identifier "%s"';
+
+$messages['error_select_status'] = 'Please select a valid status';
+?>
\ No newline at end of file

Copied: plog/trunk/locale/admin/locale_zh_CN.php (from rev 5155, plog/branches/lifetype-1.2/locale/admin/locale_zh_CN.php)
===================================================================
--- plog/trunk/locale/admin/locale_zh_CN.php	                        (rev 0)
+++ plog/trunk/locale/admin/locale_zh_CN.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,1160 @@
+<?php
+
+/////////////////                                          //////////////////
+///////////////// STRINGS FOR THE ADMINISTRATION INTERFACE //////////////////
+/////////////////                                          //////////////////
+
+// login page
+$messages['login'] = '登入';
+$messages['welcome_message'] = '欢迎使用 LifeType!';
+$messages['error_incorrect_username_or_password'] = '很抱歉,您输入的帐号或密码错误。';
+$messages['error_dont_belong_to_any_blog'] = '很抱歉,您没有使用系统中任何一个博客站台的权限。';
+$messages['logout_message'] = '您已经顺利登出系统。';
+$messages['logout_message_2'] = '请按 <a href="%1$s">这里</a> 链接到 %2$s</a>。';
+$messages['error_access_forbidden'] = '您目前没有权限进入管理介面,请到这里登入。';
+$messages['username'] = '用户名称';
+$messages['password'] = '用户密码';
+
+// dashboard
+$messages['dashboard'] = '管理面版';
+$messages['recent_articles'] = '最近发表文章';
+$messages['recent_comments'] = '最近发表评论';
+$messages['recent_trackbacks'] = '最近引用列表';
+$messages['blog_statistics'] = '博客统计';
+$messages['total_posts'] = '文章总数';
+$messages['total_comments'] = '评论总数';
+$messages['total_trackbacks'] = '引用总数';
+$messages['total_viewed'] = '文章阅读总数';
+$messages['in'] = '于';
+
+// menu options
+$messages['newPost'] = '发表新文章';
+$messages['Manage'] = '内容管理';
+$messages['managePosts'] = '文章管理';
+$messages['editPosts'] = '文章列表';
+$messages['editArticleCategories'] = '文章分类列表';
+$messages['newArticleCategory'] = '新增文章分类';
+$messages['manageLinks'] = '网站链接管理';
+$messages['editLinks'] = '网站链接列表';
+$messages['newLink'] = '新增网站链接';
+$messages['editLink'] = '编辑网站链接';
+$messages['editLinkCategories'] = '网站链接分类列表';
+$messages['newLinkCategory'] = '新增链接分类';
+$messages['editLinkCategory'] = '编辑网站链接分类';
+$messages['manageCustomFields'] = '管理自订栏位';
+$messages['blogCustomFields'] = '自订栏位列表';
+$messages['newCustomField'] = '新增自订栏位';
+$messages['resourceCenter'] = '文件中心';
+$messages['resources'] = '文件列表';
+$messages['newResourceAlbum'] = '新增文件夹';
+$messages['newResource'] = '新增文件';
+$messages['controlCenter'] = '个人博客设置';
+$messages['manageSettings'] = '基本设置';
+$messages['blogSettings'] = '博客设置';
+$messages['userSettings'] = '用户设置';
+$messages['pluginCenter'] = '外挂中心';
+$messages['Stats'] = '统计数据';
+$messages['manageBlogUsers'] = '管理博客用户';
+$messages['newBlogUser'] = '新增博客用户';
+$messages['showBlogUsers'] = '博客用户列表';
+$messages['manageBlogTemplates'] = '管理博客模版';
+$messages['newBlogTemplate'] = '新增博客模版';
+$messages['blogTemplates'] = '博客模版列表';
+$messages['adminSettings'] = '全部站台管控';
+$messages['Users'] = '用户';
+$messages['createUser'] = '新增用户';
+$messages['editSiteUsers'] = '管理用户';
+$messages['Blogs'] = '管理博客';
+$messages['createBlog'] = '建立博客';
+$messages['editSiteBlogs'] = '博客站台管理';
+$messages['Locales'] = '语系管理';
+$messages['newLocale'] = '新增语系';
+$messages['siteLocales'] = '语系文件列表';
+$messages['Templates'] = '模版管理';
+$messages['newTemplate'] = '新增模版';
+$messages['siteTemplates'] = '模版管理';
+$messages['GlobalSettings'] = '全域设置';
+$messages['editSiteSettings'] = '一般设置';
+$messages['summarySettings'] = ' 汇整页面设置';
+$messages['templateSettings'] = '模版设置';
+$messages['urlSettings'] = '网址设置';
+$messages['emailSettings'] = '电子邮件设置';
+$messages['uploadSettings'] = '上传设置';
+$messages['helpersSettings'] = '工具设置';
+$messages['interfacesSettings'] = '网路服务介面设置';
+$messages['securitySettings'] = '系统安全设置';
+$messages['bayesianSettings'] = '贝氏过滤设置';
+$messages['resourcesSettings'] = '文件中心设置';
+$messages['searchSettings'] = '搜寻设置';
+$messages['cleanUpSection'] = '清理垃圾专区';
+$messages['cleanUp'] = '清理垃圾';
+$messages['editResourceAlbum'] = '编辑文件文件夹';
+$messages['resourceInfo'] = '文件信息';
+$messages['editBlog'] = '博客管理';
+$messages['Logout'] = '登出';
+
+// new post
+$messages['topic'] = '标题';
+$messages['topic_help'] = '文章标题';
+$messages['text'] = '内文';
+$messages['text_help'] = '这部份的内容会在博客首页出现。';
+$messages['extended_text'] = '扩展内文';
+$messages['extended_text_help'] = '您在此输入的文字只会在单篇汇整状态下显示,除非您在“设置”页面中修改了设置。';
+$messages['trackback_urls'] = '真实引用网址';
+$messages['trackback_urls_help'] = '如果您要引用的文章没有支援‘引用网址自动搜寻’机制,请在这里输入他们的真实引用网址,并用断行来隔开。';
+$messages['post_slug'] = '短标题 ';
+$messages['post_slug_help'] = '短标题将会用来建立简洁的静态链接网址';
+$messages['date'] = '日期';
+$messages['post_date_help'] = '文章发表日期';
+$messages['status'] = '状态';
+$messages['post_status_help'] = '选取一个状态';
+$messages['post_status_published'] = '定稿';
+$messages['post_status_draft'] = '草稿';
+$messages['post_status_deleted'] = '已删除';
+$messages['post_categories_help'] = '选取一个或一个以上的分类';
+$messages['post_comments_enabled_help'] = '启用评论留言功能';
+$messages['send_notification_help'] = '如果有人对本文发表评论,便向我发送电子邮件通知';
+$messages['send_trackback_pings_help'] = '发送引用通告';
+$messages['send_xmlrpc_pings_help'] = '送出 XMLRPC 通告';
+$messages['save_draft_and_continue'] = '储存草稿';
+$messages['preview'] = '预览';
+$messages['add_post'] = '发表!';
+$messages['error_saving_draft'] = '储存草稿发生错误!';
+$messages['draft_saved_ok'] = '草稿 “%s” 已顺利储存';
+$messages['error_sending_request'] = '传送要求时发生错误';
+$messages['error_no_category_selected'] = '你没有选择任何分类';
+$messages['error_missing_post_topic'] = '请输入文章标题!';
+$messages['error_missing_post_text'] = '请输入文章内文!';
+$messages['error_adding_post'] = '发表文章发生错误!';
+$messages['post_added_not_published'] = '文章已顺利新增,但尚未正式发表。';
+$messages['post_added_ok'] = '文章已顺利新增';
+$messages['send_notifications_ok'] = '当有新的评论或是引用时,便向我发送电子邮件通知';
+$messages['bookmarklet'] = "书签小程式";
+$messages['bookmarklet_help'] = "把下面的链接拉到你工具列,或是按下滑鼠右键把链接加到我的最爱。";
+$messages['blogit_to_lifetype'] = "把文章加到 LifeType!";
+$messages['original_post'] = "(原文)";
+
+// send trackbacks
+$messages['error_sending_trackbacks'] = '发送下列引用通知时产生错误。';
+$messages['send_trackbacks_help'] = '请勾选您所要发送引用通告的网址。(请确定该网站支援引用通告的功能)';
+$messages['send_trackbacks'] = '发送引用通知';
+$messages['ping_selected'] = '向勾选的网址发送引用通知';
+$messages['trackbacks_sent_ok'] = '引用通知已经成功发送到勾选的网址。';
+
+// posts page
+$messages['show_by'] = '更新列表';
+$messages['category'] = '分类';
+$messages['author'] = '作者';
+$messages['post_status_all'] = '全部';
+$messages['author_all'] = '全部作者';
+$messages['search_terms'] = '搜寻关键字';
+$messages['show'] = 'æ›´æ–°';
+$messages['delete'] = '删除';
+$messages['actions'] = '动作';
+$messages['all'] = '全部';
+$messages['category_all'] = '全部分类';
+$messages['error_incorrect_article_id'] = '文章 ID 不正确。';
+$messages['error_deleting_article'] = '在删除文章"%s"时,发生错误。';
+$messages['article_deleted_ok'] = '文章“%s” 已顺利删除。';
+$messages['articles_deleted_ok'] = '文章“%s” 已顺利删除。';
+$messages['error_deleting_article2'] = '删除文章时发生错误 (id = %s) ';
+
+// edit post page
+$messages['update'] = 'æ›´æ–°';
+$messages['editPost'] = '编辑文章';
+$messages['error_fetching_post'] = '读取文章数据时发生错误';
+$messages['post_updated_ok'] = '文章[%s]已成功更新。';
+$messages['error_updating_post'] = '更新文章时发生错误';
+$messages['notification_added'] = '当有新的评论或是引用时,便向我发送电子邮件通知';
+$messages['notification_removed'] = '当有新的评论或是引用时,不要向我发送电子邮件通知';
+
+// post comments
+$messages['url'] = '网址';
+$messages['comment_status_all'] = '全部评论';
+$messages['comment_status_spam'] = '垃圾评论';
+$messages['comment_status_nonspam'] = '正常评论';
+$messages['error_fetching_comments'] = '读取文章评论数据时,发生错误。';
+$messages['error_deleting_comments'] = '在删除评论时发生错误或您没有勾选任何要删除的评论。';
+$messages['comment_deleted_ok'] = '“%s”这篇文章的评论已顺利删除。';
+$messages['comments_deleted_ok'] = '“%s”这篇文章的评论已顺利删除。';
+$messages['error_deleting_comment'] = '在删除评论“%s”时发生错误。';
+$messages['error_deleting_comment2'] = '删除评论时发生错误 (id = %s)';
+$messages['editComments'] = '评论列表';
+$messages['mark_as_spam'] = '标示为垃圾评论';
+$messages['mark_as_no_spam'] = '标示为正常评论';
+$messages['error_incorrect_comment_id'] = '留言评论 ID 不正确。';
+$messages['error_marking_comment_as_spam'] = '在将本篇评论留言标示为垃圾留言时发生错误。';
+$messages['comment_marked_as_spam_ok'] = '您已经顺利将本篇评论留言标示为垃圾留言。';
+$messages['error_marking_comment_as_nonspam'] = '在将本篇评论留言标示为正常留言时发生错误。';
+$messages['comment_marked_as_nonspam_ok'] = '您已经顺利将本篇评论留言标示为正常留言。';
+$messages['comment_no_topic'] = '没有评论主旨。';
+
+// post trackbacks
+$messages['blog'] = '博客';
+$messages['excerpt'] = '摘要';
+$messages['error_fetching_trackbacks'] = '读取引用数据时,发生错误。';
+$messages['error_deleting_trackbacks'] = '在删除引用时发生错误或是你没有勾选任何要删除的引用。';
+$messages['error_deleting_trackback'] = '在删除引用“%s”时发生错误';
+$messages['error_deleting_trackback2'] = '删除引用时发生错误 (id = %s)';
+$messages['trackback_deleted_ok'] = '“%s”这篇引用已顺利删除。';
+$messages['trackbacks_deleted_ok'] = '“%s”这篇引用已顺利删除。';
+$messages['editTrackbacks'] = '引用列表';
+
+// post statistics
+$messages['referrer'] = '逆向链接';
+$messages['hits'] = '点击数';
+$messages['error_no_items_selected'] = '你没有勾选任何要删除的项目';
+$messages['error_deleting_referrer'] = '在删除逆向链接“%s”时发生错误';
+$messages['error_deleting_referrer2'] = '删除逆向链接时发生错误 (id = %s)';
+$messages['referrer_deleted_ok'] = '“%s”这篇逆向链接已顺利删除。';
+$messages['referrers_deleted_ok'] = '“%s”这篇逆向链接已顺利删除。';
+
+// categories
+$messages['posts'] = '文章列表';
+$messages['show_in_main_page'] = '在首页显示';
+$messages['error_category_has_articles'] = '无法删除“%s”这个分类,因为该分类下还有文章。请先修改文章分类后,再重试一次。';
+$messages['category_deleted_ok'] = '“%s”这个分类已顺利删除。';
+$messages['categories_deleted_ok'] = '“%s”这个分类已顺利删除。';
+$messages['error_deleting_category'] = '在删除分类“%s”时发生错误';
+$messages['error_deleting_category2'] = '删除分类时发生错误 (id = %s)';
+$messages['yes'] = '是';
+$messages['no'] = '否';
+
+// new category
+$messages['name'] = '名称';
+$messages['category_name_help'] = '请输入分类名称';
+$messages['description'] = '描述';
+$messages['category_description_help'] = '请输入详细的分类描述';
+$messages['show_in_main_page_help'] = '选取这个选项,则在这个分类下的文章会在首页显示。否则只有当浏览这个分类时才会看到文章。';
+$messages['error_empty_name'] = '你必须输入分类名称';
+$messages['error_empty_description'] = '你必须输入分类描述';
+$messages['error_adding_article_category'] = '在新增分类时发生错误。请检查输入的数据,再重试一次。';
+$messages['category_added_ok'] = '分类名称 “%s”已经顺利新增';
+$messages['add'] = '新增';
+$messages['reset'] = '重新设置';
+
+// update category
+$messages['error_updating_article_category'] = '更新文章分类时发生错误。';
+$messages['error_fetching_category'] = '读取分类数据时发生错误。';
+$messages['article_category_updated_ok'] = '分类 “%s” 已顺利更新。';
+
+// links
+$messages['feed'] = 'Feed';
+$messages['error_no_links_selected'] = '网站链接 ID 错误或您没有选择任何网站链接,无法删除。';
+$messages['error_incorrect_link_id'] = '网站链接 ID 不正确';
+$messages['error_removing_link'] = '在删除网站链接“%s”时发生错误。';
+$messages['error_removing_link2'] = '在删除网站链接时发生错误,id = %d';
+$messages['link_deleted_ok'] = '网站链接“%s”已顺利删除。';
+$messages['links_deleted_ok'] = '网站链接“%s”已顺利删除。';
+
+// new link
+$messages['link_name_help'] = '请输入链接名称。';
+$messages['link_url_help'] = '链接网址';
+$messages['link_description_help'] = '简短描述';
+$messages['link_feed_help'] = '你也可以提供任何的 RSS 或 Atom feeds 的链接。';
+$messages['link_category_help'] = '选取一个网站链接分类';
+$messages['error_adding_link'] = '新增网站链接时发生错误。请检查输入的数据,再重试一次。';
+$messages['error_invalid_url'] = '网址不正确';
+$messages['link_added_ok'] = '网站链接“%s”已顺利新增';
+$messages['bookmarkit_to_lifetype'] = "把书签加到 LifeType!";
+
+// update link
+$messages['error_updating_link'] = '更新网站链接时发生错误。请检查输入的数据,再重试一次。';
+$messages['error_fetching_link'] = '读取网站链接数据时发生错误。';
+$messages['link_updated_ok'] = '网站链接“%s”已顺利更新';
+
+// link categories
+$messages['error_invalid_link_category_id'] = '网站链接分类ID不正确或没有选择链接分类,无法删除。';
+$messages['error_links_in_link_category'] = '无法删除“%s”这个网站链接分类,因为该分类下还有链接。请先修改网站链接后,再重试一次。';
+$messages['error_removing_link_category'] = '在删除网站链接分类“%s”时发生错误。';
+$messages['link_category_deleted_ok'] = '网站链接分类“%s”已顺利删除。';
+$messages['link_categories_deleted_ok'] = '网站链接分类“%s”已顺利删除。';
+$messages['error_removing_link_category2'] = '删除网站链接分类时发生错误 (id = %s)';
+
+// new link category
+$messages['link_category_name_help'] = '网站链接分类名称';
+$messages['error_adding_link_category'] = '新增网站链接分类时发生错误。';
+$messages['link_category_added_ok'] = '网站链接分类“%s”已顺利新增';
+
+// edit link category
+$messages['error_updating_link_category'] = '更新网站链接分类时发生错误。请检查输入数据后,再试一次。';
+$messages['link_category_updated_ok'] = '网站链接分类“%s”已顺利更新';
+$messages['error_fetching_link_category'] = '读取网站链接分类数据时发生错误。';
+
+// custom fields
+$messages['type'] = '类型';
+$messages['hidden'] = '隐藏';
+$messages['fields_deleted_ok'] = '“%s” 自订栏位已顺利删除';
+$messages['field_deleted_ok'] = '“%s” 自订栏位已顺利删除';
+$messages['error_deleting_field'] = '在删除自订栏位“%s”时发生错误。';
+$messages['error_deleting_field2'] = '删除自订栏位时发生错误 (id = %s)';
+$messages['error_incorrect_field_id'] = '自订栏位ID不正确';
+
+// new custom field
+$messages['field_name_help'] = '在发表文章时,用来显示自订栏位的名称';
+$messages['field_description_help'] = '自订栏位的简短描述';
+$messages['field_type_help'] = '选择一个合适的栏位类型';
+$messages['field_hidden_help'] = '如果勾选隐藏,那么在新增或修改文章时便不会出现该自订栏位。这个功能主要提供给外挂程式专用。';
+$messages['error_adding_custom_field'] = '新增自订栏位时发生错误。请检查输入数据后,再试一次。';
+$messages['custom_field_added_ok'] = '自订栏位“%s”已顺利更新';
+$messages['text_field'] = '文字栏位 (Text Field)';
+$messages['text_area'] = '文字区块 (Text Box)';
+$messages['checkbox'] = '核取方块 (Check Box)';
+$messages['date_field'] = '日期选择 (Date Chooser)';
+
+// edit custom field
+$messages['error_fetching_custom_field'] = '读取自订栏位数据时发生错误。';
+$messages['error_updating_custom_field'] = '更新自订栏位时发生错误。请检查输入数据后,再试一次。';
+$messages['custom_field_updated_ok'] = '自订栏位“%s”已顺利更新';
+
+// resources
+$messages['root_album'] = '主文件夹';
+$messages['num_resources'] = '文件数';
+$messages['total_size'] = '文件大小';
+$messages['album'] = '文件夹';
+$messages['error_incorrect_album_id'] = '文件夹 ID 不正确';
+$messages['error_base_storage_folder_missing_or_unreadable'] = 'LifeType 无法建立文件存档所必需的文件夹。 原因可能是因为PHP以安全模式在执行或是你没有足够的权限上传文件。 你可以试着手动建立下列文件夹: <br/><br/>%s<br/><br/>如果这些文件夹已经存在,请确定你可以使用浏览器来进行读写。';
+$messages['items_deleted_ok'] = '“%s”已顺利删除';
+$messages['error_album_has_children'] = '“%s”文件夹里面还有文件或子文件夹。请将文件或文件夹移除后在重试一次。';
+$messages['item_deleted_ok'] = '“%s”已顺利删除';
+$messages['error_deleting_album'] = '在删除文件夹“%s”时发生错误。';
+$messages['error_deleting_album2'] = '删除文件夹时发生错误 (id = %s)';
+$messages['error_deleting_resource'] = '在删除文件“%s”时发生错误。';
+$messages['error_deleting_resource2'] = '删除文件时发生错误 (id = %s)';
+$messages['error_no_resources_selected'] = '没有选择要删除的项目。';
+$messages['resource_deleted_ok'] = '文件:“%s” 已顺利删除';
+$messages['album_deleted_ok'] = '文件夹:“%s” 已顺利删除';
+$messages['add_resource'] = '新增文件 (原图)';
+$messages['add_resource_preview'] = '新增文件预览 (小图)';
+$messages['add_resource_medium'] = '新增文件预览 (中图)';
+$messages['add_album'] = '新增文件夹';
+
+// new album
+$messages['album_name_help'] = '文件夹简短名称';
+$messages['parent'] = '上层目录';
+$messages['no_parent'] = '顶端目录';
+$messages['parent_album_help'] = '使用这个选项来安排子文件夹,同时让你的文件放置更有组织。';
+$messages['album_description_help'] = '对文件夹内容做详细的描述说明。';
+$messages['error_adding_album'] = '新增文件夹时发生错误。请检查输入数据后,再试一次。';
+$messages['album_added_ok'] = '文件夹:“%s” 已顺利新增。';
+
+// edit album
+$messages['error_incorrect_album_id'] = '文件夹ID不正确。';
+$messages['error_fetching_album'] = '读取文件夹数据时发生错误。';
+$messages['error_updating_album'] = '更新文件夹时发生错误。请检查输入数据后,再试一次。';
+$messages['album_updated_ok'] = '文件夹“%s”已顺利更新';
+$messages['show_album_help'] = '取消勾选,这个文件夹将不会出现在博客文件夹列表中。';
+
+// new resource
+$messages['file'] = '文件';
+$messages['resource_file_help'] = '下面的文件将会新增到博客的文件中心。如果你要同时上传多个文件,请使用下方“新增上传栏位”的链接来新增栏位。';
+$messages['add_field'] = '新增上传栏位';
+$messages['resource_description_help'] = '关于这个文件内容的详细描述。';
+$messages['resource_album_help'] = '选择你想将文件上传到那个文件夹。';
+$messages['error_no_resource_uploaded'] = '你并未选择任何要上传的文件。';
+$messages['resource_added_ok'] = '文件:“%s”已顺利新增。';
+$messages['error_resource_forbidden_extension'] = '无法新增文件,因为用了系统不允许的副档名。';
+$messages['error_resource_too_big'] = '无法新增文件,因为文件太大了。';
+$messages['error_uploads_disabled'] = '无法新增文件,因为伺服器管理员关闭了这项功能。';
+$messages['error_quota_exceeded'] = '无法新增文件,因为已经超过容许的文件容量限度。';
+$messages['error_adding_resource'] = '在新增文件时发生错误。';
+
+// edit resource
+$messages['editResource'] = '编辑文件';
+$messages['resource_information_help'] = '下面是一些与这个文件有关的信息';
+$messages['information'] = '文件信息';
+$messages['size'] = '文件大小';
+$messages['format'] = '文件格式';
+$messages['dimensions'] = '维度';
+$messages['bits_per_sample'] = '样本位元率';
+$messages['sample_rate'] = '取样比例';
+$messages['number_of_channels'] = '频道数目';
+$messages['legnth'] = '长度';
+$messages['thumbnail_format'] = '缩图格式';
+$messages['regenerate_preview'] = '重新产生预览缩图';
+$messages['error_fetching_resource'] = '读取文件信息时发生错误。';
+$messages['error_updating_resource'] = '更新文件时发生错误。';
+$messages['resource_updated_ok'] = '文件:“%s”已顺利更新。';
+
+// blog settings
+$messages['blog_link'] = '博客站台网址';
+$messages['blog_link_help'] = '不能修改';
+$messages['blog_name_help'] = '站台名称';
+$messages['blog_description_help'] = '站台相关说明';
+$messages['language'] = '语系';
+$messages['blog_language_help'] = '系统文字以及日期所使用的语言';
+$messages['max_main_page_items'] = '首页文章数目';
+$messages['max_main_page_items_help'] = '您要在首页显示几篇文章?';
+$messages['max_recent_items'] = '近期文章数目';
+$messages['max_recent_items_help'] = '您要在“近期文章列表”显示几篇文章?';
+$messages['template'] = '模版';
+$messages['choose'] = '预览选取...';
+$messages['blog_template_help'] = '请选择您的博客站台所要使用的外观样式模版';
+$messages['use_read_more'] = '在文章使用“查看全文...”链接';
+$messages['use_read_more_help'] = '如果设置为“是”,那么您在首页的文章就会自动产生“查看全文”链接,这个链接会连到单篇文章的静态固定网址,再显示全文的“扩展内文部分”。';
+$messages['enable_wysiwyg'] = '启用所见即所得(WYSIWYG)文章编辑。';
+$messages['enable_wysiwyg_help'] = '如果您想要立刻看到您的编辑结果,请设置为“是”。这个功能只有在用户使用Internet Explorer 5.5或Mozilla 1.3b以上的版本才有效果。';
+$messages['enable_comments'] = '开放所有文章的评论留言权限';
+$messages['enable_comments_help'] = '如果设置为“是”,那么您便可以让其他用户针对您的文章发表评论留言。这个设置会套用到您的全部文章上。';
+$messages['show_future_posts'] = '在日历显示未来文章。';
+$messages['show_future_posts_help'] = '如果设置为“是”,那么发表日期设置在未来的文章将会出现在日历上。';
+$messages['comments_order'] = '评论留言排序方式';
+$messages['comments_order_help'] = '如果您设置成“旧的在前”,那么留言就会从旧到新排序,如果设置成“新的在前”,则反之,留言从新到旧排序出现。';
+$messages['oldest_first'] = '旧的在前';
+$messages['newest_first'] = '新的在前';
+$messages['categories_order'] = '分类排列顺序';
+$messages['categories_order_help'] = '首页分类排列方式。';
+$messages['most_recent_updated_first'] = '最近更新在前';
+$messages['alphabetical_order'] = '依英文字母顺序排列';
+$messages['reverse_alphabetical_order'] = '依英文字母顺序反向排列';
+$messages['most_articles_first'] = '最多文章在前';
+$messages['link_categories_order'] = '网站链接分类排列顺序';
+$messages['link_categories_order_help'] = '首页网站链接分类排列方式。';
+$messages['most_links_first'] = '最多链接在前';
+$messages['most_links_last'] = '最多链接在后';
+$messages['time_offset'] = '博客伺服器与您所在地的时间差';
+$messages['time_offset_help'] = '您可以用这个设置,调整您所发表的文章的时间。这个功能在伺服器主机与您分别在不同时区时相当有用。如果您将时间差设置为“+3 小时”,那么系统就会将文章的发表时间调整成您所设置的时间。';
+$messages['close'] = '关闭';
+$messages['select'] = '选择';
+$messages['error_updating_settings'] = '更新博客设置时发生错误,请检查输入数据后在重试一次。';
+$messages['error_invalid_number'] = '数目格式不正确。';
+$messages['error_incorrect_time_offset'] = '博客伺服器与您所在地的时间差不正确';
+$messages['blog_settings_updated_ok'] = '博客设置更新已顺利完成。';
+$messages['hours'] = '小时';
+
+// user settings
+$messages['username_help'] = '公开的用户名称,无法更改。';
+$messages['full_name'] = '全名';
+$messages['full_name_help'] = '完整的用户名称';
+$messages['password_help'] = '如果你想更改密码请输入新密码及确认密码;如果您不想修改密码,留白便可。';
+$messages['confirm_password'] = '确认密码';
+$messages['email'] = '电子邮件';
+$messages['email_help'] = '如果您想要使用电子邮件通知信功能,请填写正确的信箱。';
+$messages['bio'] = '自我介绍';
+$messages['bio_help'] = '您可以在此填写一些您的自我介绍,或是不填也可以。';
+$messages['picture'] = '个人图像';
+$messages['user_picture_help'] = '请从上传到博客中的图片选取一张做为你的个人大头贴。';
+$messages['error_invalid_password'] = '密码太短或密码错误。';
+$messages['error_passwords_dont_match'] = '很抱歉,您输入的两次密码不相符。';
+$messages['error_updating_user_settings'] = '更新个人数据时发生错误。请检查输入的数据后在重试一次。';
+$messages['user_settings_updated_ok'] = '用户设置已顺利更新。';
+$messages['resource'] = '文件';
+
+// plugin centre
+$messages['identifier'] = '代号';
+$messages['error_plugins_disabled'] = '很抱歉,外挂程式目前停用中。';
+
+// blog users
+$messages['revoke_permissions'] = '取消使用权限。';
+$messages['error_no_users_selected'] = '你没有选取任何用户。';
+$messages['user_removed_from_blog_ok'] = '用户“%s”已经顺利从本站作者行列中删除。';
+$messages['users_removed_from_blog_ok'] = '用户“%s”已经顺利从本站作者行列中删除。';
+$messages['error_removing_user_from_blog'] = '在将用户“%s”从本博客站台作者行列中移除时发生错误。';
+$messages['error_removing_user_from_blog2'] = '在将用户从本博客站台作者行列中移除时发生错误。(id:%s)';
+
+// new blog user
+$messages['new_blog_username_help'] = '您可以用以下表单,将其他用户加入您的博客作者行列中。新增加的用户只能存取管理中心及文件中心。';
+$messages['send_notification'] = '发送通知';
+$messages['send_user_notification_help'] = '用电子邮件通知这名用户。';
+$messages['notification_text'] = '通知内容';
+$messages['notification_text_help'] = '请输入您要通知这位用户的信件内容';
+$messages['error_adding_user'] = '在加入用户时发生问题,请检查输入的数据在重试一次。';
+$messages['error_empty_text'] = '通知内容不可以是空白。';
+$messages['error_adding_user'] = '在加入用户时发生问题,请检查输入的数据在重试一次。';
+$messages['error_invalid_user'] = '用户“%s”帐号不正确或该用户不存在。';
+$messages['user_added_to_blog_ok'] = '用户“%s”已经顺利加入作者行列。';
+
+// blog templates
+$messages['error_no_templates_selected'] = '您没有选择任何模版。';
+$messages['error_template_is_current'] = '“%s”模版无法删除,该模版正在使用中。';
+$messages['error_removing_template'] = '删除模版 “%s”时发生错误。';
+$messages['template_removed_ok'] = ' 模版 “%s”已顺利删除。';
+$messages['templates_removed_ok'] = '模版 “%s”已顺利删除。';
+
+// new blog template
+$messages['template_installed_ok'] = '新的模版设置“ %s”已经顺利安装完成。';
+$messages['error_installing_template'] = '在安装模版设置“ %s”时发生错误。';
+$messages['error_missing_base_files'] = '在这个模版设置中有些基本文件不见了。';
+$messages['error_add_template_disabled'] = '本站不允许用户新增模版文件。';
+$messages['error_must_upload_file'] = '您必须上传文件。';
+$messages['error_uploads_disabled'] = '本站已关闭文件上传功能。';
+$messages['error_no_new_templates_found'] = '找不到新的模版设置。';
+$messages['error_template_not_inside_folder'] = '模版文件必须放在与模版同名的目录当中。';
+$messages['error_missing_base_files'] = '在这个模版设置中有些基本文件不见了。';
+$messages['error_unpacking'] = '在解压缩时发生错误。';
+$messages['error_forbidden_extensions'] = '在这个模版设置中有些文件禁止存取。';
+$messages['error_creating_working_folder'] = '在检查模版设置时发生错误。';
+$messages['error_checking_template'] = '模版设置发生错误 (code = %s)';
+$messages['template_package'] = '模版安装包';
+$messages['blog_template_package_help']  = '您可以用这个表单,上传一个新的模版安装包,该模版将只有你的博客能够使用。如果您没有办法用浏览器上传,请手动上传该模版并将它放置于你的博客模板文件夹<b>%s</b>下,然后按下 "<b>扫描模版</b>" 按纽。 LifeType 会扫描该文件夹并自动新增所找到的新模版。';
+$messages['scan_templates'] = '扫描模版';
+
+// site users
+$messages['user_status_active'] = '启用';
+$messages['user_status_disabled'] = '停用';
+$messages['user_status_all'] = '所有状态';
+$messages['user_status_unconfirmed'] = '尚未确认';
+$messages['error_invalid_user2'] = '用户代号“%s”不存在。';
+$messages['error_deleting_user'] = '在停用用户帐号“%s”时发生错误。';
+$messages['user_deleted_ok'] = '用户帐号“%s”已顺利停用。';
+$messages['users_deleted_ok'] = '用户帐号“%s”已顺利停用。';
+
+// create user
+$messages['user_added_ok'] = '新用户帐号“%s”已顺利新增。';
+$messages['user_status_help'] = '用户帐号目前状态';
+$messages['user_blog_help'] = '用户默认的博客';
+$messages['none'] = 'æ— ';
+
+// edit user
+$messages['error_invalid_user'] = '用户ID不正确或用户不存在。';
+$messages['error_updating_user'] = '更新用户设置时发生错误。请检查输入数据后再重试一次。';
+$messages['blogs'] = '博客';
+$messages['user_blogs_help'] = '用户拥有或可以存取的博客。';
+$messages['site_admin'] = '全站系统管理';
+$messages['site_admin_help'] = '如果用户拥有全站系统管理权限,他就可以看见[站台设置]区域,可以进行全站的管理工作。';
+$messages['user_updated_ok'] = '用户帐号“%s”已顺利更新。';
+
+// site blogs
+$messages['blog_status_all'] = '所有状态';
+$messages['blog_status_active'] = '启用';
+$messages['blog_status_disabled'] = '停用';
+$messages['blog_status_unconfirmed'] = '尚未确认';
+$messages['owner'] = '管理员';
+$messages['quota'] = '文件限度';
+$messages['bytes'] = 'bytes';
+$messages['error_no_blogs_selected'] = '您必须要选择您所想要删除的博客站台。';
+$messages['error_blog_is_default_blog'] = '“%s”是系统默认博客站台,无法删除。';
+$messages['blog_deleted_ok'] = '“%s”博客站台已顺利删除。';
+$messages['blogs_deleted_ok'] = '“%s”博客站台已顺利删除。';
+$messages['error_deleting_blog'] = '在删除“%s”这个博客站台时发生错误。';
+$messages['error_deleting_blog2'] = '在删除博客站台时发生错误。(id:%s)';
+
+// create blog
+$messages['error_adding_blog'] = '在新增博客时发生错误。请检查输入的数据在重试一次。';
+$messages['blog_added_ok'] = '新的博客站台“%s”已成功加入数据库中。';
+
+// edit blog
+$messages['blog_status_help'] = '博客状态';
+$messages['blog_owner_help'] = '博客站台管理者,将拥有完整的权限来修改博客设置。';
+$messages['users'] = '用户';
+$messages['blog_quota_help'] = '文件容量限度(单位:bytes)。设为0或空白将使用系统的全域文件限度做为默认值。';
+$messages['edit_blog_settings_updated_ok'] = '博客 “%s”已顺利更新。';
+$messages['error_updating_blog_settings'] = '更新博客站台 “%s”时发生错误。';
+$messages['error_incorrect_blog_owner'] = '要设置为博客站台管理员的用户帐号不存在。';
+$messages['error_fetching_blog'] = '读取博客数据时发生错误。';
+$messages['error_updating_blog_settings2'] = '更新博客时发生错误。请检查输入数据在重试一次。';
+$messages['add_or_remove'] = '新增或移除用户';
+
+// site locales
+$messages['locale'] = '语系';
+$messages['locale_encoding'] = '编码方式';
+$messages['locale_deleted_ok'] = '“%s”语系已顺利删除。';
+$messages['error_no_locales_selected'] = '您没有选择要删除的语系。';
+$messages['error_deleting_only_locale'] = '您不可以删除这个语系文件,因为这是系统中目前唯一的语系文件。';
+$messages['locales_deleted_ok']= '“%s”语系已顺利删除。';
+$messages['error_deleting_locale'] = '在删除“%s”语系时发生错误。';
+$messages['error_locale_is_default'] = '您不可以删除“%s”语系,因为这是系统目前的默认语系。';
+
+// add locale
+$messages['error_invalid_locale_file'] = '这个文件并不是正确的语系文件。';
+$messages['error_no_new_locales_found'] = '找不到新的语系文件。';
+$messages['locale_added_ok'] = '语系“%s”已经顺利新增';
+$messages['error_saving_locale'] = '在将新的语系文件储存至语系文件目录时发生错误。请检查文件目录的写入权限是否正确。';
+$messages['scan_locales'] = '扫描语系档';
+$messages['add_locale_help'] = '您可以用这个表单,上传一个新的语系档。如果您没有办法用浏览器上传,请手动上传该文件并将它放置于 <b>./locales/</b>下,然后按下 "<b>扫描语系档</b>" 按纽。 LifeType 会扫描该文件夹并自动新增所找到的语系档。 ';
+
+// site templates
+$messages['error_template_is_default'] = '您不可以删除“%s”模版,因为这是新博客目前的默认模版。';
+
+// add template
+$messages['global_template_package_help'] = '您可以用这个表单,上传一个新的模版安装包,该模版将提供给网站上所有博客使用。如果您没有办法用浏览器上传,请手动上传该模版并将它放置于你的博客模板文件夹<b>%s</b>下,然后按下 "<b>扫描模版</b>" 按纽。 LifeType 会扫描该文件夹并自动新增所找到的新模版。';
+
+// global settings
+$messages['site_config_saved_ok'] = '站台设置已顺利储存。';
+$messages['error_saving_site_config'] = '在储存站台设置时发生问题。';
+/// general settings
+$messages['help_comments_enabled'] = '启用或停用全站的评论留言功能。';
+$messages['help_beautify_comments_text'] = '在用户发表评论留言时,使用他所输入的文字格式。';
+$messages['help_temp_folder'] = 'LifeType系统用来储存暂存文件用的目录。';
+$messages['help_base_url'] = '这个博客安装的网址,这个项目务必要正确,请小心输入。';
+$messages['help_subdomains_enabled'] = '启用或停用次网域设置。';
+$messages['help_include_blog_id_in_url'] = '当[次网域]功能启用及[一般网址]功能启用时才有意义。强迫产生的网址不要包含 blogId 这个参数。请不要变更设置值,除非你知道你在做什么。';
+$messages['help_script_name'] = '如果你将index.php更改为其它名称的话,请在下方输入更改后的文件名称。';
+$messages['help_show_posts_max'] = '在首页显示文章数的默认值。';
+$messages['help_recent_posts_max'] = '在首页“近期文章”列表中显示文章数的默认值。';
+$messages['help_save_drafts_via_xmlhttprequest_enabled'] = '当 XmlHttpRequest 功能被启用时,将可以使用 Javascript 来储存文章草稿。';
+$messages['help_locale_folder'] = '语系文件所在目录。';
+$messages['help_default_locale'] = '在建立新博客站台时默认使用的语系。';
+$messages['help_default_blog_id'] = '默认博客ID';
+$messages['help_default_time_offset'] = '默认的网站伺服器时间差。';
+$messages['help_html_allowed_tags_in_comments'] = '在发表评论评论时可以使用的HTML语法标签。';
+$messages['help_referer_tracker_enabled'] = '是否使用文章逆向链接功能。(停用此功能可以提高系统效能。)';
+$messages['help_show_more_enabled'] = '启用或停用“查看全文”链接功能。';
+$messages['help_update_article_reads'] = '是否使用内建的点阅率统计工具计算每篇文章的点阅次数。(停用此功能可以提高系统效能。)';
+$messages['help_update_cached_article_reads'] = '在快取功能开启的情形下,是否使用内建的点阅率统计工具计算每篇文章的点阅次数。';
+$messages['help_xmlrpc_ping_enabled'] = '在系统中有人发表新文章时,是否送出 XMLRPC 通告。';
+$messages['help_send_xmlrpc_pings_enabled_by_default'] = '默认启用该功能。当有新文章发表或更新时,是否送出 XMLRPC 通告。。';
+$messages['help_xmlrpc_ping_hosts'] = 'XMLRPC 通告列表,如果您要向多处发送通告,请在文字框下面加入通告发送网址,每个网址一行。';
+$messages['help_trackback_server_enabled'] = '是否接受从站外传来的引用通告(TrackBack)。';
+$messages['help_htmlarea_enabled'] = '启用或停用即视即所得(WYSIWYG)文章编辑。';
+$messages['help_plugin_manager_enabled'] = '启用或停用外挂程式。';
+$messages['help_minimum_password_length'] = '密码最短需要多少字元。';
+$messages['help_xhtml_converter_enabled'] = '如果启用此功能,LifeType会试着将所有的HTML转换为适当的XHTML。';
+$messages['help_xhtml_converter_aggressive_mode_enabled'] = '如果启用此功能,LifeType会试着将HTML进一步转换为XHTML,但这样可能会导致更多的错误。';
+$messages['help_session_save_path'] = '此设置将使用PHP的session_save_path()函数,来更改LifeType存放session的文件夹。请确定该文件夹可以透过网站伺服器进行写入动作。如果你要使用PHP默认的session存放路径,请将此设置空白。';
+// summary settings
+$messages['help_summary_page_show_max'] = '在汇整页面中要显示多少项目。此选项控制在汇整页面中列出的所有项目。(包括最新文章数目、最活跃博客等)';
+$messages['help_summary_items_per_page'] = '在[博客列表]中每一页要显示多少博客。';
+$messages['help_forbidden_usernames'] = '列出所有不允许注册的用户名称。';
+$messages['help_force_one_blog_per_email_account'] = '一个电子邮件是否只能注册一个博客';
+$messages['help_summary_show_agreement'] = '在用户进行注册动作之前,是否显示并确认用户同意服务条款。';
+$messages['help_need_email_confirm_registration'] = '是否启用电子邮件的确认链接来启用帐号。';
+$messages['help_summary_disable_registration'] = '是否关闭用户注册新博客的功能。';
+// templates
+$messages['help_template_folder'] = '模版文件的所在目录路径。';
+$messages['help_default_template'] = '在新建博客站台时,默认使用的模版。';
+$messages['help_users_can_add_templates'] = '用户是否可以在模版设置当中,加入属于自己专属需求的文件。';
+$messages['help_template_compile_check'] = '停用此功能时,Smarty只有在模版有更改时才会重新产生页面。停用此功能可以提高系统效能。';
+$messages['help_template_cache_enabled'] = '启用模版快取功能。启用此功能,快取的版本将会持续被使用,而不需要对数据库进行数据存取的动作。';
+$messages['help_template_cache_lifetime'] = '快取存活时间(单位:秒).设为-1快取将永不过期,或设为0来关闭快取功能。';
+$messages['help_template_http_cache_enabled'] = '是否启用对HTTP链接要求的快取支援。启用此功能LifeType只会传送必要的内容,可以节省网路频宽。';
+$messages['help_allow_php_code_in_templates'] = '允许在Smarty 模版中的{php}...{/php}区块置入原生PHP程式码(native PHP code)';
+// urls
+$messages['help_request_format_mode'] = '如果您设置为“一般网址”,那么系统所呈现的网址,就会使用将参数以get方式传入的一般方式。如果您选用“让搜寻引擎易于搜寻的简洁网址”,那么就会让网址变得简洁,搜寻引擎也容易取得您网站上的内容,不过您的Apache伺服器必须要能够接受.htaccess文件中的覆写设置。如果使用自订网址,请调整下方的设置。';
+$messages['plain'] = '一般网址';
+$messages['search_engine_friendly'] = '让搜寻引擎易于搜寻的简洁网址';
+$messages['custom_url_format'] = '自订网址';
+$messages['help_permalink_format'] = '当使用自订网址时,静态链接网址格式。';
+$messages['help_category_link_format'] = '当使用自订网址时,网站链接分类网址格式。';
+$messages['help_blog_link_format'] = '当使用自订网址时,博客链接网址格式。';
+$messages['help_archive_link_format'] = '当使用自订网址时,文章汇整链接网址格式。';
+$messages['help_user_posts_link_format'] = '当使用自订网址时,特定用户发表的文章链接网址格式。';
+$messages['help_post_trackbacks_link_format'] = '当使用自订网址时,引用链接网址格式。';
+$messages['help_template_link_format'] = '当使用自订网址时,自订静态模版链接网址格式。';
+$messages['help_album_link_format'] = '当使用自订网址时,文件夹链接网址格式。';
+$messages['help_resource_link_format'] = '当使用自订网址时,文件链接网址格式。';
+$messages['help_resource_preview_link_format'] = '当使用自订网址时,文件预览链接网址格式。';
+$messages['help_resource_medium_size_preview_link_format'] = '当使用自订网址时,中型文件预览链接网址格式。';
+$messages['help_resource_download_link_format'] = '当使用自订网址时,文件下载链接网址格式。';
+// email
+$messages['help_check_email_address_validity'] = '在用户注册申请新的博客站台时,是否要认证他所填写的电子邮件信箱是否正确。';
+$messages['help_email_service_enabled'] = '使用或停用用来寄送通知信函的电子邮件服务。';
+$messages['help_post_notification_source_address'] = '系统通知信函的寄件人电子邮件信箱。';
+$messages['help_email_service_type'] = '用来寄送电子邮件的方式,请在各种方法选择其中之一。';
+$messages['help_smtp_host'] = '如果您选用SMTP寄送电子邮件,请输入您要用来发送邮件的主机。';
+$messages['help_smtp_port'] = '前项设置的SMTP主机端口(port)';
+$messages['help_smtp_use_authentication'] = 'SMTP主机是否需要授权认证。如果需要的话,请继续填写下面两项设置。';
+$messages['help_smtp_username'] = '如果SMTP主机需要授权认证,请填写用户帐号。';
+$messages['help_smtp_password'] = '如果SMTP主机需要授权认证,请填写用户密码。';
+// helpers
+$messages['help_path_to_tar'] = '“tar”指令所在目录。(用来解压缩使用 .tar.gz 或 .tar.gz2格式压缩的模版包)';
+$messages['help_path_to_gzip'] = '“gzip”指令所在目录。(用来解压缩使用 .tar.gz 格式压缩的模版包)';
+$messages['help_path_to_bz2'] = '“bzip2”指令所在目录。(用来解压缩使用 .tar.gz2格式压缩的模版包)';
+$messages['help_path_to_unzip'] = '“unzip”指令所在目录。(用来解压缩使用 .zip格式压缩的模版包)';
+$messages['help_unzip_use_native_version'] = '使用PHP内建的版本来解压缩 .zip 的文件';
+// uploads
+$messages['help_uploads_enabled'] = '启用或停用上传文件功能。这个功能会影响到用户能否上传新的模版安装包,以及在模版中添加新的文件。';
+$messages['help_maximum_file_upload_size'] = '用户上传文件大小的上限。';
+$messages['help_upload_forbidden_files'] = '禁止用户上传的文件类型。如果有多个不同的文件类型,请在不同的类型间用空白区隔。也可使用\'*\' and \'?\'的方式。';
+// interfaces
+$messages['help_xmlrpc_api_enabled'] = '启用或停用XMLRPC介面。XMLRPC介面的用途是可以让您使用桌面博客写作工具出版博客文章。';
+$messages['help_rdf_enabled'] = '启用或停用产生RSS新闻交换文件功能。';
+$messages['help_default_rss_profile'] = '默认的RSS/RDF新闻交换格式';
+// security
+$messages['help_security_pipeline_enabled'] = '启用系统安全功能。如果您关闭了这个选项,那么所有的系统安全功能都会停用,如果您想要关闭一些系统安全功能,建议您将这个设置设为开启,然后在以下的选项中,逐一停用我们不需要的系统安全功能项目。';
+$messages['help_maximum_comment_size'] = '评论留言的内文字元数上限。';
+// bayesian filter
+$messages['help_bayesian_filter_enabled'] = '启用或停用贝氏过滤机制。';
+$messages['help_bayesian_filter_spam_probability_treshold'] = '被认定为是垃圾评论留言的数值下限。设置范围在0.01到0.99之间。';
+$messages['help_bayesian_filter_nonspam_probability_treshold'] = '设置评论留言是正常留言的数值上限。任何符合在前一设置与本设置之间数值的留言评论,都会被认定是正常而非垃圾留言。';
+$messages['help_bayesian_filter_min_length_token'] = '在多少字元数以上才会启动贝氏过滤机制。';
+$messages['help_bayesian_filter_max_length_token'] = '贝氏过滤机制可以处理的最多字元数上限。';
+$messages['help_bayesian_filter_number_significant_tokens'] = '在信息中必须要有多少显著有意义的文字。';
+$messages['help_bayesian_filter_spam_comments_action'] = '处理垃圾留言的方法。您可以直接清理这些垃圾留言(不会存进数据库中),或是保存这些垃圾留言,但是加上垃圾留言标示标示。建议当您的过滤机制在还没有妥善建立阻挡规则时,先用后者。';
+$messages['keep_spam_comments'] = '保存垃圾评论';
+$messages['throw_away_spam_comments'] = '清理垃圾评论';
+// resources
+$messages['help_resources_enabled'] = '启用或关闭文件中心功能。';
+$messages['help_resources_folder'] = '用来存放文件中心的目录。这个目录不一定要在网页目录下。如果您不希望别人直接浏览您的文件目录,您可以把这个目录设置到其他地方。';
+$messages['help_thumbnail_method'] = '您用来产生缩图的后端系统。如果使用PHP,GD的支援是必须的。';
+$messages['help_path_to_convert'] = '用来产生缩图的系统工具路径。如果您要使用ImageMagick,那么您必须接着填写ImageMagick的工具程式路径。';
+$messages['help_thumbnail_format'] = '在产生预览缩图时所使用的默认格式。如果您选择“与原始影像相同”,那么预览缩图就会储存成与原始影像相同的格式。';
+$messages['help_thumbnail_height'] = '缩图默认高度。';
+$messages['help_thumbnail_width'] = '缩图默认宽度。';
+$messages['help_medium_size_thumbnail_height'] = '中型缩图默认高度';
+$messages['help_medium_size_thumbnail_width'] = '中型缩图默认宽度';
+$messages['help_thumbnails_keep_aspect_ratio'] = '缩图是否保持原始比例。';
+$messages['help_thumbnail_generator_force_use_gd1'] = '是否强迫LifeType使用GD1函数来产生缩图';
+$messages['help_thumbnail_generator_user_smoothing_algorithm'] = '是否使用演算法来使缩图画面更平顺。只有当缩图产生工具是GD时才适用。';
+$messages['help_resources_quota'] = '全域文件容量限额';
+$messages['help_resource_server_http_cache_enabled'] = '当 HTTP 请求档头为"If-Modified-Since"启用快取支援。启用此功能来节省网路频宽。';
+$messages['help_resource_server_http_cache_lifetime'] = '客户端可以使用快取文件的时间(单位:千分之一秒)';
+$messages['same_as_image'] = '与原始影像相同';
+// search
+$messages['help_search_engine_enabled'] = '启用或停用搜寻引擎';
+$messages['help_search_in_custom_fields'] = '搜寻包含自订栏位';
+$messages['help_search_in_comments'] = '搜寻包含评论';
+
+// cleanup
+$messages['purge'] = '清除';
+$messages['cleanup_spam'] = '清除垃圾评论';
+$messages['cleanup_spam_help'] = '这会清除所有被用户标示为垃圾的评论。被清除的垃圾评论将无法回复。';
+$messages['spam_comments_purged_ok'] = '垃圾评论已顺利清除。';
+$messages['cleanup_posts'] = '清除文章';
+$messages['cleanup_posts_help'] = '这会清除所有被用户标示为删除的文章。 被清除的文章将无法回复。';
+$messages['posts_purged_ok'] = '文章已顺利清除。';
+$messages['purging_error'] = '清理时发生错误。';
+
+/// summary ///
+// front page
+$messages['summary'] = '汇整';
+$messages['register'] = '注册';
+$messages['summary_welcome'] = '欢迎!';
+$messages['summary_most_active_blogs'] = '最活跃博客';
+$messages['summary_most_commented_articles'] = '最多评论文章';
+$messages['summary_most_read_articles'] = '最多人阅读文章';
+$messages['password_forgotten'] = '忘记密码?';
+$messages['summary_newest_blogs'] = '最新建立的博客';
+$messages['summary_latest_posts'] = '最新发表的文章';
+$messages['summary_search_blogs'] = '搜寻博客';
+
+// blog list
+$messages['updated'] = 'æ›´æ–°';
+$messages['total_reads'] = '浏览总次数';
+
+// blog profile
+$messages['blog'] = '博客';
+$messages['latest_posts'] = '最新发表的文章';
+
+// registration
+$messages['register_step0_title'] = '服务条款';
+$messages['agreement'] = '同意条款';
+$messages['decline'] = '不接受';
+$messages['accept'] = '接受';
+$messages['read_service_agreement'] = '请详细阅读服务条款,如果你同意以上条款请按下接受键。';
+$messages['register_step1_title'] = '建立用户 [1/4]';
+$messages['register_step1_help'] = '首先你必须先建立一个用户帐号来取得一个博客,这个用户拥有该博客,同时可以进行所有博客设置功能。';
+$messages['register_next'] = '下一步';
+$messages['register_back'] = '上一步';
+$messages['register_step2_title'] = '建立博客 [2/4]';
+$messages['register_blog_name_help'] = '帮你的博客取个名称';
+$messages['register_step3_title'] = '选择一个模版[3/4]';
+$messages['step1'] = '步骤 1';
+$messages['step2'] = '步骤 2';
+$messages['step3'] = '步骤 3';
+$messages['register_step3_help'] = '请选择一个模版做为博客的默认模版。只要你不喜欢,你可以随时把它换掉。';
+$messages['error_must_choose_template'] = '请选择一个模版';
+$messages['select_template'] = '选取模版';
+$messages['register_step5_title'] = '恭喜你! [4/4]';
+$messages['finish'] = '注册完成';
+$messages['register_need_confirmation'] = '一封包含注册[确认信息链接]的电子邮件已经寄到你的电子信箱中。请尽快点选该链接来开始你的blogging生活!';
+$messages['register_step5_help'] = '恭喜你,新的用户帐号及博客已经顺利建立!';
+$messages['register_blog_link'] = '如果你要看一看你的新博客,你现在可以到<a href="%2$s">%1$s</a>这里看一看。';
+$messages['register_blog_admin_link'] = '如果你想要立刻开始发表文章,请点选链接到 <a href="admin.php">管理介面</a>';
+$messages['register_error'] = '过程中有错误发生!';
+$messages['error_registration_disabled'] = '很抱歉,网站管理者停用注册新博客的功能。';
+// registration article topic and text
+$messages['register_default_article_topic'] = '恭喜!';
+$messages['register_default_article_text'] = '如果你可以看到这篇文章,表示注册过程已经顺利完成。现在你可以开始blogging了!';
+$messages['register_default_category'] = '一般';
+// confirmation email
+$messages['register_confirmation_email_text'] = '请点选下面的链接来启用你的博客::
+
+%s
+
+祝你有个美好的一天!';
+$messages['error_invalid_activation_code'] = '很抱歉,确认码不正确!';
+$messages['blog_activated_ok'] = '恭喜,你的用户帐号和博客已经顺利启用了!';
+// forgot your password?
+$messages['reset_password'] = '重设密码';
+$messages['reset_password_username_help'] = '你要重设那个用户的密码?';
+$messages['reset_password_email_help'] = '用户用来注册的电子邮件位址';
+$messages['reset_password_help'] = '使用下方的表单来重设密码。请输入用户名称及注册时使用的电子邮件位址。';
+$messages['error_resetting_password'] = '重设密码时发生错误。请检查输入的数据再重试一次。';
+$messages['reset_password_error_incorrect_email_address'] = '电子邮件位址错误或着这不是你注册时使用的电子邮件。';
+$messages['password_reset_message_sent_ok'] = '一封有着重设密码链接的电子邮件已经送到你的电子邮件信箱,请点选该链接来重设密码。';
+$messages['error_incorrect_request'] = '网址中的参数不正确。';
+$messages['change_password'] = '重设密码';
+$messages['change_password_help'] = '请输入新密码及确认密码';
+$messages['new_password'] = '新密码';
+$messages['new_password_help'] = '在这里输入新密码';
+$messages['password_updated_ok'] = '你的密码已经顺利更新';
+
+// Suggested by BCSE, some useful messages that not available in official locale
+$messages['upgrade_information'] = '您所使用的浏览器未符合网页设计标准,因此本网页将以纯文字模式显示。如欲以最佳的排版方式浏览本站,请考虑<a href="http://www.webstandards.org/upgrade/" title="The Web Standards Project\'s Browser Upgrade initiative">升级</a>您的浏览器。';
+$messages['jump_to_navigation'] = '移动到导览列。';
+$messages['comment_email_never_display'] = '系统会自动为你设置分行,且不会显示你留下的邮件地址。';
+$messages['comment_html_allowed'] = '可使用之 <acronym title="Hypertext Markup Language">HTML</acronym> 标签如下:&lt;<acronym title="用途:超链接">a</acronym> href=&quot;&quot; title=&quot;&quot; rel=&quot;&quot;&gt; &lt;<acronym title="用途:头字语标注">acronym</acronym> title=&quot;&quot;&gt; &lt;<acronym title="用途:引用文字">blockquote</acronym> cite=&quot;&quot;&gt; &lt;<acronym title="用途:删除线">del</acronym>&gt; &lt;<acronym title="用途:斜体">em</acronym>&gt; &lt;<acronym title="用途:底线">ins</acronym>&gt; &lt;<acronym title="用途:粗体">strong</acronym>&gt;';
+$messages['trackback_uri'] = '这篇文章的引用链接网址:';
+
+$messages['xmlrpc_ping_ok'] = 'XMLRPC Ping sent successfully: ';
+$messages['error_sending_xmlrpc_ping'] = 'There was an error sending the XMLRPC ping to: ';
+$messages['error_sending_xmlrpc_ping_message'] = 'There was an error sending the XMLRPC ping: ';
+
+//
+// new strings for 1.1
+//
+$messages['error_incorrect_trackback_id'] = '引用的识别码不正确';
+$messages['error_marking_trackback_as_spam'] = '标记垃圾引用时发生错误';
+$messages['trackback_marked_as_spam_ok'] = '标记垃圾引用成功';
+$messages['error_marking_trackback_as_nonspam'] = '取消标记垃圾引用时发生错误';
+$messages['trackback_marked_as_nonspam_ok'] = '取消标记垃圾引用成功';
+$messages['upload_here'] = '上传到这里';
+$messages['reply_string'] = 'Re: ';
+$messages['cleanup_users'] = '删除用户';
+$messages['cleanup_users_help'] = '这个操作会把所有被管理员标示为(已删除)的用户完全删除,同时也会把这些用户的所有博客也删除,包括所有包含在博客里的任何东西。如果这些用户有在其他博客写文章的权限,那他们在其他博客里所写的文章也会一起被删除。当用户被删除时,这些动作是不可能恢复的。';
+$messages['users_purged_ok'] = '成功删除用户';
+$messages['cleanup_blogs'] = '删除博客';
+$messages['cleanup_blogs_help'] = '这个操作会把所有被管理员标示为(已删除)的博客完全删除,包括所有包含在博客里的任何东西。当博客被删除时,这些动作是不可能恢复的。';
+$messages['blogs_purged_ok'] = '成功删除博客';
+$messages['help_use_http_accept_language_detection'] = '大部分的浏览器像 Mozilla Firefox 、 Safari 或 Internet Explorer 至少会传送一个用户<i>应该</i>了解的语言码。如果启用这个功能,而且该语言是可用的, LifeType 会试着以这个请求的语言来服务用户。[默认值 = 否]';
+
+$messages['error_invalid_blog_category'] = '不合法的博客分类';
+$messages['error_adding_blog_category'] = '新增博客分类时发生错误';
+$messages['newBlogCategory'] = '新增博客分类';
+$messages['editBlogCategories'] = '编辑博客分类';
+$messages['blog_category_added_ok'] = '成功新增博客分类';
+$messages['error_blog_category_has_blogs'] = '已经有一些博客指定到博客分类 "%s" 。请先编辑这些博客之后再试一次';
+$messages['error_deleting_blog_category'] = '删除博客分类 "%s" 时发生错误';
+$messages['blog_category_deleted_ok'] = '成功删除博客分类 "%s"';
+$messages['blog_categories_deleted_ok'] = '成功删除博客分类 "%s"';
+$messages['error_deleting_blog_category2'] = '删除 id 为 %s 的博客分类时发生错误';
+$messages['blog_category'] = '博客分类';
+$messages['blog_category_help'] = '替博客指定一个全域博客分类';
+
+$messages['help_use_captcha_auth'] = '在注册程序使用 CAPTCHA 机制,以防止自动注册机器人程式';
+$messages['help_skip_dashboard'] = '让用户跳过管理面板,直接进入他目前所拥有的第一个博客';
+
+$messages['manageGlobalArticleCategory'] = '全域文章分类';
+$messages['newGlobalArticleCategory'] = '新增全域文章分类';
+$messages['editGlobalArticleCategories'] = '编辑全域文章分类';
+$messages['global_category_name_help'] = '新的全域文章分类的名称';
+$messages['global_category_description_help'] = '新的全域文章分类的详细描述';
+$messages['error_incorrect_global_category_id'] = '不合法的全域文章分类';
+$messages['global_category_deleted_ok'] = '成功删除全域文章分类 "%s"';
+$messages['global_category_added_ok'] = '成功新增全域文章分类 "%s"';
+$messages['error_deleting_global_category2'] = '删除 id 为 %S 的全域文章分类时发生错误';
+
+$messages['help_page_suffix_format'] = '支援分页时,加在网址尾端的字尾';
+
+$messages['help_final_size_thumbnail_width'] = '上传图档的最后宽度。使用空白或 0 则使用图档的原始大小';
+$messages['help_final_size_thumbnail_height'] = '上传图档的最后高度。使用空白或 0 则使用图档的原始大小';
+$messages['error_comment_too_big'] = '评论内容太长';
+$messages['error_you_have_been_blocked'] = '阻挡:这个请求并没有完成';
+$messages['created'] = '已建立';
+$messages['view'] = '阅读';
+$messages['editUser'] = '编辑用户';
+$messages['help_urlize_word_separator'] = '建立 LifeType 相关的链接时,用于链接单字的字元。如果启用次网域网址时,这也会使用于产生网址里的网站名称。[默认值 = _]';
+$messages['help_summary_template_cache_lifetime'] = '汇整页面快取的有效时间。若设为 \'0\' ,只要有数据更新就会更新汇整页面的快取。如果设为其他值,则会等到这段时间过了之后再更新汇整页面的快取。[默认值 = 0]';
+$messages['register_default_album_name'] = '一般';
+$messages['register_default_album_description'] = '使用这个文件夹上传新图档';
+$messages['show_in_summary'] = '在汇整页面中显示';
+$messages['show_in_summary_help'] = '在汇整页面中显示这个博客';
+
+$messages['saving_message'] = '储存中 ...';
+$messages['show_option_panel'] = '显示文章选项';
+$messages['hide_option_panel'] = '隐藏文章选项';
+
+$messages['quick_launches'] = '快捷列';
+
+$messages['confirmation_message_resent_ok'] = '注册确认信件已成功地重新寄出';
+
+$messages['goto_blog_page'] = '打开 %s 首页';
+
+$messages['help_num_blogs_per_user'] = '拥有者可以从管理介面建立博客的数目';
+
+$messages['massive_change_option'] = '大量修改选项';
+$messages['show_massive_change_option'] = '显示大量修改选项';
+$messages['hide_massive_change_option'] = '隐藏大量修改选项';
+$messages['change_status'] = '修改状态';
+$messages['change_category'] = '修改分类';
+$messages['error_updating_comment_no_comment'] = '更新评论时发生错误。评论 #%s 不存在。';
+$messages['error_updating_comment_wrong_blog'] = '更新评论时发生错误。评论 (%s)不在这篇文章上。';
+$messages['error_updating_comment'] = '更新评论 (%s) 发生错误。';
+$messages['error_updating_comment_already_updated'] = '(%s) 没有进行任何更新。';
+$messages['comment_updated_ok'] = '评论已顺利更新。';
+$messages['comments_updated_ok'] = '%s 评论已顺利更新。';
+
+$messages['error_post_status'] = '请选择文章状态。';
+$messages['error_comment_status'] = '请选择评论状态。';
+$messages['admin_mode'] = '管理员模式';
+$messages['administrate_user_blog'] = '管理这个博客';
+$messages['trackbacks_updated_ok'] = '%s 个引用已成功的更新';
+$messages['trackback_updated_ok'] = '引用已成功的更新';
+$messages['error_trackback_status'] = '请选择一个合法的状态';
+$messages['error_incorrect_user'] = '不合法的用户';
+$messages['select'] = '选择';
+$messages['remove_selected'] = '取消选取';
+
+$messages['notification_subject'] = 'LifeType 通知系统';
+$messages['error_no_trackback_links_sent'] = '警告:没有送出任何引用';
+
+$messages['help_http_cache_lifetime'] = '客户端快取的有效时间,以秒为单位。 (浏览器在这段期间不会再连线到网页主机,而直接使用本地端的快取)。这个做法将加快浏览网页的速度,但是将延后文章和评论的出现时间。[默认值 = 1800]';
+
+$messages['trackbacks_no_trackback'] = '送出引用到下面的网址失败:';
+
+$messages['error_comment_spam_throw_away'] = '你不能发表这个信息。反垃圾过滤系统已经将这个信息阻挡下来。';
+$messages['error_comment_spam_keep'] = '反垃圾过滤系统已经将你的评论放到伫列里等待博客拥有者的审核。';
+
+$messages['blog_categories'] = '博客分类';
+$messages['global_article_categories'] = '全站文章分类'; 
+
+$messages['help_force_posturl_unique'] = '强迫博客里所有文章的网址都是唯一的。这只有当你更改网址并且将日期部份从网址中移除时才需要。[默认值 = no]';
+
+$messages['default_send_notification'] = '默认发送通知';
+
+$messages['enable_pull_down_menu'] = '下拉式选单';
+$messages['enable_pull_down_menu_help'] = '启用或关闭下拉式选单。';
+
+$messages['change_album'] = '修改文件夹'; 
+
+$messages['warning_autosave_message'] = '<img src="imgs/admin/icon_warning-16.png" alt="Error" class="InfoIcon"/><p class="ErrorText">你好像有之前尚未存档的文章。如果你还想继续编辑,你可以 <a href="#" onclick="restoreAutoSave();">取回未存档文章继续编辑</a> 或是 <a href="#" onclick="eraseAutoSave();">把他删除</a> 。</p>';
+
+$messages['check_username'] = '检查用户名称';
+$messages['check_username_ok'] = '恭喜!这个用户名称还没有任何人使用。';
+$messages['error_username_exist'] = '抱歉!这个用户名称已经被别人用了,试试其他的吧!'; 
+
+$messages['error_rule_email_dns_server_temp_fail'] = '发生暂时性的错误,请稍后再试!';
+$messages['error_rule_email_dns_server_unreachable'] = '电子邮件主机无法连线';
+$messages['error_rule_email_dns_not_permitted'] = '不被允许的电子邮件地址'; 
+
+$messages['blog_users_help'] = '可以存取这个博客的用户。请从左边选取用户将他移到右边提供该用户存取博客的权限。'; 
+
+$messages['summary_welcome_paragraph'] = '请将此处修改为你希望你的用户看到的欢迎信息,或将这部份删除并重新安排整个页面。这个页面的模版在 templates/summary 里面,你可以自由地依你的喜好修改他。'; 
+
+$messages['first_day_of_week'] = 1;
+$messages['first_day_of_week_label'] = '每一周的开始';
+$messages['first_day_of_week_help'] = '在首页月历中的显示方式。'; 
+
+$messages['help_subdomains_base_url'] = '当次网域设置启用时,这个网址将用来替代系统网址。使用 {blogname}来取得博客名称及{username}取得博客用户名称以及{blogdomain},用来产生链接到博客的网址。'; 
+
+$messages['registration_default_subject'] = 'LifeType 注册确认';
+
+$messages['error_invalid_subdomain'] = '不合法的子网域名称,或是名称不是唯一的';
+$messages['register_blog_domain_help'] = '你的新博客要使用的名称和子网域';
+$messages['domain'] = '网域(Domain)';
+$messages['help_subdomains_available_domains'] = '允许的主网域名称清单。主网域名称请以一个空格分隔。用户会看到一个包含这些值的下拉式选单,并加入他所要使用的主网域。只有当你启用子网域并且在上方的 subdomain_base_url 使用了 (blogdomain) 。如果你允许任何的网域,则使用 \'?\'';
+$messages['subdomains_any_domain'] = '<- 启用多重网域。输入完整的网域名称';
+$messages['error_updating_blog_subdomain'] = '更新子网域时发生错误,请检查数据并再试一次。';
+$messages['error_updating_blog_main_domain'] = '更新主网域设置时发生错误。这可是管理者的一些系统参数调整错误造成的。';
+
+$messages['monthsshort'] = Array( '元', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二' );
+$messages['weekdaysshort'] = Array( '日', '一', '二', '三', '四', '五', '六' );
+
+$messages['search_type'] = '搜寻方式';
+$messages['posts'] = '文章';
+$messages['blogs'] = '博客';
+$messages['resources'] = '文件';
+$messages['upload_in_progress'] = '文件正在上传中,请稍后 ...';
+$messages['error_incorrect_username'] = '用户名称不正确。可能这个用户名称已经有人使用了,或是它的长度超过 15 个字元。';
+
+$messages['Miscellaneous'] = '其他设置';
+$messages['Plugins'] = '外挂程式';
+
+$messages['auth_img'] = '认证码';
+$messages['auth_img_help'] = '请输入你在图片中所看到的文字。';
+
+$messages['global_category'] = '全域文章分类';
+$messages['global_article_category_help'] = '替文章指定一个全域文章分类。';
+
+$messages['password_reset_subject'] = 'LifeType 重新设置密码';
+
+//
+// new strings for LifeType 1.2
+//
+$messages['auth'] = '验证';
+$messages['authenticated'] = '已登入';
+$messages['dropdown_list_field'] = '下拉式选项';
+$messages['values'] = '数值';
+$messages['field_values'] = '这些值会变成这个下拉式选单中的选项。其中第一个值会是下拉式选单中的默认值。';
+
+$messages['permission_added_ok'] = '权限已经顺利新增。';
+$messages['core_perm'] = '主要权限';
+$messages['admin_only'] = '管理者限定';
+$messages['permissionsList'] = '权限列表';
+$messages['newPermission'] = '新增权限';
+$messages['permission_name_help'] = '必须是系统中唯一的权限名称';
+$messages['permission_description_help'] = '权限的简短描述';
+$messages['core_perm_help'] = '如果这个权限是主要权限,他将无法被删除。';
+$messages['admin_only_help'] = '这个权限只能指定给管理者。';
+$messages['error_adding_new_permission'] = '新增权限时发生错误,请检查你的数据。';
+$messages['error_incorrect_permission_id'] = '权限 ID 不正确。';
+$messages['error_permission_cannot_be_deleted'] = '权限 "%s" 无法删除。因为他已经至少被一个用户使用或者是主要权限。';
+$messages['error_deleting_permission'] = '删除权限 "%s" 发生错误。';
+$messages['permission_deleted_ok'] = '权限 "%s" 已经顺利删除。';
+$messages['permissions_deleted_ok'] = '%s 权限已经顺利删除。';
+$messages['error_deleting_permission2'] = '删除权限 ID "%s" 时发生错误。';
+
+$messages['help_hard_show_posts_max'] = '首页显示文章数量的最大值。如果用户的设置超过这个数值,它将会被忽略,并且直接使用这个数值作为限制。[ 默认 = 50 ]';
+$messages['help_hard_recent_posts_max'] = '首页显示近期文章数量的最大值。如果用户的设置超过这个数值,它将会被忽略,并且直接使用这个数值作为限制。[ 默认 = 25 ]';
+
+$messages['error_permission_required'] = '你没有进行这个动作的权限。';
+$messages['user_permissions_updated_ok'] = '用户权限顺利更新。';
+
+// blog permissions
+$messages['add_album_desc'] = '新增文件夹';
+$messages['add_blog_template_desc'] = '新增博客模版';
+$messages['add_blog_user_desc'] = '新增博客作者';
+$messages['add_category_desc'] = '新增文章分类';
+$messages['add_custom_field_desc'] = '新增自订栏位';
+$messages['add_link_desc'] = '新增链接网址';
+$messages['add_link_category_desc'] = '新增网站链接分类';
+$messages['add_post_desc'] = '新增文章';
+$messages['add_resource_desc'] = '新增文件';
+$messages['blog_access_desc'] = '访问这个博客';
+$messages['update_album_desc'] = '更新与删除文件夹';
+$messages['update_blog_desc'] = '更新与删除博客';
+$messages['update_blog_template_desc'] = '更新与删除博客模版';
+$messages['update_blog_user_desc'] = '更新与删除博客作者权限';
+$messages['update_category_desc'] = '更新与删除文章分类';
+$messages['update_comment_desc'] = '更新与删除评论';
+$messages['update_custom_field_desc'] = '更新与删除自订栏位';
+$messages['update_link_desc'] = '更新与删除链接网址';
+$messages['update_link_category_desc'] = '更新与删除网站链接分类';
+$messages['update_post_desc'] = '更新与删除文章';
+$messages['update_resource_desc'] = '更新与删除文件';
+$messages['update_trackback_desc'] = '更新与删除引用';
+$messages['view_blog_templates_desc'] = '浏览博客模版列表';
+$messages['view_blog_users_desc'] = '浏览博客作者列表';
+$messages['view_categories_desc'] = '浏览文章分类列表';
+$messages['view_comments_desc'] = '浏览评论列表';
+$messages['view_custom_fields_desc'] = '浏览自订栏位列表';
+$messages['view_links_desc'] = '浏览链接网址列表';
+$messages['view_link_categories_desc'] = '浏览网站链接分类列表';
+$messages['view_posts_desc'] = '浏览文章列表';
+$messages['view_resources_desc'] = '浏览文件列表';
+$messages['view_trackbacks_desc'] = '浏览引用列表';
+$messages['login_perm_desc'] = '允许登入管理介面';
+// admin permissions
+$messages['add_blog_category_desc'] = '新增博客分类';
+$messages['add_global_article_category_desc'] = '新增全域文章分类';
+$messages['add_locale_desc'] = '新增语系';
+$messages['add_permission_desc'] = '新增权限';
+$messages['add_site_blog_desc'] = '新增博客';
+$messages['add_template_desc'] = '新增全域模版';
+$messages['add_user_desc'] = '新增用户';
+$messages['edit_blog_admin_mode_desc'] = '修改其他博客 (管理者模式)';
+$messages['purge_data_desc'] = '清除数据';
+$messages['update_blog_category_desc'] = '更新与删除博客分类';
+$messages['update_global_article_category_desc'] = '更新与删除全域文章分类';
+$messages['update_global_settings_desc'] = '更新与删除全域设置';
+$messages['update_locale_desc'] = '更新与删除语系';
+$messages['update_permission_desc'] = '更新与删除权限';
+$messages['update_plugin_settings_desc'] = '更新与删除外挂程式设置';
+$messages['update_site_blog_desc'] = '更新与删除博客';
+$messages['update_template_desc'] = '更新与删除全域模版';
+$messages['update_user_desc'] = '更新与删除用户';
+$messages['view_blog_categories'] = '浏览博客分类列表';
+$messages['view_global_article_categories_desc'] = '浏览全域文章分类列表';
+$messages['view_global_settings_desc'] = '浏览全域设置';
+$messages['view_locales_desc'] = '浏览语系列表';
+$messages['view_permissions_desc'] = '浏览权限列表';
+$messages['view_plugins_desc'] = '浏览外挂程式列表';
+$messages['view_site_blogs_desc'] = '浏览博客列表';
+$messages['view_templates_desc'] = '浏览全域模版列表';
+$messages['view_users_desc'] = '浏览用户列表';
+$messages['update_blog_stats_desc'] = '更新与删除逆向链接';
+$messages['manage_admin_plugins_desc'] = '管理全域外挂程式设置';
+
+$messages['summary_welcome_msg'] = '欢迎, %s!';
+$messages['summary_go_to_admin'] = '管理者介面';
+
+$messages['error_can_only_update_own_articles'] = '你的权限只允许你修改自己的文章。';
+$messages['update_all_user_articles_desc'] = '允许修改其他博客作者的文章。';
+$messages['error_can_only_view_own_articles'] = '你的权限只允许你浏览自己的文章。';
+$messages['view_all_user_articles_desc'] = '允许浏览其他博客作者的文章。';
+$messages['error_fetching_permission'] = '读取权限数据时发生错误。';
+$messages['editPermission'] = '修改权限';
+$messages['error_updating_permission'] = '更新权限时发生错误。';
+$messages['permission_updated_ok'] = '权限已顺利更新。';
+$messages['error_adding_permission'] = '新增权限时发生错误。';
+$messages['error_cannot_login'] = '抱歉,你不被允许登入!';
+$messages['admin_user_permissions_help'] = '指定用户具有管理全站的权限。';
+
+$messages['permissions'] = '权限列表';
+$messages['blog_user_permissions_help'] = '指定用户具有管理博客的权限。';
+$messages['pluginSettings'] = '外挂程式设置';
+$messages['user_can_override'] = '用户可以覆盖外挂程式全域设置';
+$messages['user_cannot_override'] = '用户不能覆盖外挂全域程式设置';
+$messages['global_plugin_settings_saved_ok'] = '外挂程式全域设置已顺利更新。';
+$messages['error_updating_global_plugin_settings'] = '更新外挂程式全域设置时发生错误。';
+$messages['error_incorrect_value'] = '这个数值不正确。';
+$messages['parameter'] = '参数';
+$messages['value'] = '设置值';
+$messages['override'] = '覆盖';
+$messages['editCustomField'] = '编辑自订栏位';
+$messages['view_blog_stats_desc'] = '浏览博客统计';
+$messages['manage_plugins_desc'] = '管理博客外挂程式';
+
+$messages['error_global_category_has_articles'] = '无法删除这个全域文章分类,因为该分类下还有文章。';
+$messages['error_adding_global_article_category'] = '新增全域文章分类时发生错误。请检查输入的数据,再重试一次。';
+
+$messages['temp_folder_reset_ok'] = '清理暂存目录已经顺利清理。';
+$messages['cleanup_temp_help'] = '清理暂存目录中所有博客的网页快取与数据快取。';
+$messages['cleanup_temp'] = '清理暂存目录。';
+
+$messages['comment_only_auth_users'] = '评论用户验证';
+$messages['comment_only_auth_users_help'] = '只有已经登入博客的用户才能够评论。';
+$messages['show_comments_max'] = '最大每篇文章显示评论数目';
+$messages['show_comments_max_help'] = '每篇文章显示评论数目的默认值 [ 默认 = 20 ]';
+$messages['hard_show_comments_max_help'] = '每篇文章显示评论数目的默认值。如果用户的设置超过这个数值,它将会被忽略,并且直接使用这个数值作为限制。[ 默认 = 50 ]';
+
+$messages['error_resource_not_whitelisted_extension'] = '文件类时不在系统允许的副档名列表中。';
+$messages['help_upload_allowed_files'] = '允许用户上传的文件类型。如果有多个不同的文件类型,请在不同的类型间用空白区隔。也可使用\'*\' and \'?\'的方式。 如果 upload_forbidden_file 与这个选项同时设置。允许用户上传的文件类型 (upload_allowed_files) 将会优先于禁止用户上传的文件类型 [Default = None]';
+
+$messages['help_template_load_order'] = '默认模版载入顺序。如果使用 \'优先载入默认模版\',LifeType 会尝试优先搜寻 ./templates/default/ 目录下的模版,如果默认模版不存在,则载入用户自订模版。如果相同的模版同时存在这两个地方,则优先采用默认模版。如果使用 \'优先载入用户自订模版\',则用户自订模版将被优先使用。如果用户自订模版不存在,将使用默认模版。如果相同的模版同时存在这两个地方,则优先采用用户自订模版。';
+$messages['template_load_order_user_first'] = '优先载入默认模版';
+$messages['template_load_order_default_first'] = '优先载入用户自订模版';
+
+$messages['editBlogUser'] = '编辑博客作者';
+
+$messages['help_summary_service_name'] = '你的网站或是服务的名称。这个名称会使用在你的汇整首页与 RSS 的输出中。[ 默认值 = 空白 ]';
+
+$messages['register_step2_help'] = '请提供建立博客所需要的信息。';
+
+$messages['create_date'] = '建立时间';
+
+$messages['insert_media'] = '插入文件';
+$messages['insert_more'] = '插入 "查看全文" 分隔';
+
+$messages['purging_please_wait'] = '请耐心等候清理数据。本页面会持续更新直到所有数据清理完毕,请勿中断清理动作以免造成数据损坏。';
+
+$messages['error_cannot_delete_last_blog_category'] = '您无法删除最后一个博客分类。';
+
+$messages['help_logout_destination_url'] = '当用户登出时所要显示网页的 URL 。例如,你提供服务的首页。若是保持空白,则使用默认的 LifeType 登入页。[ 默认值 = 空白 ]';
+$messages['help_default_global_article_category_id'] = '默认的全域文章分类 ID。[ 默认值 = 空白 ]';
+$messages['help_blog_does_not_exist_url'] = '当博客不存在时所要显示的网页 URL。当博客不存在时,你可以透过这一个选项将 URL 转到某一个特定网址,而非系统默认的博客。[ 默认值 = 空白 ]';
+
+$messages['error_invalid_blog_name'] = '博客名称不正确。';
+
+/* strings for /default/ templates */
+
+
+$messages['help_forbidden_blognames'] = '列出所有不允许使用的博客名称。如果有多个不同的博客名称,请在不同的名称间用空白区隔。 也可以使用正规表示是来表示。[ 默认值 = 空白 ]';
+
+$messages['posts_updated_ok'] = '%s 篇文章已顺利更新。';
+$messages['error_updating_post2'] = '更新文章 ID %s 时发生错误。';
+$messages['resources_updated_ok'] = '%s 个文件已顺利更新。';
+$messages['error_updating_resource2'] = '更新文件 ID %s 时发生错误。';
+$messages['albums_updated_ok'] = '%s 个文件夹已顺利更新。';
+$messages['error_updating_album2'] = '更新文件夹 ID %s 时发生错误。';
+$messages['links_updated_ok'] = '%s 网站链接已顺利更新。';
+$messages['error_updating_link2'] = '更新网站链接 ID %s 时发生错误。';
+
+$messages['version'] = '版本';
+
+$messages['error_resources_disabled'] = '抱歉!本网站的上传功能已经被管理者关闭。';
+$messages['help_login_admin_panel'] = '点选博客名称,进入博客管理页面。';
+
+$messages['blog_updated_ok'] = 'Blog "%s" was successfully updated';
+$messages['blogs_updated_ok'] = '%s blogs were successfully updated';
+$messages['error_updating_blog2'] = 'There was an error updating the blog whose identifier is "%s"';
+$messages['error_updating_blog'] = 'There was an error updating blog "%s"';
+
+$messages['error_updating_user'] = 'There was an error updating user "%s".';
+$messages['user_updated_ok'] = 'User "%s" was successfully updated.';
+$messages['users_updated_ok'] = '%s users were successfully updated';
+$messages['eror_updating_user2'] = 'There was an error updating user with identifier "%s"';
+
+$messages['error_select_status'] = 'Please select a valid status';
+?>
\ No newline at end of file

Copied: plog/trunk/locale/admin/locale_zh_TW.php (from rev 5155, plog/branches/lifetype-1.2/locale/admin/locale_zh_TW.php)
===================================================================
--- plog/trunk/locale/admin/locale_zh_TW.php	                        (rev 0)
+++ plog/trunk/locale/admin/locale_zh_TW.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,1160 @@
+<?php
+
+/////////////////                                          //////////////////
+///////////////// STRINGS FOR THE ADMINISTRATION INTERFACE //////////////////
+/////////////////                                          //////////////////
+
+// login page
+$messages['login'] = '登入';
+$messages['welcome_message'] = '歡迎使用 LifeType!';
+$messages['error_incorrect_username_or_password'] = '很抱歉,您輸入的帳號或密碼錯誤。';
+$messages['error_dont_belong_to_any_blog'] = '很抱歉,您沒有使用系統中任何一個網誌站台的權限。';
+$messages['logout_message'] = '您已經順利登出系統。';
+$messages['logout_message_2'] = '請按 <a href="%1$s">這裡</a> 連結到 %2$s</a>。';
+$messages['error_access_forbidden'] = '您目前沒有權限進入管理介面,請到這裡登入。';
+$messages['username'] = '使用者名稱';
+$messages['password'] = '使用者密碼';
+
+// dashboard
+$messages['dashboard'] = '管理面版';
+$messages['recent_articles'] = '最近發表文章';
+$messages['recent_comments'] = '最近發表迴響';
+$messages['recent_trackbacks'] = '最近引用列表';
+$messages['blog_statistics'] = '網誌統計';
+$messages['total_posts'] = '文章總數';
+$messages['total_comments'] = '迴響總數';
+$messages['total_trackbacks'] = '引用總數';
+$messages['total_viewed'] = '文章閱讀總數';
+$messages['in'] = 'æ–¼';
+
+// menu options
+$messages['newPost'] = '發表新文章';
+$messages['Manage'] = '內容管理';
+$messages['managePosts'] = '文章管理';
+$messages['editPosts'] = '文章列表';
+$messages['editArticleCategories'] = '文章分類列表';
+$messages['newArticleCategory'] = '新增文章分類';
+$messages['manageLinks'] = '網站連結管理';
+$messages['editLinks'] = '網站連結列表';
+$messages['newLink'] = '新增網站連結';
+$messages['editLink'] = '編輯網站連結';
+$messages['editLinkCategories'] = '網站連結分類列表';
+$messages['newLinkCategory'] = '新增連結分類';
+$messages['editLinkCategory'] = '編輯網站連結分類';
+$messages['manageCustomFields'] = '管理自訂欄位';
+$messages['blogCustomFields'] = '自訂欄位列表';
+$messages['newCustomField'] = '新增自訂欄位';
+$messages['resourceCenter'] = '檔案中心';
+$messages['resources'] = '檔案列表';
+$messages['newResourceAlbum'] = '新增資料夾';
+$messages['newResource'] = '新增檔案';
+$messages['controlCenter'] = '個人網誌設定';
+$messages['manageSettings'] = '基本設定';
+$messages['blogSettings'] = '網誌設定';
+$messages['userSettings'] = '使用者設定';
+$messages['pluginCenter'] = '外掛中心';
+$messages['Stats'] = '統計資料';
+$messages['manageBlogUsers'] = '管理網誌使用者';
+$messages['newBlogUser'] = '新增網誌使用者';
+$messages['showBlogUsers'] = '網誌使用者列表';
+$messages['manageBlogTemplates'] = '管理網誌模版';
+$messages['newBlogTemplate'] = '新增網誌模版';
+$messages['blogTemplates'] = '網誌模版列表';
+$messages['adminSettings'] = '全部站台管控';
+$messages['Users'] = '使用者';
+$messages['createUser'] = '新增使用者';
+$messages['editSiteUsers'] = '管理使用者';
+$messages['Blogs'] = '管理網誌';
+$messages['createBlog'] = '建立網誌';
+$messages['editSiteBlogs'] = '網誌站台管理';
+$messages['Locales'] = '語系管理';
+$messages['newLocale'] = '新增語系';
+$messages['siteLocales'] = '語系檔案列表';
+$messages['Templates'] = '模版管理';
+$messages['newTemplate'] = '新增模版';
+$messages['siteTemplates'] = '模版管理';
+$messages['GlobalSettings'] = '全域設定';
+$messages['editSiteSettings'] = '一般設定';
+$messages['summarySettings'] = ' 彙整頁面設定';
+$messages['templateSettings'] = '模版設定';
+$messages['urlSettings'] = '網址設定';
+$messages['emailSettings'] = '電子郵件設定';
+$messages['uploadSettings'] = '上傳設定';
+$messages['helpersSettings'] = '工具設定';
+$messages['interfacesSettings'] = '網路服務介面設定';
+$messages['securitySettings'] = '系統安全設定';
+$messages['bayesianSettings'] = '貝氏過濾設定';
+$messages['resourcesSettings'] = '檔案中心設定';
+$messages['searchSettings'] = '搜尋設定';
+$messages['cleanUpSection'] = '清理垃圾專區';
+$messages['cleanUp'] = '清理垃圾';
+$messages['editResourceAlbum'] = '編輯檔案資料夾';
+$messages['resourceInfo'] = '檔案資訊';
+$messages['editBlog'] = '網誌管理';
+$messages['Logout'] = '登出';
+
+// new post
+$messages['topic'] = '標題';
+$messages['topic_help'] = '文章標題';
+$messages['text'] = '內文';
+$messages['text_help'] = '這部份的內容會在網誌首頁出現。';
+$messages['extended_text'] = '延伸內文';
+$messages['extended_text_help'] = '您在此輸入的文字只會在單篇彙整狀態下顯示,除非您在「設定」頁面中修改了設定。';
+$messages['trackback_urls'] = '真實引用網址';
+$messages['trackback_urls_help'] = '如果您要引用的文章沒有支援『引用網址自動搜尋』機制,請在這裡輸入他們的真實引用網址,並用斷行來隔開。';
+$messages['post_slug'] = '短標題 ';
+$messages['post_slug_help'] = '短標題將會用來建立簡潔的靜態連結網址';
+$messages['date'] = '日期';
+$messages['post_date_help'] = '文章發表日期';
+$messages['status'] = '狀態';
+$messages['post_status_help'] = '選取一個狀態';
+$messages['post_status_published'] = '定稿';
+$messages['post_status_draft'] = '草稿';
+$messages['post_status_deleted'] = '已刪除';
+$messages['post_categories_help'] = '選取一個或一個以上的分類';
+$messages['post_comments_enabled_help'] = '啟用迴響留言功能';
+$messages['send_notification_help'] = '如果有人對本文發表迴響,便向我發送電子郵件通知';
+$messages['send_trackback_pings_help'] = '發送引用通告';
+$messages['send_xmlrpc_pings_help'] = '送出 XMLRPC 通告';
+$messages['save_draft_and_continue'] = '儲存草稿';
+$messages['preview'] = '預覽';
+$messages['add_post'] = '發表!';
+$messages['error_saving_draft'] = '儲存草稿發生錯誤!';
+$messages['draft_saved_ok'] = '草稿 「%s」 已順利儲存';
+$messages['error_sending_request'] = '傳送要求時發生錯誤';
+$messages['error_no_category_selected'] = '你沒有選擇任何分類';
+$messages['error_missing_post_topic'] = '請輸入文章標題!';
+$messages['error_missing_post_text'] = '請輸入文章內文!';
+$messages['error_adding_post'] = '發表文章發生錯誤!';
+$messages['post_added_not_published'] = '文章已順利新增,但尚未正式發表。';
+$messages['post_added_ok'] = '文章已順利新增';
+$messages['send_notifications_ok'] = '當有新的迴響或是引用時,便向我發送電子郵件通知';
+$messages['bookmarklet'] = "書籤小程式";
+$messages['bookmarklet_help'] = "把下面的連結拉到你工具列,或是按下滑鼠右鍵把連結加到我的最愛。";
+$messages['blogit_to_lifetype'] = "把文章加到 LifeType!";
+$messages['original_post'] = "(原文)";
+
+// send trackbacks
+$messages['error_sending_trackbacks'] = '發送下列引用通知時產生錯誤。';
+$messages['send_trackbacks_help'] = '請勾選您所要發送引用通告的網址。(請確定該網站支援引用通告的功能)';
+$messages['send_trackbacks'] = '發送引用通知';
+$messages['ping_selected'] = '向勾選的網址發送引用通知';
+$messages['trackbacks_sent_ok'] = '引用通知已經成功發送到勾選的網址。';
+
+// posts page
+$messages['show_by'] = '更新列表';
+$messages['category'] = '分類';
+$messages['author'] = '作者';
+$messages['post_status_all'] = '全部';
+$messages['author_all'] = '全部作者';
+$messages['search_terms'] = '搜尋關鍵字';
+$messages['show'] = 'æ›´æ–°';
+$messages['delete'] = '刪除';
+$messages['actions'] = '動作';
+$messages['all'] = '全部';
+$messages['category_all'] = '全部分類';
+$messages['error_incorrect_article_id'] = '文章 ID 不正確。';
+$messages['error_deleting_article'] = '在刪除文章"%s"時,發生錯誤。';
+$messages['article_deleted_ok'] = '文章「%s」 已順利刪除。';
+$messages['articles_deleted_ok'] = '文章「%s」 已順利刪除。';
+$messages['error_deleting_article2'] = '刪除文章時發生錯誤 (id = %s) ';
+
+// edit post page
+$messages['update'] = 'æ›´æ–°';
+$messages['editPost'] = '編輯文章';
+$messages['error_fetching_post'] = '讀取文章資料時發生錯誤';
+$messages['post_updated_ok'] = '文章[%s]已成功更新。';
+$messages['error_updating_post'] = '更新文章時發生錯誤';
+$messages['notification_added'] = '當有新的迴響或是引用時,便向我發送電子郵件通知';
+$messages['notification_removed'] = '當有新的迴響或是引用時,不要向我發送電子郵件通知';
+
+// post comments
+$messages['url'] = '網址';
+$messages['comment_status_all'] = '全部迴響';
+$messages['comment_status_spam'] = '垃圾迴響';
+$messages['comment_status_nonspam'] = '正常迴響';
+$messages['error_fetching_comments'] = '讀取文章迴響資料時,發生錯誤。';
+$messages['error_deleting_comments'] = '在刪除迴響時發生錯誤或您沒有勾選任何要刪除的迴響。';
+$messages['comment_deleted_ok'] = '「%s」這篇文章的迴響已順利刪除。';
+$messages['comments_deleted_ok'] = '「%s」這篇文章的迴響已順利刪除。';
+$messages['error_deleting_comment'] = '在刪除迴響「%s」時發生錯誤。';
+$messages['error_deleting_comment2'] = '刪除迴響時發生錯誤 (id = %s)';
+$messages['editComments'] = '迴響列表';
+$messages['mark_as_spam'] = '標示為垃圾迴響';
+$messages['mark_as_no_spam'] = '標示為正常迴響';
+$messages['error_incorrect_comment_id'] = '留言迴響 ID 不正確。';
+$messages['error_marking_comment_as_spam'] = '在將本篇迴響留言標示為垃圾留言時發生錯誤。';
+$messages['comment_marked_as_spam_ok'] = '您已經順利將本篇迴響留言標示為垃圾留言。';
+$messages['error_marking_comment_as_nonspam'] = '在將本篇迴響留言標示為正常留言時發生錯誤。';
+$messages['comment_marked_as_nonspam_ok'] = '您已經順利將本篇迴響留言標示為正常留言。';
+$messages['comment_no_topic'] = '沒有迴響主旨。';
+
+// post trackbacks
+$messages['blog'] = '網誌';
+$messages['excerpt'] = '摘要';
+$messages['error_fetching_trackbacks'] = '讀取引用資料時,發生錯誤。';
+$messages['error_deleting_trackbacks'] = '在刪除引用時發生錯誤或是你沒有勾選任何要刪除的引用。';
+$messages['error_deleting_trackback'] = '在刪除引用「%s」時發生錯誤';
+$messages['error_deleting_trackback2'] = '刪除引用時發生錯誤 (id = %s)';
+$messages['trackback_deleted_ok'] = '「%s」這篇引用已順利刪除。';
+$messages['trackbacks_deleted_ok'] = '「%s」這篇引用已順利刪除。';
+$messages['editTrackbacks'] = '引用列表';
+
+// post statistics
+$messages['referrer'] = '逆向連結';
+$messages['hits'] = '點擊數';
+$messages['error_no_items_selected'] = '你沒有勾選任何要刪除的項目';
+$messages['error_deleting_referrer'] = '在刪除逆向連結「%s」時發生錯誤';
+$messages['error_deleting_referrer2'] = '刪除逆向連結時發生錯誤 (id = %s)';
+$messages['referrer_deleted_ok'] = '「%s」這篇逆向連結已順利刪除。';
+$messages['referrers_deleted_ok'] = '「%s」這篇逆向連結已順利刪除。';
+
+// categories
+$messages['posts'] = '文章列表';
+$messages['show_in_main_page'] = '在首頁顯示';
+$messages['error_category_has_articles'] = '無法刪除「%s」這個分類,因為該分類下還有文章。請先修改文章分類後,再重試一次。';
+$messages['category_deleted_ok'] = '「%s」這個分類已順利刪除。';
+$messages['categories_deleted_ok'] = '「%s」這個分類已順利刪除。';
+$messages['error_deleting_category'] = '在刪除分類「%s」時發生錯誤';
+$messages['error_deleting_category2'] = '刪除分類時發生錯誤 (id = %s)';
+$messages['yes'] = '是';
+$messages['no'] = '否';
+
+// new category
+$messages['name'] = '名稱';
+$messages['category_name_help'] = '請輸入分類名稱';
+$messages['description'] = '描述';
+$messages['category_description_help'] = '請輸入詳細的分類描述';
+$messages['show_in_main_page_help'] = '選取這個選項,則在這個分類下的文章會在首頁顯示。否則只有當瀏覽這個分類時才會看到文章。';
+$messages['error_empty_name'] = '你必須輸入分類名稱';
+$messages['error_empty_description'] = '你必須輸入分類描述';
+$messages['error_adding_article_category'] = '在新增分類時發生錯誤。請檢查輸入的資料,再重試一次。';
+$messages['category_added_ok'] = '分類名稱 「%s」已經順利新增';
+$messages['add'] = '新增';
+$messages['reset'] = '重新設置';
+
+// update category
+$messages['error_updating_article_category'] = '更新文章分類時發生錯誤。';
+$messages['error_fetching_category'] = '讀取分類資料時發生錯誤。';
+$messages['article_category_updated_ok'] = '分類 「%s」 已順利更新。';
+
+// links
+$messages['feed'] = 'Feed';
+$messages['error_no_links_selected'] = '網站連結 ID 錯誤或您沒有選擇任何網站連結,無法刪除。';
+$messages['error_incorrect_link_id'] = '網站連結 ID 不正確';
+$messages['error_removing_link'] = '在刪除網站連結「%s」時發生錯誤。';
+$messages['error_removing_link2'] = '在刪除網站連結時發生錯誤,id = %d';
+$messages['link_deleted_ok'] = '網站連結「%s」已順利刪除。';
+$messages['links_deleted_ok'] = '網站連結「%s」已順利刪除。';
+
+// new link
+$messages['link_name_help'] = '請輸入連結名稱。';
+$messages['link_url_help'] = '連結網址';
+$messages['link_description_help'] = '簡短描述';
+$messages['link_feed_help'] = '你也可以提供任何的 RSS 或 Atom feeds 的連結。';
+$messages['link_category_help'] = '選取一個網站連結分類';
+$messages['error_adding_link'] = '新增網站連結時發生錯誤。請檢查輸入的資料,再重試一次。';
+$messages['error_invalid_url'] = '網址不正確';
+$messages['link_added_ok'] = '網站連結「%s」已順利新增';
+$messages['bookmarkit_to_lifetype'] = "把書籤加到 LifeType!";
+
+// update link
+$messages['error_updating_link'] = '更新網站連結時發生錯誤。請檢查輸入的資料,再重試一次。';
+$messages['error_fetching_link'] = '讀取網站連結資料時發生錯誤。';
+$messages['link_updated_ok'] = '網站連結「%s」已順利更新';
+
+// link categories
+$messages['error_invalid_link_category_id'] = '網站連結分類ID不正確或沒有選擇連結分類,無法刪除。';
+$messages['error_links_in_link_category'] = '無法刪除「%s」這個網站連結分類,因為該分類下還有連結。請先修改網站連結後,再重試一次。';
+$messages['error_removing_link_category'] = '在刪除網站連結分類「%s」時發生錯誤。';
+$messages['link_category_deleted_ok'] = '網站連結分類「%s」已順利刪除。';
+$messages['link_categories_deleted_ok'] = '網站連結分類「%s」已順利刪除。';
+$messages['error_removing_link_category2'] = '刪除網站連結分類時發生錯誤 (id = %s)';
+
+// new link category
+$messages['link_category_name_help'] = '網站連結分類名稱';
+$messages['error_adding_link_category'] = '新增網站連結分類時發生錯誤。';
+$messages['link_category_added_ok'] = '網站連結分類「%s」已順利新增';
+
+// edit link category
+$messages['error_updating_link_category'] = '更新網站連結分類時發生錯誤。請檢查輸入資料後,再試一次。';
+$messages['link_category_updated_ok'] = '網站連結分類「%s」已順利更新';
+$messages['error_fetching_link_category'] = '讀取網站連結分類資料時發生錯誤。';
+
+// custom fields
+$messages['type'] = 'é¡žåž‹';
+$messages['hidden'] = '隱藏';
+$messages['fields_deleted_ok'] = '「%s」 自訂欄位已順利刪除';
+$messages['field_deleted_ok'] = '「%s」 自訂欄位已順利刪除';
+$messages['error_deleting_field'] = '在刪除自訂欄位「%s」時發生錯誤。';
+$messages['error_deleting_field2'] = '刪除自訂欄位時發生錯誤 (id = %s)';
+$messages['error_incorrect_field_id'] = '自訂欄位ID不正確';
+
+// new custom field
+$messages['field_name_help'] = '在發表文章時,用來顯示自訂欄位的名稱';
+$messages['field_description_help'] = '自訂欄位的簡短描述';
+$messages['field_type_help'] = '選擇一個合適的欄位類型';
+$messages['field_hidden_help'] = '如果勾選隱藏,那麼在新增或修改文章時便不會出現該自訂欄位。這個功能主要提供給外掛程式專用。';
+$messages['error_adding_custom_field'] = '新增自訂欄位時發生錯誤。請檢查輸入資料後,再試一次。';
+$messages['custom_field_added_ok'] = '自訂欄位「%s」已順利更新';
+$messages['text_field'] = '文字欄位 (Text Field)';
+$messages['text_area'] = '文字區塊 (Text Box)';
+$messages['checkbox'] = '核取方塊 (Check Box)';
+$messages['date_field'] = '日期選擇 (Date Chooser)';
+
+// edit custom field
+$messages['error_fetching_custom_field'] = '讀取自訂欄位資料時發生錯誤。';
+$messages['error_updating_custom_field'] = '更新自訂欄位時發生錯誤。請檢查輸入資料後,再試一次。';
+$messages['custom_field_updated_ok'] = '自訂欄位「%s」已順利更新';
+
+// resources
+$messages['root_album'] = '主資料夾';
+$messages['num_resources'] = '檔案數';
+$messages['total_size'] = '檔案大小';
+$messages['album'] = '資料夾';
+$messages['error_incorrect_album_id'] = '資料夾 ID 不正確';
+$messages['error_base_storage_folder_missing_or_unreadable'] = 'LifeType 無法建立檔案存檔所必需的資料夾。 原因可能是因為PHP以安全模式在執行或是你沒有足夠的權限上傳檔案。 你可以試著手動建立下列資料夾: <br/><br/>%s<br/><br/>如果這些資料夾已經存在,請確定你可以使用瀏覽器來進行讀寫。';
+$messages['items_deleted_ok'] = '「%s」已順利刪除';
+$messages['error_album_has_children'] = '「%s」資料夾裡面還有檔案或子資料夾。請將檔案或資料夾移除後在重試一次。';
+$messages['item_deleted_ok'] = '「%s」已順利刪除';
+$messages['error_deleting_album'] = '在刪除資料夾「%s」時發生錯誤。';
+$messages['error_deleting_album2'] = '刪除資料夾時發生錯誤 (id = %s)';
+$messages['error_deleting_resource'] = '在刪除檔案「%s」時發生錯誤。';
+$messages['error_deleting_resource2'] = '刪除檔案時發生錯誤 (id = %s)';
+$messages['error_no_resources_selected'] = '沒有選擇要刪除的項目。';
+$messages['resource_deleted_ok'] = '檔案:「%s」 已順利刪除';
+$messages['album_deleted_ok'] = '資料夾:「%s」 已順利刪除';
+$messages['add_resource'] = '新增檔案 (原圖)';
+$messages['add_resource_preview'] = '新增檔案預覽 (小圖)';
+$messages['add_resource_medium'] = '新增檔案預覽 (中圖)';
+$messages['add_album'] = '新增資料夾';
+
+// new album
+$messages['album_name_help'] = '資料夾簡短名稱';
+$messages['parent'] = '上層目錄';
+$messages['no_parent'] = '頂端目錄';
+$messages['parent_album_help'] = '使用這個選項來安排子資料夾,同時讓你的檔案放置更有組織。';
+$messages['album_description_help'] = '對資料夾內容做詳細的描述說明。';
+$messages['error_adding_album'] = '新增資料夾時發生錯誤。請檢查輸入資料後,再試一次。';
+$messages['album_added_ok'] = '資料夾:「%s」 已順利新增。';
+
+// edit album
+$messages['error_incorrect_album_id'] = '資料夾ID不正確。';
+$messages['error_fetching_album'] = '讀取資料夾資料時發生錯誤。';
+$messages['error_updating_album'] = '更新資料夾時發生錯誤。請檢查輸入資料後,再試一次。';
+$messages['album_updated_ok'] = '資料夾「%s」已順利更新';
+$messages['show_album_help'] = '取消勾選,這個資料夾將不會出現在網誌資料夾列表中。';
+
+// new resource
+$messages['file'] = '檔案';
+$messages['resource_file_help'] = '下面的檔案將會新增到網誌的檔案中心。如果你要同時上傳多個檔案,請使用下方「新增上傳欄位」的連結來新增欄位。';
+$messages['add_field'] = '新增上傳欄位';
+$messages['resource_description_help'] = '關於這個檔案內容的詳細描述。';
+$messages['resource_album_help'] = '選擇你想將檔案上傳到那個資料夾。';
+$messages['error_no_resource_uploaded'] = '你並未選擇任何要上傳的檔案。';
+$messages['resource_added_ok'] = '檔案:「%s」已順利新增。';
+$messages['error_resource_forbidden_extension'] = '無法新增檔案,因為用了系統不允許的副檔名。';
+$messages['error_resource_too_big'] = '無法新增檔案,因為檔案太大了。';
+$messages['error_uploads_disabled'] = '無法新增檔案,因為伺服器管理員關閉了這項功能。';
+$messages['error_quota_exceeded'] = '無法新增檔案,因為已經超過容許的檔案容量限度。';
+$messages['error_adding_resource'] = '在新增檔案時發生錯誤。';
+
+// edit resource
+$messages['editResource'] = '編輯檔案';
+$messages['resource_information_help'] = '下面是一些與這個檔案有關的資訊';
+$messages['information'] = '檔案資訊';
+$messages['size'] = '檔案大小';
+$messages['format'] = '檔案格式';
+$messages['dimensions'] = '維度';
+$messages['bits_per_sample'] = '樣本位元率';
+$messages['sample_rate'] = '取樣比例';
+$messages['number_of_channels'] = '頻道數目';
+$messages['legnth'] = '長度';
+$messages['thumbnail_format'] = '縮圖格式';
+$messages['regenerate_preview'] = '重新產生預覽縮圖';
+$messages['error_fetching_resource'] = '讀取檔案資訊時發生錯誤。';
+$messages['error_updating_resource'] = '更新檔案時發生錯誤。';
+$messages['resource_updated_ok'] = '檔案:「%s」已順利更新。';
+
+// blog settings
+$messages['blog_link'] = '網誌站台網址';
+$messages['blog_link_help'] = '不能修改';
+$messages['blog_name_help'] = '站台名稱';
+$messages['blog_description_help'] = '站台相關說明';
+$messages['language'] = '語系';
+$messages['blog_language_help'] = '系統文字以及日期所使用的語言';
+$messages['max_main_page_items'] = '首頁文章數目';
+$messages['max_main_page_items_help'] = '您要在首頁顯示幾篇文章?';
+$messages['max_recent_items'] = '近期文章數目';
+$messages['max_recent_items_help'] = '您要在「近期文章列表」顯示幾篇文章?';
+$messages['template'] = '模版';
+$messages['choose'] = '預覽選取...';
+$messages['blog_template_help'] = '請選擇您的網誌站台所要使用的外觀樣式模版';
+$messages['use_read_more'] = '在文章使用「閱讀全文...」連結';
+$messages['use_read_more_help'] = '如果設定為「是」,那麼您在首頁的文章就會自動產生「閱讀全文」連結,這個連結會連到單篇文章的靜態固定網址,再顯示全文的「延伸內文部分」。';
+$messages['enable_wysiwyg'] = '啟用所見即所得(WYSIWYG)文章編輯。';
+$messages['enable_wysiwyg_help'] = '如果您想要立刻看到您的編輯結果,請設定為「是」。這個功能只有在使用者使用Internet Explorer 5.5或Mozilla 1.3b以上的版本才有效果。';
+$messages['enable_comments'] = '開放所有文章的迴響留言權限';
+$messages['enable_comments_help'] = '如果設定為「是」,那麼您便可以讓其他使用者針對您的文章發表迴響留言。這個設定會套用到您的全部文章上。';
+$messages['show_future_posts'] = '在日曆顯示未來文章。';
+$messages['show_future_posts_help'] = '如果設定為「是」,那麼發表日期設定在未來的文章將會出現在日曆上。';
+$messages['comments_order'] = '迴響留言排序方式';
+$messages['comments_order_help'] = '如果您設定成「舊的在前」,那麼留言就會從舊到新排序,如果設定成「新的在前」,則反之,留言從新到舊排序出現。';
+$messages['oldest_first'] = '舊的在前';
+$messages['newest_first'] = '新的在前';
+$messages['categories_order'] = '分類排列順序';
+$messages['categories_order_help'] = '首頁分類排列方式。';
+$messages['most_recent_updated_first'] = '最近更新在前';
+$messages['alphabetical_order'] = '依英文字母順序排列';
+$messages['reverse_alphabetical_order'] = '依英文字母順序反向排列';
+$messages['most_articles_first'] = '最多文章在前';
+$messages['link_categories_order'] = '網站連結分類排列順序';
+$messages['link_categories_order_help'] = '首頁網站連結分類排列方式。';
+$messages['most_links_first'] = '最多連結在前';
+$messages['most_links_last'] = '最多連結在後';
+$messages['time_offset'] = '網誌伺服器與您所在地的時間差';
+$messages['time_offset_help'] = '您可以用這個設定,調整您所發表的文章的時間。這個功能在伺服器主機與您分別在不同時區時相當有用。如果您將時間差設定為「+3 小時」,那麼系統就會將文章的發表時間調整成您所設定的時間。';
+$messages['close'] = '關閉';
+$messages['select'] = '選擇';
+$messages['error_updating_settings'] = '更新網誌設定時發生錯誤,請檢查輸入資料後在重試一次。';
+$messages['error_invalid_number'] = '數目格式不正確。';
+$messages['error_incorrect_time_offset'] = '網誌伺服器與您所在地的時間差不正確';
+$messages['blog_settings_updated_ok'] = '網誌設定更新已順利完成。';
+$messages['hours'] = '小時';
+
+// user settings
+$messages['username_help'] = '公開的使用者名稱,無法更改。';
+$messages['full_name'] = '全名';
+$messages['full_name_help'] = '完整的使用者名稱';
+$messages['password_help'] = '如果你想更改密碼請輸入新密碼及確認密碼;如果您不想修改密碼,留白便可。';
+$messages['confirm_password'] = '確認密碼';
+$messages['email'] = '電子郵件';
+$messages['email_help'] = '如果您想要使用電子郵件通知信功能,請填寫正確的信箱。';
+$messages['bio'] = '自我介紹';
+$messages['bio_help'] = '您可以在此填寫一些您的自我介紹,或是不填也可以。';
+$messages['picture'] = '個人圖像';
+$messages['user_picture_help'] = '請從上傳到網誌中的圖片選取一張做為你的個人大頭貼。';
+$messages['error_invalid_password'] = '密碼太短或密碼錯誤。';
+$messages['error_passwords_dont_match'] = '很抱歉,您輸入的兩次密碼不相符。';
+$messages['error_updating_user_settings'] = '更新個人資料時發生錯誤。請檢查輸入的資料後在重試一次。';
+$messages['user_settings_updated_ok'] = '使用者設定已順利更新。';
+$messages['resource'] = '檔案';
+
+// plugin centre
+$messages['identifier'] = '代號';
+$messages['error_plugins_disabled'] = '很抱歉,外掛程式目前停用中。';
+
+// blog users
+$messages['revoke_permissions'] = '取消使用權限。';
+$messages['error_no_users_selected'] = '你沒有選取任何使用者。';
+$messages['user_removed_from_blog_ok'] = '使用者「%s」已經順利從本站作者行列中刪除。';
+$messages['users_removed_from_blog_ok'] = '使用者「%s」已經順利從本站作者行列中刪除。';
+$messages['error_removing_user_from_blog'] = '在將使用者「%s」從本網誌站台作者行列中移除時發生錯誤。';
+$messages['error_removing_user_from_blog2'] = '在將使用者從本網誌站台作者行列中移除時發生錯誤。(id:%s)';
+
+// new blog user
+$messages['new_blog_username_help'] = '您可以用以下表單,將其他使用者加入您的網誌作者行列中。新增加的使用者只能存取管理中心及檔案中心。';
+$messages['send_notification'] = '發送通知';
+$messages['send_user_notification_help'] = '用電子郵件通知這名使用者。';
+$messages['notification_text'] = '通知內容';
+$messages['notification_text_help'] = '請輸入您要通知這位使用者的信件內容';
+$messages['error_adding_user'] = '在加入使用者時發生問題,請檢查輸入的資料在重試一次。';
+$messages['error_empty_text'] = '通知內容不可以是空白。';
+$messages['error_adding_user'] = '在加入使用者時發生問題,請檢查輸入的資料在重試一次。';
+$messages['error_invalid_user'] = '使用者「%s」帳號不正確或該使用者不存在。';
+$messages['user_added_to_blog_ok'] = '使用者「%s」已經順利加入作者行列。';
+
+// blog templates
+$messages['error_no_templates_selected'] = '您沒有選擇任何模版。';
+$messages['error_template_is_current'] = '「%s」模版無法刪除,該模版正在使用中。';
+$messages['error_removing_template'] = '刪除模版 「%s」時發生錯誤。';
+$messages['template_removed_ok'] = ' 模版 「%s」已順利刪除。';
+$messages['templates_removed_ok'] = '模版 「%s」已順利刪除。';
+
+// new blog template
+$messages['template_installed_ok'] = '新的模版設置「 %s」已經順利安裝完成。';
+$messages['error_installing_template'] = '在安裝模版設置「 %s」時發生錯誤。';
+$messages['error_missing_base_files'] = '在這個模版設置中有些基本檔案不見了。';
+$messages['error_add_template_disabled'] = '本站不允許使用者新增模版檔案。';
+$messages['error_must_upload_file'] = '您必須上傳檔案。';
+$messages['error_uploads_disabled'] = '本站已關閉檔案上傳功能。';
+$messages['error_no_new_templates_found'] = '找不到新的模版設置。';
+$messages['error_template_not_inside_folder'] = '模版檔案必須放在與模版同名的目錄當中。';
+$messages['error_missing_base_files'] = '在這個模版設置中有些基本檔案不見了。';
+$messages['error_unpacking'] = '在解壓縮時發生錯誤。';
+$messages['error_forbidden_extensions'] = '在這個模版設置中有些檔案禁止存取。';
+$messages['error_creating_working_folder'] = '在檢查模版設置時發生錯誤。';
+$messages['error_checking_template'] = '模版設置發生錯誤 (code = %s)';
+$messages['template_package'] = '模版安裝包';
+$messages['blog_template_package_help']  = '您可以用這個表單,上傳一個新的模版安裝包,該模版將只有你的網誌能夠使用。如果您沒有辦法用瀏覽器上傳,請手動上傳該模版並將它放置於你的網誌模板資料夾<b>%s</b>下,然後按下 "<b>掃描模版</b>" 按紐。 LifeType 會掃描該資料夾並自動新增所找到的新模版。';
+$messages['scan_templates'] = '掃描模版';
+
+// site users
+$messages['user_status_active'] = '啟用';
+$messages['user_status_disabled'] = '停用';
+$messages['user_status_all'] = '所有狀態';
+$messages['user_status_unconfirmed'] = '尚未確認';
+$messages['error_invalid_user2'] = '使用者代號「%s」不存在。';
+$messages['error_deleting_user'] = '在停用使用者帳號「%s」時發生錯誤。';
+$messages['user_deleted_ok'] = '使用者帳號「%s」已順利停用。';
+$messages['users_deleted_ok'] = '使用者帳號「%s」已順利停用。';
+
+// create user
+$messages['user_added_ok'] = '新使用者帳號「%s」已順利新增。';
+$messages['user_status_help'] = '使用者帳號目前狀態';
+$messages['user_blog_help'] = '使用者預設的網誌';
+$messages['none'] = 'ç„¡';
+
+// edit user
+$messages['error_invalid_user'] = '使用者ID不正確或使用者不存在。';
+$messages['error_updating_user'] = '更新使用者設定時發生錯誤。請檢查輸入資料後再重試一次。';
+$messages['blogs'] = '網誌';
+$messages['user_blogs_help'] = '使用者擁有或可以存取的網誌。';
+$messages['site_admin'] = '全站系統管理';
+$messages['site_admin_help'] = '如果使用者擁有全站系統管理權限,他就可以看見[站台設定]區域,可以進行全站的管理工作。';
+$messages['user_updated_ok'] = '使用者帳號「%s」已順利更新。';
+
+// site blogs
+$messages['blog_status_all'] = '所有狀態';
+$messages['blog_status_active'] = '啟用';
+$messages['blog_status_disabled'] = '停用';
+$messages['blog_status_unconfirmed'] = '尚未確認';
+$messages['owner'] = '管理員';
+$messages['quota'] = '檔案限度';
+$messages['bytes'] = 'bytes';
+$messages['error_no_blogs_selected'] = '您必須要選擇您所想要刪除的網誌站台。';
+$messages['error_blog_is_default_blog'] = '「%s」是系統預設網誌站台,無法刪除。';
+$messages['blog_deleted_ok'] = '「%s」網誌站台已順利刪除。';
+$messages['blogs_deleted_ok'] = '「%s」網誌站台已順利刪除。';
+$messages['error_deleting_blog'] = '在刪除「%s」這個網誌站台時發生錯誤。';
+$messages['error_deleting_blog2'] = '在刪除網誌站台時發生錯誤。(id:%s)';
+
+// create blog
+$messages['error_adding_blog'] = '在新增網誌時發生錯誤。請檢查輸入的資料在重試一次。';
+$messages['blog_added_ok'] = '新的網誌站台「%s」已成功加入資料庫中。';
+
+// edit blog
+$messages['blog_status_help'] = '網誌狀態';
+$messages['blog_owner_help'] = '網誌站台管理者,將擁有完整的權限來修改網誌設定。';
+$messages['users'] = '使用者';
+$messages['blog_quota_help'] = '檔案容量限度(單位:bytes)。設為0或空白將使用系統的全域檔案限度做為預設值。';
+$messages['edit_blog_settings_updated_ok'] = '網誌 「%s」已順利更新。';
+$messages['error_updating_blog_settings'] = '更新網誌站台 「%s」時發生錯誤。';
+$messages['error_incorrect_blog_owner'] = '要設定為網誌站台管理員的使用者帳號不存在。';
+$messages['error_fetching_blog'] = '讀取網誌資料時發生錯誤。';
+$messages['error_updating_blog_settings2'] = '更新網誌時發生錯誤。請檢查輸入資料在重試一次。';
+$messages['add_or_remove'] = '新增或移除使用者';
+
+// site locales
+$messages['locale'] = '語系';
+$messages['locale_encoding'] = '編碼方式';
+$messages['locale_deleted_ok'] = '「%s」語系已順利刪除。';
+$messages['error_no_locales_selected'] = '您沒有選擇要刪除的語系。';
+$messages['error_deleting_only_locale'] = '您不可以刪除這個語系檔案,因為這是系統中目前唯一的語系檔案。';
+$messages['locales_deleted_ok']= '「%s」語系已順利刪除。';
+$messages['error_deleting_locale'] = '在刪除「%s」語系時發生錯誤。';
+$messages['error_locale_is_default'] = '您不可以刪除「%s」語系,因為這是系統目前的預設語系。';
+
+// add locale
+$messages['error_invalid_locale_file'] = '這個檔案並不是正確的語系檔案。';
+$messages['error_no_new_locales_found'] = '找不到新的語系檔案。';
+$messages['locale_added_ok'] = '語系「%s」已經順利新增';
+$messages['error_saving_locale'] = '在將新的語系檔案儲存至語系檔案目錄時發生錯誤。請檢查檔案目錄的寫入權限是否正確。';
+$messages['scan_locales'] = '掃描語系檔';
+$messages['add_locale_help'] = '您可以用這個表單,上傳一個新的語系檔。如果您沒有辦法用瀏覽器上傳,請手動上傳該檔案並將它放置於 <b>./locales/</b>下,然後按下 "<b>掃描語系檔</b>" 按紐。 LifeType 會掃描該資料夾並自動新增所找到的語系檔。 ';
+
+// site templates
+$messages['error_template_is_default'] = '您不可以刪除「%s」模版,因為這是新網誌目前的預設模版。';
+
+// add template
+$messages['global_template_package_help'] = '您可以用這個表單,上傳一個新的模版安裝包,該模版將提供給網站上所有網誌使用。如果您沒有辦法用瀏覽器上傳,請手動上傳該模版並將它放置於你的網誌模板資料夾<b>%s</b>下,然後按下 "<b>掃描模版</b>" 按紐。 LifeType 會掃描該資料夾並自動新增所找到的新模版。';
+
+// global settings
+$messages['site_config_saved_ok'] = '站台設定已順利儲存。';
+$messages['error_saving_site_config'] = '在儲存站台設置時發生問題。';
+/// general settings
+$messages['help_comments_enabled'] = '啟用或停用全站的迴響留言功能。';
+$messages['help_beautify_comments_text'] = '在使用者發表迴響留言時,使用他所輸入的文字格式。';
+$messages['help_temp_folder'] = 'LifeType系統用來儲存暫存檔案用的目錄。';
+$messages['help_base_url'] = '這個網誌安裝的網址,這個項目務必要正確,請小心輸入。';
+$messages['help_subdomains_enabled'] = '啟用或停用次網域設定。';
+$messages['help_include_blog_id_in_url'] = '當[次網域]功能啟用及[一般網址]功能啟用時才有意義。強迫產生的網址不要包含 blogId 這個參數。請不要變更設定值,除非你知道你在做什麼。';
+$messages['help_script_name'] = '如果你將index.php更改為其它名稱的話,請在下方輸入更改後的檔案名稱。';
+$messages['help_show_posts_max'] = '在首頁顯示文章數的預設值。';
+$messages['help_recent_posts_max'] = '在首頁「近期文章」列表中顯示文章數的預設值。';
+$messages['help_save_drafts_via_xmlhttprequest_enabled'] = '當 XmlHttpRequest 功能被啟用時,將可以使用 Javascript 來儲存文章草稿。';
+$messages['help_locale_folder'] = '語系檔案所在目錄。';
+$messages['help_default_locale'] = '在建立新網誌站台時預設使用的語系。';
+$messages['help_default_blog_id'] = '預設網誌ID';
+$messages['help_default_time_offset'] = '預設的網站伺服器時間差。';
+$messages['help_html_allowed_tags_in_comments'] = '在發表迴響評論時可以使用的HTML語法標籤。';
+$messages['help_referer_tracker_enabled'] = '是否使用文章逆向連結功能。(停用此功能可以提高系統效能。)';
+$messages['help_show_more_enabled'] = '啟用或停用「閱讀全文」連結功能。';
+$messages['help_update_article_reads'] = '是否使用內建的點閱率統計工具計算每篇文章的點閱次數。(停用此功能可以提高系統效能。)';
+$messages['help_update_cached_article_reads'] = '在快取功能開啟的情形下,是否使用內建的點閱率統計工具計算每篇文章的點閱次數。';
+$messages['help_xmlrpc_ping_enabled'] = '在系統中有人發表新文章時,是否送出 XMLRPC 通告。';
+$messages['help_send_xmlrpc_pings_enabled_by_default'] = '預設啟用該功能。當有新文章發表或更新時,是否送出 XMLRPC 通告。。';
+$messages['help_xmlrpc_ping_hosts'] = 'XMLRPC 通告列表,如果您要向多處發送通告,請在文字框下面加入通告發送網址,每個網址一行。';
+$messages['help_trackback_server_enabled'] = '是否接受從站外傳來的引用通告(TrackBack)。';
+$messages['help_htmlarea_enabled'] = '啟用或停用即視即所得(WYSIWYG)文章編輯。';
+$messages['help_plugin_manager_enabled'] = '啟用或停用外掛程式。';
+$messages['help_minimum_password_length'] = '密碼最短需要多少字元。';
+$messages['help_xhtml_converter_enabled'] = '如果啟用此功能,LifeType會試著將所有的HTML轉換為適當的XHTML。';
+$messages['help_xhtml_converter_aggressive_mode_enabled'] = '如果啟用此功能,LifeType會試著將HTML進一步轉換為XHTML,但這樣可能會導致更多的錯誤。';
+$messages['help_session_save_path'] = '此設定將使用PHP的session_save_path()函數,來更改LifeType存放session的資料夾。請確定該資料夾可以透過網站伺服器進行寫入動作。如果你要使用PHP預設的session存放路徑,請將此設定空白。';
+// summary settings
+$messages['help_summary_page_show_max'] = '在彙整頁面中要顯示多少項目。此選項控制在彙整頁面中列出的所有項目。(包括最新文章數目、最活躍網誌等)';
+$messages['help_summary_items_per_page'] = '在[網誌列表]中每一頁要顯示多少網誌。';
+$messages['help_forbidden_usernames'] = '列出所有不允許註冊的使用者名稱。';
+$messages['help_force_one_blog_per_email_account'] = '一個電子郵件是否只能註冊一個網誌';
+$messages['help_summary_show_agreement'] = '在使用者進行註冊動作之前,是否顯示並確認使用者同意服務條款。';
+$messages['help_need_email_confirm_registration'] = '是否啟用電子郵件的確認連結來啟用帳號。';
+$messages['help_summary_disable_registration'] = '是否關閉使用者註冊新網誌的功能。';
+// templates
+$messages['help_template_folder'] = '模版檔案的所在目錄路徑。';
+$messages['help_default_template'] = '在新建網誌站台時,預設使用的模版。';
+$messages['help_users_can_add_templates'] = '使用者是否可以在模版設置當中,加入屬於自己專屬需求的檔案。';
+$messages['help_template_compile_check'] = '停用此功能時,Smarty只有在模版有更改時才會重新產生頁面。停用此功能可以提高系統效能。';
+$messages['help_template_cache_enabled'] = '啟用模版快取功能。啟用此功能,快取的版本將會持續被使用,而不需要對資料庫進行資料存取的動作。';
+$messages['help_template_cache_lifetime'] = '快取存活時間(單位:秒).設為-1快取將永不過期,或設為0來關閉快取功能。';
+$messages['help_template_http_cache_enabled'] = '是否啟用對HTTP連結要求的快取支援。啟用此功能LifeType只會傳送必要的內容,可以節省網路頻寬。';
+$messages['help_allow_php_code_in_templates'] = '允許在Smarty 模版中的{php}...{/php}區塊置入原生PHP程式碼(native PHP code)';
+// urls
+$messages['help_request_format_mode'] = '如果您設定為「一般網址」,那麼系統所呈現的網址,就會使用將參數以get方式傳入的一般方式。如果您選用「讓搜尋引擎易於搜尋的簡潔網址」,那麼就會讓網址變得簡潔,搜尋引擎也容易取得您網站上的內容,不過您的Apache伺服器必須要能夠接受.htaccess檔案中的覆寫設定。如果使用自訂網址,請調整下方的設定。';
+$messages['plain'] = '一般網址';
+$messages['search_engine_friendly'] = '讓搜尋引擎易於搜尋的簡潔網址';
+$messages['custom_url_format'] = '自訂網址';
+$messages['help_permalink_format'] = '當使用自訂網址時,靜態連結網址格式。';
+$messages['help_category_link_format'] = '當使用自訂網址時,網站連結分類網址格式。';
+$messages['help_blog_link_format'] = '當使用自訂網址時,網誌連結網址格式。';
+$messages['help_archive_link_format'] = '當使用自訂網址時,文章彙整連結網址格式。';
+$messages['help_user_posts_link_format'] = '當使用自訂網址時,特定使用者發表的文章連結網址格式。';
+$messages['help_post_trackbacks_link_format'] = '當使用自訂網址時,引用連結網址格式。';
+$messages['help_template_link_format'] = '當使用自訂網址時,自訂靜態模版連結網址格式。';
+$messages['help_album_link_format'] = '當使用自訂網址時,資料夾連結網址格式。';
+$messages['help_resource_link_format'] = '當使用自訂網址時,檔案連結網址格式。';
+$messages['help_resource_preview_link_format'] = '當使用自訂網址時,檔案預覽連結網址格式。';
+$messages['help_resource_medium_size_preview_link_format'] = '當使用自訂網址時,中型檔案預覽連結網址格式。';
+$messages['help_resource_download_link_format'] = '當使用自訂網址時,檔案下載連結網址格式。';
+// email
+$messages['help_check_email_address_validity'] = '在使用者註冊申請新的網誌站台時,是否要認證他所填寫的電子郵件信箱是否正確。';
+$messages['help_email_service_enabled'] = '使用或停用用來寄送通知信函的電子郵件服務。';
+$messages['help_post_notification_source_address'] = '系統通知信函的寄件人電子郵件信箱。';
+$messages['help_email_service_type'] = '用來寄送電子郵件的方式,請在各種方法選擇其中之一。';
+$messages['help_smtp_host'] = '如果您選用SMTP寄送電子郵件,請輸入您要用來發送郵件的主機。';
+$messages['help_smtp_port'] = '前項設定的SMTP主機連接埠(port)';
+$messages['help_smtp_use_authentication'] = 'SMTP主機是否需要授權認證。如果需要的話,請繼續填寫下面兩項設定。';
+$messages['help_smtp_username'] = '如果SMTP主機需要授權認證,請填寫使用者帳號。';
+$messages['help_smtp_password'] = '如果SMTP主機需要授權認證,請填寫使用者密碼。';
+// helpers
+$messages['help_path_to_tar'] = '「tar」指令所在目錄。(用來解壓縮使用 .tar.gz 或 .tar.gz2格式壓縮的模版包)';
+$messages['help_path_to_gzip'] = '「gzip」指令所在目錄。(用來解壓縮使用 .tar.gz 格式壓縮的模版包)';
+$messages['help_path_to_bz2'] = '「bzip2」指令所在目錄。(用來解壓縮使用 .tar.gz2格式壓縮的模版包)';
+$messages['help_path_to_unzip'] = '「unzip」指令所在目錄。(用來解壓縮使用 .zip格式壓縮的模版包)';
+$messages['help_unzip_use_native_version'] = '使用PHP內建的版本來解壓縮 .zip 的檔案';
+// uploads
+$messages['help_uploads_enabled'] = '啟用或停用上傳檔案功能。這個功能會影響到使用者能否上傳新的模版安裝包,以及在模版中添加新的檔案。';
+$messages['help_maximum_file_upload_size'] = '使用者上傳檔案大小的上限。';
+$messages['help_upload_forbidden_files'] = '禁止使用者上傳的檔案類型。如果有多個不同的檔案類型,請在不同的類型間用空白區隔。也可使用\'*\' and \'?\'的方式。';
+// interfaces
+$messages['help_xmlrpc_api_enabled'] = '啟用或停用XMLRPC介面。XMLRPC介面的用途是可以讓您使用桌面網誌寫作工具出版網誌文章。';
+$messages['help_rdf_enabled'] = '啟用或停用產生RSS新聞交換檔案功能。';
+$messages['help_default_rss_profile'] = '預設的RSS/RDF新聞交換格式';
+// security
+$messages['help_security_pipeline_enabled'] = '啟用系統安全功能。如果您關閉了這個選項,那麼所有的系統安全功能都會停用,如果您想要關閉一些系統安全功能,建議您將這個設定設為開啟,然後在以下的選項中,逐一停用我們不需要的系統安全功能項目。';
+$messages['help_maximum_comment_size'] = '迴響留言的內文字元數上限。';
+// bayesian filter
+$messages['help_bayesian_filter_enabled'] = '啟用或停用貝氏過濾機制。';
+$messages['help_bayesian_filter_spam_probability_treshold'] = '被認定為是垃圾迴響留言的數值下限。設定範圍在0.01到0.99之間。';
+$messages['help_bayesian_filter_nonspam_probability_treshold'] = '設定迴響留言是正常留言的數值上限。任何符合在前一設定與本設定之間數值的留言迴響,都會被認定是正常而非垃圾留言。';
+$messages['help_bayesian_filter_min_length_token'] = '在多少字元數以上才會啟動貝氏過濾機制。';
+$messages['help_bayesian_filter_max_length_token'] = '貝氏過濾機制可以處理的最多字元數上限。';
+$messages['help_bayesian_filter_number_significant_tokens'] = '在訊息中必須要有多少顯著有意義的文字。';
+$messages['help_bayesian_filter_spam_comments_action'] = '處理垃圾留言的方法。您可以直接清理這些垃圾留言(不會存進資料庫中),或是保存這些垃圾留言,但是加上垃圾留言標示標示。建議當您的過濾機制在還沒有妥善建立阻擋規則時,先用後者。';
+$messages['keep_spam_comments'] = '保存垃圾迴響';
+$messages['throw_away_spam_comments'] = '清理垃圾迴響';
+// resources
+$messages['help_resources_enabled'] = '啟用或關閉檔案中心功能。';
+$messages['help_resources_folder'] = '用來存放檔案中心的目錄。這個目錄不一定要在網頁目錄下。如果您不希望別人直接瀏覽您的檔案目錄,您可以把這個目錄設定到其他地方。';
+$messages['help_thumbnail_method'] = '您用來產生縮圖的後端系統。如果使用PHP,GD的支援是必須的。';
+$messages['help_path_to_convert'] = '用來產生縮圖的系統工具路徑。如果您要使用ImageMagick,那麼您必須接著填寫ImageMagick的工具程式路徑。';
+$messages['help_thumbnail_format'] = '在產生預覽縮圖時所使用的預設格式。如果您選擇「與原始影像相同」,那麼預覽縮圖就會儲存成與原始影像相同的格式。';
+$messages['help_thumbnail_height'] = '縮圖預設高度。';
+$messages['help_thumbnail_width'] = '縮圖預設寬度。';
+$messages['help_medium_size_thumbnail_height'] = '中型縮圖預設高度';
+$messages['help_medium_size_thumbnail_width'] = '中型縮圖預設寬度';
+$messages['help_thumbnails_keep_aspect_ratio'] = '縮圖是否保持原始比例。';
+$messages['help_thumbnail_generator_force_use_gd1'] = '是否強迫LifeType使用GD1函數來產生縮圖';
+$messages['help_thumbnail_generator_user_smoothing_algorithm'] = '是否使用演算法來使縮圖畫面更平順。只有當縮圖產生工具是GD時才適用。';
+$messages['help_resources_quota'] = '全域檔案容量限額';
+$messages['help_resource_server_http_cache_enabled'] = '當 HTTP 請求檔頭為"If-Modified-Since"啟用快取支援。啟用此功能來節省網路頻寬。';
+$messages['help_resource_server_http_cache_lifetime'] = '客戶端可以使用快取檔案的時間(單位:千分之一秒)';
+$messages['same_as_image'] = '與原始影像相同';
+// search
+$messages['help_search_engine_enabled'] = '啟用或停用搜尋引擎';
+$messages['help_search_in_custom_fields'] = '搜尋包含自訂欄位';
+$messages['help_search_in_comments'] = '搜尋包含迴響';
+
+// cleanup
+$messages['purge'] = '清除';
+$messages['cleanup_spam'] = '清除垃圾迴響';
+$messages['cleanup_spam_help'] = '這會清除所有被使用者標示為垃圾的迴響。被清除的垃圾迴響將無法回復。';
+$messages['spam_comments_purged_ok'] = '垃圾迴響已順利清除。';
+$messages['cleanup_posts'] = '清除文章';
+$messages['cleanup_posts_help'] = '這會清除所有被使用者標示為刪除的文章。 被清除的文章將無法回復。';
+$messages['posts_purged_ok'] = '文章已順利清除。';
+$messages['purging_error'] = '清理時發生錯誤。';
+
+/// summary ///
+// front page
+$messages['summary'] = '彙整';
+$messages['register'] = '註冊';
+$messages['summary_welcome'] = 'æ­¡è¿Ž!';
+$messages['summary_most_active_blogs'] = '最活躍網誌';
+$messages['summary_most_commented_articles'] = '最多迴響文章';
+$messages['summary_most_read_articles'] = '最多人閱讀文章';
+$messages['password_forgotten'] = '忘記密碼?';
+$messages['summary_newest_blogs'] = '最新建立的網誌';
+$messages['summary_latest_posts'] = '最新發表的文章';
+$messages['summary_search_blogs'] = '搜尋網誌';
+
+// blog list
+$messages['updated'] = 'æ›´æ–°';
+$messages['total_reads'] = '瀏覽總次數';
+
+// blog profile
+$messages['blog'] = '網誌';
+$messages['latest_posts'] = '最新發表的文章';
+
+// registration
+$messages['register_step0_title'] = '服務條款';
+$messages['agreement'] = '同意條款';
+$messages['decline'] = '不接受';
+$messages['accept'] = '接受';
+$messages['read_service_agreement'] = '請詳細閱讀服務條款,如果你同意以上條款請按下接受鍵。';
+$messages['register_step1_title'] = '建立使用者 [1/4]';
+$messages['register_step1_help'] = '首先你必須先建立一個使用者帳號來取得一個網誌,這個使用者擁有該網誌,同時可以進行所有網誌設定功能。';
+$messages['register_next'] = '下一步';
+$messages['register_back'] = '上一步';
+$messages['register_step2_title'] = '建立網誌 [2/4]';
+$messages['register_blog_name_help'] = '幫你的網誌取個名稱';
+$messages['register_step3_title'] = '選擇一個模版[3/4]';
+$messages['step1'] = '步驟 1';
+$messages['step2'] = '步驟 2';
+$messages['step3'] = '步驟 3';
+$messages['register_step3_help'] = '請選擇一個模版做為網誌的預設模版。只要你不喜歡,你可以隨時把它換掉。';
+$messages['error_must_choose_template'] = '請選擇一個模版';
+$messages['select_template'] = '選取模版';
+$messages['register_step5_title'] = '恭喜你! [4/4]';
+$messages['finish'] = '註冊完成';
+$messages['register_need_confirmation'] = '一封包含註冊[確認訊息連結]的電子郵件已經寄到你的電子信箱中。請盡快點選該連結來開始你的blogging生活!';
+$messages['register_step5_help'] = '恭喜你,新的使用者帳號及網誌已經順利建立!';
+$messages['register_blog_link'] = '如果你要看一看你的新網誌,你現在可以到<a href="%2$s">%1$s</a>這裡看一看。';
+$messages['register_blog_admin_link'] = '如果你想要立刻開始發表文章,請點選連結到 <a href="admin.php">管理介面</a>';
+$messages['register_error'] = '過程中有錯誤發生!';
+$messages['error_registration_disabled'] = '很抱歉,網站管理者停用註冊新網誌的功能。';
+// registration article topic and text
+$messages['register_default_article_topic'] = '恭喜!';
+$messages['register_default_article_text'] = '如果你可以看到這篇文章,表示註冊過程已經順利完成。現在你可以開始blogging了!';
+$messages['register_default_category'] = '一般';
+// confirmation email
+$messages['register_confirmation_email_text'] = '請點選下面的連結來啟用你的網誌::
+
+%s
+
+祝你有個美好的一天!';
+$messages['error_invalid_activation_code'] = '很抱歉,確認碼不正確!';
+$messages['blog_activated_ok'] = '恭喜,你的使用者帳號和網誌已經順利啟用了!';
+// forgot your password?
+$messages['reset_password'] = '重設密碼';
+$messages['reset_password_username_help'] = '你要重設那個使用者的密碼?';
+$messages['reset_password_email_help'] = '使用者用來註冊的電子郵件位址';
+$messages['reset_password_help'] = '使用下方的表單來重設密碼。請輸入使用者名稱及註冊時使用的電子郵件位址。';
+$messages['error_resetting_password'] = '重設密碼時發生錯誤。請檢查輸入的資料再重試一次。';
+$messages['reset_password_error_incorrect_email_address'] = '電子郵件位址錯誤或著這不是你註冊時使用的電子郵件。';
+$messages['password_reset_message_sent_ok'] = '一封有著重設密碼連結的電子郵件已經送到你的電子郵件信箱,請點選該連結來重設密碼。';
+$messages['error_incorrect_request'] = '網址中的參數不正確。';
+$messages['change_password'] = '重設密碼';
+$messages['change_password_help'] = '請輸入新密碼及確認密碼';
+$messages['new_password'] = '新密碼';
+$messages['new_password_help'] = '在這裡輸入新密碼';
+$messages['password_updated_ok'] = '你的密碼已經順利更新';
+
+// Suggested by BCSE, some useful messages that not available in official locale
+$messages['upgrade_information'] = '您所使用的瀏覽器未符合網頁設計標準,因此本網頁將以純文字模式顯示。如欲以最佳的排版方式瀏覽本站,請考慮<a href="http://www.webstandards.org/upgrade/" title="The Web Standards Project\'s Browser Upgrade initiative">升級</a>您的瀏覽器。';
+$messages['jump_to_navigation'] = '移動到導覽列。';
+$messages['comment_email_never_display'] = '系統會自動為你設定分行,且不會顯示你留下的郵件地址。';
+$messages['comment_html_allowed'] = '可使用之 <acronym title="Hypertext Markup Language">HTML</acronym> 標籤如下:&lt;<acronym title="用途:超連結">a</acronym> href=&quot;&quot; title=&quot;&quot; rel=&quot;&quot;&gt; &lt;<acronym title="用途:頭字語標註">acronym</acronym> title=&quot;&quot;&gt; &lt;<acronym title="用途:引用文字">blockquote</acronym> cite=&quot;&quot;&gt; &lt;<acronym title="用途:刪除線">del</acronym>&gt; &lt;<acronym title="用途:斜體">em</acronym>&gt; &lt;<acronym title="用途:底線">ins</acronym>&gt; &lt;<acronym title="用途:粗體">strong</acronym>&gt;';
+$messages['trackback_uri'] = '這篇文章的引用連結網址:';
+
+$messages['xmlrpc_ping_ok'] = 'XMLRPC Ping sent successfully: ';
+$messages['error_sending_xmlrpc_ping'] = 'There was an error sending the XMLRPC ping to: ';
+$messages['error_sending_xmlrpc_ping_message'] = 'There was an error sending the XMLRPC ping: ';
+
+//
+// new strings for 1.1
+//
+$messages['error_incorrect_trackback_id'] = '引用的識別碼不正確';
+$messages['error_marking_trackback_as_spam'] = '標記垃圾引用時發生錯誤';
+$messages['trackback_marked_as_spam_ok'] = '標記垃圾引用成功';
+$messages['error_marking_trackback_as_nonspam'] = '取消標記垃圾引用時發生錯誤';
+$messages['trackback_marked_as_nonspam_ok'] = '取消標記垃圾引用成功';
+$messages['upload_here'] = '上傳到這裡';
+$messages['reply_string'] = 'Re: ';
+$messages['cleanup_users'] = '刪除使用者';
+$messages['cleanup_users_help'] = '這個操作會把所有被管理員標示為(已刪除)的使用者完全刪除,同時也會把這些使用者的所有網誌也刪除,包括所有包含在網誌裡的任何東西。如果這些使用者有在其他網誌寫文章的權限,那他們在其他網誌裡所寫的文章也會一起被刪除。當使用者被刪除時,這些動作是不可能恢復的。';
+$messages['users_purged_ok'] = '成功刪除使用者';
+$messages['cleanup_blogs'] = '刪除網誌';
+$messages['cleanup_blogs_help'] = '這個操作會把所有被管理員標示為(已刪除)的網誌完全刪除,包括所有包含在網誌裡的任何東西。當網誌被刪除時,這些動作是不可能恢復的。';
+$messages['blogs_purged_ok'] = '成功刪除網誌';
+$messages['help_use_http_accept_language_detection'] = '大部分的瀏覽器像 Mozilla Firefox 、 Safari 或 Internet Explorer 至少會傳送一個使用者<i>應該</i>瞭解的語言碼。如果啟用這個功能,而且該語言是可用的, LifeType 會試著以這個請求的語言來服務使用者。[預設值 = 否]';
+
+$messages['error_invalid_blog_category'] = '不合法的網誌分類';
+$messages['error_adding_blog_category'] = '新增網誌分類時發生錯誤';
+$messages['newBlogCategory'] = '新增網誌分類';
+$messages['editBlogCategories'] = '編輯網誌分類';
+$messages['blog_category_added_ok'] = '成功新增網誌分類';
+$messages['error_blog_category_has_blogs'] = '已經有一些網誌指定到網誌分類 "%s" 。請先編輯這些網誌之後再試一次';
+$messages['error_deleting_blog_category'] = '刪除網誌分類 "%s" 時發生錯誤';
+$messages['blog_category_deleted_ok'] = '成功刪除網誌分類 "%s"';
+$messages['blog_categories_deleted_ok'] = '成功刪除網誌分類 "%s"';
+$messages['error_deleting_blog_category2'] = '刪除 id 為 %s 的網誌分類時發生錯誤';
+$messages['blog_category'] = '網誌分類';
+$messages['blog_category_help'] = '替網誌指定一個全域網誌分類';
+
+$messages['help_use_captcha_auth'] = '在註冊程序使用 CAPTCHA 機制,以防止自動註冊機器人程式';
+$messages['help_skip_dashboard'] = '讓使用者跳過管理面板,直接進入他目前所擁有的第一個網誌';
+
+$messages['manageGlobalArticleCategory'] = '全域文章分類';
+$messages['newGlobalArticleCategory'] = '新增全域文章分類';
+$messages['editGlobalArticleCategories'] = '編輯全域文章分類';
+$messages['global_category_name_help'] = '新的全域文章分類的名稱';
+$messages['global_category_description_help'] = '新的全域文章分類的詳細描述';
+$messages['error_incorrect_global_category_id'] = '不合法的全域文章分類';
+$messages['global_category_deleted_ok'] = '成功刪除全域文章分類 "%s"';
+$messages['global_category_added_ok'] = '成功新增全域文章分類 "%s"';
+$messages['error_deleting_global_category2'] = '刪除 id 為 %S 的全域文章分類時發生錯誤';
+
+$messages['help_page_suffix_format'] = '支援分頁時,加在網址尾端的字尾';
+
+$messages['help_final_size_thumbnail_width'] = '上傳圖檔的最後寬度。使用空白或 0 則使用圖檔的原始大小';
+$messages['help_final_size_thumbnail_height'] = '上傳圖檔的最後高度。使用空白或 0 則使用圖檔的原始大小';
+$messages['error_comment_too_big'] = '回響內容太長';
+$messages['error_you_have_been_blocked'] = '阻擋:這個請求並沒有完成';
+$messages['created'] = '已建立';
+$messages['view'] = '閱讀';
+$messages['editUser'] = '編輯使用者';
+$messages['help_urlize_word_separator'] = '建立 LifeType 相關的連結時,用於連結單字的字元。如果啟用次網域網址時,這也會使用於產生網址裡的網站名稱。[預設值 = _]';
+$messages['help_summary_template_cache_lifetime'] = '彙整頁面快取的有效時間。若設為 \'0\' ,只要有資料更新就會更新彙整頁面的快取。如果設為其他值,則會等到這段時間過了之後再更新彙整頁面的快取。[預設值 = 0]';
+$messages['register_default_album_name'] = '一般';
+$messages['register_default_album_description'] = '使用這個資料夾上傳新圖檔';
+$messages['show_in_summary'] = '在彙整頁面中顯示';
+$messages['show_in_summary_help'] = '在彙整頁面中顯示這個網誌';
+
+$messages['saving_message'] = '儲存中 ...';
+$messages['show_option_panel'] = '顯示文章選項';
+$messages['hide_option_panel'] = '隱藏文章選項';
+
+$messages['quick_launches'] = '快捷列';
+
+$messages['confirmation_message_resent_ok'] = '註冊確認信件已成功地重新寄出';
+
+$messages['goto_blog_page'] = '打開 %s 首頁';
+
+$messages['help_num_blogs_per_user'] = '擁有者可以從管理介面建立網誌的數目';
+
+$messages['massive_change_option'] = '大量修改選項';
+$messages['show_massive_change_option'] = '顯示大量修改選項';
+$messages['hide_massive_change_option'] = '隱藏大量修改選項';
+$messages['change_status'] = '修改狀態';
+$messages['change_category'] = '修改分類';
+$messages['error_updating_comment_no_comment'] = '更新迴響時發生錯誤。迴響 #%s 不存在。';
+$messages['error_updating_comment_wrong_blog'] = '更新迴響時發生錯誤。迴響 (%s)不在這篇文章上。';
+$messages['error_updating_comment'] = '更新迴響 (%s) 發生錯誤。';
+$messages['error_updating_comment_already_updated'] = '(%s) 沒有進行任何更新。';
+$messages['comment_updated_ok'] = '迴響已順利更新。';
+$messages['comments_updated_ok'] = '%s 迴響已順利更新。';
+
+$messages['error_post_status'] = '請選擇文章狀態。';
+$messages['error_comment_status'] = '請選擇迴響狀態。';
+$messages['admin_mode'] = '管理員模式';
+$messages['administrate_user_blog'] = '管理這個網誌';
+$messages['trackbacks_updated_ok'] = '%s 個引用已成功的更新';
+$messages['trackback_updated_ok'] = '引用已成功的更新';
+$messages['error_trackback_status'] = '請選擇一個合法的狀態';
+$messages['error_incorrect_user'] = '不合法的使用者';
+$messages['select'] = '選擇';
+$messages['remove_selected'] = '取消選取';
+
+$messages['notification_subject'] = 'LifeType 通知系統';
+$messages['error_no_trackback_links_sent'] = '警告:沒有送出任何引用';
+
+$messages['help_http_cache_lifetime'] = '客戶端快取的有效時間,以秒為單位。 (瀏覽器在這段期間不會再連線到網頁主機,而直接使用本地端的快取)。這個做法將加快瀏覽網頁的速度,但是將延後文章和迴響的出現時間。[預設值 = 1800]';
+
+$messages['trackbacks_no_trackback'] = '送出引用到下面的網址失敗:';
+
+$messages['error_comment_spam_throw_away'] = '你不能發表這個訊息。反垃圾過濾系統已經將這個訊息阻擋下來。';
+$messages['error_comment_spam_keep'] = '反垃圾過濾系統已經將你的迴響放到佇列裡等待網誌擁有者的審核。';
+
+$messages['blog_categories'] = '網誌分類';
+$messages['global_article_categories'] = '全站文章分類'; 
+
+$messages['help_force_posturl_unique'] = '強迫網誌裡所有文章的網址都是唯一的。這只有當你更改網址並且將日期部份從網址中移除時才需要。[預設值 = no]';
+
+$messages['default_send_notification'] = '預設發送通知';
+
+$messages['enable_pull_down_menu'] = '下拉式選單';
+$messages['enable_pull_down_menu_help'] = '啟用或關閉下拉式選單。';
+
+$messages['change_album'] = '修改檔案夾'; 
+
+$messages['warning_autosave_message'] = '<img src="imgs/admin/icon_warning-16.png" alt="Error" class="InfoIcon"/><p class="ErrorText">你好像有之前尚未存檔的文章。如果你還想繼續編輯,你可以 <a href="#" onclick="restoreAutoSave();">取回未存檔文章繼續編輯</a> 或是 <a href="#" onclick="eraseAutoSave();">把他刪除</a> 。</p>';
+
+$messages['check_username'] = '檢查使用者名稱';
+$messages['check_username_ok'] = '恭喜!這個使用者名稱還沒有任何人使用。';
+$messages['error_username_exist'] = '抱歉!這個使用者名稱已經被別人用了,試試其他的吧!'; 
+
+$messages['error_rule_email_dns_server_temp_fail'] = '發生暫時性的錯誤,請稍後再試!';
+$messages['error_rule_email_dns_server_unreachable'] = '電子郵件主機無法連線';
+$messages['error_rule_email_dns_not_permitted'] = '不被允許的電子郵件地址'; 
+
+$messages['blog_users_help'] = '可以存取這個網誌的使用者。請從左邊選取使用者將他移到右邊提供該使用者存取網誌的權限。'; 
+
+$messages['summary_welcome_paragraph'] = '請將此處修改為你希望你的使用者看到的歡迎訊息,或將這部份刪除並重新安排整個頁面。這個頁面的模版在 templates/summary 裡面,你可以自由地依你的喜好修改他。'; 
+
+$messages['first_day_of_week'] = 1;
+$messages['first_day_of_week_label'] = '每一週的開始';
+$messages['first_day_of_week_help'] = '在首頁月曆中的顯示方式。'; 
+
+$messages['help_subdomains_base_url'] = '當次網域設定啟用時,這個網址將用來替代系統網址。使用 {blogname}來取得網誌名稱及{username}取得網誌使用者名稱以及{blogdomain},用來產生連結到網誌的網址。'; 
+
+$messages['registration_default_subject'] = 'LifeType 註冊確認';
+
+$messages['error_invalid_subdomain'] = '不合法的子網域名稱,或是名稱不是唯一的';
+$messages['register_blog_domain_help'] = '你的新網誌要使用的名稱和子網域';
+$messages['domain'] = '網域(Domain)';
+$messages['help_subdomains_available_domains'] = '允許的主網域名稱清單。主網域名稱請以一個空格分隔。使用者會看到一個包含這些值的下拉式選單,並加入他所要使用的主網域。只有當你啟用子網域並且在上方的 subdomain_base_url 使用了 (blogdomain) 。如果你允許任何的網域,則使用 \'?\'';
+$messages['subdomains_any_domain'] = '<- 啟用多重網域。輸入完整的網域名稱';
+$messages['error_updating_blog_subdomain'] = '更新子網域時發生錯誤,請檢查資料並再試一次。';
+$messages['error_updating_blog_main_domain'] = '更新主網域設定時發生錯誤。這可是管理者的一些系統參數調整錯誤造成的。';
+
+$messages['monthsshort'] = Array( '元', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二' );
+$messages['weekdaysshort'] = Array( '日', '一', '二', '三', '四', '五', '六' );
+
+$messages['search_type'] = '搜尋方式';
+$messages['posts'] = '文章';
+$messages['blogs'] = '網誌';
+$messages['resources'] = '檔案';
+$messages['upload_in_progress'] = '檔案正在上傳中,請稍後 ...';
+$messages['error_incorrect_username'] = '使用者名稱不正確。可能這個使用者名稱已經有人使用了,或是它的長度超過 15 個字元。';
+
+$messages['Miscellaneous'] = '其他設定';
+$messages['Plugins'] = '外掛程式';
+
+$messages['auth_img'] = '認證碼';
+$messages['auth_img_help'] = '請輸入你在圖片中所看到的文字。';
+
+$messages['global_category'] = '全域文章分類';
+$messages['global_article_category_help'] = '替文章指定一個全域文章分類。';
+
+$messages['password_reset_subject'] = 'LifeType 重新設置密碼';
+
+//
+// new strings for LifeType 1.2
+//
+$messages['auth'] = 'é©—è­‰';
+$messages['authenticated'] = '已登入';
+$messages['dropdown_list_field'] = '下拉式選項';
+$messages['values'] = '數值';
+$messages['field_values'] = '這些值會變成這個下拉式選單中的選項。其中第一個值會是下拉式選單中的預設值。';
+
+$messages['permission_added_ok'] = '權限已經順利新增。';
+$messages['core_perm'] = '主要權限';
+$messages['admin_only'] = '管理者限定';
+$messages['permissionsList'] = '權限列表';
+$messages['newPermission'] = '新增權限';
+$messages['permission_name_help'] = '必須是系統中唯一的權限名稱';
+$messages['permission_description_help'] = '權限的簡短描述';
+$messages['core_perm_help'] = '如果這個權限是主要權限,他將無法被刪除。';
+$messages['admin_only_help'] = '這個權限只能指定給管理者。';
+$messages['error_adding_new_permission'] = '新增權限時發生錯誤,請檢查你的資料。';
+$messages['error_incorrect_permission_id'] = '權限 ID 不正確。';
+$messages['error_permission_cannot_be_deleted'] = '權限 "%s" 無法刪除。因為他已經至少被一個使用者使用或者是主要權限。';
+$messages['error_deleting_permission'] = '刪除權限 "%s" 發生錯誤。';
+$messages['permission_deleted_ok'] = '權限 "%s" 已經順利刪除。';
+$messages['permissions_deleted_ok'] = '%s 權限已經順利刪除。';
+$messages['error_deleting_permission2'] = '刪除權限 ID "%s" 時發生錯誤。';
+
+$messages['help_hard_show_posts_max'] = '首頁顯示文章數量的最大值。如果使用者的設定超過這個數值,它將會被忽略,並且直接使用這個數值作為限制。[ 預設 = 50 ]';
+$messages['help_hard_recent_posts_max'] = '首頁顯示近期文章數量的最大值。如果使用者的設定超過這個數值,它將會被忽略,並且直接使用這個數值作為限制。[ 預設 = 25 ]';
+
+$messages['error_permission_required'] = '你沒有進行這個動作的權限。';
+$messages['user_permissions_updated_ok'] = '使用者權限順利更新。';
+
+// blog permissions
+$messages['add_album_desc'] = '新增資料夾';
+$messages['add_blog_template_desc'] = '新增網誌模版';
+$messages['add_blog_user_desc'] = '新增網誌作者';
+$messages['add_category_desc'] = '新增文章分類';
+$messages['add_custom_field_desc'] = '新增自訂欄位';
+$messages['add_link_desc'] = '新增連結網址';
+$messages['add_link_category_desc'] = '新增網站連結分類';
+$messages['add_post_desc'] = '新增文章';
+$messages['add_resource_desc'] = '新增檔案';
+$messages['blog_access_desc'] = '訪問這個網誌';
+$messages['update_album_desc'] = '更新與刪除資料夾';
+$messages['update_blog_desc'] = '更新與刪除網誌';
+$messages['update_blog_template_desc'] = '更新與刪除網誌模版';
+$messages['update_blog_user_desc'] = '更新與刪除網誌作者權限';
+$messages['update_category_desc'] = '更新與刪除文章分類';
+$messages['update_comment_desc'] = '更新與刪除迴響';
+$messages['update_custom_field_desc'] = '更新與刪除自訂欄位';
+$messages['update_link_desc'] = '更新與刪除連結網址';
+$messages['update_link_category_desc'] = '更新與刪除網站連結分類';
+$messages['update_post_desc'] = '更新與刪除文章';
+$messages['update_resource_desc'] = '更新與刪除檔案';
+$messages['update_trackback_desc'] = '更新與刪除引用';
+$messages['view_blog_templates_desc'] = '瀏覽網誌模版列表';
+$messages['view_blog_users_desc'] = '瀏覽網誌作者列表';
+$messages['view_categories_desc'] = '瀏覽文章分類列表';
+$messages['view_comments_desc'] = '瀏覽迴響列表';
+$messages['view_custom_fields_desc'] = '瀏覽自訂欄位列表';
+$messages['view_links_desc'] = '瀏覽連結網址列表';
+$messages['view_link_categories_desc'] = '瀏覽網站連結分類列表';
+$messages['view_posts_desc'] = '瀏覽文章列表';
+$messages['view_resources_desc'] = '瀏覽檔案列表';
+$messages['view_trackbacks_desc'] = '瀏覽引用列表';
+$messages['login_perm_desc'] = '允許登入管理介面';
+// admin permissions
+$messages['add_blog_category_desc'] = '新增網誌分類';
+$messages['add_global_article_category_desc'] = '新增全域文章分類';
+$messages['add_locale_desc'] = '新增語系';
+$messages['add_permission_desc'] = '新增權限';
+$messages['add_site_blog_desc'] = '新增網誌';
+$messages['add_template_desc'] = '新增全域模版';
+$messages['add_user_desc'] = '新增使用者';
+$messages['edit_blog_admin_mode_desc'] = '修改其他網誌 (管理者模式)';
+$messages['purge_data_desc'] = '清除資料';
+$messages['update_blog_category_desc'] = '更新與刪除網誌分類';
+$messages['update_global_article_category_desc'] = '更新與刪除全域文章分類';
+$messages['update_global_settings_desc'] = '更新與刪除全域設定';
+$messages['update_locale_desc'] = '更新與刪除語系';
+$messages['update_permission_desc'] = '更新與刪除權限';
+$messages['update_plugin_settings_desc'] = '更新與刪除外掛程式設定';
+$messages['update_site_blog_desc'] = '更新與刪除網誌';
+$messages['update_template_desc'] = '更新與刪除全域模版';
+$messages['update_user_desc'] = '更新與刪除使用者';
+$messages['view_blog_categories'] = '瀏覽網誌分類列表';
+$messages['view_global_article_categories_desc'] = '瀏覽全域文章分類列表';
+$messages['view_global_settings_desc'] = '瀏覽全域設定';
+$messages['view_locales_desc'] = '瀏覽語系列表';
+$messages['view_permissions_desc'] = '瀏覽權限列表';
+$messages['view_plugins_desc'] = '瀏覽外掛程式列表';
+$messages['view_site_blogs_desc'] = '瀏覽網誌列表';
+$messages['view_templates_desc'] = '瀏覽全域模版列表';
+$messages['view_users_desc'] = '瀏覽使用者列表';
+$messages['update_blog_stats_desc'] = '更新與刪除逆向連結';
+$messages['manage_admin_plugins_desc'] = '管理全域外掛程式設定';
+
+$messages['summary_welcome_msg'] = '歡迎, %s!';
+$messages['summary_go_to_admin'] = '管理者介面';
+
+$messages['error_can_only_update_own_articles'] = '你的權限只允許你修改自己的文章。';
+$messages['update_all_user_articles_desc'] = '允許修改其他網誌作者的文章。';
+$messages['error_can_only_view_own_articles'] = '你的權限只允許你瀏覽自己的文章。';
+$messages['view_all_user_articles_desc'] = '允許瀏覽其他網誌作者的文章。';
+$messages['error_fetching_permission'] = '讀取權限資料時發生錯誤。';
+$messages['editPermission'] = '修改權限';
+$messages['error_updating_permission'] = '更新權限時發生錯誤。';
+$messages['permission_updated_ok'] = '權限已順利更新。';
+$messages['error_adding_permission'] = '新增權限時發生錯誤。';
+$messages['error_cannot_login'] = '抱歉,你不被允許登入!';
+$messages['admin_user_permissions_help'] = '指定使用者具有管理全站的權限。';
+
+$messages['permissions'] = '權限列表';
+$messages['blog_user_permissions_help'] = '指定使用者具有管理網誌的權限。';
+$messages['pluginSettings'] = '外掛程式設定';
+$messages['user_can_override'] = '使用者可以覆蓋外掛程式全域設定';
+$messages['user_cannot_override'] = '使用者不能覆蓋外掛全域程式設定';
+$messages['global_plugin_settings_saved_ok'] = '外掛程式全域設定已順利更新。';
+$messages['error_updating_global_plugin_settings'] = '更新外掛程式全域設定時發生錯誤。';
+$messages['error_incorrect_value'] = '這個數值不正確。';
+$messages['parameter'] = '參數';
+$messages['value'] = '設定值';
+$messages['override'] = '覆蓋';
+$messages['editCustomField'] = '編輯自訂欄位';
+$messages['view_blog_stats_desc'] = '瀏覽網誌統計';
+$messages['manage_plugins_desc'] = '管理網誌外掛程式';
+
+$messages['error_global_category_has_articles'] = '無法刪除這個全域文章分類,因為該分類下還有文章。';
+$messages['error_adding_global_article_category'] = '新增全域文章分類時發生錯誤。請檢查輸入的資料,再重試一次。';
+
+$messages['temp_folder_reset_ok'] = '清理暫存目錄已經順利清理。';
+$messages['cleanup_temp_help'] = '清理暫存目錄中所有網誌的網頁快取與資料快取。';
+$messages['cleanup_temp'] = '清理暫存目錄。';
+
+$messages['comment_only_auth_users'] = '迴響使用者驗證';
+$messages['comment_only_auth_users_help'] = '只有已經登入網誌的使用者才能夠迴響。';
+$messages['show_comments_max'] = '最大每篇文章顯示迴響數目';
+$messages['show_comments_max_help'] = '每篇文章顯示迴響數目的預設值 [ 預設 = 20 ]';
+$messages['hard_show_comments_max_help'] = '每篇文章顯示迴響數目的預設值。如果使用者的設定超過這個數值,它將會被忽略,並且直接使用這個數值作為限制。[ 預設 = 50 ]';
+
+$messages['error_resource_not_whitelisted_extension'] = '檔案類時不在系統允許的副檔名列表中。';
+$messages['help_upload_allowed_files'] = '允許使用者上傳的檔案類型。如果有多個不同的檔案類型,請在不同的類型間用空白區隔。也可使用\'*\' and \'?\'的方式。 如果 upload_forbidden_file 與這個選項同時設定。允許使用者上傳的檔案類型 (upload_allowed_files) 將會優先於禁止使用者上傳的檔案類型 [Default = None]';
+
+$messages['help_template_load_order'] = '預設模版載入順序。如果使用 \'優先載入預設模版\',LifeType 會嘗試優先搜尋 ./templates/default/ 目錄下的模版,如果預設模版不存在,則載入使用者自訂模版。如果相同的模版同時存在這兩個地方,則優先採用預設模版。如果使用 \'優先載入使用者自訂模版\',則使用者自訂模版將被優先使用。如果使用者自訂模版不存在,將使用預設模版。如果相同的模版同時存在這兩個地方,則優先採用使用者自訂模版。';
+$messages['template_load_order_user_first'] = '優先載入預設模版';
+$messages['template_load_order_default_first'] = '優先載入使用者自訂模版';
+
+$messages['editBlogUser'] = '編輯網誌作者';
+
+$messages['help_summary_service_name'] = '你的網站或是服務的名稱。這個名稱會使用在你的彙整首頁與 RSS 的輸出中。[ 預設值 = 空白 ]';
+
+$messages['register_step2_help'] = '請提供建立網誌所需要的資訊。';
+
+$messages['create_date'] = '建立時間';
+
+$messages['insert_media'] = '插入檔案';
+$messages['insert_more'] = '插入 "閱讀全文" 分隔';
+
+$messages['purging_please_wait'] = '請耐心等候清理資料。本頁面會持續更新直到所有資料清理完畢,請勿中斷清理動作以免造成資料損壞。';
+
+$messages['error_cannot_delete_last_blog_category'] = '您無法刪除最後一個網誌分類。';
+
+$messages['help_logout_destination_url'] = '當使用者登出時所要顯示網頁的 URL 。例如,你提供服務的首頁。若是保持空白,則使用預設的 LifeType 登入頁。[ 預設值 = 空白 ]';
+$messages['help_default_global_article_category_id'] = '預設的全域文章分類 ID。[ 預設值 = 空白 ]';
+$messages['help_blog_does_not_exist_url'] = '當網誌不存在時所要顯示的網頁 URL。當網誌不存在時,你可以透過這一個選項將 URL 轉到某一個特定網址,而非系統預設的網誌。[ 預設值 = 空白 ]';
+
+$messages['error_invalid_blog_name'] = '網誌名稱不正確。';
+
+/* strings for /default/ templates */
+
+
+$messages['help_forbidden_blognames'] = '列出所有不允許使用的網誌名稱。如果有多個不同的網誌名稱,請在不同的名稱間用空白區隔。 也可以使用正規表示是來表示。[ 預設值 = 空白 ]';
+
+$messages['posts_updated_ok'] = '%s 篇文章已順利更新。';
+$messages['error_updating_post2'] = '更新文章 ID %s 時發生錯誤。';
+$messages['resources_updated_ok'] = '%s 個檔案已順利更新。';
+$messages['error_updating_resource2'] = '更新檔案 ID %s 時發生錯誤。';
+$messages['albums_updated_ok'] = '%s 個資料夾已順利更新。';
+$messages['error_updating_album2'] = '更新資料夾 ID %s 時發生錯誤。';
+$messages['links_updated_ok'] = '%s 網站連結已順利更新。';
+$messages['error_updating_link2'] = '更新網站連結 ID %s 時發生錯誤。';
+
+$messages['version'] = '版本';
+
+$messages['error_resources_disabled'] = '抱歉!本網站的上傳功能已經被管理者關閉。';
+$messages['help_login_admin_panel'] = '點選網誌名稱,進入網誌管理頁面。';
+
+$messages['blog_updated_ok'] = 'Blog "%s" was successfully updated';
+$messages['blogs_updated_ok'] = '%s blogs were successfully updated';
+$messages['error_updating_blog2'] = 'There was an error updating the blog whose identifier is "%s"';
+$messages['error_updating_blog'] = 'There was an error updating blog "%s"';
+
+$messages['error_updating_user'] = 'There was an error updating user "%s".';
+$messages['user_updated_ok'] = 'User "%s" was successfully updated.';
+$messages['users_updated_ok'] = '%s users were successfully updated';
+$messages['eror_updating_user2'] = 'There was an error updating user with identifier "%s"';
+
+$messages['error_select_status'] = 'Please select a valid status';
+?>
\ No newline at end of file

Modified: plog/trunk/locale/locale_ca_ES.php
===================================================================
--- plog/trunk/locale/locale_ca_ES.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/locale/locale_ca_ES.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -93,6 +93,7 @@
 $messages['main'] = 'Inici';
 $messages['about'] = 'Sobre';
 $messages['download'] = 'Baixa';
+$messages['error_incorrect_email_address'] = 'L\'adreça de correu electrònic no és correcta';
 
 
 ////// error messages /////
@@ -116,7 +117,7 @@
 $messages['posted_in'] = 'Publicat a';
 $messages['form_authenticated'] = 'Autentitficat';
 $messages['previous_post'] = 'Anterior';
-$messages['next_post'] = 'Sigüent';
+$messages['next_post'] = 'Següent';
 $messages['comment_default_title'] = '(Sense títol)';
 $messages['trackbacks'] = 'Retroenllaços';
 $messages['menu'] = 'Menú';

Copied: plog/trunk/locale/locale_de_DE.php (from rev 5155, plog/branches/lifetype-1.2/locale/locale_de_DE.php)
===================================================================
--- plog/trunk/locale/locale_de_DE.php	                        (rev 0)
+++ plog/trunk/locale/locale_de_DE.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,126 @@
+<?php
+
+// set this to the encoding that should be used to display the pages correctly
+$messages['encoding'] = 'iso-8859-1';
+$messages['locale_description'] = 'Deutsche Sprachdatei f&uuml;r LifeType';
+// locale format, see Locale::formatDate for more information
+$messages['date_format'] = '%d/%m/%Y %H:%M';
+
+// days of the week
+$messages['days'] = Array( 'Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag' );
+// -- compatibility, do not touch -- //
+$messages['Monday'] = $messages['days'][1];
+$messages['Tuesday'] = $messages['days'][2];
+$messages['Wednesday'] = $messages['days'][3];
+$messages['Thursday'] = $messages['days'][4];
+$messages['Friday'] = $messages['days'][5];
+$messages['Saturday'] = $messages['days'][6];
+$messages['Sunday'] = $messages['days'][0];
+
+// abbreviations
+$messages['daysshort'] = Array( 'So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa' );
+// -- compatibility, do not touch -- //
+$messages['Mo'] = $messages['daysshort'][1];
+$messages['Tu'] = $messages['daysshort'][2];
+$messages['We'] = $messages['daysshort'][3];
+$messages['Th'] = $messages['daysshort'][4];
+$messages['Fr'] = $messages['daysshort'][5];
+$messages['Sa'] = $messages['daysshort'][6];
+$messages['Su'] = $messages['daysshort'][0];
+
+// months of the year
+$messages['months'] = Array( 'Januar', 'Februar', 'M&auml;rz', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember' );
+// -- compatibility, do not touch -- //
+$messages['January'] = $messages['months'][0];
+$messages['February'] = $messages['months'][1];
+$messages['March'] = $messages['months'][2];
+$messages['April'] = $messages['months'][3];
+$messages['May'] = $messages['months'][4];
+$messages['June'] = $messages['months'][5];
+$messages['July'] = $messages['months'][6];
+$messages['August'] = $messages['months'][7];
+$messages['September'] = $messages['months'][8];
+$messages['October'] = $messages['months'][9];
+$messages['November'] = $messages['months'][10];
+$messages['December'] = $messages['months'][11];
+$messages['message'] = 'Nachricht';
+$messages['error'] = 'Fehler';
+$messages['date'] = 'Datum';
+
+// miscellaneous texts
+$messages['of'] = 'von';
+$messages['recently'] = 'Aktuell';
+$messages['comments'] = 'Kommentare';
+$messages['comment on this'] = 'Kommentare';
+$messages['my_links'] = 'meine Links';
+$messages['archives'] = 'Archiv';
+$messages['search'] = 'suchen';
+$messages['calendar'] = 'Kalender';
+$messages['search_s'] = 'Suche';
+$messages['search_this_blog'] = 'Dieses Weblog durchsuchen:';
+$messages['about_myself'] = '&Uuml;ber mich';
+$messages['permalink_title'] = 'Permanenter Link zum Archiv';
+$messages['permalink'] = 'Permalink';
+$messages['posted_by'] = 'geschrieben von';
+$messages['reply'] = 'antworten';
+
+// add comment form
+$messages['add_comment'] = 'Artikel kommentieren';
+$messages['comment_topic'] = 'Betreff';
+$messages['comment_text'] = 'Text';
+$messages['comment_username'] = 'Ihr Name';
+$messages['comment_email'] = 'E-Mail Addresse (wenn vorhanden)';
+$messages['comment_url'] = 'Webseite (wenn vorhanden)';
+$messages['comment_send'] = 'absenden';
+$messages['comment_added'] = 'Kommentar hinzugef&uuml;gt.';
+$messages['comment_add_error'] = 'Beim Hinzuf&uuml;gen des Kommentars ist ein Fehler aufgetreten.';
+$messages['article_does_not_exist'] = 'Dieser Artikel existiert nicht.';
+$messages['no_posts_found'] = 'Es wurden keine Artikel gefunden.';
+$messages['user_has_no_posts_yet'] = 'Der Benutzer hat noch keine Artikel ver&ouml;ffentlicht.';
+$messages['back'] = 'zur&uuml;ck';
+$messages['post'] = 'Artikel';
+$messages['trackbacks_for_article'] = 'Trackbacks f&uuml;r diesen Artikel';
+$messages['trackback_excerpt'] = 'Auszug';
+$messages['trackback_weblog'] = 'Weblog';
+$messages['search_results'] = 'Suchergebnisse';
+$messages['search_matching_results'] = 'Die folgenden Artikel entsprechen Ihrer Suchanfrage: ';
+$messages['search_no_matching_posts'] = 'Es wurden keine Artikel gefunden.';
+$messages['read_more'] = '(weiter)';
+$messages['syndicate'] = 'Meta';
+$messages['main'] = '&Uuml;bersicht';
+$messages['about'] = '&Uuml;ber';
+$messages['download'] = 'Download';
+$messages['error_incorrect_email_address'] = 'Die E-Mail Adresse ist ung&uuml;ltig.';
+
+////// error messages /////
+$messages['error_fetching_article'] = 'Der gesuchte Artikel kann nicht gefunden werden.';
+$messages['error_fetching_articles'] = 'F&uuml;r diese Auswahl k&ouml;nnen keine Artikel angezeigt werden.';
+$messages['error_trackback_no_trackback'] = 'F&uuml;r diesen Artikel wurden keine Trackbacks gefunden.';
+$messages['error_incorrect_article_id'] = 'Die Artikel-ID ist nicht korrekt.';
+$messages['error_incorrect_blog_id'] = 'Die Weblog-ID ist nicht korrekt.';
+$messages['error_comment_without_text'] = 'Sie haben keinen Text eingegeben.';
+$messages['error_comment_without_name'] = 'Bitte geben Sie Ihren Namen oder ein Pseudonym ein.';
+$messages['error_adding_comment'] = 'Beim Hinzuf&uuml;gen des Kommentars ist ein Fehler aufgetreten.';
+$messages['error_incorrect_parameter'] = 'Falsche Parameter.';
+$messages['error_parameter_missing'] = 'Es fehlt ein Parameter f&uuml;r diese Anfrage.';
+$messages['error_comments_not_enabled'] = 'Die M&ouml;glichkeit Kommentare hinzuzuf&uuml;gen wurde f&uuml;r diese Site gesperrt.';
+$messages['error_incorrect_search_terms'] = 'Dies ist keine g&uuml;ltige Suchanfrage.';
+$messages['error_no_search_results'] = 'Es wurden keine den Suchbegriffen entsprechenden Ergebnisse gefunden.';
+$messages['error_no_albums_defined'] = 'In diesem Blog sind keine Alben verf&uuml;gbar.';
+$messages['error_incorrect_category_id'] = 'Es wurden keine Kategorien ausgew&auml;hlt oder die entsprechenden IDs sind nicht korrekt.';
+
+$messages['form_authenticated'] = 'Authentifiziert';
+$messages['posted_in'] = 'Posted in';
+
+$messages['previous_post'] = 'zur&uuml;ck';
+$messages['next_post'] = 'vor';
+$messages['comment_default_title'] = '(ohne Titel)';
+$messages['guestbook'] = 'G&auml;stebuch';
+$messages['trackbacks'] = 'Trackbacks';
+$messages['menu'] = 'Menu';
+$messages['albums'] = 'Alben';
+$messages['admin'] = 'Admin';
+$messages['links'] = 'Links';
+$messages['categories'] = 'Kategorien';
+$messages['num_reads'] = 'gesehen';
+?>

Modified: plog/trunk/locale/locale_en_UK.php
===================================================================
--- plog/trunk/locale/locale_en_UK.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/locale/locale_en_UK.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -79,7 +79,7 @@
 $messages['user_has_no_posts_yet'] = 'The user does not have any posts yet';
 $messages['back'] = 'Back';
 $messages['post'] = 'Post';
-$messages['trackbacks_for_article'] = 'Trackbacks for  article: ';
+$messages['trackbacks_for_article'] = 'Trackbacks for article: ';
 $messages['trackback_excerpt'] = 'Excerpt';
 $messages['trackback_weblog'] = 'Weblog';
 $messages['search_results'] = 'Search Results';
@@ -90,6 +90,7 @@
 $messages['main'] = 'Main';
 $messages['about'] = 'About';
 $messages['download'] = 'Download';
+$messages['error_incorrect_email_address'] = 'The email address is not correct';
 
 ////// error messages /////
 $messages['error_fetching_article'] = 'The article you specified could not be found.';
@@ -119,6 +120,8 @@
 $messages['menu'] = 'Menu';
 $messages['albums'] = 'Albums';
 $messages['admin'] = 'Admin';
+$messages['links'] = 'Links';
+$messages['categories'] = 'Categories';
 
 $messages['num_reads'] = 'Views';
 ?>
\ No newline at end of file

Modified: plog/trunk/locale/locale_es_ES.php
===================================================================
--- plog/trunk/locale/locale_es_ES.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/locale/locale_es_ES.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -88,6 +88,7 @@
 $messages['main'] = 'Principal';
 $messages['about'] = 'Acerca de';
 $messages['download'] = 'Descargar';
+$messages['error_incorrect_email_address'] = 'La dirección de correo no es válida';
 
 $messages['error_fetching_article'] = 'El artículo especificado no existe.';
 $messages['error_fetching_articles'] = 'No se encontraron artículos';

Copied: plog/trunk/locale/locale_fr_FR.php (from rev 5155, plog/branches/lifetype-1.2/locale/locale_fr_FR.php)
===================================================================
--- plog/trunk/locale/locale_fr_FR.php	                        (rev 0)
+++ plog/trunk/locale/locale_fr_FR.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,131 @@
+<?php
+
+// done by Nino NJOPKOU ( benoue at gmail.com ) and Loïc Pietrzak (version 1.2 add-on)
+// set this to the encoding that should be used to display the pages correctly
+$messages["encoding"] = 'UTF-8';
+$messages["locale_description"] = 'Traduction française';
+// locale format, see Locale::formatDate for more information
+$messages["date_format"] = '%d/%m/%Y %H:%M';
+
+// days of the week
+$messages["days"] = Array( "Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi" );
+// -- compatibility, do not touch -- //
+$messages["Monday"] = $messages["days"][1];
+$messages["Tuesday"] = $messages["days"][2];
+$messages["Wednesday"] = $messages["days"][3];
+$messages["Thursday"] = $messages["days"][4];
+$messages["Friday"] = $messages["days"][5];
+$messages["Saturday"] = $messages["days"][6];
+$messages["Sunday"] = $messages["days"][0];
+
+// abbreviations
+$messages["daysshort"] = Array( "Di", "Lu", "Ma", "Me", "Je", "Ve", "Sa" );
+// -- compatibility, do not touch -- //
+$messages["Mo"] = $messages["daysshort"][1];
+$messages["Tu"] = $messages["daysshort"][2];
+$messages["We"] = $messages["daysshort"][3];
+$messages["Th"] = $messages["daysshort"][4];
+$messages["Fr"] = $messages["daysshort"][5];
+$messages["Sa"] = $messages["daysshort"][6];
+$messages["Su"] = $messages["daysshort"][0];
+
+// months of the year
+$messages["months"] = Array( "Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre" );
+// -- compatibility, do not touch -- //
+$messages["January"] = $messages["months"][0];
+$messages["February"] = $messages["months"][1];
+$messages["March"] = $messages["months"][2];
+$messages["April"] = $messages["months"][3];
+$messages["May"] = $messages["months"][4];
+$messages["June"] = $messages["months"][5];
+$messages["July"] = $messages["months"][6];
+$messages["August"] = $messages["months"][7];
+$messages["September"] = $messages["months"][8];
+$messages["October"] = $messages["months"][9];
+$messages["November"] = $messages["months"][10];
+$messages["December"] = $messages["months"][11];
+$messages["message"] = "Message";
+$messages["error"] = "Erreur";
+$messages["date"] = "Date";
+
+// miscellaneous texts
+$messages["of"] = "of";
+$messages["recently"] = "Récemment ...";
+$messages["comments"] = "Commentaires";
+$messages["comment on this"] = "Commenter";
+$messages["my_links"] = "Mes Liens";
+$messages["archives"] = "Archives";
+$messages["search"] = "Recherche";
+$messages["calendar"] = "Calendrier";
+$messages["search_s"] = "Recherches";
+$messages["search_this_blog"] = "Rechercher dans ce Blog:";
+$messages["about_myself"] = "Qui suis-je ?";
+$messages["permalink_title"] = "Lien permanent vers Archives";
+$messages["permalink"] = "Lien permanent";
+$messages["posted_by"] = "Posté par";
+$messages["reply"] = "Répondre";
+
+// add comment form
+$messages["add_comment"] = "Commenter";
+$messages["comment_topic"] = "Sujet";
+$messages["comment_text"] = "Texte";
+$messages["comment_username"] = "Votre nom";
+$messages["comment_email"] = "Votre email (option)";
+$messages["comment_url"] = "Votre page web (option)";
+$messages["comment_send"] = "Envoyer";
+$messages["comment_added"] = "Commentaire ajouté !";
+$messages["comment_add_error"] = "Erreur lors de l'ajout";
+$messages["article_does_not_exist"] = "Article inexistant";
+$messages["no_posts_found"] = "Aucun article trouvé";
+$messages["user_has_no_posts_yet"] = "Ce membre n'a pas encore posté d'article";
+$messages["back"] = "Retour";
+$messages["post"] = "Poster";
+$messages["back_top"] = "Retour haut de page";
+$messages["trackbacks_for_article"] = "TrackBacks de l'article";
+$messages["trackback_excerpt"] = "Extrait";
+$messages["trackback_weblog"] = "Blog";
+$messages["search"] = "Recherche";
+$messages["search_results"] = "Résultats";
+$messages["search_matching_results"] = "Résultats correspondants: ";
+$messages["search_no_matching_posts"] = "Aucun article trouvé";
+$messages["read_more"] = "(Suite)";
+$messages["syndicate"] = "Syndiquer";
+$messages["main"] = "Principal";
+$messages["about"] = "A propos";
+$messages["download"] = "Télécharger";
+
+////// error messages /////
+$messages["error_fetching_article"] = "Article introuvable.";
+$messages["error_fetching_articles"] = "Articles introuvables.";
+$messages["error_trackback_no_trackback"] = "Aucun TrackBack.";
+$messages["error_incorrect_article_id"] = "Identifiant d'article incorrect.";
+$messages["error_incorrect_blog_id"] = "Identifiant de blog incorrect.";
+$messages["error_comment_without_text"] = "Texte obligatoire.";
+$messages["error_comment_without_name"] = "Nom et prénom obligatoires..";
+$messages["error_adding_comment"] = "Erreur lors de l'ajout du commentaire à la BDD.";
+$messages["error_incorrect_parameter"] = "Paramètre incorrect.";
+$messages["error_parameter_missing"] = "Paramètre manquant.";
+$messages["error_blog_has_no_links"] = "Le blog n'a pas encore de liens.";
+$messages["error_comments_not_enabled"] = "Commentaires désactivés sur ce site.";
+$messages["error_incorrect_search_terms"] = "Les mots clés ne sont pas valides";
+$messages["error_no_search_results"] = "Recherche infructueuse";
+$messages["error_no_albums_defined"] = "Il n'y a pas d'album dans ce blog";
+
+$messages['form_authenticated'] = 'Authentifié';
+$messages['posted_in'] = 'Posté dans';
+
+$messages['previous_post'] = 'Précédent';
+$messages['next_post'] = 'Suivant';
+$messages['comment_default_title'] = '(Sans titre)';
+$messages['guestbook'] = "Livre d'or";
+$messages['trackbacks'] = 'Trackbacks';
+$messages['menu'] = 'Menu';
+$messages['albums'] = 'Albums';
+$messages['admin'] = 'Admin';
+$messages['links'] = 'Liens';
+$messages['categories'] = 'Catégories';
+
+$messages['num_reads'] = 'Vus';
+$messages["error_incorrect_category_id"] = "L'ID de la catégorie n'est pas correct ou aucun élément sélectionné";
+$messages["error_incorrect_email_address"] = "Adresse email incorrecte";
+?>

Copied: plog/trunk/locale/locale_it_IT.php (from rev 5155, plog/branches/lifetype-1.2/locale/locale_it_IT.php)
===================================================================
--- plog/trunk/locale/locale_it_IT.php	                        (rev 0)
+++ plog/trunk/locale/locale_it_IT.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,126 @@
+<?php
+// set this to the encoding that should be used to display the pages correctly
+$messages['encoding'] = 'iso-8859-15';
+$messages['locale_description'] = 'File di localizzazione italiano per LifeType';
+// locale format, see Locale::formatDate for more information
+$messages['date_format'] = '%d/%m/%Y %H:%M';
+
+// days of the week
+$messages['days'] = Array( 'Domenica', 'Lunedì', 'Martedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato' );
+// -- compatibility, do not touch -- //
+$messages['Monday'] = $messages['days'][1];
+$messages['Tuesday'] = $messages['days'][2];
+$messages['Wednesday'] = $messages['days'][3];
+$messages['Thursday'] = $messages['days'][4];
+$messages['Friday'] = $messages['days'][5];
+$messages['Saturday'] = $messages['days'][6];
+$messages['Sunday'] = $messages['days'][0];
+
+// abbreviations
+$messages['daysshort'] = Array( 'Do', 'Lu', 'Ma', 'Me', 'Gi', 'Ve', 'Sa' );
+// -- compatibility, do not touch -- //
+$messages['Mo'] = $messages['daysshort'][1];
+$messages['Tu'] = $messages['daysshort'][2];
+$messages['We'] = $messages['daysshort'][3];
+$messages['Th'] = $messages['daysshort'][4];
+$messages['Fr'] = $messages['daysshort'][5];
+$messages['Sa'] = $messages['daysshort'][6];
+$messages['Su'] = $messages['daysshort'][0];
+
+// months of the year
+$messages['months'] = Array( 'Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giugno', 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre' );
+// -- compatibility, do not touch -- //
+$messages['January'] = $messages['months'][0];
+$messages['February'] = $messages['months'][1];
+$messages['March'] = $messages['months'][2];
+$messages['April'] = $messages['months'][3];
+$messages['May'] = $messages['months'][4];
+$messages['June'] = $messages['months'][5];
+$messages['July'] = $messages['months'][6];
+$messages['August'] = $messages['months'][7];
+$messages['September'] = $messages['months'][8];
+$messages['October'] = $messages['months'][9];
+$messages['November'] = $messages['months'][10];
+$messages['December'] = $messages['months'][11];
+$messages['message'] = 'Messaggio';
+$messages['error'] = 'Errore';
+$messages['date'] = 'Data';
+
+// miscellaneous texts
+$messages['of'] = 'di';
+$messages['recently'] = 'Ultimi inserimenti'; 
+$messages['comments'] = 'Commenti'; 
+$messages['comment on this'] = 'Commenta';
+$messages['my_links'] = 'I miei Link'; 
+$messages['archives'] = 'Archivi'; 
+$messages['search'] = 'cerca';
+$messages['calendar'] = 'calendario';
+$messages['search_s'] = 'Cerca';
+$messages['search_this_blog'] = 'Cerca in questo blog:'; 
+$messages['about_myself'] = 'Chi sono?';
+$messages['permalink_title'] = 'Link permanente agli archivi';
+$messages['permalink'] = 'Permalink';
+$messages['posted_by'] = 'Inviato da';
+$messages['reply'] = 'Replica';
+
+// add comment form
+$messages['add_comment'] = 'Aggiungi un commento'; 
+$messages['comment_topic'] = 'Argomento';
+$messages['comment_text'] = 'Testo';
+$messages['comment_username'] = 'Il tuo nome';
+$messages['comment_email'] = 'La tua e-mail (se ne hai una)';
+$messages['comment_url'] = 'Il tuo sito (se ne hai uno)';
+$messages['comment_send'] = 'Invia';
+$messages['comment_added'] = 'Commento registrato!';
+$messages['comment_add_error'] = 'Errore nell\'inserimento del commento';
+$messages['article_does_not_exist'] = 'L\'articolo non esiste';
+$messages['no_posts_found'] = 'Nessun articolo trovato';
+$messages['user_has_no_posts_yet'] = 'L\'utente non ha ancora nessun articolo';
+$messages['back'] = 'Indietro';
+$messages['post'] = 'articolo';
+$messages['trackbacks_for_article'] = 'Trackback per l\'articolo: ';
+$messages['trackback_excerpt'] = 'Brano';
+$messages['trackback_weblog'] = 'Weblog';
+$messages['search_results'] = 'Risultati della Ricerca';
+$messages['search_matching_results'] = 'I seguenti articoli soddisfano i criteri di ricerca: ';
+$messages['search_no_matching_posts'] = 'Nessun articolo trovato';
+$messages['read_more'] = '(Continua)';
+$messages['syndicate'] = 'Syndicate';
+$messages['main'] = 'Principale';
+$messages['about'] = 'Informazioni';
+$messages['download'] = 'Scarica';
+$messages['error_incorrect_email_address'] = 'L\'indirizzo email non è corretto';
+
+////// error messages /////
+$messages['error_fetching_article'] = 'L\'articolo richiesto non può essere trovato.';
+$messages['error_fetching_articles'] = 'Impossibile selezionare gli articoli';
+$messages['error_trackback_no_trackback'] = 'Non sono presenti trackback per l\'articolo.';
+$messages['error_incorrect_article_id'] = 'Identificativo dell\'articolo non corretto.';
+$messages['error_incorrect_blog_id'] = 'Identificativo del blog non corretto.';
+$messages['error_comment_without_text'] = 'Devi almeno inserire del testo.';
+$messages['error_comment_without_name'] = 'Devi almeno inserire il tuo nome o nickname.';
+$messages['error_adding_comment'] = 'Errore durante l\'inserimento del commento.';
+$messages['error_incorrect_parameter'] = 'Parametri errati.';
+$messages['error_parameter_missing'] = 'Manca un parametro nella richiesta.';
+$messages['error_comments_not_enabled'] = 'La funzione di commento è disabilitata su questo sito.';
+$messages['error_incorrect_search_terms'] = 'Se non sai quello che cerchi, non riuscirai a trovarlo ;-)'; 
+$messages['error_no_search_results'] = 'Non ci sono elementi che soddisfano i criteri di ricerca';
+$messages['error_no_albums_defined'] = 'Non ci sono album in questo blog.';
+
+$messages['comment_default_title'] = '(Senza titolo)';
+$messages['error_incorrect_category_id'] = 'L\'id della categoria non è corretto o nessun elemento selezionato';
+$messages['form_authenticated'] = 'Autenticato';
+$messages['posted_in'] = 'Inviato in';
+$messages['previous_post'] = 'Precedente';
+$messages['next_post'] = 'Successivo';
+$messages['guestbook'] = 'Libro degli ospiti';
+$messages['trackbacks'] = 'Trackback';
+$messages['menu'] = 'Menù';
+$messages['albums'] = 'Album';
+$messages['admin'] = 'Amministratore';
+$messages['categories'] = 'Categorie';
+$messages['links'] = 'Link';
+
+// missing strings //
+$messages['num_reads'] = 'Letture';
+?>
\ No newline at end of file

Copied: plog/trunk/locale/locale_nl_NL.php (from rev 5155, plog/branches/lifetype-1.2/locale/locale_nl_NL.php)
===================================================================
--- plog/trunk/locale/locale_nl_NL.php	                        (rev 0)
+++ plog/trunk/locale/locale_nl_NL.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,128 @@
+<?php
+
+// set this to the encoding that should be used to display the pages correctly
+$messages['encoding'] = 'iso-8859-1';
+$messages['locale_description'] = 'Nederlands locale bestand voor LifeType';
+// locale format, see Locale::formatDate for more information
+$messages['date_format'] = '%d/%m/%Y %H:%M';
+
+// days of the week
+$messages['days'] = Array( 'Zondag', 'Maandag', 'Dindsag', 'Woensdag', 'Donderdag', 'Vrijdag', 'Zaterdag' );
+// -- compatibility, do not touch -- //
+$messages['Monday'] = $messages['days'][1];
+$messages['Tuesday'] = $messages['days'][2];
+$messages['Wednesday'] = $messages['days'][3];
+$messages['Thursday'] = $messages['days'][4];
+$messages['Friday'] = $messages['days'][5];
+$messages['Saturday'] = $messages['days'][6];
+$messages['Sunday'] = $messages['days'][0];
+
+// abbreviations
+$messages['daysshort'] = Array( 'Zo', 'Ma', 'Di', 'Wo', 'Do', 'Vr', 'Za' );
+// -- compatibility, do not touch -- //
+$messages['Mo'] = $messages['daysshort'][1];
+$messages['Tu'] = $messages['daysshort'][2];
+$messages['We'] = $messages['daysshort'][3];
+$messages['Th'] = $messages['daysshort'][4];
+$messages['Fr'] = $messages['daysshort'][5];
+$messages['Sa'] = $messages['daysshort'][6];
+$messages['Su'] = $messages['daysshort'][0];
+
+// months of the year
+$messages['months'] = Array( 'Januari', 'Februari', 'Maart', 'April', 'Mei', 'Juni', 'Juli', 'Augustus', 'September', 'Oktober', 'November', 'December' );
+// -- compatibility, do not touch -- //
+$messages['January'] = $messages['months'][0];
+$messages['February'] = $messages['months'][1];
+$messages['March'] = $messages['months'][2];
+$messages['April'] = $messages['months'][3];
+$messages['May'] = $messages['months'][4];
+$messages['June'] = $messages['months'][5];
+$messages['July'] = $messages['months'][6];
+$messages['August'] = $messages['months'][7];
+$messages['September'] = $messages['months'][8];
+$messages['October'] = $messages['months'][9];
+$messages['November'] = $messages['months'][10];
+$messages['December'] = $messages['months'][11];
+$messages['message'] = 'Bericht';
+$messages['error'] = 'Fout';
+$messages['date'] = 'Datum';
+
+// miscellaneous texts
+$messages['of'] = 'of';
+$messages['recently'] = 'Recent...';
+$messages['comments'] = 'Reacties';
+$messages['comment on this'] = 'Reacties';
+$messages['my_links'] = 'Mijn links';
+$messages['archives'] = 'Archief';
+$messages['search'] = 'Zoeken';
+$messages['calendar'] = 'Kalender';
+$messages['search_s'] = 'Zoeken';
+$messages['search_this_blog'] = 'Doorzoek deze blog:';
+$messages['about_myself'] = 'Wie ben ik?';
+$messages['permalink_title'] = 'PermaLink naar het archief';
+$messages['permalink'] = 'Permalink';
+$messages['posted_by'] = 'Geplaatst door';
+$messages['reply'] = 'Reacties';
+
+// add comment form
+$messages['add_comment'] = 'Voeg reactie toe';
+$messages['comment_topic'] = 'Onderwerp';
+$messages['comment_text'] = 'Tekst';
+$messages['comment_username'] = 'Je naam';
+$messages['comment_email'] = 'Je e-mail adres (indien aanwezig)';
+$messages['comment_url'] = 'Je persoonlijke website (indien aanwezig)';
+$messages['comment_send'] = 'Verstuur';
+$messages['comment_added'] = 'Reactie toegevoegd!';
+$messages['comment_add_error'] = 'Fout tijdens toevoegen reactie';
+$messages['article_does_not_exist'] = 'Het artikel bestaat niet';
+$messages['no_posts_found'] = 'Geen documenten gevonden';
+$messages['user_has_no_posts_yet'] = 'De gebruiker heeft nog geen documenten geplaatst';
+$messages['back'] = 'Terug';
+$messages['post'] = 'Document';
+$messages['trackbacks_for_article'] = 'Trackbacks voor artikel: ';
+$messages['trackback_excerpt'] = 'Samenvatting';
+$messages['trackback_weblog'] = 'Weblog';
+$messages['search_results'] = 'Zoekresultaten';
+$messages['search_matching_results'] = 'De volgende documenten voldoen aan de zoekcriteria: ';
+$messages['search_no_matching_posts'] = 'Er zijn geen documenten gevonden';
+$messages['read_more'] = '(Meer)';
+$messages['syndicate'] = 'Verkort lezen';
+$messages['main'] = 'Hoofdmenu';
+$messages['about'] = 'Over...';
+$messages['download'] = 'Download';
+$messages['error_incorrect_email_address'] = 'Het e-mail adres is niet correct';
+
+////// error messages /////
+$messages['error_fetching_article'] = 'Het opgevraagde artikel is niet gevonden.';
+$messages['error_fetching_articles'] = 'Het artikel kan niet worden opgevraagd.';
+$messages['error_trackback_no_trackback'] = 'Er zijn geen trackbacks gevonden voor dit artikel.';
+$messages['error_incorrect_article_id'] = 'Het artikel ID bestaat.';
+$messages['error_incorrect_blog_id'] = 'Het blog ID gestaat niet.';
+$messages['error_comment_without_text'] = 'Je moet tenminste enige tekst invoeren.';
+$messages['error_comment_without_name'] = 'Je moet tenminste je naam of bijnaam invoeren.';
+$messages['error_adding_comment'] = 'Fout tijdens het toevoegen van commentaar.';
+$messages['error_incorrect_parameter'] = 'Foute parameter.';
+$messages['error_parameter_missing'] = 'Er ontbreek een parameter uit het verzoek.';
+$messages['error_comments_not_enabled'] = 'De commentaar functionaliteit is op deze site uitgeschakeld.';
+$messages['error_incorrect_search_terms'] = 'Foutieve zoekopdracht opgegeven';
+$messages['error_no_search_results'] = 'Er zijn geen resultaten gevonden die voldoen aan de zoekopdracht';
+$messages['error_no_albums_defined'] = 'Er zijn geen albums beschikbaar in deze blog.';
+$messages['error_incorrect_category_id'] = 'De categorie id is niet juist of er werden geen items geselecteerd';
+
+$messages['form_authenticated'] = 'Geauthenticeerd';
+$messages['posted_in'] = 'Gepubliceerd in';
+
+$messages['previous_post'] = 'Vorige';
+$messages['next_post'] = 'Volgende';
+$messages['comment_default_title'] = '(Zonder titel)';
+$messages['guestbook'] = 'Gastenboek';
+$messages['trackbacks'] = 'Trackbacks';
+$messages['menu'] = 'Menu';
+$messages['albums'] = 'Albums';
+$messages['admin'] = 'Admin';
+
+$messages['num_reads'] = 'Bekeken';
+
+$messages['links'] = 'Links';
+$messages['categories'] = 'Categorieen';
+?>
\ No newline at end of file

Copied: plog/trunk/locale/locale_zh_CN.php (from rev 5155, plog/branches/lifetype-1.2/locale/locale_zh_CN.php)
===================================================================
--- plog/trunk/locale/locale_zh_CN.php	                        (rev 0)
+++ plog/trunk/locale/locale_zh_CN.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,128 @@
+<?php
+
+// set this to the encoding that should be used to display the pages correctly
+$messages['encoding'] = 'utf-8';
+$messages['locale_description'] = 'Simplified Chinese translation (UTF-8)';
+// locale format, see Locale::formatDate for more information
+$messages['date_format'] = '%d/%m/%Y %H:%M';
+
+// days of the week
+$messages['days'] = Array( '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' );
+// -- compatibility, do not touch -- //
+$messages['Monday'] = $messages['days'][1];
+$messages['Tuesday'] = $messages['days'][2];
+$messages['Wednesday'] = $messages['days'][3];
+$messages['Thursday'] = $messages['days'][4];
+$messages['Friday'] = $messages['days'][5];
+$messages['Saturday'] = $messages['days'][6];
+$messages['Sunday'] = $messages['days'][0];
+
+// abbreviations
+$messages['daysshort'] = Array( '日', '一', '二', '三', '四', '五', '六' );
+// -- compatibility, do not touch -- //
+$messages['Mo'] = $messages['daysshort'][1];
+$messages['Tu'] = $messages['daysshort'][2];
+$messages['We'] = $messages['daysshort'][3];
+$messages['Th'] = $messages['daysshort'][4];
+$messages['Fr'] = $messages['daysshort'][5];
+$messages['Sa'] = $messages['daysshort'][6];
+$messages['Su'] = $messages['daysshort'][0];
+
+// months of the year
+$messages['months'] = Array( '元月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月');
+$messages['monthsshort'] = Array( '元', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二' );
+// -- compatibility, do not touch -- //
+$messages['January'] = $messages['months'][0];
+$messages['February'] = $messages['months'][1];
+$messages['March'] = $messages['months'][2];
+$messages['April'] = $messages['months'][3];
+$messages['May'] = $messages['months'][4];
+$messages['June'] = $messages['months'][5];
+$messages['July'] = $messages['months'][6];
+$messages['August'] = $messages['months'][7];
+$messages['September'] = $messages['months'][8];
+$messages['October'] = $messages['months'][9];
+$messages['November'] = $messages['months'][10];
+$messages['December'] = $messages['months'][11];
+$messages['message'] = '信息';
+$messages['error'] = '错误';
+$messages['date'] = '日期';
+
+// miscellaneous texts
+$messages['of'] = 'of';
+$messages['recently'] = '近期文章';
+$messages['comments'] = '评论';
+$messages['comment on this'] = '评论';
+$messages['my_links'] = '我的链接';
+$messages['archives'] = '文章汇整';
+$messages['search'] = '站内搜寻';
+$messages['calendar'] = '日历';
+$messages['search_s'] = '搜寻';
+$messages['search_this_blog'] = '搜寻博客内容:';
+$messages['about_myself'] = '自我介绍';
+$messages['permalink_title'] = '文章汇整静态链接网址';
+$messages['permalink'] = '静态链接网址';
+$messages['posted_by'] = '作者';
+$messages['reply'] = '回覆';
+
+// add comment form
+$messages['add_comment'] = '发表评论';
+$messages['comment_topic'] = '标题';
+$messages['comment_text'] = '内容';
+$messages['comment_username'] = '昵称';
+$messages['comment_email'] = '电子邮件';
+$messages['comment_url'] = '个人网页';
+$messages['comment_send'] = '发表';
+$messages['comment_added'] = '您的评论已经顺利发表。';
+$messages['comment_add_error'] = '发表评论时发生错误。';
+$messages['article_does_not_exist'] = '本文章不存在。';
+$messages['no_posts_found'] = '找不到文章。';
+$messages['user_has_no_posts_yet'] = '该用户还没有发表过任何文章。';
+$messages['back'] = '回到上一页';
+$messages['post'] = '文章';
+$messages['trackbacks_for_article'] = '引用本文的文章标题:';
+$messages['trackback_excerpt'] = '摘要';
+$messages['trackback_weblog'] = '博客';
+$messages['search_results'] = '搜寻结果';
+$messages['search_matching_results'] = '以下文章符合您的搜寻关键字:';
+$messages['search_no_matching_posts'] = '找不到符合的文章。';
+$messages['read_more'] = '(查看全文)';
+$messages['syndicate'] = '新闻聚合';
+$messages['main'] = '主页面';
+$messages['about'] = '关于';
+$messages['download'] = '下载';
+$messages['error_incorrect_email_address'] = '电子邮件信箱格式错误。';
+
+////// error messages /////
+$messages['error_fetching_article'] = '找不到您所指定的文章。';
+$messages['error_fetching_articles'] = '找不到您所指定的文章。';
+$messages['error_trackback_no_trackback'] = '尚未有人向本文发送引用通告。';
+$messages['error_incorrect_article_id'] = '文章 ID 错误。';
+$messages['error_incorrect_blog_id'] = '博客站台 ID 错误。';
+$messages['error_comment_without_text'] = '无评论留言内容。';
+$messages['error_comment_without_name'] = '您必须要填写姓名或昵称。';
+$messages['error_adding_comment'] = '在将留言新增至数据库时发生问题。';
+$messages['error_incorrect_parameter'] = '参数不正确。';
+$messages['error_parameter_missing'] = '您少传递了一项参数。';
+$messages['error_comments_not_enabled'] = '这个博客站台关闭了评论功能。';
+$messages['error_incorrect_search_terms'] = '搜寻关键字不正确。';
+$messages['error_no_search_results'] = '找不到与关键字相符的项目。';
+$messages['error_no_albums_defined'] = '这个博客站台没有任何文件夹。';
+$messages['error_incorrect_category_id'] = '文章分类 ID 错误。';
+
+$messages['form_authenticated'] = '已登入';
+$messages['posted_in'] = '发表于';
+
+$messages['previous_post'] = '上一篇';
+$messages['next_post'] = '下一篇';
+$messages['comment_default_title'] = '(无标题)';
+$messages['guestbook'] = '留言版';
+$messages['trackbacks'] = '引用';
+$messages['menu'] = '选单';
+$messages['albums'] = '文件夹';
+$messages['admin'] = '管理介面';
+$messages['links'] = '网站链接';
+$messages['categories'] = '文章分类';
+
+$messages['num_reads'] = '阅读';
+?>
\ No newline at end of file

Copied: plog/trunk/locale/locale_zh_TW.php (from rev 5155, plog/branches/lifetype-1.2/locale/locale_zh_TW.php)
===================================================================
--- plog/trunk/locale/locale_zh_TW.php	                        (rev 0)
+++ plog/trunk/locale/locale_zh_TW.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,128 @@
+<?php
+
+// set this to the encoding that should be used to display the pages correctly
+$messages['encoding'] = 'utf-8';
+$messages['locale_description'] = 'Traditional Chinese translation (UTF-8)';
+// locale format, see Locale::formatDate for more information
+$messages['date_format'] = '%d/%m/%Y %H:%M';
+
+// days of the week
+$messages['days'] = Array( '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' );
+// -- compatibility, do not touch -- //
+$messages['Monday'] = $messages['days'][1];
+$messages['Tuesday'] = $messages['days'][2];
+$messages['Wednesday'] = $messages['days'][3];
+$messages['Thursday'] = $messages['days'][4];
+$messages['Friday'] = $messages['days'][5];
+$messages['Saturday'] = $messages['days'][6];
+$messages['Sunday'] = $messages['days'][0];
+
+// abbreviations
+$messages['daysshort'] = Array( '日', '一', '二', '三', '四', '五', '六' );
+// -- compatibility, do not touch -- //
+$messages['Mo'] = $messages['daysshort'][1];
+$messages['Tu'] = $messages['daysshort'][2];
+$messages['We'] = $messages['daysshort'][3];
+$messages['Th'] = $messages['daysshort'][4];
+$messages['Fr'] = $messages['daysshort'][5];
+$messages['Sa'] = $messages['daysshort'][6];
+$messages['Su'] = $messages['daysshort'][0];
+
+// months of the year
+$messages['months'] = Array( '元月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月');
+$messages['monthsshort'] = Array( '元', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二' );
+// -- compatibility, do not touch -- //
+$messages['January'] = $messages['months'][0];
+$messages['February'] = $messages['months'][1];
+$messages['March'] = $messages['months'][2];
+$messages['April'] = $messages['months'][3];
+$messages['May'] = $messages['months'][4];
+$messages['June'] = $messages['months'][5];
+$messages['July'] = $messages['months'][6];
+$messages['August'] = $messages['months'][7];
+$messages['September'] = $messages['months'][8];
+$messages['October'] = $messages['months'][9];
+$messages['November'] = $messages['months'][10];
+$messages['December'] = $messages['months'][11];
+$messages['message'] = '訊息';
+$messages['error'] = '錯誤';
+$messages['date'] = '日期';
+
+// miscellaneous texts
+$messages['of'] = 'of';
+$messages['recently'] = '近期文章';
+$messages['comments'] = '迴響';
+$messages['comment on this'] = '迴響';
+$messages['my_links'] = '我的連結';
+$messages['archives'] = '文章彙整';
+$messages['search'] = '站內搜尋';
+$messages['calendar'] = '日曆';
+$messages['search_s'] = '搜尋';
+$messages['search_this_blog'] = '搜尋網誌內容:';
+$messages['about_myself'] = '自我介紹';
+$messages['permalink_title'] = '文章彙整靜態連結網址';
+$messages['permalink'] = '靜態連結網址';
+$messages['posted_by'] = '作者';
+$messages['reply'] = '回覆';
+
+// add comment form
+$messages['add_comment'] = '發表迴響';
+$messages['comment_topic'] = '標題';
+$messages['comment_text'] = '內容';
+$messages['comment_username'] = '暱稱';
+$messages['comment_email'] = '電子郵件';
+$messages['comment_url'] = '個人網頁';
+$messages['comment_send'] = '發表';
+$messages['comment_added'] = '您的迴響已經順利發表。';
+$messages['comment_add_error'] = '發表迴響時發生錯誤。';
+$messages['article_does_not_exist'] = '本文章不存在。';
+$messages['no_posts_found'] = '找不到文章。';
+$messages['user_has_no_posts_yet'] = '該使用者還沒有發表過任何文章。';
+$messages['back'] = '回到上一頁';
+$messages['post'] = '文章';
+$messages['trackbacks_for_article'] = '引用本文的文章標題:';
+$messages['trackback_excerpt'] = '摘要';
+$messages['trackback_weblog'] = '網誌';
+$messages['search_results'] = '搜尋結果';
+$messages['search_matching_results'] = '以下文章符合您的搜尋關鍵字:';
+$messages['search_no_matching_posts'] = '找不到符合的文章。';
+$messages['read_more'] = '(閱讀全文)';
+$messages['syndicate'] = '新聞交換';
+$messages['main'] = '主頁面';
+$messages['about'] = '關於';
+$messages['download'] = '下載';
+$messages['error_incorrect_email_address'] = '電子郵件信箱格式錯誤。';
+
+////// error messages /////
+$messages['error_fetching_article'] = '找不到您所指定的文章。';
+$messages['error_fetching_articles'] = '找不到您所指定的文章。';
+$messages['error_trackback_no_trackback'] = '尚未有人向本文發送引用通告。';
+$messages['error_incorrect_article_id'] = '文章 ID 錯誤。';
+$messages['error_incorrect_blog_id'] = '網誌站台 ID 錯誤。';
+$messages['error_comment_without_text'] = '無迴響留言內容。';
+$messages['error_comment_without_name'] = '您必須要填寫姓名或暱稱。';
+$messages['error_adding_comment'] = '在將留言新增至資料庫時發生問題。';
+$messages['error_incorrect_parameter'] = '參數不正確。';
+$messages['error_parameter_missing'] = '您少傳遞了一項參數。';
+$messages['error_comments_not_enabled'] = '這個網誌站台關閉了迴響功能。';
+$messages['error_incorrect_search_terms'] = '搜尋關鍵字不正確。';
+$messages['error_no_search_results'] = '找不到與關鍵字相符的項目。';
+$messages['error_no_albums_defined'] = '這個網誌站台沒有任何資料夾。';
+$messages['error_incorrect_category_id'] = '文章分類 ID 錯誤。';
+
+$messages['form_authenticated'] = '已登入';
+$messages['posted_in'] = '發表於';
+
+$messages['previous_post'] = '上一篇';
+$messages['next_post'] = '下一篇';
+$messages['comment_default_title'] = '(無標題)';
+$messages['guestbook'] = '留言版';
+$messages['trackbacks'] = '引用';
+$messages['menu'] = '選單';
+$messages['albums'] = '資料夾';
+$messages['admin'] = '管理介面';
+$messages['links'] = '網站連結';
+$messages['categories'] = '文章分類';
+
+$messages['num_reads'] = '閱讀';
+?>
\ No newline at end of file

Deleted: plog/trunk/locale/unported/locale_de_DE.php
===================================================================
--- plog/trunk/locale/unported/locale_de_DE.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/locale/unported/locale_de_DE.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,1054 +0,0 @@
-<?php
-// set this to the encoding that should be used to display the pages correctly
-$messages['encoding'] = 'iso-8859-1';
-$messages['locale_description'] = 'Deutsche Sprachdatei für LifeType';
-// locale format, see Locale::formatDate for more information
-$messages['date_format'] = '%d/%m/%Y %H:%M';
-
-// days of the week
-$messages['days'] = Array( 'Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag' );
-// -- compatibility, do not touch -- //
-$messages['Monday'] = $messages['days'][1];
-$messages['Tuesday'] = $messages['days'][2];
-$messages['Wednesday'] = $messages['days'][3];
-$messages['Thursday'] = $messages['days'][4];
-$messages['Friday'] = $messages['days'][5];
-$messages['Saturday'] = $messages['days'][6];
-$messages['Sunday'] = $messages['days'][0];
-
-// abbreviations
-$messages['daysshort'] = Array( 'So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa' );
-// -- compatibility, do not touch -- //
-$messages['Mo'] = $messages['daysshort'][1];
-$messages['Tu'] = $messages['daysshort'][2];
-$messages['We'] = $messages['daysshort'][3];
-$messages['Th'] = $messages['daysshort'][4];
-$messages['Fr'] = $messages['daysshort'][5];
-$messages['Sa'] = $messages['daysshort'][6];
-$messages['Su'] = $messages['daysshort'][0];
-
-// months of the year
-$messages['months'] = Array( 'Januar', 'Februar', 'M&auml;rz', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember' );
-// -- compatibility, do not touch -- //
-$messages['January'] = $messages['months'][0];
-$messages['February'] = $messages['months'][1];
-$messages['March'] = $messages['months'][2];
-$messages['April'] = $messages['months'][3];
-$messages['May'] = $messages['months'][4];
-$messages['June'] = $messages['months'][5];
-$messages['July'] = $messages['months'][6];
-$messages['August'] = $messages['months'][7];
-$messages['September'] = $messages['months'][8];
-$messages['October'] = $messages['months'][9];
-$messages['November'] = $messages['months'][10];
-$messages['December'] = $messages['months'][11];
-
-$messages['message'] = 'Nachricht';
-$messages['error'] = 'Fehler';
-$messages['date'] = 'Datum';
-
-// miscellaneous texts
-$messages['of'] = 'von';
-$messages['recently'] = 'Aktuell';
-$messages['comments'] = 'Kommentare';
-$messages['comment on this'] = 'Kommentare';
-$messages['my_links'] = 'meine Links';
-$messages['archives'] = 'Archiv';
-$messages['search'] = 'suchen';
-$messages['calendar'] = 'Kalender';
-$messages['search_s'] = 'Suche';
-$messages['search_this_blog'] = 'Dieses Weblog durchsuchen:';
-$messages['about_myself'] = '&Uuml;ber mich';
-$messages['permalink_title'] = 'Permanenter Link zum Archiv';
-$messages['permalink'] = 'Permalink';
-$messages['posted_by'] = 'geschrieben von';
-$messages['reply'] = 'antworten';
-
-// add comment form
-$messages['add_comment'] = 'Artikel kommentieren';
-$messages['comment_topic'] = 'Betreff';
-$messages['comment_text'] = 'Text: ';
-$messages['comment_username'] = 'Ihr Name';
-$messages['comment_email'] = 'E-Mail Addresse (wenn vorhanden)';
-$messages['comment_url'] = 'Homepage (wenn vorhanden)';
-$messages['comment_send'] = 'absenden';
-$messages['comment_added'] = 'Kommentar hinzugef&uuml;gt.';
-$messages['comment_add_error'] = 'Beim Hinzuf&uuml;gen des Kommentars ist ein Fehler aufgetreten.';
-$messages['article_does_not_exist'] = 'Dieser Artikel existiert nicht.';
-$messages['no_posts_found'] = 'Es wurden keine Artikel gefunden.';
-$messages['user_has_no_posts_yet'] = 'Der Benutzer hat noch keine Artikel ver&ouml;ffentlicht.';
-$messages['back'] = 'zur&uuml;ck';
-$messages['post'] = 'Artikel';
-$messages['trackbacks_for_article'] = 'Trackbacks f&uuml;r diesen Artikel';
-$messages['trackback_excerpt'] = 'Auszug';
-$messages['trackback_weblog'] = 'Weblog';
-$messages['search_results'] = 'Suchergebnisse';
-$messages['search_matching_results'] = 'Die folgenden Artikel entsprechen Ihrer Suchanfrage: ';
-$messages['search_no_matching_posts'] = 'Es wurden keine Artikel gefunden.';
-$messages['read_more'] = '(weiter)';
-$messages['syndicate'] = 'Meta';
-$messages['main'] = '&Uuml;bersicht';
-$messages['about'] = '&Uuml;ber';
-$messages['download'] = 'Download';
-
-////// error messages /////
-$messages['error_fetching_article'] = 'Der gesuchte Artikel kann nicht gefunden werden.';
-$messages['error_fetching_articles'] = 'F&uuml;r diese Auswahl k&ouml;nnen keine Artikel angezeigt werden.';
-$messages['error_trackback_no_trackback'] = 'F&uuml;r diesen Artikel wurden keine Trackbacks gefunden.';
-$messages['error_incorrect_article_id'] = 'Die Artikel-ID ist nicht korrekt.';
-$messages['error_incorrect_blog_id'] = 'Die Weblog-ID ist nicht korrekt.';
-$messages['error_comment_without_text'] = 'Sie haben keinen Text eingegeben.';
-$messages['error_comment_without_name'] = 'Sie sollten zumindest Ihren Namen oder Nick angeben.';
-$messages['error_adding_comment'] = 'Beim Hinzuf&uuml;gen des Kommentars ist ein Fehler in der Datenbank aufgetreten.';
-$messages['error_incorrect_parameter'] = 'Falsche Parameter.';
-$messages['error_parameter_missing'] = 'Es fehlt ein Parameter f&uuml;r diese Anfrage.';
-$messages['error_comments_not_enabled'] = 'Die M&ouml;glichkeit Kommentare hinzuzuf&uuml;gen wurde f&uuml;r diese Site gesperrt.';
-$messages['error_incorrect_search_terms'] = 'Dies ist keine g&uuml;ltige Suchanfrage.';
-$messages['error_no_search_results'] = 'Es wurden keine den Suchbegriffen entsprechenden Ergebnisse gefunden.';
-$messages['error_no_albums_defined'] = 'In diesem Blog sind keine Alben verf&uuml;gbar.';
-
-/////////////////                                          //////////////////
-///////////////// STRINGS FOR THE ADMINISTRATION INTERFACE //////////////////
-/////////////////                                          //////////////////
-
-// login page
-$messages['login'] = 'Login';
-$messages['welcome_message'] = 'Willkommen bei LifeType';
-$messages['error_incorrect_username_or_password'] = 'Sie haben einen ung&uuml;ltigen Benutzernamen oder ein ung&uuml;ltiges Kennwort eingegeben. Achten Sie auch auf korrekte Gro&szlig;- und Kleinschreibung.';
-$messages['error_dont_belong_to_any_blog'] = 'Entschuldigung, f&uuml;r Sie ist noch kein Weblog freigeschaltet.';
-$messages['logout_message'] = 'Sie sind erfolgreich abgemeldet worden.';
-$messages['logout_message_2'] = 'Klicken Sie <a href="%1$s">hier</a> um zu "%2$s" zu gelangen.</a>.';
-$messages['error_access_forbidden'] = 'Der Zugang ist gesch&uuml;tzt, Sie m&uuml;ssen sich erst <a href="admin.php">anmelden</a>.';
-$messages['username'] = 'Benutzername';
-$messages['password'] = 'Kennwort';
-
-// dashboard
-$messages['dashboard'] = '&Uuml;bersicht';
-$messages['recent_articles'] = 'aktuelle Artikel';
-$messages['recent_comments'] = 'aktuelle Kommentare';
-$messages['recent_trackbacks'] = 'aktuelle Trackbacks';
-$messages['blog_statistics'] = 'Blog Statistik';
-$messages['total_posts'] = 'Artikel insgesamt';
-$messages['total_comments'] = 'Kommentare insgesamt';
-$messages['total_trackbacks'] = 'Trackbacks insgesamt';
-$messages['total_viewed'] = 'insgesamt gelesene Artikel';
-$messages['in'] = 'In';
-
-// menu options
-$messages['newPost'] = 'Neuer Artikel';
-$messages['Manage'] = 'Verwalten';
-$messages['managePosts'] = 'Artikel verwalten';
-$messages['editPosts'] = 'Artikel';
-$messages['editArticleCategories'] = 'Kategorien';
-$messages['newArticleCategory'] = 'Neue Kategorie';
-$messages['manageLinks'] = 'Links verwalten';
-$messages['editLinks'] = 'Links';
-$messages['newLink'] = 'Neuer Link';
-$messages['editLink'] = 'Link bearbeiten';
-$messages['editLinkCategories'] = 'Link Kategorien';
-$messages['newLinkCategory'] = 'Neue Linkkategorie';
-$messages['editLinkCategory'] = 'Linkkategorie bearbeiten';
-$messages['manageCustomFields'] = 'Benutzerdefinierte Felder verwalten';
-$messages['blogCustomFields'] = 'Benutzerdefinierte Felder';
-$messages['newCustomField'] = 'Neues benutzerdefiniertes Feld';
-$messages['resourceCenter'] = 'Ressourcen';
-$messages['resources'] = 'Ressourcen';
-$messages['newResourceAlbum'] = 'Neues Album';
-$messages['newResource'] = 'Neue Ressource';
-$messages['controlCenter'] = 'Kontrollzentrum';
-$messages['manageSettings'] = 'Einstellungen';
-$messages['blogSettings'] = 'Blogeinstellungen';
-$messages['userSettings'] = 'Benutzereinstellungen';
-$messages['pluginCenter'] = 'Pluginzentrum';
-$messages['Stats'] = 'Statistiken';
-$messages['manageBlogUsers'] = 'Blogbenutzer verwalten';
-$messages['newBlogUser'] = 'Neuer Blogbenutzer';
-$messages['showBlogUsers'] = 'Blogbenutzer';
-$messages['manageBlogTemplates'] = 'Blogtemplates';
-$messages['newBlogTemplate'] = 'Neues Blogtemplate';
-$messages['blogTemplates'] = 'Blogtemplates';
-$messages['adminSettings'] = 'Administration';
-$messages['Users'] = 'Benutzer';
-$messages['createUser'] = 'Benutzer erstellen';
-$messages['editSiteUsers'] = 'Benutzer';
-$messages['Blogs'] = 'Blogs verwalten';
-$messages['createBlog'] = 'Blog erstellen';
-$messages['editSiteBlogs'] = 'Blogs';
-$messages['Locales'] = 'Sprachdateien verwalten';
-$messages['newLocale'] = 'Neue Sprachdatei';
-$messages['siteLocales'] = 'Sprachdateien';
-$messages['Templates'] = 'Templates verwalten';
-$messages['newTemplate'] = 'Neues Template';
-$messages['siteTemplates'] = 'Templates';
-$messages['GlobalSettings'] = 'Globale Einstellungen';
-$messages['editSiteSettings'] = 'globale Einstellungen verwalten';
-$messages['summarySettings'] = '&Uuml;bersicht Einstellungen';
-$messages['templateSettings'] = 'Templates';
-$messages['urlSettings'] = 'URLs';
-$messages['emailSettings'] = 'E-Mail';
-$messages['uploadSettings'] = 'Uploads';
-$messages['helpersSettings'] = 'Externe Tools';
-$messages['interfacesSettings'] = 'Interfaces';
-$messages['securitySettings'] = 'Sicherheit';
-$messages['bayesianSettings'] = 'Bayes\'scher Filter';
-$messages['resourcesSettings'] = 'Ressourcen';
-$messages['searchSettings'] = 'Suche';
-$messages['cleanUpSection'] = 'Aufr&auml;umen';
-$messages['cleanUp'] = 'aufr&auml;umen';
-$messages['editResourceAlbum'] = 'Album editiern';
-$messages['resourceInfo'] = 'Ressource editieren';
-$messages['editBlog'] = 'Blog editieren';
-$messages['Logout'] = 'Logout';
-
-// new post
-$messages['topic'] = '&Uuml;berschrift';
-$messages['topic_help'] = '&Uuml;berschrift des Artikels';
-$messages['text'] = 'Text';
-$messages['text_help'] = 'Text des Artikels. Dieser Text wird auf der Startseite angezeigt';
-$messages['extended_text'] = 'Erweiteter Text';
-$messages['extended_text_help'] = 'Erweiterter Text des Artikels. Dieser Text wird in der Detailansicht, falls aktivert, angezeigt. In den Blogeinstellungen finden Sie n&auml;here Informationen.';
-$messages['post_slug'] = 'Slug';
-$messages['post_slug_help'] = 'Der Slug wird verwendet, um dauerhafte Links zu erstellen.';
-$messages['date'] = 'Datum';
-$messages['post_date_help'] = 'Datum der Artikelver&ouml;ffentlichung.';
-$messages['status'] = 'Status';
-$messages['post_status_help'] = 'W&auml;hlen Sie, ob der Artikel direkt ver&ouml;ffentlicht, als Entwurf gespeichert oder gel&ouml;scht werden soll.';
-$messages['post_status_published'] = 'ver&ouml;ffentlicht';
-$messages['post_status_draft'] = 'Entwurf';
-$messages['post_status_deleted'] = 'gel&ouml;scht';
-$messages['categories'] = 'Kategorien';
-$messages['post_categories_help'] = 'W&auml;hlen Sie, in welche Kategorien der Artikel eingeordnet werden soll. Mithilfe der &lt;Strg&gt; Taste k&ouml;nnen Sie mehrere Kategorien gleichzeitig ausw&auml;hlen.';
-$messages['post_comments_enabled_help'] = 'Kommentare erlauben';
-$messages['send_notification_help'] = 'Benachrichtigung bei neuen Kommentaren';
-$messages['send_trackback_pings_help'] = 'Trackbacks verschicken';
-$messages['send_xmlrpc_pings_help'] = 'XMLRPC Pings verschicken';
-$messages['save_draft_and_continue'] = 'Entwurf speichern';
-$messages['preview'] = 'Vorschau';
-$messages['add_post'] = 'eintragen';
-$messages['error_saving_draft'] = 'Beim Speichern des Entwurfs trat ein Fehler auf.';
-$messages['draft_saved_ok'] = 'Der Entwurf wurde erfolgreich gespeichert.';
-$messages['error_sending_request'] = 'Beim Senden der Anfrage trat ein Fehler auf.';
-$messages['error_no_category_selected'] = 'Bitte w&auml;hlen Sie mindestens eine Kategorie.';
-$messages['error_missing_post_topic'] = 'Bitte geben Sie eine &Uuml;berschrift ein.';
-$messages['error_missing_post_text'] = 'Sie haben keinen Artikeltext eingegeben.';
-$messages['error_adding_post'] = 'Beim Speichern des Artikels trat ein Fehler auf.';
-$messages['post_added_not_published'] = 'Der Artikel wurde erfolgreich hinzugef&uuml;gt aber nicht ver&ouml;ffentlicht.';
-$messages['post_added_ok'] = 'Der Artikel wurde erfolgreich hinzugef&uuml;gt.';
-$messages['send_notifications_ok'] = 'Sie werden bei jedem neuen Kommentar oder Trackback benachrichtigt.';
-
-// send trackbacks
-$messages['error_sending_trackbacks'] = 'Beim Senden der folgenden Trackbacks ist ein Fehler aufgetreten: ';
-$messages['send_trackbacks_help'] = 'W&auml;hlen Sie die URL\'s, an die Sie Trackbacks senden m&ouml;chten. Stellen Sie sicher, dass die Seite Trackbacks unterst&uuml;tzt.';
-$messages['send_trackbacks'] = 'Trackbacks senden' ;
-$messages['ping_selected'] = 'Ping ausgew&auml;hlt';
-$messages['trackbacks_sent_ok'] = 'Die Trackbacks wurden erfolgreich an die gew&auml;hlten Adressen gesendet.';
-
-// posts page
-$messages['show_by'] = 'Ordnen nach';
-$messages['category'] = 'Kategorie';
-$messages['author'] = 'Autor';
-$messages['post_status_all'] = 'Alle';
-$messages['author_all'] = 'Alle';
-$messages['search_terms'] = 'Suchbegriffe';
-$messages['show'] = 'anzeigen';
-$messages['delete'] = 'l&ouml;schen';
-$messages['actions'] = 'Aktionen';
-$messages['all'] = 'Alle';
-$messages['category_all'] = 'Alle';
-$messages['error_incorrect_article_id'] = 'Falsche Artikel ID';
-$messages['error_deleting_article'] = 'Beim L&ouml;schen des Artikels "%s" ist ein Fehler aufgetreten.';
-$messages['article_deleted_ok'] = 'Artikel "%s" wurden erfolgreich gel&ouml;scht.';
-$messages['articles_deleted_ok'] = '%s Artikel wurden erfolgreich gel&ouml;scht.';
-$messages['error_deleting_article2'] = 'Beim L&ouml;schen des Artikels "%s" ist ein Fehler aufgetreten.';
-
-// edit post page
-$messages['update'] = 'aktualisieren';
-$messages['editPost'] = 'Artikel bearbeiten';
-$messages['error_fetching_post'] = 'Beim &Ouml;ffnen des Artikels ist ein Fehler aufgetreten.';
-$messages['post_updated_ok'] = 'Der Artikel "%s" wurde erfolgreich aktualisiert.';
-$messages['error_updating_post'] = 'Beim Aktualisieren des Artikels ist ein Fehler aufgetreten.';
-$messages['notification_added'] = 'Sie werden bei neuen Kommentaren oder Trackbacks benachrichtigt.';
-$messages['notification_removed'] = 'Es werden keine Benachrichtigungen bei neuen Kommentaren oder Trackbacks versendet.';
-
-// post comments
-$messages['url'] = 'URL';
-$messages['comment_status_all'] = 'Alle';
-$messages['comment_status_spam'] = 'Spam';
-$messages['comment_status_nonspam'] = 'Kein Spam';
-$messages['error_fetching_comments'] = 'Es wurden keine Kommentare zum Artikel gefunden.';
-$messages['error_deleting_comments'] = 'Es trat ein Fehler beim L&ouml;schen des Artikels auf oder es wurde kein Artikel ausgew&auml;hlt.';
-$messages['comment_deleted_ok'] = 'Kommentar "%s" wurde erfolgreich gel&ouml;scht.';
-$messages['comments_deleted_ok'] = '%s Kommentare wurden erfolgreich gel&ouml;scht.';
-$messages['error_deleting_comment'] = 'Beim L&ouml;schen des Kommentars "%s" ist ein Fehler aufgetreten.';
-$messages['error_deleting_comment2'] = 'Es gab einen Fehler beim L&ouml;schen des Kommentars "%s".';
-$messages['editComments'] = 'Kommentare';
-$messages['mark_as_spam'] = 'Als Spam markieren';
-$messages['mark_as_no_spam'] = 'Als "kein Spam" markieren';
-$messages['error_incorrect_comment_id'] = 'Es existiert kein Kommentar mit dieser ID.';
-$messages['error_marking_comment_as_spam'] = 'Beim Markieren des Kommentars als Spam trat ein Fehler auf.';
-$messages['comment_marked_as_spam_ok'] = 'Der Kommentar wurde erfolgreich als Spam markiert.';
-$messages['error_marking_comment_as_nonspam'] = 'Beim Markieren des Kommentars als "kein Spam" trat ein Fehler auf.';
-$messages['comment_marked_as_nonspam_ok'] = 'Der Kommentar wurde erfolgreich als "kein Spam" markiert.';
-
-// post trackbacks
-$messages['blog'] = 'Blog';
-$messages['excerpt'] = 'Auszug';
-$messages['error_fetching_trackbacks'] = 'Beim Abrufen der Trackbacks ist ein Fehler aufgetreten.';
-$messages['error_deleting_trackbacks'] = 'Beim L&ouml;schen der Trackbacks ist ein Fehler aufgetreten.';
-$messages['error_deleting_trackback'] = 'Beim L&ouml;schen des Trackbacks "%s" ist ein Fehler aufgetreten.';
-$messages['error_deleting_trackback2'] = 'Beim L&ouml;schen des Trackbacks mit der ID "%s" ist ein Fehler aufgetreten.';
-$messages['trackback_deleted_ok'] = 'Trackback "%s" wurde erfolgreich gel&ouml;scht.';
-$messages['trackbacks_deleted_ok'] = '%s Trackbacks wurden erfolgreich gel&ouml;scht.';
-$messages['editTrackbacks'] = 'Trackbacks';
-
-// post statistics
-$messages['referrer'] = 'Referrer';
-$messages['hits'] = 'Aufrufe';
-$messages['error_no_items_selected'] = 'Es wurde nichts zum L&ouml;schen ausgew&auml;hlt.';
-$messages['error_deleting_referrer'] = 'Beim L&ouml;schen des Referrers "%s" ist ein Fehler aufgetreten.';
-$messages['error_deleting_referrer2'] = 'Beim L&ouml;schen des Referrers mit der ID "%s" ist ein Fehler aufgetreten.';
-$messages['referrer_deleted_ok'] = 'Referrer "%s" wurde erfolgreich gel&ouml;scht.';
-$messages['referrers_deleted_ok'] = '%s Referrer wurden erfolgreich gel&ouml;scht.';
-
-// categories
-$messages["posts"] = "Artikel";
-$messages['show_in_main_page'] = 'Auf der &Uuml;bersichtsseite anzeigen.';
-$messages['error_incorrect_category_id'] = 'Es wurden keine Kategorien ausgew&auml;hlt, oder die entsprechenden IDs sind nicht korrekt.';
-$messages['error_category_has_articles'] = 'Der Kategorie "%s" sind noch Artikel zugeordnet. Bitte &auml;ndern Sie erst die entsprechenden Artikel und versuchen Sie anschlie&szlig;end die Kategorie zu l&ouml;schen.';
-$messages['category_deleted_ok'] = 'Die Kategorie "%s" wurde erfolgreich gel&ouml;scht.';
-$messages['categories_deleted_ok'] = '%s Kategorien wurden erfolgreich gel&ouml;scht.';
-$messages['error_deleting_category'] = 'Beim L&ouml;schen der Kategorie "%s" ist ein Fehler aufgetreten.';
-$messages['error_deleting_category2'] = 'Beim L&ouml;schen der Kategorie mit der ID "%s" ist ein Fehler aufgetreten.';
-$messages['yes'] = 'Ja';
-$messages['no'] = 'Nein';
-
-// new category
-$messages['name'] = 'Name';
-$messages['category_name_help'] = 'Unter diesem Namen wird die Kategorie erreichbar sein';
-$messages['description'] = 'Beschreibung';
-$messages['category_description_help'] = 'L&auml;ngere Beschreibung f&uuml;r die Kategorie';
-$messages['show_in_main_page_help'] = 'Entscheiden Sie, ob Artikel dieser Kategorie in der &Uuml;bersicht angezeigt werden sollen, oder nur, wenn innerhalb dieser Kategorie gesucht wird.';
-$messages['error_empty_name'] = 'Sie m&uuml;ssen einen Namen f&uuml;r diese Kategorie eingeben.';
-$messages['error_empty_description'] = 'Sie m&uuml;ssen eine Beschreibung f&uuml;r diese Kategorie eingeben.';
-$messages['error_adding_article_category'] = 'Beim Anlegen der Kategorie ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
-$messages['category_added_ok'] = 'Die Kategorie "%s" wurde dem Blog erfolgreich hinzugef&uuml;gt.';
-$messages['add'] = 'hinzuf&uuml;gen';
-$messages['reset'] = 'Zur&uuml;cksetzen';
-
-// update category
-$messages['error_updating_article_category'] = 'Beim Aktualisieren der Kategorie ist ein Fehler aufgetreten.';
-$messages['error_fetching_category'] = 'Beim Abrufen der Kategorie ist ein Fehler aufgetreten.';
-$messages['article_category_updated_ok'] = 'Die Kategorie "%s" wurde erfolgreich aktualisiert.';
-
-// links
-$messages['feed'] = 'Feed';
-$messages['error_no_links_selected'] = 'Es wurden keine Links ausgew&auml;hlt, oder die entsprechenden IDs sind nicht korrekt.';
-$messages['error_incorrect_link_id'] = 'Es existiert kein Link mit dieser ID.';
-$messages['error_removing_link'] = 'Beim L&ouml;schen des Links "%s" ist ein Fehler aufgetreten.';
-$messages['error_removing_link2'] = 'Beim L&ouml;schen des Links mit der ID "%s" ist ein Fehler aufgetreten.';
-$messages['link_deleted_ok'] = 'Der Link "%s" wurde erfolgreich gel&ouml;scht.';
-$messages['links_deleted_ok'] = '%s Links wurden erfolgreich gel&ouml;scht.';
-
-// new link
-$messages['link_name_help'] = 'Name des Links';
-$messages['link_url_help'] = 'URL, zu dem der Link verweist';
-$messages['link_description_help'] = 'Kurze Beschreibung des Links';
-$messages['link_feed_help'] = 'Hier k&ouml;nnen Sie einen Link zu einem RSS oder Atom Feed angeben.';
-$messages['link_category_help'] = 'W&auml;hlen Sie bitte eine der verf&uuml;gbaren Kategorien.';
-$messages['error_adding_link'] = 'Beim Hinzuf&uuml;gen des Links ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
-$messages['error_invalid_url'] = 'Der URL ist ung&uuml;ltig.';
-$messages['link_added_ok'] = 'Der Link "%s" wurde erfolgreich hinzugef&uuml;gt.';
-
-// update link
-$messages['error_updating_link'] = 'Beim Aktualisieren des Links ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
-$messages['error_fetching_link'] = 'Beim Aufrufen des Links ist ein Fehler aufgetreten.';
-$messages['link_updated_ok'] = 'Der Link "%s" wurde erfolgreich aktualisiert.';
-
-// link categories
-$messages['links'] = 'Links';
-$messages['error_invalid_link_category_id'] = 'Es wurde keine Linkkategorie ausgew&auml;hlt, oder die entsprechenden IDs sind nicht korrekt.';
-$messages['error_links_in_link_category'] = 'Der Kategorie "%s" sind noch Links zugeordnet. Bitte &auml;ndern Sie erst die entsprechenden Links und versuchen Sie anschlie&szlig;end die Kategorie zu l&ouml;schen.';
-$messages['error_removing_link_category'] = 'Beim L&ouml;schen der Kategorie "%s" ist ein Fehler aufgetreten.';
-$messages['link_category_deleted_ok'] = 'Die Kategorie "%s" wurde erfolgreich gel&ouml;scht.';
-$messages['link_categories_deleted_ok'] = '%s Linkkategorie wurde erfolgreich gel&ouml;scht.';
-$messages['error_removing_link_category2'] = 'Beim L&ouml;schen der Kategorie mit der ID "%s" ist ein Fehler aufgetreten.';
-
-// new link category
-$messages['link_category_name_help'] = 'Name der Linkkategorie';
-$messages['error_adding_link_category'] = 'Beim Hinzuf&uuml;gen der Linkkategorie "%s" ist ein Fehler aufgetreten.';
-$messages['link_category_added_ok'] = 'Die Kategorie "%s" wurde erfolgreich hinzugef&uuml;gt.';
-
-// edit link category
-$messages['error_updating_link_category'] = 'Beim Aktualisieren der Linkkategorie ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
-$messages['link_category_updated_ok'] = 'Die Kategorie "%s" wurde erfolgreich aktualisiert.';
-$messages['error_fetching_link_category'] = 'Beim Hinzuf&uuml;gen der Linkkategorie ist ein Fehler aufgetreten.';
-
-// custom fields
-$messages['type'] = 'Typ';
-$messages['hidden'] = 'versteckt';
-$messages['fields_deleted_ok'] = '%s benutzerdefinierte Felder wurden erfolgreich gel&ouml;scht.';
-$messages['field_deleted_ok'] = 'Benutzerdefiniertes Feld "%s" wurde erfolgreich gel&ouml;scht.';
-$messages['error_deleting_field'] = 'Beim L&ouml;schen des benutzerdefinierten Feldes "%s" ist ein Fehler aufgetreten.';
-$messages['error_deleting_field2'] = 'Beim L&ouml;schen des benutzerdefinierten Feldes mit der ID "%s" ist ein Fehler aufgetreten.';
-$messages['error_incorrect_field_id'] = 'Die ID des benutzerdefinierten Feldes ist ung&uuml;ltig.';
-
-// new custom field
-$messages['field_name_help'] = 'ID, die ben&ouml;tigt wird, um in Artikeln auf dieses Feld zu verweisen';
-$messages['field_description_help'] = 'Kurze Beschreibung des Feldes, die beim Hinzuf&uuml;gen und Bearbeiten von Artikeln angezeigt wird';
-$messages['field_type_help'] = 'W&auml;hlen Sie einen verf&uuml;gbaren Feldtyp';
-$messages['field_hidden_help'] = 'Wenn ein Feld versteckt wird, wird es beim Hinzuf&uuml;gen oder Bearbeiten eines Artikels nicht angezeigt. Diese Funktion wird haupts&auml;chlich f&uuml;r Plugins verwendet.';
-$messages['error_adding_custom_field'] = 'Beim Hinzuf&uuml;gen des benutzerdefinierten Feldes ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
-$messages['custom_field_added_ok'] = 'Benutzerdefiniertes Feld "%s" wurde erfolgreich hinzugef&uuml;gt.';
-$messages['text_field'] = 'Textfeld';
-$messages['text_area'] = 'Textbox';
-$messages['checkbox'] = 'Checkbox';
-$messages['date_field'] = 'Datumsauswahl';
-
-// edit custom field
-$messages['error_fetching_custom_field'] = 'Beim Aufrufen des benutzerdefinierten Feldes "%s" ist ein Fehler aufgetreten.';
-$messages['error_updating_custom_field'] = 'Beim Aktualisieren des benutzerdefinierten Feldes ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
-$messages['custom_field_updated_ok'] = 'Das Benutzerdefinierte Feld "%s" wurde erfolgreich aktualisiert.';
-
-// resources
-$messages['root_album'] = 'Root Album';
-$messages['num_resources'] = 'Anzahl der Ressourcen';
-$messages['total_size'] = 'Gesamtgr&ouml;&szlig;e';
-$messages['album'] = 'Album';
-$messages['error_incorrect_album_id'] = 'Die ID des Albums ist ung&uuml;ltig.';
-$messages['error_base_storage_folder_missing_or_unreadable'] = 'LifeType kann die Verzeichnise nicht erstellen, in denen die Ressourcen gespeichert werden sollen. Dies kann verschiedene Ursachen haben. Eventuell wird PHP bei Ihnen im "safe mode" ausgef&uuml;hrt, oder Sie haben nicht die erforderlichen Berechtigungen. Sie k&ouml;nnen die Operation eventuell manuell ausf&uuml;hren, indem Sie die folgenden Verzeichnise anlegen: <br/><br/>%s<br/><br/>. Wenn diese Verzeichnise bereits existieren, stellen Sie sicher, dass Lese- und Schreibzugriff vorhanden ist.';
-$messages['items_deleted_ok'] = '%s Positionen erfolgreich gel&ouml;scht.';
-$messages['error_album_has_children'] = 'Das Album "%s" konnte nicht gel&ouml;scht werden, da es Unteralben enth&auml;lt. Wenn Sie das Album wirklich l&ouml;schen m&ouml;chten, entfernen Sie zuerst die Unteralben und versuchen es anschlie&szlig;end erneut.';
-$messages['item_deleted_ok'] = 'Position "%s" erfolgreich gel&ouml;scht.';
-$messages['error_deleting_album'] = 'Beim L&ouml;schen des Albums "%s" ist ein Fehler aufgetreten.';
-$messages['error_deleting_album2'] = 'Beim L&ouml;schen des Albums mit der ID "%s" ist ein Fehler aufgetreten.';
-$messages['error_deleting_resource'] = 'Beim L&ouml;schen der Ressource "%s" ist ein Fehler aufgetreten.';
-$messages['error_deleting_resource2'] = 'Beim L&ouml;schen der Ressource mit der ID "%s" ist ein Fehler aufgetreten.';
-$messages['error_no_resources_selected'] = 'Es wurde keine Position zum L&ouml;schen ausgew&auml;hlt.';
-$messages['resource_deleted_ok'] = 'Ressource "%s" wurde erfolgreich gel&ouml;scht.';
-$messages['album_deleted_ok'] = 'Album "%s"  wurde erfolgreich gel&ouml;scht.';
-$messages["add_resource"] = "Ressource hinzuf&uuml;gen";
-$messages['add_resource_preview'] = 'Vorschau hinzuf&uuml;gen';
-$messages['add_resource_medium'] = 'medium-Thumbnail hinzuf&uuml;gen';
-$messages["add_album"] = "Album hinzuf&uuml;gen";
-
-// new album
-$messages['album_name_help'] = 'Kurzer Name f&uuml;r das neue Album';
-$messages['parent'] = '&Uuml;bergeordnetes Album';
-$messages['no_parent'] = 'Kein &Uuml;bergeordnetes Album';
-$messages['parent_album_help'] = 'Benutzen Sie &uuml;bergeordnete Alben, um Alben innerhalb von anderen Alben zu erstellen und Ihre Dateien besser organisieren zu k&ouml;nnen.';
-$messages['album_description_help'] = 'L&auml;ngere Beschreibung des Albums';
-$messages['error_adding_album'] = 'Beim Hinzuf&uuml;gen des Albums ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
-$messages['album_added_ok'] = 'Das Album wurde "%s" erfolgreich hinzugef&uuml;gt.';
-
-// edit album
-$messages['error_incorrect_album_id'] = 'Die ID des Albums ist ung&uuml;ltig.';
-$messages['error_fetching_album'] = 'Beim Zugriff auf das Album ist ein Fehler aufgetreten.';
-$messages['error_updating_album'] = 'Beim Aktualisieren des Albums ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
-$messages['album_updated_ok'] = 'Das Album "%s" wurde erfolgreich aktualisiert';
-$messages['show_album_help'] = 'Wenn deaktiviert, wird das Album nicht in der Liste verf&uuml;gbarer Alben angezeigt.';
-
-// new resource
-$messages['file'] = 'Datei';
-$messages['resource_file_help'] = 'Datei, die dem aktuellem Blog hinzugef&uuml;gt wird. Benutzen Sie den "Feld hinzuf&uuml;gen" Link um mehr als eine Datei gleichzeitig hochzuladen.';
-$messages['add_field'] = 'Feld hinzuf&uuml;gen';
-$messages['resource_description_help'] = 'L&auml;ngere Beschreibung der Datei';
-$messages['resource_album_help'] = 'W&auml;hlen Sie das Album, zu dem die Datei hinzugef&uuml;gt werden soll';
-$messages['error_no_resource_uploaded'] = 'Es wurde keine Datei zum Hochladen ausgew&auml;hlt';
-$messages['resource_added_ok'] = 'Ressource "%s" erfolgreich hinzugef&uuml;gt';
-$messages['error_resource_forbidden_extension'] = 'Die Datei konnte nicht hinzugef&uuml;gt werden, da dieser Dateityp nicht erlaubt ist.';
-$messages['error_resource_too_big'] = 'Die Datei konnte nicht hinzugef&uuml;gt werden, da sie zu gro&szlig; ist.';
-$messages['error_uploads_disabled'] = 'Die Datei konnte nicht hinzugef&uuml;gt werden, da Uploads f&uuml;r diese Site nicht zul&auml;ssig sind.';
-$messages['error_quota_exceeded'] = 'Die Datei konnte nicht hinzugef&uuml;gt werden, da Sie den f&uuml;r Sie reservierten Speicherplatz &uuml;berschritten haben';
-$messages['error_adding_resource'] = 'Beim Hinzuf&uuml;gen der Datei ist ein Fehler aufgetreten.';
-
-// edit resource
-$messages['editResource'] = 'Ressource bearbeiten';
-$messages['resource_information_help'] = 'Nachstehend finden Sie einige Informationen &uuml;ber die Ressource';
-$messages['information'] = 'Information';
-$messages['size'] = 'Dateigr&ouml;&szlig;e';
-$messages['format'] = 'Format';
-$messages['dimensions'] = 'Gr&ouml;&szlig;e';
-$messages['bits_per_sample'] = 'Bits pro Sample';
-$messages['sample_rate'] = 'Samplerate';
-$messages['number_of_channels'] = 'Anzahl der Kann&auml;le';
-$messages['legnth'] = 'L&auml;nge';
-$messages['thumbnail_format'] = 'Thumbnail Format';
-$messages['regenerate_preview'] = 'Vorschau erneuern';
-$messages['error_fetching_resource'] = 'Beim Abrufen der Ressource ist ein Fehler aufgetreten.';
-$messages['error_updating_resource'] = 'Beim Aktualisieren der Ressource ist ein Fehler aufgetreten.';
-$messages['resource_updated_ok'] = 'Die Ressource %s wurde erfolgreich aktualisiert.';
-
-// blog settings
-$messages['blog_link'] = 'Blog Link';
-$messages['blog_link_help'] = 'Permanenter Link zu diesem Blog';
-$messages['blog_name_help'] = 'Titel f&uuml;r dieses Blog';
-$messages['blog_description_help'] = 'L&auml;ngere Beschreibung f&uuml;r dieses Blog';
-$messages['language'] = 'Sprache';
-$messages['blog_language_help'] = 'Sprache, in der die Texte des Blogs, sowohl auf der &ouml;ffentlichen, als auch auf der administrativen Seite, angezeigt werden.';
-$messages['max_main_page_items'] = 'Anzahl der Positionen auf der &Uuml;bersichtsseite';
-$messages['max_main_page_items_help'] = 'Anzahl der Artikel, die immer auf der Hauptseite des Blogs angezeigt werden';
-$messages['max_recent_items'] = 'Anzahl der aktuellen Positionen';
-$messages['max_recent_items_help'] = 'Maximale Anzahl der Artikel, die auf der Hauptseite als aktuell angezeigt werden';
-$messages['template'] = 'Template';
-$messages['choose'] = 'ausw&auml;hlen';
-$messages['blog_template_help'] = 'Template, dass benutzt wird, um den Inhalt des Blogs darzustellen. In der Liste k&ouml;nnen Sie zwischen allen global und den nur f&uuml;r dieses Blog installierten Templates ausw&auml;hlen';
-$messages['use_read_more'] = ' "weiter..." Link in Artikeln nutzen';
-$messages['use_read_more_help'] = 'Wenn diese Funktion gew&auml;hlt wird, wird nur der Text, der im Text-Feld eingegeben wurde, angezeigt. Um den Text aus dem Feld Erweiteter Text anzeigen zu k&ouml;nnen, wird jedem Artikel ein "weiter..." Link hinzugef&uuml;gt.';
-$messages['enable_wysiwyg'] = 'WYSIWYG Editor aktivieren';
-$messages['enable_wysiwyg_help'] = 'Erm&ouml;glicht das Bearbeiten der Artikel mit Hilfe eines HTML-Editors. Hierzu ist mindestens Internet Explorer 5.5 oder Mozilla 1.3 erforderlich.';
-$messages['enable_comments'] = 'Kommentare standardm&auml;&szlig;ig erlauben';
-$messages['enable_comments_help'] = 'Erlaubt das Kommentieren von Artikeln global. Wenn diese Funktion aktiviert ist,  k&ouml;nnen Sie trotzdem f&uuml;r einzelne Artikel Kommentare verbieten.';
-$messages['show_future_posts'] = 'Zuk&uuml;nftige Artikel im Kalender anzeigen';
-$messages['show_future_posts_help'] = 'W&auml;hlen Sie, ob Artikel mit in der Zukunft liegendem Ver&ouml;ffentlichungsdatum im Kalender angezeigt und so f&uuml;r jeden Besucher sichtbar sein sollen.';
-$messages['comments_order'] = 'Kommentar Reihenfolge';
-$messages['comments_order_help'] = 'Reihenfolge, in der die Kommentare auf der &Uuml;bersichtsseite angezeigt werden.';
-$messages['oldest_first'] = '&auml;lteste zuerst';
-$messages['newest_first'] = 'neue zuerst';
-$messages['categories_order'] = 'Kategorie Reihenfolge';
-$messages['categories_order_help'] = 'Reihenfolge, in der die Kategorien auf der &Uuml;bersichtsseite angezeigt werden.';
-$messages['most_recent_updated_first'] = 'zuletzt aktualisierte zuerst';
-$messages['alphabetical_order'] = 'alphabetische Reihenfolge';
-$messages['reverse_alphabetical_order'] = 'umgekehrt alphabetische Reihenfolge';
-$messages['most_articles_first'] = 'meiste Artikel zuerst';
-$messages['link_categories_order'] = 'Linkkategorie Reihenfolge';
-$messages['link_categories_order_help'] = 'Reihenfolge, in der die Linkkategorien auf der &Uuml;bersichtsseite angezeigt werden.';
-$messages['most_links_first'] = 'meiste Links zuerst';
-$messages['most_links_last'] = 'meiste Links zuletzt';
-$messages['time_offset'] = 'Zeitabgleich';
-$messages['time_offset_help'] = 'Zeit, die zu jeder Zeit im Blog hinzugef&uuml;gt wird, um Unterschiede zur Serverzeit auszugleichen.';
-$messages['close'] = 'Schlie&szlig;en';
-$messages['select'] = 'Ausw&auml;hlen';
-$messages['error_updating_settings'] = 'Beim Aktualisieren der Blog-Einstellungen ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
-$messages['error_invalid_number'] = 'Die Anzahl ist nicht korrekt';
-$messages['error_incorrect_time_offset'] = 'Die Einstellung f&uuml;r den Zeitabgleich sind ung&uuml;ltig.';
-$messages['blog_settings_updated_ok'] = 'Die Blog-Einstellungen wurden erfolgreich aktualisiert.';
-
-// user settings
-$messages['username_help'] = '&Ouml;ffentlicher Benutzername, der nicht ge&auml;ndert werden kann.';
-$messages['full_name'] = 'Vollst&auml;ndiger Name';
-$messages['full_name_help'] = 'Vollst&auml;ndiger Name';
-$messages['password_help'] = 'Geben Sie das neue Kennwort ein und best&auml;tigen Sie es, oder lassen Sie die Felder frei, um das Kennwort nicht zu &auml;ndern.';
-$messages['confirm_password'] = 'Kennwort best&auml;tigen';
-$messages['email'] = 'E-Mail';
-$messages['email_help'] = 'E-Mail Addresse, an die Benachrichtigungen gesendet werden sollen.';
-$messages['bio'] = 'Bio';
-$messages['bio_help'] = 'Hier k&ouml;nnen Sie eine kurze Selbstdarstellung eingeben.';
-$messages['picture'] = 'Bild';
-$messages['user_picture_help'] = 'Bitte w&auml;hlen Sie eines der von Ihnen in dieses Blog hochgeladenen Bilder als Ihr pers&ouml;nliches Bild aus.';
-$messages['error_invalid_password'] = 'Das Kennwort ist ung&uuml;ltig. Bitte stellen Sie sicher, dass es ausreichend lang ist.';
-$messages['error_passwords_dont_match'] = 'Die Kennw&ouml;rter stimmen leider nicht &uuml;berein.';
-$messages['error_incorrect_email_address'] = 'Die E-Mail Adresse ist ung&uuml;ltig.';
-$messages['error_updating_user_settings'] = 'Beim Aktualisieren der Benutzer-Einstellungen ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
-$messages['user_settings_updated_ok'] = 'Die Benutzer-Einstellungen wurden erfolgreich aktualisiert.';
-$messages['resource'] = 'Ressource';
-
-// plugin centre
-$messages['identifier'] = 'ID';
-$messages['error_plugins_disabled'] = 'Plugins sind leider deaktiviert.';
-
-// blog users
-$messages['revoke_permissions'] = 'Berechtigungen entziehen';
-$messages['error_no_users_selected'] = 'Es wurde kein Benutzer ausgew&auml;hlt.';
-$messages['user_removed_from_blog_ok'] = 'Der Benutzer %s hat keine Berechtigung mehr, dieses Blog zu bearbeiten.';
-$messages['users_removed_from_blog_ok'] = '%s Benutzer haben keinen Zugang mehr zu diesem Blog.';
-$messages['error_removing_user_from_blog'] = 'Beim Entziehen der Rechte f&uuml;r dieses Blog von Benutzer %s ist ein Fehler aufgetreten.';
-$messages['error_removing_user_from_blog2'] = 'Es ist ein Fehler aufgetreten beim Entziehen der Rechte f&uuml;r dieses Blog vom Benutzer mit der ID %s.';
-
-// new blog user
-$messages['new_blog_username_help'] = 'Benutzername des Benutzers, dem Sie Zugang zu diesem Blog geben m&ouml;chten. Neue Benutzer haben lediglich Zugang zu den Einstellungen und Ressourcen.';
-$messages['send_notification'] = 'Benachrichtigung senden';
-$messages['send_user_notification_help'] = 'E-Mail Benachrichtigung an diesen Benutzer senden';
-$messages['notification_text'] = 'Benachrichtigungstext';
-$messages['notification_text_help'] = 'Dieser Text wird in die Benachrichtigung eingef&uuml;gt.';
-$messages['error_adding_user'] = 'Beim Freischalten des Zugangs f&uuml;r diesen Benutzer ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
-$messages['error_empty_text'] = 'Sie haben keinen Text eingegeben.';
-$messages['error_adding_user'] = 'Beim Hinzuf&uuml;gen des Benutzers ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
-$messages['error_invalid_user'] = 'Der Benutzername "%s" ist ung&uuml;ltig oder der Benutzer existiert nicht.';
-$messages['user_added_to_blog_ok'] = 'Dem Benutzer "%s" wurde erfolgreich Zugang zu diesem Blog einger&auml;umt.';
-
-// blog templates
-$messages['error_no_templates_selected'] = 'Es wurden keine Templates ausgew&auml;hlt.';
-$messages['error_template_is_current'] = 'Template "%s" kann nicht ausgew&auml;hlt werden, da es bereits verwendet wird.';
-$messages['error_removing_template'] = 'Beim L&ouml;schen des Templates "%s" ist ein Fehler aufgetreten.';
-$messages['template_removed_ok'] = 'Template "%s" wurde erfolgreich gel&ouml;scht';
-$messages['templates_removed_ok'] = '%s Templates wurden erfolgreich gel&ouml;scht.';
-
-// new blog template
-$messages['template_installed_ok'] = 'Template "%s" wurde erfolgreich hinzugef&uuml;gt.';
-$messages['error_installing_template'] = 'Beim Installieren des Templates "%s" ist ein Fehler aufgetreten.';
-$messages['error_missing_base_files'] = 'Die Template-Dateien sind nicht vollst&auml;ndig.';
-$messages['error_add_template_disabled'] = 'Es k&ouml;nnen keine Templates hinzugef&uuml;gt werden, da diese Funktion f&uuml;r diese Site deaktiviert wurde.';
-$messages['error_must_upload_file'] = 'Es wurde kein Template-Set hochgeladen.';
-$messages['error_uploads_disabled'] = 'Die M&ouml;glichkeit, Dateien hochzuladen wurde f&uuml;r diese Site deaktiviert.';
-$messages['error_no_new_templates_found'] = 'Es wurden keine neuen Templates gefunden.';
-$messages['error_template_not_inside_folder'] = 'Die Dateien des Template-Sets m&uuml;ssen in ein Verzeichnis mit dem gleichen Namen wie das Template-Set geladen werden.';
-$messages['error_missing_base_files'] = 'Einige Dateien des Template Sets sind nicht vorhanden.';
-$messages['error_unpacking'] = 'Beim Entpacken der Datei ist ein Fehler aufgetreten.';
-$messages['error_forbidden_extensions'] = 'Das Template-Set enth&auml;lt Dateien mit verbotenen Erweiterungen.';
-$messages['error_creating_working_folder'] = 'Beim Erstellen eines tempor&auml;ren Verzeichnises zum Entpacken der Dateien ist ein Fehler aufgetreten.';
-$messages['error_checking_template'] = 'Beim Pr&uuml;fen des Templates "%s" ist ein Fehler aufgetreten.';
-$messages['template_package'] = 'Template-Set';
-$messages['blog_template_package_help']  = 'Benutzen Sie dieses Formular, um ein Template hochzuladen, dass nur f&uuml;r Ihr Blog verf&uuml;gbar sein soll. Wenn Sie mit diesem Formular kein Template-Set hochladen k&ouml;nnen, laden Sie es manuell in das Verzeichnis <b>%s</b>. In diesem Verzeichnis sind all Ihre Templates gespeichert. Anschlie&szlig;end klicken Sie auf <b>Templates scannen</b>. LifeType scannt daraufhin das Verzeichnis und f&uuml;gt automatisch alle neu erkannten Templates der Auswahl zu.';
-$messages['scan_templates'] = 'Templates scannen';
-
-// site users
-$messages['user_status_active'] = 'aktiv';
-$messages['user_status_disabled'] = 'gesperrt';
-$messages['user_status_all'] = 'Alle';
-$messages['user_status_unconfirmed'] = 'nicht best&auml;tigt';
-$messages['error_invalid_user2'] = 'Es existiert kein Benutzer mit der ID "%s".';
-$messages['error_deleting_user'] = 'Beim Sperren des Benutzers "%s" ist ein Fehler aufgetreten';
-$messages['user_deleted_ok'] = 'Benutzer "%s" wurde erfolgreich gesperrt';
-$messages['users_deleted_ok'] = '%s Benutzer erfolgreich gesperrt.';
-
-// create user
-$messages['user_added_ok'] = 'Benutzer "%s" erfolgreich hinzugef&uuml;gt';
-$messages['error_incorrect_username'] = 'Der Benutzername ist ung&uuml;ltig oder bereits vergeben.';
-$messages['user_status_help'] = 'Aktueller Status des Benutzers';
-$messages['user_blog_help'] = 'Blog, welchem der Benutzer anfangs zugeordnet ist';
-$messages['none'] = 'Keins';
-
-// edit user
-$messages['error_invalid_user'] = 'Die Benutzer-ID ist nicht g&uuml;ltig, oder der Benutzer existiert nicht.';
-$messages['error_updating_user'] = 'Beim Aktualisieren der Benutzereinstellungen ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
-$messages['blogs'] = 'Blogs';
-$messages['user_blogs_help'] = 'Blogs des Benutzers oder zu denen der Benutzer Zugang hat.';
-$messages['site_admin'] = 'Administrator';
-$messages['site_admin_help'] = 'Entscheiden Sie, ob der Benutzer Administrationsrechte zugewiesen bekommt und Zugang zum Administrationsbereich bekommt, um dort Verwaltungsaufgaben durchf&uuml;hren zu d&uuml;rfen.';
-$messages['user_updated_ok'] = 'Benutzer "%s" erfolgreich aktualisiert';
-
-// site blogs
-$messages['blog_status_all'] = 'Alle';
-$messages['blog_status_active'] = 'aktiv';
-$messages['blog_status_disabled'] = 'gesperrt';
-$messages['blog_status_unconfirmed'] = 'nicht best&auml;tigt';
-$messages['owner'] = 'Besitzer';
-$messages['quota'] = 'Kontingent';
-$messages['bytes'] = 'Bytes';
-$messages['error_no_blogs_selected'] = 'Es wurde kein Blog ausgew&auml;hlt.';
-$messages['error_blog_is_default_blog'] = 'Blog "%s" konnte nicht gel&ouml;scht werden, weil es das Standardblog ist.';
-$messages['blog_deleted_ok'] = 'Das Blog "%s" wurde erfolgreich gesperrt.';
-$messages['blogs_deleted_ok'] = '%s blogs erfolgreich gesperrt.';
-$messages['error_deleting_blog'] = 'Beim Sperren des Blogs "%s" ist ein Fehler aufgetreten.';
-$messages['error_deleting_blog2'] = 'Beim Sperren des Blogs mit der ID "%s" ist ein Fehler aufgetreten.';
-
-// create blog
-$messages['error_adding_blog'] = 'Beim Hinzuf&uuml;gen des Blogs ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
-$messages['blog_added_ok'] = 'Blog "%s" erfolgreich hinzugef&uuml;gt';
-
-// edit blog
-$messages['blog_status_help'] = 'Blogstatus';
-$messages['blog_owner_help'] = 'Benutzer, der dem Blog als Besitzer mit vollem Zugriff auf die Blogeinstellungen zugewiesen wird.';
-$messages['users'] = 'Benutzer';
-$messages['blog_quota_help'] = 'Ressourcenkontingent in Bytes. Stellen Sie 0 f&uuml;r unlimitiert ein oder lassen das Feld frei, um die globalen Einstellungen f&uuml;r dieses Blog zu benutzen.';
-$messages['blog_users_help'] = 'Benutzer, die Zugang zu diesem Blog haben. W&auml;hlen Sie einen Benutzer aus der linken Liste und f&uuml;gen Sie ihn rechts hinzu, um ihn Zugang zu diesem Blog zu geben.';
-$messages['edit_blog_settings_updated_ok'] = 'Das Blog %s wurde erfolgreich aktualisiert.';
-$messages['error_updating_blog_settings'] = 'Beim Aktualisieren des Blogs %s ist ein Fehler aufgetreten.';
-$messages['error_incorrect_blog_owner'] = 'Der Benutzer, der als Blog-Besitzer ausgew&auml;hlt wurde, ist ung&uuml;ltig.';
-$messages['error_fetching_blog'] = 'Beim Aufrufen des Blogs ist ein Fehler aufgetreten.';
-$messages['error_updating_blog_settings2'] = 'Beim Aktualisieren des Blogs ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben.';
-$messages['add_or_remove'] = 'Benutzer hinzuf&uuml;gen oder entfernen.';
-
-// site locales
-$messages['locale'] = 'Sprachdatei';
-$messages['locale_encoding'] = 'Kodierung';
-$messages['locale_deleted_ok'] = 'Die Sprachdatei %s wurde erfolgreich gel&ouml;scht.';
-$messages['error_no_locales_selected'] = 'Es wurden keine Sprachdateien zum L&ouml;schen ausgew&auml;hlt.';
-$messages['error_deleting_only_locale'] = 'Die Sprachdatei kann nicht gel&ouml;scht werden, da es die letzte verf&uuml;gare im System ist.';
-$messages['locales_deleted_ok']= '%s Sprachdateien wurden erfolgreich gel&ouml;scht.';
-$messages['error_deleting_locale'] = 'Beim L&ouml;schen der Sprachdatei %s ist ein Fehler aufgetreten.';
-$messages['error_locale_is_default'] = 'Die Sprachdatei %s kann nicht gel&ouml;scht werden, da es die Standarddatei f&uuml;r neue Blogs ist.';
-
-// add locale
-$messages['error_invalid_locale_file'] = 'Die Sprachdatei ist ung&uuml;ltig.';
-$messages['error_no_new_locales_found'] = 'Es wurden keine neuen Sprachdateien gefunden.';
-$messages['locale_added_ok'] = 'Die Sprachdatei %s wurde erfolgreich hinzugef&uuml;gt.';
-$messages['error_saving_locale'] = 'Beim Speichern der neuen Sprachdatei ist ein Fehler aufgetreten.';
-$messages['scan_locales'] = 'Sprachdateien scannen';
-$messages['add_locale_help'] = 'Benutzen Sie dieses Formular, um neue Sprachdateien hinzuzuf&uuml;gen. Wenn Sie mithilfe dieses Formulars keine neuen Dateien hochladen k&ouml;nnen, laden Sie die Sprachdatei manuell in das StandardVerzeichnis f&uuml;r Sprachdateien, normalerweise <b>./locales/</b>. Klicken Sie anschlie&szlig;end auf <b>Sprachdateien scannen</b> . LifeType scannt dann das Verzeichnis und f&uuml;gt die neuen Sprachdateien automatisch dem System zu.';
-
-// site templates
-$messages['error_template_is_default'] = 'Das Template %s kann nicht gel&ouml;scht werden, da es das Standardtemplate f&uuml;r neue Blogs ist.';
-
-// add template
-$messages['global_template_package_help'] = 'Benutzen Sie dieses Formular, um ein Template hochzuladen, dass f&uuml;r alle Blogs dieser Site verf&uuml;gbar sein soll. Wenn Sie mit diesem Formular kein Template-Set hochladen k&ouml;nnen, laden Sie es manuell in das Verzeichnis <b>%s</b>, dem Verzeichnis f&uuml;r all Ihre Template-Sets. Anschlie&szlig;end klicken Sie auf <b>Templates scannen</b>. LifeType scannt daraufhin das Verzeichnis und f&uuml;gt automatisch alle neu erkannten Templates der Auswahl zu.';
-
-// global settings
-$messages['site_config_saved_ok'] = 'Die Einstellungen wurden erfolgreich gespeichert.';
-$messages['error_saving_site_config'] = 'Beim Speichern der Einstellungen ist ein Fehler aufgetreten.';
-/// general settings
-$messages['help_comments_enabled'] = 'Kommentare f&uuml;r neue Blogs als Standard erlauben [Standard = Ja]';
-$messages['help_beautify_comments_text'] = 'In Kommentaren automatisch Abs&auml;tze formatieren und URLs verlinken [Standard = Ja]';
-$messages['help_temp_folder'] = 'Verzeichnis, in das LifeType tempor&auml;re Dateien, wie z.B. kompilierte Templates, speichert. Um die Sicherheit zu erh&ouml;hen, k&ouml;nnen Sie ein Verzeichnis ausserhalb des Webserver-Verzeichnisbaums nutzen. [Standard = ./tmp]';
-$messages['help_base_url'] = 'URL unter dem dieses Blog installiert ist';
-$messages['help_subdomains_enabled'] = 'Subdomains aktivieren oder deaktivieren. Wenn Sie diese Funktion nutzen m&ouml;chten, lesen Sie bitte vorher die Dokumentation! [Standard = Nein]';
-$messages['help_subdomains_base_url'] = 'Wenn Subdomains aktiviert sind, ist dies die URL-Basis. Benutzen Sie {blogname}, um den Blognamen oder {username} um den Benutzernamen zum Generieren des Links zum Blog zu verwenden (z.B. http://{blogname}.yourdomain.com)';
-$messages['help_include_blog_id_in_url'] = 'Diese Einstellung ist nur wichtig, wenn Subdomains und "normale" URLs aktiviert sind und bewirkt, dass intern generierte URLs nicht den "Blog-ID" Parameter verwenden. &Auml;ndern Sie diese Einstellung nur, wenn Sie genau wissen, was Sie tun! [Standard = Ja]';
-$messages['help_script_name'] = '&Auml;ndern Sie diese Einstellung, falls Sie die Datei index.php umbenennen m&uuml;ssen [Standard = index.php]';
-$messages['help_show_posts_max'] = 'Maximale Anzahl der Artikel, die auf der Hauptseite angezeigt werden. Diese Einstellung hat nur Auswirkungen auf neue Blogs. [Standard = 15]';
-$messages['help_recent_posts_max'] = 'Maximale Anzahl der Artikel, die auf der Hauptseite als aktuell angezeigt werden. Diese Einstellung hat nur Auswirkungen auf neue Blogs. [Standard = 10]';
-$messages['help_save_drafts_via_xmlhttprequest_enabled'] = 'Einstellung, ob Entw&uuml;rfe via Javascript gespeichert und XMLHTTP-Requests erlaubt werden sollen. [Standard = Ja ]';
-$messages['help_locale_folder'] = 'Verzeichnis, in dem die Sprachdateien gespeichert werden [Standard = ./locale]';
-$messages['help_default_locale'] = 'Standard Spracheinstellung f&uuml;r neue Blogs [Standard = en_UK]';
-$messages['help_default_blog_id'] = 'Standard Blog, das angezeigt wird, wenn kein anderes festgelegt ist [Standard = 1]';
-$messages['help_default_time_offset'] = 'Standard Zeitabgleich f&uuml;r neue Blogs [Standard = 0]';
-$messages['help_html_allowed_tags_in_comments'] = 'Leerzeichen-getrennte Liste der in Kommentaren erlaubten HTML-Tags [Standard = &lt;a&gt;&lt;i&gt;&lt;br&gt;&lt;br/&gt;&lt;b&gt;]';
-$messages['help_referer_tracker_enabled'] = 'Wenn diese Funktion aktiviert ist, werden die Referrer (verweisenden Seiten) in der Datenbank gespeichert. Deaktivieren Sie diese Funktion, wenn Sie die Performance der Blogs verbessern m&ouml;chten [Standard = Ja]';
-$messages['help_show_more_enabled'] = '"weiter..."-Link f&uuml;r neue Blogs freigeben [Standard = Ja]';
-$messages['help_update_article_reads'] = 'Aktivieren oder deaktivieren Sie die automatische Aktualisierung des Z&auml;hlers f&uuml;r die H&auml;ufigkeit des Zugriffs auf einzelne Artikel. Deaktivieren Sie diese Funktion, wenn Sie die Performance der Blogs verbessern m&ouml;chten. [Standard = Ja]';
-$messages['help_update_cached_article_reads'] = 'Aktivieren oder deaktivieren Sie die automatische Aktualisierung des Z&auml;hlers f&uuml;r die H&auml;ufigkeit des Zugriffs auf einzelne Artikel auch, wenn Caching aktiviert ist [Standard = Ja]';
-$messages['help_xmlrpc_ping_enabled'] = 'Aktivieren oder deaktivieren Sie das Senden von XMLRPC-Pings an Sites, die dieses Feature unterst&uuml;tzen [Standard = Ja]';
-$messages['help_send_xmlrpc_pings_enabled_by_default'] = 'Aktivieren oder deaktivieren Sie das automatische Senden von XMLRPC-Pings an Sites, die dieses Feature unterst&uuml;tzen beim Verfassen oder Aktualisieren von Artikeln [Standard = Ja]';
-$messages['help_xmlrpc_ping_hosts'] = 'URL Verweis zum XMLRPC-Interface f&uuml;r Sites, die die XMLRPC-Ping Spezifikation unterst&uuml;tzen. Schreiben Sie jeden URL in eine neue Zeile. [Standard = http://rpc.weblogs.com/RPC2]';
-$messages['help_trackback_server_enabled'] = 'Verarbeiten eingehender Trackbacks aktivieren oder deaktivieren [Standard = Ja]';
-$messages['help_htmlarea_enabled'] = 'Den WYSIWYG-Editor f&uuml;r neue Blogs aktivieren oder deaktivieren [Standard = Ja]';
-$messages['help_plugin_manager_enabled'] = 'Die Verwendung von Plugins erm&ouml;glichen [Standard = Ja]';
-$messages['help_minimum_password_length'] = 'Mindestl&auml;nge f&uuml;r Kennw&ouml;rter [Standard = 4]';
-$messages['help_xhtml_converter_enabled'] = 'Wenn aktiviert, versucht LifeType s&auml;mtlichen HTML-Code in g&uuml;ltiges XHTML zu konvertieren [Standard = Ja]';
-$messages['help_xhtml_converter_aggressive_mode_enabled'] = 'Wenn aktiviert, versucht LifeType s&auml;mtlichen HTML-Code agressiv in g&uuml;ltiges XHTML zu konvertieren (diese Einstellung ist sehr fehleranf&auml;llig und mit Vorsicht zu verwenden). [Standard = Nein]';
-$messages['help_session_save_path'] = 'Verzeichnis, in das LifeType Sessiondaten mithilfe der PHP Funktion session_save_path() speichert. Bitte stellen Sie sicher, dass dieses Verzeichnis f&uuml;r den Webserver beschreibbar ist. Wenn Sie diese Einstellung leer lassen, wird das StandardVerzeichnis von PHP benutzt. [Standard = (leer)]';
-// summary settings
-$messages['help_summary_page_show_max'] = 'Anzahl der Eintr&auml;ge, die auf der &Uuml;bersichtsseite angezeigt werden. Diese Einstellung gilt f&uuml;r alle Listen auf der &Uuml;bersichtsseite (aktuelle Artikel, aktivste Blogs, usw.) [Standard = 10]';
-$messages['help_summary_items_per_page'] = 'Anzahl der Blogs pro Seite in der "Blog Liste" [Standard = 25]';
-$messages['help_forbidden_usernames'] = 'Leerzeichen-getrennte Liste der nicht erlaubten Benutzernamen [Standard = admin www blog ftp]';
-$messages['help_force_one_blog_per_email_account'] = 'Begrenzung auf maximal ein Blog pro E-Mail Account [Standard = Nein]';
-$messages['help_summary_show_agreement'] = 'Vereinbarung anzeigen und von neuen Benutzern akzeptieren lassen, bevor die Registrierung abgeschlossen wird [Standard = Ja]';
-$messages['help_need_email_confirm_registration'] = 'Neue Benutzer zwingen Ihre Registrierung &uuml;ber das Klicken eines Links zu best&auml;tigen, der Ihnen per E-Mail an Ihren Account gesendet wird [Standard = Ja]';
-$messages['help_summary_disable_registration'] = 'Benutzern verbieten, neue Blogs zu registrieren [Standard = Nein]';
-// templates
-$messages['help_template_folder'] = 'Verzeichnis, in dem Templates gespeichert werden [Standard = ./templates]';
-$messages['help_default_template'] = 'Standardtemplate f&uuml;r neue Blogs [Standard = standard]';
-$messages['help_users_can_add_templates'] = 'Benutzern erm&ouml;glichen, eigene Templates hochzuladen [Standard = Ja]';
-$messages['help_template_compile_check'] = 'Aktivieren Sie diese Funktion, um Dateien durch Smarty automatisch auf aktuellere Versionen pr&uuml;fen zu lassen. Deaktivieren Sie diese Funktion, um die Perfomance zu steigern [Standard = Ja]';
-$messages['help_template_cache_enabled'] = 'Aktivieren des Template-Cache. Wenn aktiviert, wird, falls m&ouml;glich,  eine zwischengespeicherte Version von Seiten benutzt. Dadurch m&uuml;ssen weniger Daten aus der Datenbank abgerufen und Templates seltener neu gerendert werden. [Standard = Ja]';
-$messages['help_template_cache_lifetime'] = 'Verfallszeit des Cache in Sekunden. Setzen Sie den Wert auf -1, um den Cache nie verfallen zu lassen. Wenn Sie den Wert auf 0 setzen, wird der Cache deaktiviert. Setzen Sie hierzu allerdings besser "Aktivieren des Template-Cache" auf "Nein". [Standard = 0]';
-$messages['help_template_http_cache_enabled'] = 'Unterst&uuml;tzung f&uuml;r HTTP-Request aktivieren. Wenn aktiviert, f&uuml;gt LifeType dem HTTP-Header "If-Modified-Since"-Informationen zu. So mu&szlig; nur unbedingt erforderlicher Inhalt gesendet werden. Benutzen Sie diese Einstellung, um Bandbreite zu sparen. [Standard = Nein]';
-$messages['help_allow_php_code_in_templates'] = 'Nativen PHP-Code in Smarty-Templates innerhalb von {php}...{/php} Bl&ouml;cken erlauben [Standard = Nein]';
-// urls
-$messages['help_request_format_mode'] = 'W&auml;hlen Sie ein URL-Format. Wenn Sie benutzerdefinierte URLs verwenden m&ouml;chten, stellen Sie sicher, dass die folgenden Einstellungen ebenfalls konfiguriert sind. [Standard = einfach]';
-$messages['plain'] = 'einfach';
-$messages['search_engine_friendly'] = 'Suchmaschinenoptimiert';
-$messages['custom_url_format'] = 'benutzerdefinierte URLs';
-$messages['help_permalink_format'] = 'Format f&uuml;r Permalinks bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/{catname}/{year}/{month}/{day}/{postname}$]';
-$messages['help_category_link_format'] = 'Format f&uuml;r Links zu Kategorien bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/{catname}$]';
-$messages['help_blog_link_format'] = 'Format f&uuml;r Links zu Blogs bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}$]';
-$messages['help_archive_link_format'] = 'Format f&uuml;r Links zu Archiven bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/archives/{year}/?{month}/?{day}]';
-$messages['help_user_posts_link_format'] = 'Format f&uuml;r Links zu Artikeln eines bestimmten Benutzers bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/user/{username}$]';
-$messages['help_post_trackbacks_link_format'] = 'Format f&uuml;r Links zur Trackback-Seite bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/post/trackbacks/{postname}$]';
-$messages['help_template_link_format'] = 'Format f&uuml;r Links zu benutzerdefinierten statischen Templateseiten bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/page/{templatename}$]';
-$messages['help_album_link_format'] = 'Format f&uuml;r Links zu Ressource-Alben bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/album/{albumname}$]';
-$messages['help_resource_link_format'] = 'Format f&uuml;r Links zu Ressource-Seiten mit Dateien bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/resource/{albumname}/{resourcename}$]';
-$messages['help_resource_preview_link_format'] = 'Format f&uuml;r Links zu Ressource-Vorschauen bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/resource/{albumname}/preview/{resourcename}$]';
-$messages['help_resource_medium_size_preview_link_format'] = 'Format f&uuml;r Links zu gr&ouml;&szlig;enreduzierten Ressource-Vorschauen bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/resource/{albumname}/preview-med/{resourcename}$]';
-$messages['help_resource_download_link_format'] = 'Format f&uuml;r Links zu Dateien bei der Verwendung benutzerdefinierter URLs [Standard = /blog/{blogname}/resource/{albumname}/download/{resourcename}$]';
-// email
-$messages['help_check_email_address_validity'] = 'Beim Pr&uuml;fen von E-Mail Adressen pr&uuml;fen, ob unter der angegebenen Domain MX-Records definiert sind und die Adresse auf eine g&uuml;tige Mailbox verweist [Standard = Nein]';
-$messages['help_email_service_enabled'] = 'Versenden von E-Mails erm&ouml;glichen [Standard = Ja]';
-$messages['help_post_notification_source_address'] = 'E-Mail Adresse, die als Absenderadresse erscheint, wenn LifeType E-Mails versendet [Standard = noreply at your.host.com]';
-$messages['help_email_service_type'] = 'System, mit dem E-Mails versendet werden [Standard = PHP]';
-$messages['help_smtp_host'] = 'Wenn Sie SMTP zum Versenden von E-Mails verwenden m&ouml;chten, geben Sie hier den SMTP-Server an, der verwendet werden soll [Standard = (empty)]';
-$messages['help_smtp_port'] = 'Falls der SMTP-Server unter einem anderen Port als 25 l&auml;uft, geben Sie hier den entsprechenden Port an [Standard = (leer)]';
-$messages['help_smtp_use_authentication'] = 'Aktivieren Sie diese Einstellung, falls f&uuml;r das Senden von E-Mails am SMTP-Server Authentifizierung erforderlich ist [Standard = Nein]';
-$messages['help_smtp_username'] = 'Falls f&uuml;r das Senden von E-Mails am SMTP-Server Authentifizierung erforderlich ist, geben Sie hier den Benutzernamen an [Standard = (leer)]';
-$messages['help_smtp_password'] = 'Falls f&uuml;r das Senden von E-Mails am SMTP-Server Authentifizierung erforderlich ist, geben Sie hier das Kennwort f&uuml;r das angegebene Benutzerkonto an [Standard = (leer)]';
-// helpers
-$messages['help_path_to_tar'] = 'Pfad zum "tar"-Tool, ben&ouml;tigt zum Entpacken von Template-Sets aus .tar.gz- oder tar.bz2-Dateien [Standard = /bin/tar]';
-$messages['help_path_to_gzip'] = 'Pfad zum "gzip"-Tool, ben&ouml;tigt zum Entpacken von Template-Sets aus .tar.gz-Dateien [Standard = /bin/gzip]';
-$messages['help_path_to_bz2'] = 'Pfad zum "bzip2"-Tool, ben&ouml;tigt zum Entpacken von Template-Sets aus tar.bz2-Dateien [Standard = /usr/bin/bzip2]';
-$messages['help_path_to_unzip'] = 'Pfad zum "unzip"-Tool, ben&ouml;tigt zum Entpacken von Template-Sets aus .zip-Dateien [Standard = /usr/bin/unzip]';
-$messages['help_unzip_use_native_version'] = 'PHP zum entpacken von .zip-Dateien verwenden [Standard = Nein]';
-// uploads
-$messages['help_uploads_enabled'] = 'Benutzern erlauben, Dateien hochzuladen. Diese Einstellung betrifft die Ressourcenveraltung und das Hochladen benutzerdefinierter Templates und Sprachdateien  [Standard = Ja]';
-$messages['help_maximum_file_upload_size'] = 'Maximale Dateigr&ouml;&szlig;e in Bytes. PHP-Beschr&auml;nkungen k&ouml;nnen mit dieser Einstellung nicht umgangen werden. [Standard = 2000000]';
-$messages['help_upload_forbidden_files'] = 'Leerzeichen-getrennte Liste der nicht erlaubten Dateitypen. \'*\' und \'?\' k&ouml;nnen verwendet werden [Standard = *.php *.php3 *.php4 *.phtml]';
-// interfaces
-$messages['help_xmlrpc_api_enabled'] = 'Zugang zu Blogs via XMLRPC erm&ouml;glichen [Standard = Ja]';
-$messages['help_rdf_enabled'] = 'Atom und RSS Feeds erm&ouml;glichen [Standard = Ja]';
-$messages['help_default_rss_profile'] = 'Standardversion von RSS oder Atom, wenn nicht anders festgelegt [Standard = RSS 1.0]';
-// security
-$messages['help_security_pipeline_enabled'] = 'Sicherheits-Pipeline und alle zugeh&ouml;rigen Filter aktivieren. Diese Einstellung wirkt sich auch auf alle Plugins aus, die neue Filter registrieren [Standard = Ja]';
-$messages['help_maximum_comment_size'] = 'Maximale Gr&ouml;&szlig;e f&uuml;r Kommentare in Bytes. Um die Gr&ouml;&szlig;e nicht zu beschr&auml;nken, stellen Sie 0 ein. [Standard = 0]';
-// bayesian filter
-$messages['help_bayesian_filter_enabled'] = 'Den bayes\'schen Filter f&uuml;r verbesserte Spam-Filterung verwenden [Standard = Ja]';
-$messages['help_bayesian_filter_spam_probability_treshold'] = 'Schwelle, ab der ein Kommentar als Spam betrachtet wird [Standard = 0.9]';
-$messages['help_bayesian_filter_nonspam_probability_treshold'] = 'Schwelle, ab der ein Kommentar als "nicht-Spam" betrachtet wird [Standard = 0.2]';
-$messages['help_bayesian_filter_min_length_token'] = 'Minimall&auml;nge f&uuml;r Zeichenfolgen, um f&uuml;r den bayes\'schen Filter relevant zu sein [Standard = 3]';
-$messages['help_bayesian_filter_max_length_token'] = 'Maximall&auml;nge f&uuml;r Zeichenfolgen, um f&uuml;r den bayes\'schen Filter relevant zu sein  [Standard = 100]';
-$messages['help_bayesian_filter_number_significant_tokens'] = 'Anzahl ma&szlig;geblicher Zeichenfolgen [Standard = 15]';
-$messages['help_bayesian_filter_spam_comments_action'] = 'Aktion, nachdem ein Kommentar als "Spam" erkannt wurde. W&auml;hlen Sie "L&ouml;schen" erst, wenn der Spam-Filter ausreichend trainiert wurde [Standard = "als Spam makiert speichern"]';
-$messages['keep_spam_comments'] = 'In der Datenbank als "Spam" makiert speichern';
-$messages['throw_away_spam_comments'] = 'l&ouml;schen (nicht speichern)';
-// resources
-$messages['help_resources_enabled'] = 'Ressourcenveraltung erm&ouml;glichen [Standard = Ja]';
-$messages['help_resources_folder'] = 'Verzeichnis, in das Ressource-Dateien gespeichert werden. W&auml;hlen Sie ein Verzeichnis ausserhalb des Webserver-Verzeichnisbaums, um die Sicherheit zu erh&ouml;hen. [Standard = ./gallery]';
-$messages['help_thumbnail_method'] = 'Methode, um Vorschaubilder (Thumbnails) zu erstellen. Falls Sie PHP verwenden, ist GD-Support erforderlich [Standard = PHP]';
-$messages['help_path_to_convert'] = 'Pfad zum "convert"-Tool von ImageMagick. Erforderlich, falls die Vorschaubilder mit ImageMagick erstellt werden sollen [Standard = /usr/bin/convert]';
-$messages['help_thumbnail_format'] = 'Format, in dem Thumbnails gespeichert werden sollen. [Standard = wie Original]';
-$messages['help_thumbnail_height'] = 'Standardh&ouml;he f&uuml;r Thumbnails [Standard = 120]';
-$messages['help_thumbnail_width'] = 'Standardbreite f&uuml;r Thumbnails [Standard = 120]';
-$messages['help_medium_size_thumbnail_height'] = 'Standardh&ouml;he f&uuml;r Medium-Thumbnails [Standard = 480]';
-$messages['help_medium_size_thumbnail_width'] = 'Standardbreite f&uuml;r Medium-Thumbnails  [Standard = 640]';
-$messages['help_thumbnails_keep_aspect_ratio'] = 'Seitenverh&auml;hltnis beim Generieren von Thumbnails beibehalten. Generiert eventuell gr&ouml;&szlig;ere Thumbnails als oben eingestellt. [Standard = Ja]';
-$messages['help_thumbnail_generator_force_use_gd1'] = 'LifeType zwingen nur GD1Funktionen zu nutzen [Standard = Nein]';
-$messages['help_thumbnail_generator_user_smoothing_algorithm'] = 'Algorithmus um Thumbnails zu gl&auml;tten. Findet nur bei der Erstellung von Thumbnails mit GD Verwendung. [Standard = PHP Imagecopyresampled]';
-$messages['help_resources_quota'] = 'Globales Maximalkontingent f&uuml;r Ressource-Dateien in Bytes (z.B. 5242880 Bytes = 5MB), 0 hebt die Beschr&auml;nkung auf. [Standard = 0]';
-$messages['help_resource_server_http_cache_enabled'] = 'Support f&uuml;r "If-Modified-Since"-Header und HTTP-conditional Requests aktivieren. Aktivieren Sie diese Einstellung f&uuml;r maximale Bandbreiten Einsparung. [Standard = Nein]';
-$messages['help_resource_server_http_cache_lifetime'] = 'Zeit in Mikrosekunden, f&uuml;r die Clients die gecachte Version von Ressourcen nutzen sollen [Standard = 9999999]';
-// search
-$messages['help_search_engine_enabled'] = 'Suchmaschine aktivieren [Standard = Ja]';
-$messages['help_search_in_custom_fields'] = 'Suche in benutzerdefinierten Feldern erm&ouml;glichen [Standard = Ja]';
-$messages['help_search_in_comments'] = 'Suche in Kommentaren erm&ouml;glichen [Standard = Ja]';
-
-// cleanup
-$messages['purge'] = 'Reinigung';
-$messages['cleanup_spam'] = 'Spam Reinigung';
-$messages['cleanup_spam_help'] = 'Hiermit werden alle Kommentare entg&uuml;ltig gel&ouml;scht, die als Spam makiert sind. Es ist nicht m&ouml;glich, diese anschlie&szlig;end wiederherzustellen.';
-$messages['spam_comments_purged_ok'] = 'Spam Kommentare wurden entg&uuml;ltig gel&ouml;scht';
-$messages['cleanup_posts'] = 'Artikel Reinigung';
-$messages['cleanup_posts_help'] = 'Hiermit werden alle Artikel entg&uuml;ltig gel&ouml;scht, die von den Benutzern gel&ouml;scht (als "gel&ouml;scht" markiert) worden sind. Es ist nicht m&ouml;glich, diese anschlie&szlig;end wiederherzustellen.';
-$messages['posts_purged_ok'] = 'Artikel wurden entg&uuml;ltig gel&ouml;scht';
-
-/// summary ///
-// front page
-$messages['summary'] = 'Zusammenfassung';
-$messages['register'] = 'anmelden';
-$messages['summary_welcome'] = 'Willkommen!';
-$messages['summary_most_active_blogs'] = 'aktivste Blogs';
-$messages['summary_most_commented_articles'] = 'am h&auml;ufigsten kommentierte Artikel';
-$messages['summary_most_read_articles'] = 'am h&auml;ufigsten gelesene Artikel';
-$messages['password_forgotten'] = 'Haben Sie Ihr Kennwort vergessen?';
-$messages['summary_newest_blogs'] = 'Neue Blogs';
-$messages['summary_latest_posts'] = 'aktuellste Artikel';
-$messages['summary_search_blogs'] = 'Blogs durchsuchen';
-
-// blog list
-$messages['updated'] = 'aktualisiert';
-$messages['total_reads'] = 'total';
-
-// blog profile
-$messages['blog'] = 'Blog';
-$messages['latest_posts'] = 'aktuellste Artikel';
-
-// registration
-$messages['register_step0_title'] = 'Nutzungsbedingungen akzeptieren';
-$messages['decline'] = 'ablehnen';
-$messages['accept'] = 'akzeptieren';
-$messages['read_service_agreement'] = 'Bitte lesen die Nutzungsbedingungen und klicken auf "akzeptieren, wenn Sie einverstanden sind.';
-$messages['register_step1_title'] = 'Benutzerkonto anlegen [1/4]';
-$messages['register_step1_help'] = 'Sie m&uuml;ssen zuerst ein neues Benutzerkonto anlegen, wenn Sie ein Blog einrichten m&ouml;chten. Der Benutzer wird der Besitzer dieses Blogs und hat Zugang zu allen Funktionen';
-$messages['register_next'] = 'Weiter';
-$messages['register_back'] = 'Zur&uuml;ck';
-$messages['register_step2_title'] = 'Blog einrichten [2/4]';
-$messages['register_blog_name_help'] = 'Name des neuen Blogs';
-$messages['register_step3_title'] = 'Template ausw&auml;hlen [3/4]';
-$messages['step1'] = 'Schritt 1';
-$messages['step2'] = 'Schritt 2';
-$messages['step3'] = 'Schritt 3';
-$messages['register_step3_help'] = 'W&auml;hlen Sie ein verf&uuml;gbares Template als Standard-Template f&uuml;r Ihr Blog. Es kann sp&auml;ter noch ge&auml;ndert werden.';
-$messages['error_must_choose_template'] = 'Bitte w&auml;hlen Sie ein Template';
-$messages['select_template'] = 'Template ausw&auml;hlen';
-$messages['register_step5_title'] = 'Herzlichen Gl&uuml;ckwunsch! [4/4]';
-$messages['finish'] = 'fertig';
-$messages['register_need_confirmation'] = 'Eine E-Mail Best&auml;tigung wurde an Ihre E-Mail Adresse geschickt. Klicken Sie auf dendarin enthaltenen Link, sobald Sie die Nachricht erhalten haben, um direkt zu starten!';
-$messages['register_step5_help'] = 'Gl&uuml;ckwunsch, das neue Benutzerkonto und das neue Blog wurden erfolgreich angelegt!';
-$messages['register_blog_link'] = 'Wenn Sie direkt einen Blick auf Ihr neues Blog werfen m&ouml;chten, gehen Sie zu: <a href="%2$s">%1$s</a>';
-$messages['register_blog_admin_link'] = 'Wenn Sie direkt einen Artikel verfassen m&ouml;chten, gehen Sie direkt zur <a href="admin.php">Administrationsbereich</a>';
-$messages['register_error'] = 'W&auml;hrend des Prozesses ist ein Fehler aufgetreten.';
-$messages['error_registration_disabled'] = 'Die Registrierung neuer Blogs ist f&uuml;r diese Site gesperrt worden.';
-// registration article topic and text
-$messages['register_default_article_topic'] = 'Herzlichen Gl&uuml;ckwunsch!';
-$messages['register_default_article_text'] = 'Wenn Sie diesen Artikel lesen k&ouml;nnen, war die Registrierung erfolgreich und Sie k&ouml;nnen direkt mit dem Bloggen beginnen.';
-$messages['register_default_category'] = 'Allgemein';
-// confirmation email
-$messages['register_confirmation_email_text'] = 'Bitte klicken Sie auf den untenstehenden Link, um Ihr Blog zu aktivieren:
-
-%s
-
-Have a nice day';
-$messages['error_invalid_activation_code'] = 'Der Best&auml;tigungscode ist leider ung&uuml;ltig.';
-$messages['blog_activated_ok'] = 'Herzlichen Gl&uuml;ckwunsch, Ihr neues Benutzerkonto und Ihr neues Blog sind erfolgreich best&auml;tigt!';
-// forgot your password?
-$messages['reset_password'] = 'Kennwort zur&uuml;cksetzen';
-$messages['reset_password_username_help'] = 'Name des Benutzers, dessen Kennwort Sie zur&uuml;cksetzen m&ouml;chten';
-$messages['reset_password_email_help'] = 'E-Mail Addresse, die zum Registrieren dieses Benutzers verwendet wurde';
-$messages['reset_password_help'] = 'Benutzen Sie dieses Formular, um das Kennwort Ihres Benutzerkontos zur&uuml;ckzusetzen, falls Sie sich daran nicht erinnern k&ouml;nnen. Bitte geben Sie den Benutzernamen und die E-Mail Adresse ein, die zum Registrieren verwendet wurde.';
-$messages['error_resetting_password'] = 'Beim Zur&uuml;cksetzen des Kennworts ist ein Fehler aufgetreten. Bitte &uuml;berpr&uuml;fen Sie Ihre Eingaben und versuchen Sie es erneut.';
-$messages['reset_password_error_incorrect_email_address'] = 'Die E-Mail Adresse ist ung&uuml;ltig, oder nicht die Adresse, mit der dieser Benutzer registriert wurde.';
-$messages['password_reset_message_sent_ok'] = 'Eine Nachricht mit einem Link wurde an die angegebene E-Mail Adresse gesendet. Bitte klicken Sie auf diesen Link, um Ihr Kennwort zur&uuml;ckzusetzen.';
-$messages['error_incorrect_request'] = 'Die URL-Parameter sind ung&uuml;ltig.';
-$messages['change_password'] = 'neues Kennwort erstellen';
-$messages['change_password_help'] = 'Bitte geben Sie das neue Kennwort ein und best&auml;tigen Sie es.';
-$messages['new_password'] = 'Neues Kennwort';
-$messages['new_password_help'] = 'Geben Sie hier Ihr neues Kennwort ein.';
-$messages['password_updated_ok'] = 'Ihr Kennwort wurde erfolgreich aktualisiert.';
-
-// Suggested by BCSE, some useful messages that not available in official locale
-$messages['upgrade_information'] = 'Diese Seite wird unsch&ouml;n dargestellt, da Sie einen Browser benutzen, der aktelle Web-Standards nicht unterst&uuml;tzt. Um diese Seite richtig darzustellen, empfehlen wir Ihnen den Browser zu <a href="http://www.webstandards.org/upgrade/" title="The Web Standards Project\'s Browser Upgrade initiative">aktualisieren</a>. Dies ist kostenlos und wird Sie nicht viel Zeit kosten.';
-$messages['jump_to_navigation'] = 'Zur Navigation wechseln.';
-$messages['comment_email_never_display'] = 'Zeilenumbr&uuml;che und Abs&auml;tze werden automatisch hinzugef&uuml;gt. Die E-Mail Adresse wird nicht angezeigt.';
-$messages['comment_html_allowed'] = '<acronym title="Hypertext Markup Language">HTML</acronym> erlaubt: &lt;<acronym title="Hyperlink">a</acronym> href=&quot;&quot; title=&quot;&quot; rel=&quot;&quot;&gt; &lt;<acronym title="Acronym Description">acronym</acronym> title=&quot;&quot;&gt; &lt;<acronym title="Quote">blockquote</acronym> cite=&quot;&quot;&gt; &lt;<acronym title="Strike">del</acronym>&gt; &lt;<acronym title="Italic">em</acronym>&gt; &lt;<acronym title="Underline">ins</acronym>&gt; &lt;<acronym title="Bold">strong</acronym>&gt;';
-$messages['trackback_uri'] = 'Der <acronym title="Uniform Resource Identifier">URI</acronym> um diesem Artikel einen Trackback hinzuzuf&uuml;gen lautet: ';
-$messages['previous_post'] = 'zur&uuml;ck';
-$messages['next_post'] = 'vor';
-$messages['comment_default_title'] = '(ohne Titel)';
-$messages['guestbook'] = 'G&auml;stebuch';
-$messages['trackbacks'] = 'Trackbacks';
-$messages['menu'] = 'Menu';
-$messages['albums'] = 'Alben';
-$messages['admin'] = 'Admin';
-
-$messages['xmlrpc_ping_ok'] = 'XMLRPC Ping erfolgreich versandt an: ';
-$messages['error_sending_xmlrpc_ping'] = 'Fehler beim Pingen von: ';
-$messages['error_sending_xmlrpc_ping_message'] = 'Fehler beim Pingen von: ';
-
-//
-// new strings for 1.1
-//
-$messages['error_incorrect_trackback_id'] = 'Die Trackback-ID ist falsch';
-$messages['error_marking_trackback_as_spam'] = 'Beim Markieren des Trackbacks als Spam ist ein Fehler aufgetreten';
-$messages['trackback_marked_as_spam_ok'] = 'Der Trackback wurde erfolgreich als Spam markiert';
-$messages['error_marking_trackback_as_nonspam'] = 'Beim Markieren des Trackbacks als Kein-Spam ist ein Fehler aufgetreten';
-$messages['trackback_marked_as_nonspam_ok'] = 'Der Trackback wurde erfolgreich als Kein-Spam markiert';
-$messages['upload_here'] = 'Hier hochladen';
-$messages['reply_string'] = 'Re: ';
-$messages['cleanup_users'] = 'Bereinige Benutzer';
-$messages['cleanup_users_help'] = 'Diese Aktion wird alle Benutzer endg&uuml;ltig aus der Datenbank l&ouml;schen, welche vom Administrator als "gel&ouml;scht" markiert wurden. Gleichzeitig werden auch alle Blogs dieses Benutzers, und deren Inhalte gel&ouml;scht. Falls dieser Benutzer Schreibrechte f&uuml;r andere Blogs hat, werden dessen Beitr&auml;ge ebenfalls gel&ouml;scht. Diese Aktion kann nicht r&uuml;ckg&auml;ngig gemacht werden!';
-$messages['users_purged_ok'] = 'Benutzer erfolgreich bereinigt';
-$messages['cleanup_blogs'] = 'Bereinige Blogs';
-$messages['cleanup_blogs_help'] = 'Dies wird alle Blogs endg&uuml;ltig aus der Datenbank l&ouml;schen, welche vom Administrator als "gel&ouml;scht" markiert wurden. Alle Inhalte des Blogs werden endg&uuml;ltig gel&ouml;scht.  Diese Aktion kann nicht r&uuml;ckg&auml;ngig gemacht werden!';
-$messages['blogs_purged_ok'] = 'Blogs erfolgreich bereinigt';
-$messages['help_use_http_accept_language_detection'] = 'Die meisten Webbrowser, wie Mozilla Firefox, Safari oder Internet Explorer, senden mindestens einen Sprachcode, den der Benutzer verstehen <i>sollte</i>. Wenn dieses Feature aktiviert ist, versucht LifeType dem Benutzer automatisch in dieser Sprache zu antworten (falls diese installiert ist). [Standard = Nein]';
-$messages['error_invalid_blog_category'] = 'Ung&uuml;ltige Blogkategorie';
-$messages['error_adding_blog_category'] = 'Beim Hinzuf&uuml;gen der Blogkategorie ist ein Fehler aufgetreten';
-$messages['newBlogCategory'] = 'Neue Blogkategorie';
-$messages['editBlogCategories'] = 'Blogkategorien';
-$messages['blog_category_added_ok'] = 'Blogkategorie erfolgreich hinzugef&uuml;gt';
-$messages['error_blog_category_has_blogs'] = 'Die Blogkategorie "%s" hat ein oder mehrere zugeordnete Blogs. Bitte entfernen Sie zuerst die Zuordnung der Blogs zu dieser Kategorie, bevor Sie diese Kategorie l&ouml;schen.';
-$messages['error_deleting_blog_category'] = 'Beim l&ouml;schen der Blogkategorie "%s" ist ein Fehler aufgetreten';
-$messages['blog_category_deleted_ok'] = 'Die Blogkategorie "%s" wurde erfolgreich gel&ouml;scht';
-$messages['blog_categories_deleted_ok'] = '%s Blogkategorien erfolgreich gel&ouml;scht';
-$messages['error_deleting_blog_category2'] = 'Beim L&ouml;schen der Blogkategorie mit der ID %s ist ein Fehler aufgetreten';
-$messages['blog_category'] = 'Blogkategorie';
-$messages['blog_category_help'] = 'Globale Blogkategorie, die diesem Blog zugeordnet ist';
-$messages['help_use_captcha_auth'] = 'Benutze einen CAPTCHA-Mechanismus bei der Anmeldeprozedur, um die automatische Anmeldung durch Scripte oder Bots zu unterbinden [ Standard = Nein ]';
-$messages['help_skip_dashboard'] = 'Das Dashboard wird nicht mehr angezeigt, statt dessen wird der Benutzer direkt zum ersten Blog geleitet, zu welchem er die Zugriffsrechte hat [ Standard = Nein ]';
-$messages['manageGlobalArticleCategory'] = 'Globale Artikelkategorien';
-$messages['newGlobalArticleCategory'] = 'Neue globale Artikelkategorie';
-$messages['editGlobalArticleCategories'] = 'Globale Artikelkategorien';
-$messages['global_category_name_help'] = 'Name der neuen globalen Artikelkategorie';
-$messages['global_category_description_help'] = 'Beschreibung der neuen globalen Artikelkategorie';
-$messages['error_incorrect_global_category_id'] = 'Ung&uuml;ltige globale Artikelkategorie';
-$messages['global_category_deleted_ok'] = 'Artikelkategorie "%s" erfolgreich gel&ouml;scht';
-$messages['global_category_added_ok'] = 'Globale Artikelkategorie "%s" erfolgreich hinzugef&uuml;gt';
-$messages['error_deleting_global_category2'] = 'Beim L&ouml;schen der globalen Artikelkategorie mit der ID = %s ist ein Fehler aufgetreten';
-$messages['help_page_suffix_format'] = 'Endung, welche an URL angeh&auml;ngt werden soll, die Paging unterst&uuml;tzen [ Standard = /page/{page} ]';
-$messages['help_final_size_thumbnail_width'] = 'Endg&uuml;ltige Breite hochgeladener Bilder. Leer lassen oder Wert auf 0 setzen, um die Originalgr&ouml;&szlig;e beizubehalten [ Standard = 0 ]';
-$messages['help_final_size_thumbnail_height'] = 'Endg&uuml;ltige H&ouml;he hochgeladener Bilder. Leer lassen oder Wert auf 0 setzen, um die Originalgr&ouml;&szlig;e beizubehalten [ Standard = 0 ]';
-$messages['error_comment_too_big'] = 'Der Kommentar ist zu lang';
-$messages['error_you_have_been_blocked'] = 'Blockiert: Diese Abfrage wurde nicht ausgef&uuml;hrt.';
-$messages['created'] = 'Erzeugt';
-$messages['view'] = 'Ansicht';
-$messages['editUser'] = 'Bearbeite Benutzer';
-$messages['help_urlize_word_separator'] = 'Zeichen, welches f&uuml;r URLs die auf Lifetype verweisen sollen, als Worttrenner verwendet wird. Dies wird ebenso genutzt, wenn bei aktivierten Subdomains Hostnamen aus Blognamen erzeugt werden. [ Standard = _ ]';
-$messages['help_summary_template_cache_lifetime'] = 'Lebensdauer des Caches der &Uuml;bersicht in Sekunden. Ist ein Wert gesetzt, wird der Cache der &Uuml;bersicht in dieser Zeit erneuert, anstatt bei jeder &Auml;nderung. [ Standard = 0 ]';
-$messages['register_default_album_name'] = 'Standard';
-$messages['register_default_album_description'] = 'Benutzen Sie dieses Album zum Hochladen neuer Bilder.';
-$messages['show_in_summary'] = 'Zeige in der &Uuml;bersicht';
-$messages['show_in_summary_help'] = 'Zeige dieses Blog in der &Uuml;bersicht.';
-$messages['saving_message'] = 'Speichern...';
-$messages['show_option_panel'] = 'Zeige Optionen';
-$messages['hide_option_panel'] = 'Verberge Optionen';
-$messages['quick_launches'] = 'Schnellstart';
-$messages['confirmation_message_resent_ok'] = 'Die Best&auml;tigungsmail wurde erfolgreich neu gesendet.';
-$messages['goto_blog_page'] = 'Gehe zu %s';
-$messages['help_num_blogs_per_user'] = 'Zahl der Blogs, die ein Benutzer &uuml;ber das Administrationsinterface anlegen darf';
-$messages['massive_change_option'] = 'Optionen f&uuml;r Mehrfachbearbeitung';
-$messages['show_massive_change_option'] = 'Zeige Optionen f&uuml;r Mehrfachbearbeitung';
-$messages['hide_massive_change_option'] = 'Verberge Optionen f&uuml;r Mehrfachbearbeitung';
-$messages['change_status'] = '&Auml;ndere Status';
-$messages['change_category'] = '&Auml;ndere Kategorie';
-$messages['error_updating_comment_no_comment'] = 'Beim Aktualisieren des Kommentars ist ein Fehler aufgetreten. Kommentar #%s konnte nicht gefunden werden';
-$messages['error_updating_comment_wrong_blog'] = 'Beim Aktualisieren des Kommentars ist ein Fehler aufgetreten. Kommentar (%s) ist nicht diesem Blog zugeordnet.';
-$messages['error_updating_comment'] = 'Es ist ein Fehler beim Aktualisieren von (%s) aufgetreten';
-$messages['error_updating_comment_already_updated'] = '&Auml;nderungen f&uuml;r (%s) wurden nicht &uuml;bernommen';
-$messages['comment_updated_ok'] = 'Der Kommentar wurde erfolgreich aktualisiert.';
-$messages['comments_updated_ok'] = '%s Kommentare erfolgreich aktualisiert.';
-$messages['error_post_status'] = 'W&auml;hlen Sie bitte den Artikel-Status.';
-$messages['error_comment_status'] = 'W&auml;hlen Sie bitte den Kommentar-Status.';
-$messages['admin_mode'] = 'Admin Modus';
-$messages['administrate_user_blog'] = 'Dieses Blog administrieren';
-$messages['trackbacks_updated_ok'] = '%s Trackbacks erfolgreich aktualisiert';
-$messages['trackback_updated_ok'] = 'Trackback erfolgreich aktualisiert';
-$messages['error_trackback_status'] = 'Bitte w&auml;hlen Sie einen g&uuml;ltigen Status';
-$messages['error_incorrect_user'] = 'Benutzer ist ung&uuml;ltig';
-$messages['select'] = 'Auswahl';
-$messages['remove_selected'] = 'Entferne Auswahl';
-$messages['notification_subject'] = 'LifeType Benachrichtigungssystem';
-$messages['error_no_trackback_links_sent'] = 'Warnung: Trackbacks nicht gesendet.';
-$messages['logout_destination_url'] = 'URL auf welche der Benutzer beim Ausloggen geleitet wird (Standard: Login-Seite) [ Standard = leer ]';
-$messages['help_http_cache_lifetime'] = 'Lebensdauer des Browsercaches in Sekunden auf Benutzerseite (in dieser Zeit werden Seiten aus dem Browsercache des Benutzers aufgerufewn, was die Geschwindigkeit sp&uuml;rbar erh&ouml;ht, eventuell k&ouml;nnten aber aktuelle Artikel und Kommentare nicht angezeigt werden. [Standard = 1800]';
-$messages['trackbacks_no_trackback'] = 'Senden eines Trackbacks zu folgender URL fehlgeschlagen: ';
-$messages['error_comment_spam_throw_away'] = 'Das Senden dieser Nachricht wurde durch unseren Anti-Spamfilter blockiert.';
-$messages['error_comment_spam_keep'] = 'Der Anti-Spamfilter hat Ihren Beitrag zwischengespeichert. Nach Durchsicht durch den Betreiber des Blogs wird dieser in K&uuml;rze freigeschaltet.';
-$messages['blog_categories'] = 'Blogkategorien';
-$messages['global_article_categories'] = 'Globale Artikelkategorien';
-$messages['help_force_posturl_unique'] = 'Nur eindeutige Artikelbezeichnungen für die URL erstellen (Slug). Diese Funktion ist nur notwendig, wenn Sie das Datum aus den Benutzerdefinierten URLs entfernen. Also beispielsweise "http://domain.com/blog/mein-artikel". [ Standard = nein ]';
-$messages['default_send_notification'] = 'Benachrichtigungsfunktion Standardeinstellung';
-$messages['enable_pull_down_menu'] = 'PullDown-Men&uuml;';
-$messages['enable_pull_down_menu_help'] = 'Aktiviert oder deaktiviert das PullDown-Men&uuml;.';
-$messages['change_album'] = 'Wechsle Album';
-$messages['warning_autosave_message'] = '<img src="imgs/admin/icon_warning-16.png" alt="Fehler" class="InfoIcon"/><p class="ErrorText">M&ouml;glicherweise haben sie ungespeicherten Text bei fr&uuml;heren Verlassen dieser Seite hinterlassen. Wenn dem so ist, k&ouml;nnen Sie <a href="#" onclick="restoreAutoSave();">hier zum Wiederherstellen klicken</a> oder <a href="#" onclick="eraseAutoSave();">l&ouml;schen</a>.</p>';
-$messages['check_username'] = 'Prüfe Benutzername';
-$messages['check_username_ok'] = 'Der Benutzername ist verf&uuml;gbar!';
-$messages['error_username_exist'] = 'Sorry! Der Benutzername ist bereits vergeben, bitte w&auml;hlen Sie einen anderen.';
-$messages['error_rule_email_dns_server_temp_fail'] = 'Tempor&auml;rer Fehler - Bitte sp&auml;ter noch einmal versuchen.';
-$messages['error_rule_email_dns_server_unreachable'] = 'Der Emailserver ist nicht erreichbar.';
-$messages['error_rule_email_dns_not_permitted'] = 'E-Mail nicht erlaubt.';
-$messages['blog_users_help'] = 'Benutzer, welche Zugriff auf dieses Blog haben.';
-$messages['summary_welcome_paragraph'] = 'Sie sollten hier eine Willkommensnachricht platzieren, welche Ihre Benutzer als Erstes zu sehen bekommen. Oder Sie entfernen den Text komplett, und bauen die ganze Seite neu. Schauen Sie in den Ordner templates/summary/, hier sind alle Templates der &Uuml;bersicht zu finden. Damit k&ouml;nnen Sie das Erscheinungsbild der &Uuml;bersicht an Ihre Bed&uuml;rfnisse anpassen.';
-$messages['first_day_of_week'] = 1;
-$messages['first_day_of_week_label'] = 'Erster Tag der Woche';
-$messages['first_day_of_week_help'] = 'Erster Wochentag Ihres Kalenders';
-$messages['help_subdomains_base_url'] = 'Wenn Subdomains aktiviert sind, wird diese URL als Basis-URL benutzt. Verwenden Sie {blogname} um den Blognamen zu erhalten, {username} f&uuml;r den Benutzernamen (Besitzer des Blogs) und {blogdomain} um den Benutzer eine Subdomain w&auml;hlen zu lassen, unter der sein Blog erreichbar sein wird. (z.B. http://{blogname}.yourdomain.com)';
-$messages['registration_default_subject'] = 'LifeType Registrierungsbestätigung'; //keine HTML Entitäten in E-Mails
-$messages['error_invalid_subdomain'] = 'Der Subdomainname ist ung&uuml;ltig oder nicht zul&auml;ssig';
-$messages['register_blog_domain_help'] = 'Name und Subdomain welche Sie f&uuml;r Ihr neues Blog verwenden m&ouml;chten';
-$messages['domain'] = 'Domain';
-$messages['help_subdomains_available_domains'] = 'Geben Sie die erlaubten Domains durch Leerzeichen getrennt ein.  Der Benutzer wird eine Auswahlm&ouml;glichkeit bekommen, um die f&uuml;r ihn passende Adresse auszuw&auml;hlen. Dies wird nur gebraucht, wenn Subdomains und Blogdomains {blogdomain} in der Subdomain-Basis-URL aktiviert und eingetragen sind. Verwenden sie ein \'?\' wenn Sie irgend eine Domain erlauben wollen.';
-$messages['subdomains_any_domain'] = '<- Multi-Domain aktiviert. Geben Sie die vollst&auml;ndige Domain ein.';
-$messages['error_updating_blog_subdomain'] = 'Beim Aktualisieren der Subdomain ist ein Fehler aufgetreten.  Bitte pr&uuml;fen Sie die Daten, und versuchen Sie es erneut.';
-$messages['error_updating_blog_main_domain'] = 'Beim Aktualisieren der Hauptdomain-Einstellungen ist ein Fehler aufgetreten. M&ouml;glicherweise hat der Seitenadministrator etwas falsch konfiguriert.';
-$messages['monthsshort'] = Array( 'Jan', 'Feb', 'M&auml;r', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez' );
-$messages['weekdaysshort'] = Array( 'So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa' );
-$messages['search_type'] = 'Suche in';
-$messages['posts'] = 'Artikel';
-$messages['blogs'] = 'Blogs';
-$messages['resources'] = 'Resourcen';
-$messages['upload_in_progress'] = 'Daten werden gesendet, bitte warten...';
-$messages['error_incorrect_username'] = 'Der Benutzername ist nicht korrekt, er ist entweder schon vergeben, oder er ist zu lang (maximal 15 Zeichen!)';
-$messages['Miscellaneous'] = 'Verschiedenes';
-$messages['Plugins'] = 'Plugins';
-$messages['auth_img'] = 'Authentifizierungscode';
-$messages['auth_img_help'] = 'Bitte geben Sie den Code von dem Bild unten ein.';
-$messages['global_category'] = 'Globale Kategorie';
-$messages['global_article_category_help'] = 'Globale Kategorie f&uuml;r diesen Artikel';
-$messages['password_reset_subject'] = 'LifeType Passwortabfrage';
-
-// in der Vorlage fehlte noch:
-$messages['help_default_global_article_category_id'] = 'Standard-ID f&uuml;r globale Artikelkategorien';
-$messages['help_blog_does_not_exist_url'] = 'URL, der aufgerufen werden soll, wenn ein Blog nicht existiert';
-$messages['help_pull_down_menu_enabled'] = 'Das PullDown-Men&uuml; für die Navigation im Administrationsmenu aktivieren. (JavaScript erforderlich!)';
-$messages['help_logout_destination_url'] = 'URL auf welchen der Benutzer beim Ausloggen geleitet wird (Standard: Login-Seite) [ Standard = leer ]';
-$messages['bookmarklet'] = 'Bookmarklet';
-$messages['bookmarklet_help'] = 'F&uuml;gen Sie unten stehenden Link zu Ihren Lesezeichen hinzu, um Inhalte von anderen Seiten aus jederzeit in Ihrem Blog zu ver&ouml;ffentlichen.';
-$messages['trackback_urls_help'] = 'F&uuml;gen Sie hier die Adressen ein, zu denen ein Trackback angelegt werden soll.';
-$messages['trackback_urls'] = 'Trackback-URLs';
-
-
-// Korrekturen bitte im Forum melden: http://forums.lifetype.net/viewforum.php?f=14
-
-// *** Credits ***
-// Markus Vortkamp
-// Uwe Schulz
-// LifeType Team
-?>
\ No newline at end of file

Deleted: plog/trunk/locale/unported/locale_nl_NL.php
===================================================================
--- plog/trunk/locale/unported/locale_nl_NL.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/locale/unported/locale_nl_NL.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,903 +0,0 @@
-<?php
-// Modified 24-07-2005 - MvO
-
-// set this to the encoding that should be used to display the pages correctly
-$messages['encoding'] = 'iso-8859-1';
-$messages['locale_description'] = 'Nederlands locale bestand voor LifeType';
-// locale format, see Locale::formatDate for more information
-$messages['date_format'] = '%d-%m-%Y %H:%M';
-
-// days of the week
-$messages['days'] = Array('Zondag', 'Maandag', 'Dindsag', 'Woensdag', 'Donderdag', 'Vrijdag', 'Zaterdag' );
-// -- compatibility, do not touch -- //
-$messages['Monday'] = $messages['days'][1];
-$messages['Tuesday'] = $messages['days'][2];
-$messages['Wednesday'] = $messages['days'][3];
-$messages['Thursday'] = $messages['days'][4];
-$messages['Friday'] = $messages['days'][5];
-$messages['Saturday'] = $messages['days'][6];
-$messages['Sunday'] = $messages['days'][0];
-
-// abbreviations
-$messages['daysshort'] = Array( 'Zo', 'Ma', 'Di', 'Wo', 'Do', 'Vr', 'Za' );
-// -- compatibility, do not touch -- //
-$messages['Mo'] = $messages['daysshort'][1];
-$messages['Tu'] = $messages['daysshort'][2];
-$messages['We'] = $messages['daysshort'][3];
-$messages['Th'] = $messages['daysshort'][4];
-$messages['Fr'] = $messages['daysshort'][5];
-$messages['Sa'] = $messages['daysshort'][6];
-$messages['Su'] = $messages['daysshort'][0];
-
-// months of the year
-$messages['months'] = Array( 'Januari', 'Februari', 'Maart', 'April', 'Mei', 'Juni', 'Juli', 'Augustus', 'September', 'Oktober', 'November', 'December' );
-// -- compatibility, do not touch -- //
-$messages['January'] = $messages['months'][0];
-$messages['February'] = $messages['months'][1];
-$messages['March'] = $messages['months'][2];
-$messages['April'] = $messages['months'][3];
-$messages['May'] = $messages['months'][4];
-$messages['June'] = $messages['months'][5];
-$messages['July'] = $messages['months'][6];
-$messages['August'] = $messages['months'][7];
-$messages['September'] = $messages['months'][8];
-$messages['October'] = $messages['months'][9];
-$messages['November'] = $messages['months'][10];
-$messages['December'] = $messages['months'][11];
-$messages['message'] = 'Message';
-$messages['error'] = 'Error';
-$messages['date'] = 'Date';
-
-// miscellaneous texts
-$messages['of'] = 'van';
-$messages['recently'] = 'Recent...';
-$messages['comments'] = 'Reacties';
-$messages['comment on this'] = 'Reacties';
-$messages['my_links'] = 'Mijn links';
-$messages['archives'] = 'Archief';
-$messages['search'] = 'Zoeken';
-$messages['calendar'] = 'Kalender';
-$messages['search_s'] = 'Zoeken';
-$messages['search_this_blog'] = 'Doorzoek deze blog:';
-$messages['about_myself'] = 'Wie ben ik?';
-$messages['permalink_title'] = 'PermaLink naar het archief';
-$messages['permalink'] = 'PermaLink';
-$messages['posted_by'] = 'Geplaatst door';
-$messages['reply'] = 'Reacties';
-
-// add comment form
-$messages['add_comment'] = 'Voeg reactie toe';
-$messages['comment_topic'] = 'Onderwerp';
-$messages['comment_text'] = 'Tekst';
-$messages['comment_username'] = 'Je naam';
-$messages['comment_email'] = 'Je e-mail adres (indien aanwezig)';
-$messages['comment_url'] = 'Je persoonlijke website (indien aanwezig)';
-$messages['comment_send'] = 'Verstuur';
-$messages['comment_added'] = 'Reactie toegevoegd!';
-$messages['comment_add_error'] = 'Fout tijdens toevoegen reactie';
-$messages['article_does_not_exist'] = 'Het artikel bestaat niet';
-$messages['no_posts_found'] = 'Geen documenten gevonden';
-$messages['user_has_no_posts_yet'] = 'De gebruiker heeft nog geen documenten geplaatst';
-$messages['back'] = 'Terug';
-$messages['post'] = 'Document';
-$messages['trackbacks_for_article'] = 'Trackbacks voor artikel: ';
-$messages['trackback_excerpt'] = 'Samenvatting';
-$messages['trackback_weblog'] = 'Weblog';
-$messages['search_results'] = 'Zoekresultaten';
-$messages['search_matching_results'] = 'De volgende documenten voldoen aan de zoekcriteria: ';
-$messages['search_no_matching_posts'] = 'Er zijn geen documenten gevonden';
-$messages['read_more'] = '(Meer)';
-$messages['syndicate'] = 'Verkort lezen';
-$messages['main'] = 'Hoofdmenu';
-$messages['about'] = 'Over...';
-$messages['download'] = 'Download';
-
-////// error messages /////
-$messages['error_fetching_article'] = 'Het opgevraagde artikel is niet gevonden.';
-$messages['error_fetching_articles'] = 'Het artikel kan niet worden opgevraagd.';
-$messages['error_trackback_no_trackback'] = 'Er zijn geen trackbacks gevonden voor dit artikel.';
-$messages['error_incorrect_article_id'] = 'Het artikel ID bestaat.';
-$messages['error_incorrect_blog_id'] = 'Het blog ID gestaat niet.';
-$messages['error_comment_without_text'] = 'Je moet tenminste enige tekst invoeren.';
-$messages['error_comment_without_name'] = 'Je moet tenminste je naam of bijnaam invoeren.';
-$messages['error_adding_comment'] = 'Fout tijdens het toevoegen van commentaar.';
-$messages['error_incorrect_parameter'] = 'Foute parameter.';
-$messages['error_parameter_missing'] = 'Er ontbreek een parameter uit het verzoek.';
-$messages['error_comments_not_enabled'] = 'De commentaar functionaliteit is op deze site uitgeschakeld.';
-$messages['error_incorrect_search_terms'] = 'Foutieve zoekopdracht opgegeven';
-$messages['error_no_search_results'] = 'Er zijn geen resultaten gevonden die voldoen aan de zoekopdracht';
-$messages['error_no_albums_defined'] = 'Er zijn geen albums beschikbaar in deze blog.';
-
-/////////////////                                          //////////////////
-///////////////// STRINGS FOR THE ADMINISTRATION INTERFACE //////////////////
-/////////////////                                          //////////////////
-
-// login page
-$messages['login'] = 'Login';
-$messages['welcome_message'] = 'Welkom bij LifeType';
-$messages['error_incorrect_username_or_password'] = 'Foutieve inlognaam of wachtwoord.';
-$messages['error_dont_belong_to_any_blog'] = 'Sorry, je bent nog niet aan een blog gekoppeld.';
-$messages['logout_message'] = 'Je bent uitgelogd..';
-$messages['logout_message_2'] = 'Klik <a href="%1$s">hier</a> om naar %2$s te gaan</a>.';
-$messages['error_access_forbidden'] = 'Geen toegang. Je moet eerst hier inloggen.';
-$messages['username'] = 'Inlognaam';
-$messages['password'] = 'Wachtwoord';
-
-// dashboard
-$messages['dashboard'] = 'Onderhoud';
-$messages['recent_articles'] = 'Meest recente artikelen';
-$messages['recent_comments'] = 'Meest recente commentaar';
-$messages['recent_trackbacks'] = 'Meest recente Trackbacks';
-$messages['blog_statistics'] = 'Blog statistieken';
-$messages['total_posts'] = 'Aantal artikelen';
-$messages['total_comments'] = 'Aantal commentaar';
-$messages['total_trackbacks'] = 'Aantal Trackbacks';
-$messages['total_viewed'] = 'Aantal bekeken documenten';
-$messages['in'] = 'in';
-
-// menu options
-$messages['newPost'] = 'Nieuw document';
-$messages['Manage'] = 'Beheer documenten';
-$messages['managePosts'] = 'Beheer documenten';
-$messages['editPosts'] = 'Documenten';
-$messages['editArticleCategories'] = 'Categorieen';
-$messages['newArticleCategory'] = 'Nieuwe categorie';
-$messages['manageLinks'] = 'Beheer links';
-$messages['editLinks'] = 'Links';
-$messages['newLink'] = 'Nieuwe link';
-$messages['editLink'] = 'Wijzig link';
-$messages['editLinkCategories'] = 'Link categorie';
-$messages['newLinkCategory'] = 'Nieuwe link categorie';
-$messages['editLinkCategory'] = 'Wijzig link categorie';
-$messages['manageCustomFields'] = 'Beheer eigen velden';
-$messages['blogCustomFields'] = 'Eigen velden';
-$messages['newCustomField'] = 'Nieuw eigen veld';
-$messages['resourceCenter'] = 'Bestandsbeheer';
-$messages['resources'] = 'Bestanden';
-$messages['newResourceAlbum'] = 'Nieuw album';
-$messages['newResource'] = 'Nieuw bestand';
-$messages['controlCenter'] = 'Beheer blog';
-$messages['manageSettings'] = 'Instellingen';
-$messages['blogSettings'] = 'Blog instellingen';
-$messages['userSettings'] = 'Gebruikersinstellingen';
-$messages['pluginCenter'] = 'Plugin beheer';
-$messages['Stats'] = 'Statistieken';
-$messages['manageBlogUsers'] = 'Beheer blog gebruikers';
-$messages['newBlogUser'] = 'Nieuwe blog gebruiker';
-$messages['showBlogUsers'] = 'Blog gebruikers';
-$messages['manageBlogTemplates'] = 'Beheer blog templates';
-$messages['newBlogTemplate'] = 'Nieuwe blog template';
-$messages['blogTemplates'] = 'Blog templates';
-$messages['adminSettings'] = 'Site beheer';
-$messages['Users'] = 'Gebruikers';
-$messages['createUser'] = 'Maak gebruiker aan';
-$messages['editSiteUsers'] = 'Site gebruikers';
-$messages['Blogs'] = 'Beheer blogs';
-$messages['createBlog'] = 'Maak blog aan';
-$messages['editSiteBlogs'] = 'Blogs';
-$messages['Locales'] = 'Beheer locales';
-$messages['newLocale'] = 'Nieuwe locale';
-$messages['siteLocales'] = 'Site locales';
-$messages['Templates'] = 'Beheer templates';
-$messages['newTemplate'] = 'Nieuwe template';
-$messages['siteTemplates'] = 'Site templates';
-$messages['GlobalSettings'] = 'Site instellingen';
-$messages['editSiteSettings'] = 'Algemeen';
-$messages['summarySettings'] = 'Samenvatting';
-$messages['templateSettings'] = 'Templates';
-$messages['urlSettings'] = 'URLs';
-$messages['emailSettings'] = 'E-mail';
-$messages['uploadSettings'] = 'Uploads';
-$messages['helpersSettings'] = 'Externe helpers';
-$messages['interfacesSettings'] = 'Interfaces';
-$messages['securitySettings'] = 'Beveiliging';
-$messages['bayesianSettings'] = 'Bayesiaans filter';
-$messages['resourcesSettings'] = 'Bestanden';
-$messages['searchSettings'] = 'Zoeken';
-$messages['cleanUpSection'] = 'Opschonen';
-$messages['cleanUp'] = 'Opschonen';
-$messages['editResourceAlbum'] = 'Wijzig album';
-$messages['resourceInfo'] = 'Wijzig bestand';
-$messages['editBlog'] = 'Wijzig blog';
-$messages['Logout'] = 'Uitloggen';
-
-// new post
-$messages['topic'] = 'Onderwerp';
-$messages['topic_help'] = 'Titel van dit document';
-$messages['text'] = 'Tekst';
-$messages['text_help'] = 'Tekst van het document. Dit gedeelte verschijnt altijd op de voorpagina';
-$messages['extended_text'] = 'Uitgebreide tekst';
-$messages['extended_text_help'] = 'Uitgebreide tekst. Wanneer dit ingevuld wordt, kan dit alleen in het artikel of op de voorpagina verschijnen. Zie de blog instellingen voor meer informatie';
-$messages['post_slug'] = 'Slug';
-$messages['post_slug_help'] = 'Een slug wordt gebruikt om fraaie permanente links te maken';
-$messages['date'] = 'Datum';
-$messages['post_date_help'] = 'De datum vanaf wanneer dit document wordt gepubliceerd';
-$messages['status'] = 'Status';
-$messages['post_status_help'] = 'Kies één van de volgende statussen';
-$messages['post_status_published'] = 'Gepubliceerd';
-$messages['post_status_draft'] = 'Ontwerp';
-$messages['post_status_deleted'] = 'Verwijderd';
-$messages['categories'] = 'Categorieën';
-$messages['post_categories_help'] = 'Kies één of meer categorieën';
-$messages['post_comments_enabled_help'] = 'Sta commentaar toe';
-$messages['send_notification_help'] = 'Bericht bij nieuw commentaar';
-$messages['send_trackback_pings_help'] = 'Verstuur Trackbacks';
-$messages['send_xmlrpc_pings_help'] = 'Verstuur XMLRPC pings';
-$messages['save_draft_and_continue'] = 'Sla op als ontwerp';
-$messages['preview'] = 'Bekijk';
-$messages['add_post'] = 'Publiceer document';
-$messages['error_saving_draft'] = 'Er is een fout opgetreden tijdens het opslaan als ontwerp';
-$messages['draft_saved_ok'] = 'Document is opgeslagen als ontwerp';
-$messages['error_sending_request'] = 'Er is een fout opgetreden tijdens de verwerking';
-$messages['error_no_category_selected'] = 'Selecteer tenminste één categorie';
-$messages['error_missing_post_topic'] = 'Voer een onderwerp in';
-$messages['error_missing_post_text'] = 'Voer wat tekst in';
-$messages['error_adding_post'] = 'Er is een fout opgetreden tijdens het opslaan van het bericht';
-$messages['post_added_not_published'] = 'Het document is opgeslagen maar niet gepubliceerd';
-$messages['post_added_ok'] = 'Het document is opgeslagen.';
-$messages['send_notifications_ok'] = 'Er wordt een bericht verstuurd zodra er commentaar of een Trackback is geplaatst.';
-
-// send trackbacks
-$messages['error_sending_trackbacks'] = 'Er is een fout opgetreden bij het versturen van de volgende Trackbacks';
-$messages['send_trackbacks_help'] = 'Selecteer de URLs waarnaar de Trackback pings moeten worden verstuurd. Controleer dat deze sites Trackback ondersteunt.';
-$messages['send_trackbacks'] = 'Verstuur Trackbacks';
-$messages['ping_selected'] = 'Ping geselecteerd';
-$messages['trackbacks_sent_ok'] = 'Trackbacks zijn naar de geselecteerde URLs verstuurd';
-
-// posts page
-$messages['show_by'] = 'Sorteer op';
-$messages['category'] = 'Categorie';
-$messages['author'] = 'Auteur';
-$messages['post_status_all'] = 'Alles';
-$messages['author_all'] = 'Allen';
-$messages['search_terms'] = 'Zoekopdracht';
-$messages['show'] = 'Toon';
-$messages['delete'] = 'Verwijder';
-$messages['actions'] = 'Acties';
-$messages['all'] = 'Alles';
-$messages['category_all'] = 'Allen';
-$messages['error_incorrect_article_id'] = 'Foutief artikel ID';
-$messages['error_deleting_article'] = 'Fout tijdens het verwijderen van document "%s"';
-$messages['article_deleted_ok'] = 'Document "%s" verwijderd';
-$messages['articles_deleted_ok'] = '%s documenten verwijderd';
-$messages['error_deleting_article2'] = 'Fout tijdens het verwijderen van het document met ID  "%s"';
-
-// edit post page
-$messages['update'] = 'Wijzigen';
-$messages['editPost'] = 'Wijzig document';
-$messages['error_fetching_post'] = 'Fout tijdens ophalen van het document';
-$messages['post_updated_ok'] = 'Document "%s" is gewijzigd';
-$messages['error_updating_post'] = 'Fout tijdens wijzigen van het document';
-$messages['notification_added'] = 'Er wordt een bericht verstuurd zodra er commentaar of een Trackback is geplaatst';
-$messages['notification_removed'] = 'Er wordt geen bericht verstuurd na plaatsing van commentaar of Trackbacks';
-
-// post comments
-$messages['url'] = 'URL';
-$messages['comment_status_all'] = 'Alles';
-$messages['comment_status_spam'] = 'Spam';
-$messages['comment_status_nonspam'] = 'geen spam';
-$messages['error_fetching_comments'] = 'Fout tijdens ophalen van commentaar';
-$messages['error_deleting_comments'] = 'Fout tijdens verwijderen van commentaar, of niets geselecteerd';
-$messages['comment_deleted_ok'] = 'Commentaar "%s" verwijderd';
-$messages['comments_deleted_ok'] = '%s stuks commentaar verwijderd';
-$messages['error_deleting_comment'] = 'Fout tijdens verwijderen van commentaar "%s"';
-$messages['error_deleting_comment2'] = 'Fout tijdens verwijderen van commentaar met ID %s';
-$messages['editComments'] = 'Commentaar';
-$messages['mark_as_spam'] = 'Markeer als spam';
-$messages['mark_as_no_spam'] = 'Markeer als geen spam';
-$messages['error_incorrect_comment_id'] = 'Het commentaar ID is niet correct';
-$messages['error_marking_comment_as_spam'] = 'Fout tijdens het markeren als spam';
-$messages['comment_marked_as_spam_ok'] = 'Het commentaar is gemarkeerd als spam';
-$messages['error_marking_comment_as_nonspam'] = 'Fout tijdens het markeren als geen spam';
-$messages['comment_marked_as_nonspam_ok'] = 'Hete commentaar is gemarkeerd als geen spam';
-
-// post trackbacks
-$messages['blog'] = 'Blog';
-$messages['excerpt'] = 'Samenvatting';
-$messages['error_fetching_trackbacks'] = 'Fout tijdens het ophalen van Trackbacks';
-$messages['error_deleting_trackbacks'] = 'Fout tijdens verwijderen van Trackbacks, of geen items geselecteerd';
-$messages['error_deleting_trackback'] = 'Fout tijdens verwijderen van Trackback "%s"';
-$messages['error_deleting_trackback2'] = 'Fout tijdens verwijderen van Trackback met ID "%s"';
-$messages['trackback_deleted_ok'] = 'Trackback "%s" verwijderd';
-$messages['trackbacks_deleted_ok'] = '%s Trackbacks verwijderd';
-$messages['editTrackbacks'] = 'Trackbacks';
-
-// post statistics
-$messages['referrer'] = 'Verwijzing';
-$messages['hits'] = 'Hits';
-$messages['error_no_items_selected'] = 'Er zijn geen items geselecteerd om te verwijderen';
-$messages['error_deleting_referrer'] = 'Fout tijdens verwijderen van verwijzing "%s"';
-$messages['error_deleting_referrer2'] = 'Fout tijden verwijderen van de verwijzing met ID "%s"';
-$messages['referrer_deleted_ok'] = 'Verwijzing "%s" verwijderd';
-$messages['referrers_deleted_ok'] = '%s verwijzingen verwijderd';
-
-// categories
-$messages['posts'] = 'Documenten';
-$messages['show_in_main_page'] = 'Toon op de voorpagina';
-$messages['error_incorrect_category_id'] = 'Incorrecte categorie of geen items geselecteerd';
-$messages['error_category_has_articles'] = 'De categorie "%s" wordt momenteel gebruikt door sommige artikelen. Deze artikelen moeten eerst worden aangepast voordat de categorie verwijderd kan worden';
-$messages['category_deleted_ok'] = 'Categorie "%s" verwijderd';
-$messages['categories_deleted_ok'] = '%s categorieen verwijderd';
-$messages['error_deleting_category'] = 'Fout tijdens verwijderen van categorie "%s"';
-$messages['error_deleting_category2'] = 'Fout tijdens verwijderen van de categorie met ID "%s"';
-$messages['yes'] = 'Ja';
-$messages['no'] = 'Nee';
-
-// new category
-$messages['name'] = 'Naam';
-$messages['category_name_help'] = 'Naam waaronder de categorie wordt weergegeven';
-$messages['description'] = 'Omschrijving';
-$messages['category_description_help'] = 'Waarvoor wordt deze categorie gebruikt';
-$messages['show_in_main_page_help'] = 'Moeten documenten in deze categorie worden getoond op de hoofdpagina, of alleen als er in deze categorie wordt gekeken';
-$messages['error_empty_name'] = 'Voer een naam in';
-$messages['error_empty_description'] = 'Voer een omschrijving in';
-$messages['error_adding_article_category'] = 'Fout tijdens toevoegen van de categorie. Controleer het ingevoerde en probeer het opnieuw';
-$messages['category_added_ok'] = 'Categorie "%s" is toegevoegd aan de blog';
-$messages['add'] = 'Toevoegen';
-$messages['reset'] = 'Opnieuw';
-
-// update category
-$messages['error_updating_article_category'] = 'Fout tijdens aanpassen van de categorie';
-$messages['error_fetching_category'] = 'Fout tijdens ophalen van categorieen';
-$messages['article_category_updated_ok'] = 'Categorie "%s" is aangepast';
-
-// links
-$messages['feed'] = 'Verkort lezen';
-$messages['error_no_links_selected'] = 'Het link ID is incorrect of geen items geselecteerd';
-$messages['error_incorrect_link_id'] = 'Het link ID is incorrect';
-$messages['error_removing_link'] = 'Fout tijdens verwijderen van link "%s"';
-$messages['error_removing_link2'] = 'Fout tijdens verwijderen van de link met ID "%s"';
-$messages['link_deleted_ok'] = 'Link "%s" is verwijderd';
-$messages['links_deleted_ok'] = '%s links verwijderd';
-
-// new link
-$messages['link_name_help'] = 'Naam voor deze link';
-$messages['link_url_help'] = 'Adres waar de link naar verwijst';
-$messages['link_description_help'] = 'Korte omschrijving van de link';
-$messages['link_feed_help'] = 'Er kan ook een link naar één van de RSS of Atom feeds worden opgegeven';
-$messages['link_category_help'] = 'Kies een categorie voor deze link';
-$messages['error_adding_link'] = 'Fout tijdens toevoegen van de link. Controleer de gegevens en probeer het opnieuw';
-$messages['error_invalid_url'] = 'Het adres is incorrect';
-$messages['link_added_ok'] = 'Link "%s" is toegevoegd';
-
-// update link
-$messages['error_updating_link'] = 'Fout tijdens het aanpassen van de link. Controleer de gegevens en probeer het opnieuw';
-$messages['error_fetching_link'] = 'Fout tijdens ophalen van de link';
-$messages['link_updated_ok'] = 'Link "%s" is aangepast';
-
-// link categories
-$messages['links'] = 'Links';
-$messages['error_invalid_link_category_id'] = 'De link categorie is incorrect of niet geselecteerd';
-$messages['error_links_in_link_category'] = 'Link categorie "%s" wordt gebruikt door sommige links. Pas deze links eerst aan en probeer het opnieuw';
-$messages['error_removing_link_category'] = 'Fout tijdens verwijderen van link categorie "%s"';
-$messages['link_category_deleted_ok'] = 'Link categorie "%s" verwijderd';
-$messages['link_categories_deleted_ok'] = '%s link categorieen verwijderd';
-$messages['error_removing_link_category2'] = 'Fout tijdens verwijderen van link categorie met ID "%s"';
-
-// new link category
-$messages['link_category_name_help'] = 'Naam voor deze link categorie';
-$messages['error_adding_link_category'] = 'Fout tijdens toevoegen van de link categorie';
-$messages['link_category_added_ok'] = 'Link categorie "%s" is toegevoegd';
-
-// edit link category
-$messages['error_updating_link_category'] = 'Fout tijdens aanpassen van de link categorie. Controleer de gegevens en probeer het opnieuw.';
-$messages['link_category_updated_ok'] = 'Link categorie "%s" aangepast';
-$messages['error_fetching_link_category'] = 'Fout tijdens ophalen van de link categorie';
-
-// custom fields
-$messages['type'] = 'Type';
-$messages['hidden'] = 'Verborgen';
-$messages['fields_deleted_ok'] = '%s eigen velden verwijderd';
-$messages['field_deleted_ok'] = 'Eigen veld "%s" verwijderd';
-$messages['error_deleting_field'] = 'Fout tijdens verwijderen eigen veld "%s"';
-$messages['error_deleting_field2'] = 'Fout tijdens verwijderen eigen veld met ID "%s"';
-$messages['error_incorrect_field_id'] = 'De naam van het eigen veld is incorrect';
-
-// new custom field
-$messages['field_name_help'] = 'Naam die wordt gebruikt om naar dit veld te verwijzen';
-$messages['field_description_help'] = 'Korte omschrijving van het eigen veld, dat wordt getoond bij het toevoegen of aanpassen van berichten';
-$messages['field_type_help'] = 'Kies één van de veldtypes';
-$messages['field_hidden_help'] = 'Verborgen velden worden niet getoond bij het aanmaken of wijzigen van berichten. Deze worden voornamelijk gebruikt door plugins';
-$messages['error_adding_custom_field'] = 'Fout tijdens toevoegen van het eigen veld. Controleer de gegevens en probeer het opnieuw';
-$messages['custom_field_added_ok'] = 'Eigen veld "%s" toegevoegd';
-$messages['text_field'] = 'Tekstveld';
-$messages['text_area'] = 'Textblok';
-$messages['checkbox'] = 'Keuzeveld';
-$messages['date_field'] = 'Datumveld';
-
-// edit custom field
-$messages['error_fetching_custom_field'] = 'Fout tijdens ophalen van het eigen veld';
-$messages['error_updating_custom_field'] = 'Fout tijdens aanpassen van het eigen veld. Controleer de gegevens en probeer het opnieuw';
-$messages['custom_field_updated_ok'] = 'Eigen veld "%s" is aangepast';
-
-// resources
-$messages['root_album'] = 'Hoofdalbum';
-$messages['num_resources'] = 'Aantal bestanden';
-$messages['total_size'] = 'Totale grootte';
-$messages['album'] = 'Album';
-$messages['error_incorrect_album_id'] = 'Het album ID is niet correct';
-$messages['error_base_storage_folder_missing_or_unreadable'] = 'Het is niet mogelijk om de noodzakelijke mappen aan te maken. Hiervoor kunnen diverse redenen zijn, zoals een PHP installatie in safe mode, of onvoldoende rechten op het systeem. Er kan geprobeerd worden om deze operatie zelf uit te voeren, door handmatig de volgende folders aan te maken: <br /><br />%s<br /><br />Als deze folders al bestaan, controleer dan dat de webserver in deze folders kan lezen en schrijven.';
-$messages['items_deleted_ok'] = '%s items verwijderd';
-$messages['error_album_has_children'] = 'Album "%s" heeft elementen in zich. Verwijderd deze eerst, en probeer het dan opnieuw';
-$messages['item_deleted_ok'] = 'Item "%s" verwijderd';
-$messages['error_deleting_album'] = 'Fout tijdens verwijderen van album "%s"';
-$messages['error_deleting_album2'] = 'Fout tijdens verwijderen van album met ID "%s"';
-$messages['error_deleting_resource'] = 'Fout tijdens verwijderen van bestand "%s"';
-$messages['error_deleting_resource2'] = 'Fout tijdens verwijderen van bestand met ID "%s"';
-$messages['error_no_resources_selected'] = 'Er zijn niets geselecteerd om te verwijderen';
-$messages['resource_deleted_ok'] = 'Bestand "%s" verwijderd';
-$messages['album_deleted_ok'] = 'Album "%s" verwijderd';
-$messages['add_resource'] = 'Voeg bestand toe';
-$messages['add_resource_preview'] = 'Voeg kleine thumbnail toe';
-$messages['add_resource_medium'] = 'Voeg middelgrote thumbnail toe';
-$messages['add_album'] = 'Voeg album toe';
-
-// new album
-$messages['album_name_help'] = 'Verkorte naam voor het nieuwe album';
-$messages['parent'] = 'Parent';
-$messages['no_parent'] = 'Geen parent';
-$messages['parent_album_help'] = 'Gebruik dit voor albums in albums, om zo beter bestanden te kunnen organiseren';
-$messages['album_description_help'] = 'Omschrijving van de inhoud van dit album';
-$messages['error_adding_album'] = 'Fout tijdens toevoegen van het album. Controleer de gegevens en probeer het opnieuw';
-$messages['album_added_ok'] = 'Album "%s" toegevoegd';
-
-// edit album
-$messages['error_incorrect_album_id'] = 'Het album ID is niet correct';
-$messages['error_fetching_album'] = 'Fout tijdens ophalen van het album';
-$messages['error_updating_album'] = 'Fout tijdens het aanpassen van het album. Controleer de gegevens en probeer het opnieuw';
-$messages['album_updated_ok'] = 'Album "%s" aangepast';
-$messages['show_album_help'] = 'Indien uitgeschakeld wordt het album niet getoond in de lijst van beschikbare albums voor deze blog';
-
-// new resource
-$messages['file'] = 'Bestand';
-$messages['resource_file_help'] = 'Bestand dat aan deze blog wordt toegevoegd. Klik op "Veld toevoegen" om meerdere bestanden ineens toe te voegen';
-$messages['add_field'] = 'Veld toevoegen';
-$messages['resource_description_help'] = 'Omschrijving van de inhoud van dit veld';
-$messages['resource_album_help'] = 'Kies het album waar dit bestand in wordt geplaatst';
-$messages['error_no_resource_uploaded'] = 'Er is geen bestand opgegeven om toe te voegen';
-$messages['resource_added_ok'] = 'Bestand "%s" toegevoegd';
-$messages['error_resource_forbidden_extension'] = 'Bestand niet toegevoegd omdat het type ervan niet is toegestaan';
-$messages['error_resource_too_big'] = 'Bestand niet toegevoegd omdat het te groot is';
-$messages['error_uploads_disabled'] = 'Bestand niet toegevoegd omdat deze functionaliteit is uitgeschakeld';
-$messages['error_quota_exceeded'] = 'Bestand niet toegevoegd omdat de toegewezen schijfruimte is overschreden';
-$messages['error_adding_resource'] = 'Fout tijdens toevoegen van het bestand';
-
-// edit resource
-$messages['editResource'] = 'Bestand aanpassen';
-$messages['resource_information_help'] = 'Hieronder kun je informatie over dit bestand terugvinden';
-$messages['information'] = 'Informatie';
-$messages['size'] = 'Grootte';
-$messages['format'] = 'Formaat';
-$messages['dimensions'] = 'Afmetingen';
-$messages['bits_per_sample'] = 'Bits per sample';
-$messages['sample_rate'] = 'Sample rate';
-$messages['number_of_channels'] = 'Aantal kanalen';
-$messages['legnth'] = 'Lengte';
-$messages['thumbnail_format'] = 'Thumbnail formaat';
-$messages['regenerate_preview'] = 'Herbereken preview';
-$messages['error_fetching_resource'] = 'Fout tijdens ophalen van het bestand';
-$messages['error_updating_resource'] = 'Fout tijdens aanpassen van het bestand';
-$messages['resource_updated_ok'] = 'Bestand "%s" aangepast';
-
-// blog settings
-$messages['blog_link'] = 'Blog link';
-$messages['blog_link_help'] = 'Permanente link naar deze blog';
-$messages['blog_name_help'] = 'Titel van deze blog';
-$messages['blog_description_help'] = 'Omschrijving van de inhoud van deze blog';
-$messages['language'] = 'Taal';
-$messages['blog_language_help'] = 'Gebruikte taal van deze blog, voor zowel de publieke als administratieve kant';
-$messages['max_main_page_items'] = 'Aantal items op de hoofdpagina';
-$messages['max_main_page_items_help'] = 'Aantal documenten dat minimaal op de hoofdpagina moet worden getoond';
-$messages['max_recent_items'] = 'Aantal recente items';
-$messages['max_recent_items_help'] = 'Maximum aantal documenten dat als recent op de hoofdpagina wordt getoond';
-$messages['template'] = 'Template';
-$messages['choose'] = 'Kies';
-$messages['blog_template_help'] = 'Template dat wordt gebruikt om de inhoud van deze blog weer te geven. Deze lijst bevat globale templates plus alle templates die voor deze blog zijn geupload';
-$messages['use_read_more'] = 'Gebruik "meer..." link in berichten';
-$messages['use_read_more_help'] = 'Indien ingeschakeld wordt alleen de tekst uit het bovenste tekstkader weergegeven op de hoofdpagina. Om de tekst uit het onderste tekstkader weer te geven wordt een "meer..." link onderaan het bericht toegevoegd';
-$messages['enable_wysiwyg'] = 'Gebruik de WYSIWYG invoermogelijkheid';
-$messages['enable_wysiwyg_help'] = 'Maakt gebruik van een krachtige ("What You See Is What You Get" berichteninvoer om berichten als tekst of HTML op te maken. Dit werkt alleen voor browsers vanaf Internet Explorer 5.5 of Mozilla/Firefox 1.3';
-$messages['enable_comments'] = 'Voeg commentaar toe';
-$messages['enable_comments_help'] = 'Maak commentaar standaard beschikbaar voor alle berichten. Dit kan later per bericht aan- of uitgeschakeld worden voor nieuwe of bestaande berichten';
-$messages['show_future_posts'] = 'Toon toekomstige berichten in de kalender';
-$messages['show_future_posts_help'] = 'Zorgt ervoor dat berichten met een plaatsingsdatum in de toekomst in de kalender zichtbaar zijn voor gebruikers';
-$messages['comments_order'] = 'Volgorde commentaar';
-$messages['comments_order_help'] = 'Volgorde waarop commentaar op de voorpagina getoond wordt';
-$messages['oldest_first'] = 'Oude berichten eerst';
-$messages['newest_first'] = 'Nieuwe berichten eerst';
-$messages['categories_order'] = 'Volgorde commentaar';
-$messages['categories_order_help'] = 'Volgorde waarop categorieen op de voorpagina getoond worden';
-$messages['most_recent_updated_first'] = 'Laatst aangepaste eerst';
-$messages['alphabetical_order'] = 'Alfabetisch, A eerst';
-$messages['reverse_alphabetical_order'] = 'Alfabetisch, Z eerst';
-$messages['most_articles_first'] = 'Meeste artikelen eerst';
-$messages['link_categories_order'] = 'Volgorde link categorieen';
-$messages['link_categories_order_help'] = 'Volgorde waarop link categorieen op de voorpagina worden getoond';
-$messages['most_links_first'] = 'Meeste links eerst';
-$messages['most_links_last'] = 'Meeste links laatst';
-$messages['time_offset'] = 'Tijd offset';
-$messages['time_offset_help'] = 'Tijdverschil in uren dat dynamisch aan elk bericht wordt toegevoegd';
-$messages['close'] = 'Sluiten';
-$messages['select'] = 'Kiezen';
-$messages['error_updating_settings'] = 'Fout tijdens aanpassen van de blog instellingen. Controleer de gegevens en probeer het opnieuw';
-$messages['error_invalid_number'] = 'Het nummer is niet correct';
-$messages['error_incorrect_time_offset'] = 'De tijd offset is niet correct';
-$messages['blog_settings_updated_ok'] = 'Blog instellingen aangepast';
-$messages['hours'] = 'Uur';
-
-// user settings
-$messages['username_help'] = 'Algemene gebruikersnaam. Deze kan niet worden aangepast';
-$messages['full_name'] = 'Volledige naam';
-$messages['full_name_help'] = 'De volledige naam van de gebruiker';
-$messages['password_help'] = 'Typ en bevestig een nieuw wachtwoord, of laat deze leeg als het niet gewijzigd hoeft te worden';
-$messages['confirm_password'] = 'Bevestig wachtwoord';
-$messages['email'] = 'E-mail';
-$messages['email_help'] = 'E-mail adres waar notificaties naartoe worden verstuurd';
-$messages['bio'] = 'Wie ben je';
-$messages['bio_help'] = 'Hier kun je een uitgebreide beschrijving en biografie van jezelf ingeven';
-$messages['picture'] = 'Foto';
-$messages['user_picture_help'] = 'Kies één van de geuploade bestanden als persoonlijke foto';
-$messages['error_invalid_password'] = 'Het wachtwoord is niet correct. Zorg dat het niet te kort is.';
-$messages['error_passwords_dont_match'] = 'De wachtwoorden komen niet overeen';
-$messages['error_incorrect_email_address'] = 'Het e-mail adres is niet correct';
-$messages['error_updating_user_settings'] = 'Fout tijdens aanpassen van de gebruikergegevens. Controleer de gegevens en probeer het opnieuw';
-$messages['user_settings_updated_ok'] = 'Gebruikersinstellingen aangepast';
-$messages['resource'] = 'Bestand';
-
-// plugin centre
-$messages['identifier'] = 'ID';
-$messages['error_plugins_disabled'] = 'Sorry, Plugins zijn voor deze site uitgeschakeld.';
-
-// blog users
-$messages['revoke_permissions'] = 'Rechten intrekken';
-$messages['error_no_users_selected'] = 'Er zijn geen gebruikers geselecteerd';
-$messages['user_removed_from_blog_ok'] = 'Gebruiker "%s" heeft geen rechten meer om deze blog aan te passen';
-$messages['users_removed_from_blog_ok'] = '%s gebruikers hebben geen rechten meer om deze blog aan te passen';
-$messages['error_removing_user_from_blog'] = 'Fout tijdens verwijderen van rechten voor gebruiker "%s"';
-$messages['error_removing_user_from_blog2'] = 'Fout tijdens verwijderen van rechten van de gebruiker met ID "%s"';
-
-// new blog user
-$messages['new_blog_username_help'] = 'Gebruikersnaam van de persoon die je toegang tot deze blog wilt geven. Deze gebruikers krijgen alleen toegang tot de "Beheer" and "Bestanden" gedeelten.';
-$messages['send_notification'] = 'Stuur bericht';
-$messages['send_user_notification_help'] = 'Stuur een e-mail naar deze gebruiker';
-$messages['notification_text'] = 'Tekst voor dit bericht';
-$messages['notification_text_help'] = 'Tekst die aan dit bericht wordt toegevoegd';
-$messages['error_adding_user'] = 'Fout tijdens toekennen van rechten voor de gebruiker. Controleer de gegevens en probeer het opnieuw';
-$messages['error_empty_text'] = 'Voer een bericht in';
-$messages['error_adding_user'] = 'Fout tijdens toevoegen van de gebruiker. Controleer de gegevens en probeer het opnieuw';
-$messages['error_invalid_user'] = 'Gebruiker "%s" is niet toe te voegen of bestaat niet';
-$messages['user_added_to_blog_ok'] = 'Gebruiker "%s" heeft rechten tot deze blog gekregen';
-
-// blog templates
-$messages['error_no_templates_selected'] = 'Er zijn geen templated geselecteerd';
-$messages['error_template_is_current'] = 'Template "%s" kan niet worden verwijderd omdat deze nu in gebruik is';
-$messages['error_removing_template'] = 'Fout tijdens verwijderen van template "%s"';
-$messages['template_removed_ok'] = 'Template "%s" verwijderd';
-$messages['templates_removed_ok'] = '%s templates verwijderd';
-
-// new blog template
-$messages['template_installed_ok'] = 'Template "%s" is toegevoegd';
-$messages['error_installing_template'] = 'Fout tijdens installatie van template "%s"';
-$messages['error_missing_base_files'] = 'Sommige van de bestanden voor deze template ontbreken';
-$messages['error_add_template_disabled'] = 'Nieuwe templates kunnen niet worden toegevoegd omdat dit voor deze site is uitgeschakeld';
-$messages['error_must_upload_file'] = 'Er is geen template geupload';
-$messages['error_uploads_disabled'] = 'Uploads zijn voor deze site uitgeschakeld';
-$messages['error_no_new_templates_found'] = 'Geen nieuwe templates gevonden';
-$messages['error_template_not_inside_folder'] = 'Alle bestanden in een template moeten in één folder met de naam van die template worden geplaatst';
-$messages['error_missing_base_files'] = 'Enkele standaard bestanden voor deze template ontbreken';
-$messages['error_unpacking'] = 'Fout tijdens uitpakken van het bestand';
-$messages['error_forbidden_extensions'] = 'De template bevat bestanden met niet-toegestane extensies';
-$messages['error_creating_working_folder'] = 'Fout tijdens aanmaken van een tijdelijke map voor het uitpakken van de bestanden';
-$messages['error_checking_template'] = 'Fout tijdens controle van de template %s';
-$messages['template_package'] = 'Templatebestand';
-$messages['blog_template_package_help']  = 'Gebruik dit formulier om nieuwe templates te uploaden. Deze worden alleen beschikbaar voor deze blog. Als het niet mogelijk is om te uploaden via dit formulier kan het handmatig worden geplaatst in de <b>%s</b> map. Klik vervolgens op de "<b>Scan templates</b>" knop. LifeType doorloopt deze folder en voegt automatisch alle nieuwe templates toe.';
-$messages['scan_templates'] = 'Scan templates';
-
-// site users
-$messages['user_status_active'] = 'Actief';
-$messages['user_status_disabled'] = 'Geblokkeerd';
-$messages['user_status_all'] = 'Alle';
-$messages['user_status_unconfirmed'] = 'Onbekend';
-$messages['error_invalid_user2'] = 'Gebruiker met ID "%s" bestaat niet';
-$messages['error_deleting_user'] = 'Fout tijdens blokkeren van gebruiker "%s"';
-$messages['user_deleted_ok'] = 'Gebruiker "%s" geblokkeerd';
-$messages['users_deleted_ok'] = '%s gebruikers geblokkeerd';
-
-// create user
-$messages['user_added_ok'] = 'Gebruiker "%s" aangemaakt';
-$messages['error_incorrect_username'] = 'De gebruikersnaam is niet correct of al in gebruik';
-$messages['user_status_help'] = 'Huidige status voor deze gebruiker';
-$messages['user_blog_help'] = 'Blog die initieel aan deze gebruiker wordt toegewezen';
-$messages['none'] = 'Geen';
-
-// edit user
-$messages['error_invalid_user'] = 'Het gebruikers ID is niet correct of de gebruiker bestaat niet';
-$messages['error_updating_user'] = 'Fout tijdens aanpassen van gebruikersinstellingen. Controleer de gegevens en probeer het opnieuw';
-$messages['blogs'] = 'Blogs';
-$messages['user_blogs_helps'] = 'Blogs van deze gebruiker of waartoe deze toegang heeft';
-$messages['site_admin'] = 'Beheerder';
-$messages['site_admin_help'] = 'Bepaalt of deze gebruiker beheersrechten tot de site krijgt en daartoe toegang tot het beheersgedeelte, om zo de nodige beheerstaken uit te voeren.';
-$messages['user_updated_ok'] = 'Gebruiker "%s" aangepast';
-
-// site blogs
-$messages['blog_status_all'] = 'Alle';
-$messages['blog_status_active'] = 'Actief';
-$messages['blog_status_disabled'] = 'Geblokkeerd';
-$messages['blog_status_unconfirmed'] = 'Onbekend';
-$messages['owner'] = 'Eigenaar';
-$messages['quota'] = 'Limiet';
-$messages['bytes'] = 'bytes';
-$messages['error_no_blogs_selected'] = 'Geen blogs geselecteerd om te verwijderen';
-$messages['error_blog_is_default_blog'] = 'Blog "%s" kan niet worden verwijderd; het is de standaard blog';
-$messages['blog_deleted_ok'] = 'Blog "%s" verwijderd';
-$messages['blogs_deleted_ok'] = '%s blogs verwijderd';
-$messages['error_deleting_blog'] = 'Fout tijdens verwijderen van blog "%s"';
-$messages['error_deleting_blog2'] = 'Fout tijdens verwijderen van blog met ID "%s"';
-
-// create blog
-$messages['error_adding_blog'] = 'Fout tijdens toevoegen van de blog. Controleer de gegevens en probeer het opnieuw';
-$messages['blog_added_ok'] = 'Blog "%s" toegevoegd';
-
-// edit blog
-$messages['blog_status_help'] = 'Blog status';
-$messages['blog_owner_help'] = 'Gebruiker die eigenaar van de blog is, met volledige controle over de blog';
-$messages['users'] = 'Gebruikers';
-$messages['blog_quota_help'] = 'Bestandslimiet in bytes. Zet op 0 voor ongelimiteerd of vul niets in voor de standaard limiet';
-$messages['blog_users_help'] = 'Gebruikers met onderhoudstoegang tot deze blog. Kies een gebruiker uit de linkerkolom en verplaats deze naar rechts om deze rechten tot de blog te geven';
-$messages['edit_blog_settings_updated_ok'] = 'Blog "%s" is aangepast';
-$messages['error_updating_blog_settings'] = 'Fout tijdens aanpassen van blog "%s"';
-$messages['error_incorrect_blog_owner'] = 'De gebruiker opgegeven als blog eigenaar is incorrect';
-$messages['error_fetching_blog'] = 'Fout tijdens ophalen van bloggegevens';
-$messages['error_updating_blog_settings2'] = 'Fout tijdens aanpassen van de blog. Controleer de gegevens en probeer het opnieuw';
-$messages['add_or_remove'] = 'Toevoegen of verwijderen van gebruikers';
-
-// site locales
-$messages['locale'] = 'Locale';
-$messages['locale_encoding'] = 'Encoding';
-$messages['locale_deleted_ok'] = 'Locale "%s" verwijderd';
-$messages['error_no_locales_selected'] = 'Er zijn geen locales geselecteerd om te verwijderen';
-$messages['error_deleting_only_locale'] = 'De locale kan niet worden verwijderd omdat deze als enige is overgebleven';
-$messages['locales_deleted_ok']= '%s locales verwijderd';
-$messages['error_deleting_locale'] = 'Fout tijdens verwijderen van locale "%s"';
-$messages['error_locale_is_default'] = 'Locale "%s" kan niet worden verwijderd omdat dit de standaard locale voor nieuwe blogs is';
-
-// add locale
-$messages['error_invalid_locale_file'] = 'The locale file is incorrect';
-$messages['error_no_new_locales_found'] = 'Geen nieuwe locale bestanden gevonden';
-$messages['locale_added_ok'] = 'Locale "%s" toegevoegd';
-$messages['error_saving_locale'] = 'Fout tijdens opslaan van de nieuwe locale';
-$messages['scan_locales'] = 'Scan locales';
-$messages['add_locale_help'] = 'Gebruik dit formulier om een nieuwe locale te uploaden. Als het niet mogelijk is om dit via dit formulier te doen, voer het dan handmatig uit door het in de <b>./locales/</b> map te plaatsen, welke de standaard locatie voor locale bestanden is, en klik op de "<b>Scan locales</b>" knop. LifeType doorzoekt deze folder en voegt dan automatich nieuw gevonden locales toe.';
-
-// site templates
-$messages['error_template_is_default'] = 'Template "%s" kan niet worden verwijderd omdat het de standaard template voor nieuwe blogs is';
-
-// add template
-$messages['global_template_package_help'] = 'Gebruik dit formulier om een nieuwe templates te uploaden. Als het niet mogelijk is om dit via dit formulier te doen, voer het dan handmatig uit door het in de <b>%s</b> map te plaatsen, welke de standaard locatie voor globaal beschikbare templates is, en klik op de "<b>Scan templates</b>" knop. LifeType doorzoekt deze folder en voegt dan automatich nieuw gevonden templates toe.';
-
-// global settings
-$messages['site_config_saved_ok'] = 'Site instellingen opgeslagen';
-$messages['error_saving_site_config'] = 'Fout tijdens opslaan van site gegevens';
-/// general settings
-$messages['help_comments_enabled'] = 'Standaard toevoegen van commentaar aan nieuwe blogs [Standaard = Ja]';
-$messages['help_beautify_comments_text'] = 'Standaard opmaken van paragrafen en URL links in commentaarberichten [Standaard = Ja]';
-$messages['help_temp_folder'] = 'Map die LifeType gebruikt om tijdelijke data op te slaan, zoals vertaalde templates. Gebruik een map die niet te benaderen is door de webserver voor extra beveiliging [Standaard = ./tmp]';
-$messages['help_base_url'] = 'Start-URL voor deze blog';
-$messages['help_subdomains_enabled'] = 'Ondersteuning voor subdomeinen. Zie de documentatie voor meer informatie hierover [Standaard = Nee]';
-$messages['help_subdomains_base_url'] = 'Indien ingeschakeld, gebruik deze start-URL in plaats van base_url. Gebruik {blogname} voor de blognaam en {username} voor de naam van de eigenaar van de blog om de naam te vormen. (bijvoorbeeld http://{blogname}.mijndomein.nl)';
-$messages['help_include_blog_id_in_url'] = 'Alleen van toepassing wanneer subdomeinen worden gebruikt en "normale" URLs aangeschakeld zijn. Forceert intern gegenereerde URLs die de "blogId" parameter niet tonen. Pas dit alleen aan als je zeker weet waar je mee bezig bent! [Standaard = Ja]';
-$messages['help_script_name'] = 'Vul hier iets in als index.php moet worden hernoemd naar een andere naam [Standaard = index.php]';
-$messages['help_show_posts_max'] = 'Maximum aantal berichten in de hoofdpagina als standaard voor nieuwe blogs [Standaard = 15]';
-$messages['help_recent_posts_max'] = 'Maximum aantal recente berichten in de hoofdpagina als standaard voor nieuwe blogs [Standaard = 10]';
-$messages['help_save_drafts_via_xmlhttprequest_enabled'] = 'Bepaalt of het opslaan van ontwerpdocumenten via Javascript en XmlHttpRequest gebruikt kan worden [Standaard = Ja]';
-$messages['help_locale_folder'] = 'Folder waar de locale bestanden worden opgeslagen [Standaard = ./locale]';
-$messages['help_default_locale'] = 'Standaard locale voor nieuwe blogs [Standaard = en_UK]';
-$messages['help_default_blog_id'] = 'Standaard blog ID dat wordt getoond als er geen wordt gespecificeerd [Standaard = 1]';
-$messages['help_default_time_offset'] = 'Standaard tijd-offset voor nieuwe blogs [Standaard = 0]';
-$messages['help_html_allowed_tags_in_comments'] = 'Lijst met HTML tags die toegestaan zijn in commentaar, gescheiden door spaties [Standaard = &lt;a&gt;&lt;i&gt;&lt;br&gt;&lt;br/&gt;&lt;b&gt;]';
-$messages['help_referer_tracker_enabled'] = 'Toestaan van de optie om referrers in de database op te slaan. Schakel dit uit voor een betere performance [Standaard = Ja]';
-$messages['help_show_more_enabled'] = 'Toestaan van de "Meer..." link voor nieuwe blogs [Standaard = Ja]';
-$messages['help_update_article_reads'] = 'Toestaan van het aanpassen van de lees-teller. Schakel dit uit voor een betere performance [Standaard = Ja]';
-$messages['help_update_cached_article_reads'] = 'Toestaan van het aanpassen van de lees-teller, zelfs wanneer caching is aangeschakeld [Standaard = Ja]';
-$messages['help_xmlrpc_ping_enabled'] = 'Toestaan dat XMLRPC pings worden verzonden naar sites die deze optie ondersteunen [Standaard = Nee]';
-$messages['help_send_xmlrpc_pings_enabled_by_default'] = 'Toestaan dat deze optie standaard wordt gebruikt bij het plaatsen of aanpassen van een artikel [Standaard = Ja]';
-$messages['help_xmlrpc_ping_hosts'] = 'URL verwijzing naar de XMLRPC interface voor sites die de XMLRPC ping specificatie ondersteunen. Plaats meerdere URLs op een nieuwe regel [Standaard = http://rpc.weblogs.com/RPC2]';
-$messages['help_trackback_server_enabled'] = 'Toestaan dat inkomen Trackbacks worden ontvangen [Standaard = Ja]';
-$messages['help_htmlarea_enabled'] = 'Toestaan dat de WYSIWYG editor standaard in nieuwe blogs wordt gebruikt [Standaard = Ja]';
-$messages['help_plugin_manager_enabled'] = 'Toestaan dat plugins worden gebruikt [Standaard = Ja]';
-$messages['help_minimum_password_length'] = 'Minimum password lengte [Standaard = 4]';
-$messages['help_xhtml_converter_enabled'] = 'Indien aangeschakeld zal LifeType proberen alle HTML code in XHTML code om te zetten [Standaard = Ja]';
-$messages['help_xhtml_converter_aggressive_mode_enabled'] = 'Indien aangeschakeld zal LifeType extra goed proberen om XHTML van HTML code te maken. Dit geeft een vergroot risico op fouten [Standaard = Nee]';
-$messages['help_session_save_path'] = 'Pad waar LifeType session data opslaat via de PHP functie session_save_path(). Deze folder moet schrijfbaar zijn voor de webserver. Laat leeg om het standaard pad te gebruiken [Standaard = (leeg)]';
-// summary settings
-$messages['help_summary_page_show_max'] = 'Aantal items dat in de samenvattingspagina getoond wordt. Deze instelling geldt voor alle samengevatte lijsten (recente artikelen, meest actieve blogs etc) [Standaard = 10]';
-$messages['help_summary_items_per_page'] = 'Aantal blogs per pagina in de "Blogs lijst" sectie [Standaard = 25]';
-$messages['help_forbidden_usernames'] = 'Lijst van gebruikersnamen die niet geregistreerd mogen worden, gescheiden door een spatie [Standaard = admin www blog ftp]';
-$messages['help_force_one_blog_per_email_account'] = 'Beperk het aantal blogs tot één per e-mail account [Standaard = Nee]';
-$messages['help_summary_show_agreement'] = 'Toon een overeenkomsttekst en laat toekomstige gebruikers deze accepteren voorafgaand aan het registratieproces [Standaard = Ja]';
-$messages['help_need_email_confirm_registration'] = 'Laat gebruikers hun registratie bevestigen door op een link te klikken die hen via e-mail wordt toegestuurd [Standaard = Ja]';
-$messages['help_summary_disable_registration'] = 'Laat gebruikers nieuwe blogs op deze site aanmaken [Standaard = Ja]';
-// templates
-$messages['help_template_folder'] = 'Folder waar templates worden opgeslagen [Standaard = ./templates]';
-$messages['help_default_template'] = 'Standaard template voor nieuwe blogs [Standaard = standard]';
-$messages['help_users_can_add_templates'] = 'Sta toe dat gebruikers hun eigen templates uploaden [Standaard = Ja]';
-$messages['help_template_compile_check'] = 'Controleer regelmatig of templates zijn aangepast, en gebruik deze wanneer dat het geval is. Schakel dit uit voor een betere performance [Standaard = Ja]';
-$messages['help_template_cache_enabled'] = 'Schakel template caching in. Dit zorgt ervoor dat er geen gegevens uit de database hoeven worden opgehaald en templates niet opnieuw vertaald te hoeven worden [Standaard = Ja]';
-$messages['help_template_cache_lifetime'] = 'Tijdsduur in seconden voor de template cache. Kies -1 om de cache zoveel mogelijk te benutten. Als de waarde op 0 staat, wordt caching uitgeschakeld. Het wordt echter aangeraden om in plaats daarvan template_cache_enabled op "Nee" te zetten [Standaard = 0]';
-$messages['help_template_http_cache_enabled'] = 'Schakel ondersteuning voor HTTP conditional requests in. Dit zorgt ervoor dat LifeType de "If-Modified-Since" HTTP header gebruikt en alleen gegevens verstuurt indien dit strikt noodzakelijk is. Schakel dit aan om bandbreedte te besparen [Standaard = Nee]';
-$messages['help_allow_php_code_in_templates'] = 'Sta toe dat PHP code in Smarty templates wordt gebruikt binnen {php}...{/php} blokken [Standaard = Nee]';
-// urls
-$messages['help_request_format_mode'] = 'Selecteer één van onderstaande URL formaten. Als voor aangepaste URLs wordt gekozen, moeten alle onderstaande instellingen worden geconfigureerd [Standaard = Kaal]';
-$messages['plain'] = 'Kaal';
-$messages['search_engine_friendly'] = 'Zoekmachine-vriendelijk';
-$messages['custom_url_format'] = 'Aangepaste URLs';
-$messages['help_permalink_format'] = 'Formaat voor Permalinks bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/{catname}/{year}/{month}/{day}/{postname}$]';
-$messages['help_category_link_format'] = 'Formaat voor links naar categorieen bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/{catname}$]';
-$messages['help_blog_link_format'] = 'Formaat voor links naar blog bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}$]';
-$messages['help_archive_link_format'] = 'Formaat voor links naar archieven bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/archives/{year}/?{month}/?{day}]';
-$messages['help_user_posts_link_format'] = 'Formaat voor artikelen geplaatst door een bepaalde gebruiker bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/user/{username}$]';
-$messages['help_post_trackbacks_link_format'] = 'Formaat voor links naar de Trackbacks pagina bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/post/trackbacks/{postname}$]';
-$messages['help_template_link_format'] = 'Formaat voor links naar aangepaste statische template pagina\'s bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/page/{templatename}$]';
-$messages['help_album_link_format'] = 'Formaat voor links naar albums bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/album/{albumname}$]';
-$messages['help_resource_link_format'] = 'Formaat voor links naar afbeeldingen bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/resource/{albumname}/{resourcename}$]';
-$messages['help_resource_preview_link_format'] = 'Formaat voor links naar verkleinde plaatjes bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/resource/{albumname}/preview/{resourcename}$]';
-$messages['help_resource_medium_size_preview_link_format'] = 'Formaat voor links naar middelgrote plaatjes bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/resource/{albumname}/preview-med/{resourcename}$]';
-$messages['help_resource_download_link_format'] = 'Formaat voor links naar te downloaden bestanden bij gebruik van aangepaste URLs [Standaard = /blog/{blogname}/resource/{albumname}/download/{resourcename}$]';
-// email
-$messages['help_check_email_address_validity'] = 'Controleer bij opgave van een e-mail adres of er een MX record voor bestaat en of de opgegeven  mailbox ook bestaat [Standaard = Nee]';
-$messages['help_email_service_enabled'] = 'Verstuur e-mails vanaf deze website [Standaard = Ja]';
-$messages['help_post_notification_source_address'] = 'Email adres dat verschijnt in het "From:" veld bi het versturen van e-mails [Standaard = noreply at mijndomein.nl]';
-$messages['help_email_service_type'] = 'Welk systeem moet er gebruikt worden om de e-mails te versturen [Standaard = PHP]';
-$messages['help_smtp_host'] = 'Bij gebruik van SMTP als mailsysteem, gebruik het onderstaande adres als SMTP server [Standaard = (leeg)]';
-$messages['help_smtp_port'] = 'Wanneer de SMTP server een andere poort gebruikt dan 25, gebruik dan onderstaande poort [Standaard = (leeg)]';
-$messages['help_smtp_use_authentication'] = 'Vereist de opgegeven SMTP server authenticatie  [Standaard = Nee]';
-$messages['help_smtp_username'] = 'Wanneer de SMTP server authenticatie vereist, gebruik dan onderstaande gebruikersnaam [Standaard = (leeg)]';
-$messages['help_smtp_password'] = 'Wanneer de SMTP server authenticatie vereist, gebruik dan onderstaand wachtwoord [Standaard = (leeg)]';
-// helpers
-$messages['help_path_to_tar'] = 'Pad naar de "tar" applicatie, benodigd voor het uitpakken van templates in .tar.gz of tar.bz2 formaten [Standaard = /bin/tar]';
-$messages['help_path_to_gzip'] = 'Pad naar de "gzip" applicatie, benodigd voor het uitpakken van templates in .tar.gz formaat [Standaard = /bin/gzip]';
-$messages['help_path_to_bz2'] = 'Pad naar de "bzip2" applicatie, benodigd voor het uitpakken van templates in .tar.bz2 formaat [Standaard = /usr/bin/bzip2]';
-$messages['help_path_to_unzip'] = 'Pad naar de "unzip" applicatie, benodigd voor het uitpakken van templates in .zip formaat [Standaard = /usr/bin/unzip]';
-$messages['help_unzip_use_native_version'] = 'gebruik de standaard PHP oplossing om .zip bestanden uit te pakken [Standaard = Nee]';
-// uploads
-$messages['help_uploads_enabled'] = 'Geef op of gebruikers bestanden mogen uploaden. Dit heeft invloed op het gedeelte met bestanden en het uploaden van aangepaste templates en locales [Standaard = Ja]';
-$messages['help_maximum_file_upload_size'] = 'Maximum te uploaden bestandsgrootte in bytes. Deze limiet mag nooit groter zijn dan de serverinstelling [Standaard = 2000000]';
-$messages['help_upload_forbidden_files'] = 'Lijst van bestanden die niet geupload mogen worden, gescheiden door spaties. Gebruik van \'*\' and \'?\' als woldcard is toegestaan [Standaard = *.php *.php3 *.php4 *.phtml]';
-// interfaces
-$messages['help_xmlrpc_api_enabled'] = 'Sta toegang tot blogs via XMLRPC toe [Standaard = Ja]';
-$messages['help_rdf_enabled'] = 'Sta streaming content toe via Atom of RSS feeds [Standaard = Ja]';
-$messages['help_default_rss_profile'] = 'Standaard versie voor streaming content [Standaard = RSS 1.0]';
-// security
-$messages['help_security_pipeline_enabled'] = 'Schakel het gebruik van security pipelining en gerelateerde filters in. Dit heeft ook effect op plugins die nieuwe filters registreren [Standaard = Ja]';
-$messages['help_maximum_comment_size'] = 'Maximum grootte in bytes dat een commentaar kan hebben. Voer 0 in om dit uit te schakelen [Standaard = 0]';
-// bayesian filter
-$messages['help_bayesian_filter_enabled'] = 'Schakel de Bayesian filter aan voor verbeterde automatische spam filtering [Standaard = Ja]';
-$messages['help_bayesian_filter_spam_probability_treshold'] = 'Bovengrens waarop een commentaar wordt gezien als spam [Standaard = 0.9]';
-$messages['help_bayesian_filter_nonspam_probability_treshold'] = 'Ondergrens waarbij een bericht wordt gezien als niet-spam [Standaard = 0.2]';
-$messages['help_bayesian_filter_min_length_token'] = 'Minimum lengte van een token waarbij deze als zinvol wordt beschouwd voor het Bayesian filter [Standaard = 3]';
-$messages['help_bayesian_filter_max_length_token'] = 'Maximum lengte van een token waarbij deze als zinvol wordt beschouwd voor het Bayesian filter [Standaard = 100]';
-$messages['help_bayesian_filter_number_significant_tokens'] = 'Aantal significante tokens [Standaard = 15]';
-$messages['help_bayesian_filter_spam_comments_action'] = 'Wat moet er gebeuren met commentaar dat als spam wordt beschouwd. Selecteer "Weggooien" pas als het filter voldoende is getraind [Standaard = Bewaren]';
-$messages['keep_spam_comments'] = 'Bewaren, markeer als "Spam"';
-$messages['throw_away_spam_comments'] = 'Weggooien (niet opslaan)';
-// resources
-$messages['help_resources_enabled'] = 'Sta het gebruik van bestanden toe [Standaard = Ja]';
-$messages['help_resources_folder'] = 'Folder waar bestanden worden opgeslagen. Gebruik een folder die niet te benaderen is door de webserver voor extra beveiliging [Standaard = ./gallery]';
-$messages['help_thumbnail_method'] = 'Methode voor het genereren van thumbnails. Wanneer PHP wordt gebruikt is ondersteuning voor GD vereist [Standaard = PHP]';
-$messages['help_path_to_convert'] = 'Pad naar de "convert" applicatie van ImageMagick. Vereist bij de selectie van "ImageMagick" voor het genereren van thumbnails [Standaard = /usr/bin/convert]';
-$messages['help_thumbnail_format'] = 'Formaat waarin thumbnails worden opgeslagen [Standaard = Same as image]';
-$messages['help_thumbnail_height'] = 'Standaard hoogte voor kleine thumbnails [Standaard = 120]';
-$messages['help_thumbnail_width'] = 'Standaard breedte voor kleine thumbnails [Standaard = 120]';
-$messages['help_medium_size_thumbnail_height'] = 'Standaard hoogte voor middelgrote thumbnails [Standaard = 480]';
-$messages['help_medium_size_thumbnail_width'] = 'Standaard breedte voor middelgrote thumbnails [Standaard = 640]';
-$messages['help_thumbnails_keep_aspect_ratio'] = 'Bewaar de formaatverhouding van het origineel bij het aanmaken van thumbnails. [Standaard = Ja]';
-$messages['help_thumbnail_generator_force_use_gd1'] = 'Forceer LifeType om alleen GD1 functies te gebruiken [Standaard = Nee]';
-$messages['help_thumbnail_generator_user_smoothing_algorithm'] = 'Algoritme om mooie thumbnails te genereren, bij de keuze van GD als methode [Standaard = PHP ImageCopyResampled]';
-$messages['help_resources_quota'] = 'Algemene limiet voor blogs in bytes, of specificeer 0 voor geen limiet [Standaard = 0]';
-$messages['help_resource_server_http_cache_enabled'] = 'Ondersteuning van de "If-Modified-Since" HTTP header en HTTP conditionele verzoeken. Aanschakelen voor efficiënter gebruik van bandbreedte [Standaard = Nee]';
-$messages['help_resource_server_http_cache_lifetime'] = 'Tijd in microseconden dat gebruikers de bestandsversie in cache moeten gebruiken [Standaard = 9999999]';
-$messages['same_as_image'] = 'Hetzelfde als het originele bestand';
-// search
-$messages['help_search_engine_enabled'] = 'Sta het gebruik van de zoekmachine toe [Standaard = Ja]';
-$messages['help_search_in_custom_fields'] = 'Zoek in eigen velden [Standaard = Ja]';
-$messages['help_search_in_comments'] = 'Zoek in commentaar [Standaard = Ja]';
-
-// cleanup
-$messages['purge'] = 'Verwijderen';
-$messages['cleanup_spam'] = 'Verwijder spam';
-$messages['cleanup_spam_help'] = 'Dit verwijdert alle commentaar die door gebruikers als spam zijn gemarkeerd. Het is na bevestiging niet meer mogelijk om deze actie herstellen.';
-$messages['spam_comments_purged_ok'] = 'Alle berichten gemarkeerd als spam zijn verwijderd';
-$messages['cleanup_posts'] = 'Verwijder berichten';
-$messages['cleanup_posts_help'] = 'Dit verwijdert alle berichten die door gebruikers zijn gemarkeerd als "Verwijderd". Het is na bevestiging niet meer mogelijk om deze actie herstellen.';
-$messages['posts_purged_ok'] = 'Alle berichten gemarkeerd ter verwijderingen zijn daadwerkelijk verwijderd';
-
-/// summary ///
-// front page
-$messages['summary'] = 'Samenvatting';
-$messages['register'] = 'Registreer';
-$messages['summary_welcome'] = 'Welkom!';
-$messages['summary_most_active_blogs'] = 'Meest actieve blogs';
-$messages['summary_most_commented_articles'] = 'Meest becommentarieerd';
-$messages['summary_most_read_articles'] = 'Best gelezen artikelen';
-$messages['password_forgotten'] = 'Wachtwoord vergeten?';
-$messages['summary_newest_blogs'] = 'Nieuwste blogs';
-$messages['summary_latest_posts'] = 'Nieuwste berichten';
-$messages['summary_search_blogs'] = 'Doorzoek blogs';
-
-// blog list
-$messages['updated'] = 'Aangepast';
-$messages['total_reads'] = 'tot.';
-
-// blog profile
-$messages['blog'] = 'Blog';
-$messages['latest_posts'] = 'Laatste bericht';
-
-// registration
-$messages['register_step0_title'] = 'Gebruikersvoorwaarden';
-$messages['agreement'] = 'Overeenkomst';
-$messages['decline'] = 'Afwijzen';
-$messages['accept'] = 'Accepteren';
-$messages['read_service_agreement'] = 'Lees de gebrukkersvoorwaarden voor deze dienst en klik op "Accepteren" als je ermee accoord gaat';
-$messages['register_step1_title'] = 'Nieuwe gebruiker [1/4]';
-$messages['register_step1_help'] = 'Allereerst moet een nieuwe gebruiker worden gedefinieerd om een blog aan te kunnen maken. Deze gebruiker wordt eigenaar van de blog en heeft toegang tot alle functionaliteiten';
-$messages['register_next'] = 'Volgende';
-$messages['register_back'] = 'Terug';
-$messages['register_step2_title'] = 'Nieuwe blog [2/4]';
-$messages['register_blog_name_help'] = 'Naam voor je nieuwe blog';
-$messages['register_step3_title'] = 'Kies een template [3/4]';
-$messages['step1'] = 'Stap 1';
-$messages['step2'] = 'Stap 2';
-$messages['step3'] = 'Stap 3';
-$messages['register_step3_help'] = 'Kies één van de beschikbare templates als de standaard voor je blog. Dit kan later altijd worden aangepast';
-$messages['error_must_choose_template'] = 'Kies een template';
-$messages['select_template'] = 'Kies een template';
-$messages['register_step5_title'] = 'Gefeliciteerd! [4/4]';
-$messages['finish'] = 'Klaar';
-$messages['register_need_confirmation'] = 'Een e-mail met de bevestiging is naar het opgegeven e-mail adres verstuurd. Klik op de link in die mail om te beginnen met bloggen!';
-$messages['register_step5_help'] = 'Gefeliciteerd, je gebruikersaccount en blog zijn aangemaakt!';
-$messages['register_blog_link'] = 'Als je je blog wilt bekijken, kun je deze link gebruiken: <a href="%2$s">%1$s</a>';
-$messages['register_blog_admin_link'] = 'Als je direct met je blog aan de slag wilt, kun je direct naar het <a href="admin.php">beheersscherm</a>';
-$messages['register_error'] = 'Fout tijdens het registratieproces';
-$messages['error_registration_disabled'] = 'Sorry, registratie van nieuwe blogs is voor deze site uitgeschakeld';
-// registration article topic and text
-$messages['register_default_article_topic'] = 'Gefeliciteerd!';
-$messages['register_default_article_text'] = 'Als je dit bericht kunt lezen dan is het registratieproces succesvol verlopen en kun je beginnen met bloggen.';
-$messages['register_default_category'] = 'Algemeen';
-// confirmation email
-$messages['register_confirmation_email_text'] = 'Klik op de link hieronder om je eigen blog te activeren:
-
-%s
-
-Veel plezier!';
-$messages['error_invalid_activation_code'] = 'Sorry, de bevestigingscode is niet correct';
-$messages['blog_activated_ok'] = 'Gefeliciteerd, je nieuwe gebruikersaccount en bijbehorende blog zijn succesvol bevestigd!';
-// forgot your password?
-$messages['reset_password'] = 'Wijzig je wachtwoord';
-$messages['reset_password_username_help'] = 'Gebuikersnaam waarvan het wachtwoord gereset moet worden';
-$messages['reset_password_email_help'] = 'E-mail adres dat gebruikt is om deze gebruiker te registreren';
-$messages['reset_password_help'] = 'Gebruik dit formulier om het wachtwoord van een gebruiker te resetten, mocht je dit vergeten zijn. Voer de naam van de gebruiker in, alsmede het e-mail adres dat gebruikt is tijdens het registratieproces';
-$messages['error_resetting_password'] = 'Fout tijdens het resetten van het wachtwoord. Controleer de gegevens en probeer het opnieuw';
-$messages['reset_password_error_incorrect_email_address'] = 'Het e-mail adres is niet correct of is niet het e-mail adres dat gebruikt is om de gebruiker te registreren';
-$messages['password_reset_message_sent_ok'] = 'Een e-mail met een link is verstuurd naar je e-mail adres. Klik op die link om het wachtwoord te resetten';
-$messages['error_incorrect_request'] = 'De parameters in de URL zijn niet correct';
-$messages['change_password'] = 'Nieuw wachtwoord';
-$messages['change_password_help'] = 'Voer een nieuwe wachtwoord in';
-$messages['new_password'] = 'Nieuw wachtwoord';
-$messages['new_password_help'] = 'Bevestig wachtwoord';
-$messages['password_updated_ok'] = 'Je wachtwoord is aangepast';
-
-// Suggested by BCSE, some useful messages that not available in official locale
-$messages['upgrade_information'] = 'Deze pagina ziet er niet uit omdat je een webbrowser gebruikt die alleen oude standaarden ondersteunt. Om de pagina te zien zoals deze hoort te zijn, kun je het beste <a href="http://www.mozilla.org/" target="_blank">upgraden</a> naar een up-to-date browser die alle webstandaarden ondersteunt. Gratis en simpel!';
-$messages['jump_to_navigation'] = 'Naar navigatie.';
-$messages['comment_email_never_display'] = 'regels en paragrafen breken automatisch af. E-mail adressen worden nooit getoond.';
-$messages['comment_html_allowed'] = 'Toegestane <acronym title="Hypertext Markup Language">HTML</acronym>: &lt;<acronym title="Hyperlink">a</acronym> href=&quot;&quot; title=&quot;&quot; rel=&quot;&quot;&gt; &lt;<acronym title="Acronym Description">acronym</acronym> title=&quot;&quot;&gt; &lt;<acronym title="Quote">blockquote</acronym> cite=&quot;&quot;&gt; &lt;<acronym title="Strike">del</acronym>&gt; &lt;<acronym title="Italic">em</acronym>&gt; &lt;<acronym title="Underline">ins</acronym>&gt; &lt;<acronym title="Bold">strong</acronym>&gt;';
-$messages['trackback_uri'] = 'De <acronym title="Uniform Resource Identifier">URI</acronym> voor trackback naar dit bericht is: ';
-$messages['previous_post'] = 'Vorige';
-$messages['next_post'] = 'Volgende';
-$messages['comment_default_title'] = '(geen onderwerp)';
-$messages['guestbook'] = 'Gastenboek';
-$messages['trackbacks'] = 'Trackbacks';
-$messages['menu'] = 'Menu';
-$messages['albums'] = 'Albums';
-$messages['admin'] = 'Beheer';
-?>

Deleted: plog/trunk/locale/unported/locale_zh_CN.php
===================================================================
--- plog/trunk/locale/unported/locale_zh_CN.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/locale/unported/locale_zh_CN.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,909 +0,0 @@
-<?php
-// set this to the encoding that should be used to display the pages correctly,translated by JianxinLiu,Tianjin University
-$messages['encoding'] = 'UTF-8';
-$messages['locale_description'] = 'Simplified Chinese translation (UTF-8)';
-// locale format, see Locale::formatDate for more information
-$messages['date_format'] = '%Y/%m/%d %H:%M';
-
-// days of the week
-$messages['days'] = Array( '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' );
-// -- compatibility, do not touch -- //
-$messages['Monday'] = $messages['days'][1];
-$messages['Tuesday'] = $messages['days'][2];
-$messages['Wednesday'] = $messages['days'][3];
-$messages['Thursday'] = $messages['days'][4];
-$messages['Friday'] = $messages['days'][5];
-$messages['Saturday'] = $messages['days'][6];
-$messages['Sunday'] = $messages['days'][0];
-
-// abbreviations
-$messages['daysshort'] = Array( '日', '一', '二', '三', '四', '五', '六' );
-// -- compatibility, do not touch -- //
-$messages['Mo'] = $messages['daysshort'][1];
-$messages['Tu'] = $messages['daysshort'][2];
-$messages['We'] = $messages['daysshort'][3];
-$messages['Th'] = $messages['daysshort'][4];
-$messages['Fr'] = $messages['daysshort'][5];
-$messages['Sa'] = $messages['daysshort'][6];
-$messages['Su'] = $messages['daysshort'][0];
-
-// months of the year
-$messages['months'] = Array( '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月');
-// -- compatibility, do not touch -- //
-$messages['January'] = $messages['months'][0];
-$messages['February'] = $messages['months'][1];
-$messages['March'] = $messages['months'][2];
-$messages['April'] = $messages['months'][3];
-$messages['May'] = $messages['months'][4];
-$messages['June'] = $messages['months'][5];
-$messages['July'] = $messages['months'][6];
-$messages['August'] = $messages['months'][7];
-$messages['September'] = $messages['months'][8];
-$messages['October'] = $messages['months'][9];
-$messages['November'] = $messages['months'][10];
-$messages['December'] = $messages['months'][11];
-$messages['message'] = '系统信息';
-$messages['error'] = '错误信息';
-$messages['date'] = '日期';
-
-// miscellaneous texts
-$messages['of'] = 'of';
-$messages['recently'] = '最新发表';
-$messages['comments'] = '最新回复';
-$messages['comment on this'] = '评论';
-$messages['my_links'] = '我的链接';
-$messages['archives'] = '文章归档';
-$messages['search'] = '搜索';
-$messages['calendar'] = '博客日历';
-$messages['search_s'] = '搜索';
-$messages['search_this_blog'] = '站内搜索';
-$messages['about_myself'] = '自我介绍';
-$messages['permalink_title'] = '归档文章的自我静态链接地址';
-$messages['permalink'] = '静态链接网址';
-$messages['posted_by'] = '作者';
-$messages['reply'] = '回复';
-
-// add comment form
-$messages['add_comment'] = '发表评论';
-$messages['comment_topic'] = '标题';
-$messages['comment_text'] = '在此添加评论';
-$messages['comment_username'] = '称呼';
-$messages['comment_email'] = '邮箱地址(可选)';
-$messages['comment_url'] = '个人主页(可选)';
-$messages['comment_send'] = '发表';
-$messages['comment_added'] = '您的评论已经发表';
-$messages['comment_add_error'] = '发表评论时出错';
-$messages['article_does_not_exist'] = '该文章不存在';
-$messages['no_posts_found'] = '找不到文章';
-$messages['user_has_no_posts_yet'] = '该作者尚未发表任何文章';
-$messages['back'] = '返回上一页';
-$messages['post'] = '发表';
-$messages['trackbacks_for_article'] = '引用本文的文章:';
-$messages['trackback_excerpt'] = '摘要';
-$messages['trackback_weblog'] = '博客';
-$messages['search_results'] = '搜索结果';
-$messages['search_matching_results'] = '以下文章符合搜索需求: ';
-$messages['search_no_matching_posts'] = '没有文章符合搜索要求';
-$messages['read_more'] = '查看全文';
-$messages['syndicate'] = '新闻聚合';
-$messages['main'] = '首页';
-$messages['about'] = '关于';
-$messages['download'] = '下载';
-
-////// error messages /////
-$messages['error_fetching_article'] = '找不到您所指定的文章';
-$messages['error_fetching_articles'] = '找不到您所指定的文章';
-$messages['error_trackback_no_trackback'] = '尚未有人向本文发送引用通告';
-$messages['error_incorrect_article_id'] = '文章标识号错误';
-$messages['error_incorrect_blog_id'] = '博客标识号错误';
-$messages['error_comment_without_text'] = '请您填写评论正文';
-$messages['error_comment_without_name'] = '请您填写称呼';
-$messages['error_adding_comment'] = '添加评论时出错';
-$messages['error_incorrect_parameter'] = '参数不正确';
-$messages['error_parameter_missing'] = '参数不全';
-$messages['error_comments_not_enabled'] = '该博客关闭了评论功能';
-$messages['error_incorrect_search_terms'] = '该搜索条件无效';
-$messages['error_no_search_results'] = '搜索条件不匹配';
-$messages['error_no_albums_defined'] = '该博客中无可用文件夹';
-
-/////////////////                                          //////////////////
-///////////////// STRINGS FOR THE ADMINISTRATION INTERFACE //////////////////
-/////////////////                                          //////////////////
-
-// login page
-$messages['login'] = '登陆';
-$messages['welcome_message'] = '欢迎进入LifeType';
-$messages['error_incorrect_username_or_password'] = '对不起,您的用户名或者密码不正确。';
-$messages['error_dont_belong_to_any_blog'] = '对不起,您尚未加入任何博客。';
-$messages['logout_message'] = '您已经成功退出。';
-$messages['logout_message_2'] = '点击 <a href="%1$s">这里</a> 进入 %2$s</a>.';
-$messages['error_access_forbidden'] = '访问受限。您需要首先得到认证或通过。';
-$messages['username'] = '用户名';
-$messages['password'] = '密码';
-
-// dashboard
-$messages['dashboard'] = '控制面板';
-$messages['recent_articles'] = '最新文章';
-$messages['recent_comments'] = '最新评论';
-$messages['recent_trackbacks'] = '最新引用';
-$messages['blog_statistics'] = '博客统计';
-$messages['total_posts'] = '总文章数';
-$messages['total_comments'] = '总评论数';
-$messages['total_trackbacks'] = '总引用数';
-$messages['total_viewed'] = '总浏览数';
-$messages['in'] = '目标文章';
-
-// menu options
-$messages['newPost'] = '发表文章';
-$messages['Manage'] = '管理面板';
-$messages['managePosts'] = '文章管理';
-$messages['editPosts'] = '文章列表';
-$messages['editArticleCategories'] = '编辑文章分类';
-$messages['newArticleCategory'] = '新建文章分类';
-$messages['manageLinks'] = '链接管理';
-$messages['editLinks'] = '链接列表';
-$messages['newLink'] = '新建链接';
-$messages['editLink'] = '编辑链接';
-$messages['editLinkCategories'] = '链接分类';
-$messages['newLinkCategory'] = '新建链接分类';
-$messages['editLinkCategory'] = '编辑链接分类';
-$messages['manageCustomFields'] = '管理自定义区块';
-$messages['blogCustomFields'] = '自定义区块';
-$messages['newCustomField'] = '新建自定义区块';
-$messages['resourceCenter'] = '资源中心';
-$messages['resources'] = '资源列表';
-$messages['newResourceAlbum'] = '新建资源文件夹';
-$messages['newResource'] = '新建资源';
-$messages['controlCenter'] = '控制中心';
-$messages['manageSettings'] = '设置';
-$messages['blogSettings'] = '博客设置';
-$messages['userSettings'] = '用户设置';
-$messages['pluginCenter'] = '插件中心';
-$messages['Stats'] = '统计资料';
-$messages['manageBlogUsers'] = '用户管理';
-$messages['newBlogUser'] = '添加新用户';
-$messages['showBlogUsers'] = '用户列表';
-$messages['manageBlogTemplates'] = '模板管理';
-$messages['newBlogTemplate'] = '新建模板';
-$messages['blogTemplates'] = '模板列表';
-$messages['adminSettings'] = '管理设置';
-$messages['Users'] = '用户管理';
-$messages['createUser'] = '创建用户';
-$messages['editSiteUsers'] = '用户列表';
-$messages['Blogs'] = '博客管理';
-$messages['createBlog'] = '创建博客';
-$messages['editSiteBlogs'] = '博客列表';
-$messages['Locales'] = '语言包管理';
-$messages['newLocale'] = '添加语言包';
-$messages['siteLocales'] = '语言包列表';
-$messages['Templates'] = '模板管理';
-$messages['newTemplate'] = '创建模板';
-$messages['siteTemplates'] = '模板列表';
-$messages['GlobalSettings'] = '全局设置';
-$messages['editSiteSettings'] = '常规设置';
-$messages['summarySettings'] = '汇总设置';
-$messages['templateSettings'] = '模板设置';
-$messages['urlSettings'] = 'URL设置';
-$messages['emailSettings'] = '邮件设置';
-$messages['uploadSettings'] = '上传设置';
-$messages['helpersSettings'] = '帮助设置';
-$messages['interfacesSettings'] = '接口设置';
-$messages['securitySettings'] = '安全设置';
-$messages['bayesianSettings'] = '过滤设置';
-$messages['resourcesSettings'] = '资源中心设置';
-$messages['searchSettings'] = '搜索设置';
-$messages['cleanUpSection'] = '清理垃圾';
-$messages['cleanUp'] = '清理垃圾';
-$messages['editResourceAlbum'] = '编辑资源夹';
-$messages['resourceInfo'] = '编辑资源';
-$messages['editBlog'] = '编辑博客';
-$messages['Logout'] = '注销';
-$messages['editUser'] = '编辑用户';
-
-// new post
-$messages['topic'] = '标题';
-$messages['topic_help'] = '在这里输入文章标题';
-$messages['text'] = '文章内容';
-$messages['text_help'] = '摘要内容:(该部分内容将在您的首页显示)';
-$messages['extended_text'] = '扩展内容';
-$messages['extended_text_help'] = '扩展内容:(该部分可以通过后台设置决定是否显示在首页中或仅仅出现在文章内容中,在博客设置中会找到更多信息。';
-$messages['trackback_urls'] = '真实引用网址';
-$messages['trackback_urls_help'] = '如果您要引用的文章没有支援‘引用网址自动搜寻’机制,请在这里输入他们的真实引用网址,并用断行来隔开。';
-$messages['post_slug'] = '文章代成';
-$messages['post_slug_help'] = '文章代成可以为文章标题生成静态地址。';
-$messages['date'] = '日期';
-$messages['post_date_help'] = '发表文章的日期';
-$messages['status'] = '文章状态';
-$messages['post_status_help'] = '选择文章状态';
-$messages['post_status_published'] = '公开';
-$messages['post_status_draft'] = '草稿';
-$messages['post_status_deleted'] = '已删除';
-$messages['categories'] = '文章分类';
-$messages['post_categories_help'] = '选择一个或多个分类';
-$messages['post_comments_enabled_help'] = '允许回复';
-$messages['send_notification_help'] = '发送新回复通知';
-$messages['send_trackback_pings_help'] = '发送引用通告';
-$messages['send_xmlrpc_pings_help'] = '发送XMLRPC pings';
-$messages['save_draft_and_continue'] = '保存草稿';
-$messages['preview'] = '文章预览';
-$messages['add_post'] = '发表该文章';
-$messages['error_saving_draft'] = '保存草稿过程中出错';
-$messages['draft_saved_ok'] = '保存草稿成功';
-$messages['error_sending_request'] = '发送请求时出错';
-$messages['error_no_category_selected'] = '请您至少选择一个文章分类';
-$messages['error_missing_post_topic'] = '请您输入文章标题';
-$messages['error_missing_post_text'] = '请您输入文章内容';
-$messages['error_adding_post'] = '添加文章时发生错误';
-$messages['post_added_not_published'] = '添加文章成功但未发布';
-$messages['post_added_ok'] = '添加文章成功';
-$messages['send_notifications_ok'] = '有新评论或引用时将向您发送通告。';
-$messages['bookmarklet'] = "书签小程式";
-$messages['bookmarklet_help'] = "把下面的连结拉到你工具列,或是按下滑鼠右键把连结加到我的最爱。";
-$messages['blogit_to_LifeType'] = "把文章加到 LifeType!";
-$messages['original_post'] = "(原文)";
-
-// send trackbacks
-$messages['error_sending_trackbacks'] = '发送以下引用通知时发生错误';
-$messages['send_trackbacks_help'] = '请选择您所要发送引用通告的网址。(请确定该网站站支持引用通告功能)';
-$messages['send_trackbacks'] = '发送引用通知';
-$messages['ping_selected'] = '向选定的网址发送引用通知';
-$messages['trackbacks_sent_ok'] = '引用通知已成功发送到选定的网址';
-
-// posts page
-$messages['show_by'] = '显示';
-$messages['category'] = '文章分类';
-$messages['author'] = '作者';
-$messages['post_status_all'] = '全部状态';
-$messages['author_all'] = '全部作者';
-$messages['search_terms'] = '搜索条件';
-$messages['show'] = '显示';
-$messages['delete'] = '删除';
-$messages['actions'] = '操作';
-$messages['all'] = '全部';
-$messages['category_all'] = '全部分类';
-$messages['error_incorrect_article_id'] = '不正确的文章标识';
-$messages['error_deleting_article'] = '删除文章 "%s" 时发生错误';
-$messages['article_deleted_ok'] = '文章 "%s" 删除成功';
-$messages['articles_deleted_ok'] = '文章 %s 删除成功';
-$messages['error_deleting_article2'] = '删除文章 "%s" 时发生错误';
-
-// edit post page
-$messages['update'] = '修改';
-$messages['editPost'] = '编辑文章';
-$messages['error_fetching_post'] = '读取文章时出错';
-$messages['post_updated_ok'] = '文章 "%s" 更新成功';
-$messages['error_updating_post'] = '更新文章时出错';
-$messages['notification_added'] = '有新评论或引用时您将收到通告。';
-$messages['notification_removed'] = '有新评论或引用时不发送通告。';
-
-// post comments
-$messages['url'] = 'URL';
-$messages['comment_status_all'] = '全部';
-$messages['comment_status_spam'] = '垃圾评论';
-$messages['comment_status_nonspam'] = '无垃圾评论';
-$messages['error_fetching_comments'] = '读取文章评论时出错';
-$messages['error_deleting_comments'] = '删除文章评论时出错或无未选择任何评论';
-$messages['comment_deleted_ok'] = '评论 "%s" 删除成功';
-$messages['comments_deleted_ok'] = '评论 %s 删除成功';
-$messages['error_deleting_comment'] = '删除评论 "%s" 时出错';
-$messages['error_deleting_comment2'] = '删除评论 %s 时出错';
-$messages['editComments'] = '编辑评论';
-$messages['mark_as_spam'] = '标记为垃圾评论';
-$messages['mark_as_no_spam'] = '标记为非垃圾评论';
-$messages['error_incorrect_comment_id'] = '评论标识错误';
-$messages['error_marking_comment_as_spam'] = '标记垃圾评论时出错';
-$messages['comment_marked_as_spam_ok'] = '该评论已成功标记为垃圾评论';
-$messages['error_marking_comment_as_nonspam'] = '去除垃圾评论标记时出错';
-$messages['comment_marked_as_nonspam_ok'] = '成功去除垃圾评论标记';
-
-// post trackbacks
-$messages['blog'] = '博客站点';
-$messages['excerpt'] = '引用内容';
-$messages['error_fetching_trackbacks'] = '读取引用时出错';
-$messages['error_deleting_trackbacks'] = '删除引用时出错或未选择任何引用';
-$messages['error_deleting_trackback'] = '删除引用 "%s" 时出错';
-$messages['error_deleting_trackback2'] = '删除引用 "%s" 时出错';
-$messages['trackback_deleted_ok'] = '引用 "%s" 删除成功';
-$messages['trackbacks_deleted_ok'] = '引用 %s 删除成功';
-$messages['editTrackbacks'] = '引用';
-
-// post statistics
-$messages['referrer'] = '逆向链接';
-$messages['hits'] = '点击数';
-$messages['error_no_items_selected'] = '未选择删除任何选项';
-$messages['error_deleting_referrer'] = '删除逆向链接 "%s" 时出错';
-$messages['error_deleting_referrer2'] = '删除逆向链接 "%s" 时出错';
-$messages['referrer_deleted_ok'] = '逆向链接 "%s" 删除成功';
-$messages['referrers_deleted_ok'] = '逆向链接 "%s" 删除成功';
-
-// categories
-$messages['posts'] = '文章数';
-$messages['show_in_main_page'] = '是否在首页显示';
-$messages['error_incorrect_category_id'] = '分类标识错误或未选择项目';
-$messages['error_category_has_articles'] = '分类 "%s" 已被文章使用,请先编辑这些文章再删除该分类。';
-$messages['category_deleted_ok'] = '分类 "%s" 成功删除';
-$messages['categories_deleted_ok'] = '分类 "%s" 成功删除';
-$messages['error_deleting_category'] = '删除分类"%s"时出错';
-$messages['error_deleting_category2'] = '删除分类"%s"时出错';
-$messages['yes'] = '是';
-$messages['no'] = '否';
-
-// new category
-$messages['name'] = '分类名称';
-$messages['category_name_help'] = '分类名称将显示在首页';
-$messages['description'] = '描述';
-$messages['category_description_help'] = '该分类的详细描述';
-$messages['show_in_main_page_help'] = '该分类是否在首页显示';
-$messages['error_empty_name'] = '你必须输入分类名称';
-$messages['error_empty_description'] = '你必须输入分类描述';
-$messages['error_adding_article_category'] = '添加新分类时出错,请检查输入重试';
-$messages['category_added_ok'] = '分类 "%s" 成功添加到系统中';
-$messages['add'] = '添加';
-$messages['reset'] = '重置';
-
-// update category
-$messages['error_updating_article_category'] = '修改分类时出错';
-$messages['error_fetching_category'] = '读取分类时出错';
-$messages['article_category_updated_ok'] = '分类"%s"修改成功';
-
-// links
-$messages['feed'] = 'Feed';
-$messages['error_no_links_selected'] = '链接标识错误或未选择项目';
-$messages['error_incorrect_link_id'] = '链接标识错误';
-$messages['error_removing_link'] = '删除链接"%s"时出错';
-$messages['error_removing_link2'] = '删除链接"%s"时出错';
-$messages['link_deleted_ok'] = '链接 "%s" 删除成功';
-$messages['links_deleted_ok'] = '链接 %s 删除成功';
-
-// new link
-$messages['link_name_help'] = '链接名称';
-$messages['link_url_help'] = '链接地址';
-$messages['link_description_help'] = '链接描述';
-$messages['link_feed_help'] = '链接Feed地址';
-$messages['link_category_help'] = '选择一个有效的链接分类';
-$messages['error_adding_link'] = '添加链接时出错,请检查数据并重试';
-$messages['error_invalid_url'] = '地址错';
-$messages['link_added_ok'] = '链接 "%s" 添加成功';
-$messages['bookmarkit_to_LifeType'] = "把书签加到 LifeType!";
-
-// update link
-$messages['error_updating_link'] = '修改链接时出错,请检查数据并重试。';
-$messages['error_fetching_link'] = '读取链接时出错';
-$messages['link_updated_ok'] = '链接 "%s" 修改成功';
-
-// link categories
-$messages['links'] = '网站链接';
-$messages['error_invalid_link_category_id'] = '该链接分类标识出错或未选择项目';
-$messages['error_links_in_link_category'] = '有链接使用链接分类 "%s" ,请首先修改链接再重试';
-$messages['error_removing_link_category'] = '删除链接分类 "%s"时出错';
-$messages['link_category_deleted_ok'] = '链接 "%s" 删除成功';
-$messages['link_categories_deleted_ok'] = '链接 "%s" 删除成功';
-$messages['error_removing_link_category2'] = '删除链接分类 "%s"时出错';
-
-// new link category
-$messages['link_category_name_help'] = '新链接分类名称';
-$messages['error_adding_link_category'] = '添加新链接时出错';
-$messages['link_category_added_ok'] = '链接分类 "%s" 添加成功';
-
-// edit link category
-$messages['error_updating_link_category'] = '修改链接分类时出错,请检查数据并重试';
-$messages['link_category_updated_ok'] = '链接分类 "%s" 修改成功';
-$messages['error_fetching_link_category'] = '读取链接分类时出错';
-
-// custom fields
-$messages['type'] = '类型';
-$messages['hidden'] = '是否隐藏';
-$messages['fields_deleted_ok'] = '自定义区块 %s 删除成功';
-$messages['field_deleted_ok'] = '自定义区块 "%s" 删除成功';
-$messages['error_deleting_field'] = '删除自定义区块 "%s" 时出错';
-$messages['error_deleting_field2'] = '删除自定义区块 "%s" 时出错';
-$messages['error_incorrect_field_id'] = '自定义区块标识无效';
-
-// new custom field
-$messages['field_name_help'] = '在文章中将作为该区块的标识';
-$messages['field_description_help'] = '该区块的概要描述将在添加或修改文章时显示';
-$messages['field_type_help'] = '选择有效区块的类型';
-$messages['field_hidden_help'] = '如果一个区块隐藏,那么它在添加或编辑文章时不会显示出来。这个功能主要应用在插件中。';
-$messages['error_adding_custom_field'] = '添加自定义区块时出错,请检查数据并重试';
-$messages['custom_field_added_ok'] = '自定义区块 "%s" 添加成功';
-$messages['text_field'] = '文本区域';
-$messages['text_area'] = '文本框';
-$messages['checkbox'] = '多选框';
-$messages['date_field'] = '日期选择';
-
-// edit custom field
-$messages['error_fetching_custom_field'] = '读取自定义区块时出错';
-$messages['error_updating_custom_field'] = '修改自定义区块时出错,请检查数据并重试';
-$messages['custom_field_updated_ok'] = '自定义区块 "%s" 修改成功';
-
-// resources
-$messages['root_album'] = '根文件夹';
-$messages['num_resources'] = '资源数量';
-$messages['total_size'] = '总使用空间';
-$messages['album'] = '文件夹';
-$messages['error_incorrect_album_id'] = '资源标识出错';
-$messages['error_base_storage_folder_missing_or_unreadable'] = 'LifeType中不能创建必要的存放资源的文件夹。这可能由多种原因造成,比如你的php使用安全模式安装运行或者你的用户没有足够权限。你仍然可以手动进行操作,创建文件夹: <br/><br/>%s<br/><br/>如果这些文件夹已经存在,请确定她们可通过用户运行web服务器进行读写。';
-$messages['items_deleted_ok'] = '项目%s删除成功';
-$messages['error_album_has_children'] = '文件夹 "%s" 有子文件夹. 请先编辑该文件夹再重试。';
-$messages['item_deleted_ok'] = '项目%s删除成功';
-$messages['error_deleting_album'] = '删除文件夹 "%s" 时出错';
-$messages['error_deleting_album2'] = '删除文件夹 "%s" 时出错';
-$messages['error_deleting_resource'] = '删除文件"%s"时出错';
-$messages['error_deleting_resource2'] = '删除文件"%s"时出错';
-$messages['error_no_resources_selected'] = '没有选择删除的项目';
-$messages['resource_deleted_ok'] = '资源"%s"被成功删除';
-$messages['album_deleted_ok'] = '文件夹"%s"被成功删除';
-$messages['add_resource'] = '添加资源';
-$messages['add_resource_preview'] = '添加预览';
-$messages['add_resource_medium'] = '添加中型预览';
-$messages['add_album'] = '添加文件夹';
-
-// new album
-$messages['album_name_help'] = '该文件夹的名称';
-$messages['parent'] = '上级文件夹';
-$messages['no_parent'] = '无上级文件夹';
-$messages['parent_album_help'] = '使用这个选项使得文件夹下包含文件夹以便更好的管理文件';
-$messages['album_description_help'] = '文件夹内容的详细描述';
-$messages['error_adding_album'] = '添加新文件夹出错,请检查数据并重试。';
-$messages['album_added_ok'] = '文件夹 "%s" 成功添加';
-
-// edit album
-$messages['error_incorrect_album_id'] = '文件夹表示错误';
-$messages['error_fetching_album'] = '读取文件夹时出错';
-$messages['error_updating_album'] = '修改文件夹时出错,请检查数据重试';
-$messages['album_updated_ok'] = '文件夹 "%s" 修改成功';
-$messages['show_album_help'] = '如果禁用,文件夹将不显示在博客的可用文件夹列表中';
-
-// new resource
-$messages['file'] = '文件';
-$messages['resource_file_help'] = '添加文件到当前博客中。使用“添加多个文件”链接同时上传多个文件';
-$messages['add_field'] = '添加多个文件';
-$messages['resource_description_help'] = '该文件的详细描述';
-$messages['resource_album_help'] = '选择该文件要添加到哪个文件夹';
-$messages['error_no_resource_uploaded'] = '未选择任何待上传文件';
-$messages['resource_added_ok'] = '文件 "%s" 添加成功';
-$messages['error_resource_forbidden_extension'] = '该文件类型被禁用,不可添加';
-$messages['error_resource_too_big'] = '文件太大,不可添加';
-$messages['error_uploads_disabled'] = '禁止上传文件';
-$messages['error_quota_exceeded'] = '文件配额超容,不可添加文件';
-$messages['error_adding_resource'] = '添加资源文件时出错';
-
-// edit resource
-$messages['editResource'] = '编辑资源';
-$messages['resource_information_help'] = '以下是一些关于资源文件的信息。';
-$messages['information'] = '文件信息';
-$messages['size'] = '文件大小';
-$messages['format'] = '文件格式';
-$messages['dimensions'] = '尺寸';
-$messages['bits_per_sample'] = '位深';
-$messages['sample_rate'] = '样本率';
-$messages['number_of_channels'] = '通道数';
-$messages['legnth'] = '长度';
-$messages['thumbnail_format'] = '缩略图格式';
-$messages['regenerate_preview'] = '重新生成预览';
-$messages['error_fetching_resource'] = '读取文件时出错';
-$messages['error_updating_resource'] = '修改文件时出错';
-$messages['resource_updated_ok'] = '文件 "%s" 修改成功';
-
-// blog settings
-$messages['blog_link'] = '博客地址';
-$messages['blog_link_help'] = '该博客网站的永久地址';
-$messages['blog_name_help'] = '博客名称';
-$messages['blog_description_help'] = '该博客的详细描述';
-$messages['language'] = '语言';
-$messages['blog_language_help'] = '选择博客前台和管理的语言';
-$messages['max_main_page_items'] = '首页文章数量';
-$messages['max_main_page_items_help'] = '显示在该博客首页的最大文章数量';
-$messages['max_recent_items'] = '近期文章数量';
-$messages['max_recent_items_help'] = '显示在首页中的最新发表的最大文件数量';
-$messages['template'] = '模板';
-$messages['choose'] = '选择';
-$messages['blog_template_help'] = '选择该博客应用的模板, 这个列表包括了所有的为该博客安装的模板';
-$messages['use_read_more'] = '在文章中使用扩展内容';
-$messages['use_read_more_help'] = '如果启用该选项,在首页只显示文章内容,而不显示扩展内容。如果需要显示扩展内容的话,每个文章末尾会出现一个“查看全文”的链接';
-$messages['enable_wysiwyg'] = '使用所见即所得编辑器编辑文章';
-$messages['enable_wysiwyg_help'] = '启用所见即所得编辑器编辑文章的html代码.该编辑器只能使用在IE5.5以上或Mozilla 1.3以上浏览器中';
-$messages['enable_comments'] = '默认允许评论文章';
-$messages['enable_comments_help'] = '默认开放对所有文章的评论留言权限.';
-$messages['show_future_posts'] = '显示将来的文章';
-$messages['show_future_posts_help'] = '以将来日期发表的文章是否对其它用户可见';
-$messages['comments_order'] = '评论留言排序方式';
-$messages['comments_order_help'] = '在首页中评论的排序方式';
-$messages['oldest_first'] = '旧的在前';
-$messages['newest_first'] = '新的在前';
-$messages['categories_order'] = '文章分类排序方式';
-$messages['categories_order_help'] = '在首页中文章分类的排序方式';
-$messages['most_recent_updated_first'] = '最近更新最多的在前';
-$messages['alphabetical_order'] = '按字母正序排列';
-$messages['reverse_alphabetical_order'] = '按字母倒序排列';
-$messages['most_articles_first'] = '文章最多的在前';
-$messages['link_categories_order'] = '链接分类排序方式';
-$messages['link_categories_order_help'] = '在首页中链接分类的排序方式';
-$messages['most_links_first'] = '链接最多的在前';
-$messages['most_links_last'] = '链接最多的在后';
-$messages['time_offset'] = '时差';
-$messages['time_offset_help'] = '您的博客服务器与您所在地的时差 ';
-$messages['close'] = '关闭';
-$messages['select'] = '选择';
-$messages['error_updating_settings'] = '更新博客设置时出错,请检查数据并重试。';
-$messages['error_invalid_number'] = '数目不正确';
-$messages['error_incorrect_time_offset'] = '时差无效';
-$messages['blog_settings_updated_ok'] = '博客设置修改成功';
-$messages['hours'] = '小时';
-
-// user settings
-$messages['username_help'] = '用户名称,不可修改';
-$messages['full_name'] = '全名';
-$messages['full_name_help'] = '用户的全名';
-$messages['password_help'] = '修改密码,留空则密码保持不变。';
-$messages['confirm_password'] = '确认密码';
-$messages['email'] = '电子邮件';
-$messages['email_help'] = '接收通知的电子邮件地址';
-$messages['bio'] = '自我介绍';
-$messages['bio_help'] = '自我的详细介绍';
-$messages['picture'] = '形象图片';
-$messages['user_picture_help'] = '从上传的图片中选择一个作为你的个人图片';
-$messages['error_invalid_password'] = '密码不正确,请确认其长度是否过短';
-$messages['error_passwords_dont_match'] = '对不起,密码不匹配';
-$messages['error_incorrect_email_address'] = '电子邮件地址不正确';
-$messages['error_updating_user_settings'] = '更新用户设置时出错,请检查数据并重试';
-$messages['user_settings_updated_ok'] = '用户设置修改成功';
-$messages['resource'] = '资源';
-
-// plugin centre
-$messages['identifier'] = '标识号';
-$messages['error_plugins_disabled'] = '对不起,插件被禁用。';
-
-// blog users
-$messages['revoke_permissions'] = '取消使用权限';
-$messages['error_no_users_selected'] = '位选择任何用户';
-$messages['user_removed_from_blog_ok'] = '用户 "%s" 的该博客权限取消成功';
-$messages['users_removed_from_blog_ok'] = '用户 "%s" 的该博客权限取消成功';
-$messages['error_removing_user_from_blog'] = '取消用户 "%s" 的该博客权限时出错';
-$messages['error_removing_user_from_blog2'] = '取消用户 "%s" 的该博客权限时出错';
-
-// new blog user
-$messages['new_blog_username_help'] = '待增加的对该博客管理和资源中心权限的用户的用户名';
-$messages['send_notification'] = '发送通告';
-$messages['send_user_notification_help'] = '向该用户发送一封通告邮件';
-$messages['notification_text'] = '通告正文';
-$messages['notification_text_help'] = '向用户发送的通告的正文';
-$messages['error_adding_user'] = '添加该用户权限时出错,请检查数据并重试。';
-$messages['error_empty_text'] = '您必须输入通告正文';
-$messages['error_adding_user'] = '添加用户时出错,请检查数据并重试。';
-$messages['error_invalid_user'] = '用户 "%s" 无效或不存在';
-$messages['user_added_to_blog_ok'] = '添加用户 "%s" 的该博客权限成功';
-
-// blog templates
-$messages['error_no_templates_selected'] = '未选择任何模板';
-$messages['error_template_is_current'] = '模板 "%s" 正在使用,不能删除。';
-$messages['error_removing_template'] = '删除模板 "%s" 时出错';
-$messages['template_removed_ok'] = '模板 "%s" 删除成功';
-$messages['templates_removed_ok'] = '模板 %s 删除成功';
-
-// new blog template
-$messages['template_installed_ok'] = '模板 "%s" 添加成功';
-$messages['error_installing_template'] = '安装模板 "%s" 时出错';
-$messages['error_missing_base_files'] = '模板文件部分丢失';
-$messages['error_add_template_disabled'] = '该站点此功能被禁用,不能添加新模板';
-$messages['error_must_upload_file'] = '未上传模板文件';
-$messages['error_uploads_disabled'] = '该站点禁止上传';
-$messages['error_no_new_templates_found'] = '未找到新模板';
-$messages['error_template_not_inside_folder'] = '模板文件所在文件夹的名称必须与模板设置中的名称相同。';
-$messages['error_missing_base_files'] = '部分基本模板文件丢失';
-$messages['error_unpacking'] = '解压缩文件时出错';
-$messages['error_forbidden_extensions'] = '模板中有文件被禁止访问';
-$messages['error_creating_working_folder'] = '创建临时文件夹解压缩文件时出错';
-$messages['error_checking_template'] = '模板发生错误 (code = %s)';
-$messages['template_package'] = '模板安裝包';
-$messages['blog_template_package_help']  = '您可以用此表单,上传一个新的模板安裝包,该模板只有您的博客才能够使用。如果您无法用浏览器上传,请手动上传模板并将它放置于您的博客模板文件夹<b>%s</b>下,然后按下 "<b>扫描模板</b>" 按钮。 LifeType 会扫描该文件夹并自动添加所找到的新模板。';
-$messages['scan_templates'] = '扫描模板';
-
-// site users
-$messages['user_status_active'] = '激活';
-$messages['user_status_disabled'] = '禁用';
-$messages['user_status_all'] = '用户状态';
-$messages['user_status_unconfirmed'] = '未确认';
-$messages['error_invalid_user2'] = '标识为 "%s" 的用户不存在。';
-$messages['error_deleting_user'] = '禁用用户 "%s" 时出错';
-$messages['user_deleted_ok'] = '用户 "%s" 禁用成功';
-$messages['users_deleted_ok'] = '用户 %s 禁用成功';
-
-// create user
-$messages['user_added_ok'] = '用户 "%s" 添加成功';
-$messages['error_incorrect_username'] = '该用户名不正确或已经存在';
-$messages['user_status_help'] = '该用户当前状态';
-$messages['user_blog_help'] = '该用户最初被分配权限的博客';
-$messages['none'] = 'æ— ';
-
-// edit user
-$messages['error_invalid_user'] = '用户标识不正确或该用户不存在';
-$messages['error_updating_user'] = '更新用户设置时出错,请检查数据并重试';
-$messages['blogs'] = '博客列表';
-$messages['user_blogs_help'] = '该用户当前拥有的或有权限的博客';
-$messages['site_admin'] = '管理员权限';
-$messages['site_admin_help'] = '该用户是否具有管理员权限';
-$messages['user_updated_ok'] = '用户 "%s" 修改成功';
-
-// site blogs
-$messages['blog_status_all'] = '博客状态';
-$messages['blog_status_active'] = '激活';
-$messages['blog_status_disabled'] = '禁用';
-$messages['blog_status_unconfirmed'] = '未确认';
-$messages['owner'] = '管理员';
-$messages['quota'] = '配额';
-$messages['bytes'] = '字节';
-$messages['error_no_blogs_selected'] = '您必须选择您想要禁用的博客网站。';
-$messages['error_blog_is_default_blog'] = '"%s"是系统默认博客,无法禁用。';
-$messages['blog_deleted_ok'] = '博客 "%s" 禁用成功';
-$messages['blogs_deleted_ok'] = '博客 "%s" 禁用成功';
-$messages['error_deleting_blog'] = '禁用博客"%s"时出错';
-$messages['error_deleting_blog2'] = '禁用博客"%s"时出错';
-
-// create blog
-$messages['error_adding_blog'] = '添加博客时出错,请检查数据并重试。';
-$messages['blog_added_ok'] = '博客 "%s" 添加成功';
-
-// edit blog
-$messages['blog_status_help'] = '博客状态';
-$messages['blog_owner_help'] = '该博客的管理员';
-$messages['users'] = '用户列表';
-$messages['blog_quota_help'] = '设置资源中心的配额,设置为0则无限制,设置为空则使用全局配额';
-$messages['blog_users_help'] = '拥有该博客权限的用户列表,从左侧选择一个到右侧可给予该用户该博客的权限';
-$messages['edit_blog_settings_updated_ok'] = '博客 "%s" 修改成功';
-$messages['error_updating_blog_settings'] = '修改博客 "%s" 时出错';
-$messages['error_incorrect_blog_owner'] = '要设定为博客管理员的用户错误或不存在。';
-$messages['error_fetching_blog'] = '读取博客设置时出错';
-$messages['error_updating_blog_settings2'] = '更新博客设置时出错,请检查数据并重试。';
-$messages['add_or_remove'] = '添加或删除用户';
-
-// site locales
-$messages['locale'] = '语言包管理';
-$messages['locale_encoding'] = '编码';
-$messages['locale_deleted_ok'] = '语言包 "%s" 删除成功';
-$messages['error_no_locales_selected'] = '未选择要删除的语言包';
-$messages['error_deleting_only_locale'] = '语言包只剩下一个,不能被删除';
-$messages['locales_deleted_ok']= '语言包%s删除成功';
-$messages['error_deleting_locale'] = '删除语言包 "%s" 时出错';
-$messages['error_locale_is_default'] = '语言包 "%s" 是新博客的默认语言包,不能被删除';
-
-// add locale
-$messages['error_invalid_locale_file'] = '语言包文件无效';
-$messages['error_no_new_locales_found'] = '未找到新语言包文件';
-$messages['locale_added_ok'] = '语言包 "%s" 添加成功';
-$messages['error_saving_locale'] = '存储新语言包时发生错误。请检查是否有语言包文件夹的写入权限。';
-$messages['scan_locales'] = '扫描语言包';
-$messages['add_locale_help'] = '您可以用此表单上传一个新的语言包。如果您无法用浏览器上传,请手动上传语言包并将它放置于 <b>./locales/</b>下,然后按下 "<b>扫描语言包</b>" 按钮。 LifeType 会扫描该文件夹并自动添加新找到的语言包。 ';
-
-// site templates
-$messages['error_template_is_default'] = '模板 "%s" 是新博客默认模板,不能被删除。';
-
-// add template
-$messages['global_template_package_help'] = '您可以用此表单,上传一个新的模板安裝包,该模板将提供給博客站点的所有博客使用。如果您无法用浏览器上传,请手动上传模板并将它放置于您的博客模板文件夹<b>%s</b>下,然后按下 "<b>扫描模板</b>" 按钮。 LifeType 会扫描该文件夹并自动添加所找到的新模板。';
-
-// global settings
-$messages['site_config_saved_ok'] = '站点设置保存成功';
-$messages['error_saving_site_config'] = '保存站点设置时出错';
-/// general settings
-$messages['help_comments_enabled'] = '默认启用或禁用新博客的评论功能';
-$messages['help_beautify_comments_text'] = '启动该项,允许评论中添加图片和链接';
-$messages['help_temp_folder'] = 'LifeType系统执行某些操作时要用到的临时文件夹路径。';
-$messages['help_base_url'] = '博客站点的基本链接地址';
-$messages['help_subdomains_enabled'] = '启用或禁用二级域名.欲了解更多关于二级域名的信息请查阅帮助文档。';
-$messages['help_subdomains_base_url'] = '当启用二级域名后,该基本地址将代替原有的地址,使用{blogname}和{username}标签来获得博客名和博客管理员的用户名';
-$messages['help_include_blog_id_in_url'] = '该项目相当重要,一般或二级域名形式启用时,它将强制将内部一般链接不包含"blogId"参数。除非你非常清楚,否则不要修改该项设置。';
-$messages['help_script_name'] = '如果你需要重命名index.php请修改该项';
-$messages['help_show_posts_max'] = '首页默认可显示的最大文章数目';
-$messages['help_recent_posts_max'] = '在首页“最新发表”列表中默认显示的文章数量.';
-$messages['help_save_drafts_via_xmlhttprequest_enabled'] = '允许储存javascript和xmlhttp请求草稿';
-$messages['help_locale_folder'] = '存储语言包文件的文件夹';
-$messages['help_default_locale'] = '新建博客的默认语言设置';
-$messages['help_default_blog_id'] = 'index.php默认显示的博客blogID';
-$messages['help_default_time_offset'] = '新建博客的默认时差';
-$messages['help_html_allowed_tags_in_comments'] = '评论中允许使用的HTML标签';
-$messages['help_referer_tracker_enabled'] = '如果网站接收到的REQUEST请求中含有REFERER信息,是否将基本的REFERER信息存入数据库';
-$messages['help_show_more_enabled'] = '是否启用“查看全文”链接功能';
-$messages['help_update_article_reads'] = '您是否想启用站点内建的计数器,可以统计每篇文章的点击数。';
-$messages['help_update_cached_article_reads'] = '是否当文章读取时,更新文章缓存';
-$messages['help_xmlrpc_ping_enabled'] = '当发表新文章时,是否要向以下站点发送XMLRPC通告。';
-$messages['help_send_xmlrpc_pings_enabled_by_default'] = '是否文章在发表或修改时默认发送引用通告';
-$messages['help_xmlrpc_ping_hosts'] = '接受XMLRPC通告的网站列表,每个网址单独一行,数目不限。';
-$messages['help_trackback_server_enabled'] = '是否接受其它网站发出的引用通告(TrackBack)。';
-$messages['help_htmlarea_enabled'] = '是否启用所见即所得(WYSIWYG)文章编辑器。';
-$messages['help_plugin_manager_enabled'] = '是否启用插件功能';
-$messages['help_minimum_password_length'] = '密码最小长度';
-$messages['help_xhtml_converter_enabled'] = '是否将HTML代码转换成XHTML代码';
-$messages['help_xhtml_converter_aggressive_mode_enabled'] = '是否让LifeType生成XHTML代码,但这将更可能出错';
-$messages['help_session_save_path'] = '使用PHP的session_save_path()函数,來更改LifeType存放session的文件夹。请确认该文件夹被HTTP服务程序(如APACHE)拥有写权限。如果您要使用PHP预设的session存放路径,设定为空白即可。';
-// summary settings
-$messages['help_summary_page_show_max'] = '在汇总(SUMMARY)页面中要显示多少项目。';
-$messages['help_summary_items_per_page'] = '汇总的博客列表中每页显示的博客数';
-$messages['help_forbidden_usernames'] = '禁止注册的用户名列表';
-$messages['help_force_one_blog_per_email_account'] = '每个电子邮件地址只限制注册一个博客';
-$messages['help_summary_show_agreement'] = '是否在注册中显示协定文本让用户确认';
-$messages['help_need_email_confirm_registration'] = '需要用户使用电子邮件进行认证';
-$messages['help_summary_disable_registration'] = '是否关闭新博客注册';
-// templates
-$messages['help_template_folder'] = '存储模板的文件夹';
-$messages['help_default_template'] = '新建博客的默认模板';
-$messages['help_users_can_add_templates'] = '允许用户加入自己的模板';
-$messages['help_template_compile_check'] = '如果启用该项,模板文件变更时Smarty将检查所有的请求,可以提高更多性能。';
-$messages['help_template_cache_enabled'] = '启用模板缓存';
-$messages['help_template_cache_lifetime'] = '缓存保留时间,设置为-1则永久存留,设置为0则禁用缓存。';
-$messages['help_template_http_cache_enabled'] = '启用HTTP条件请求的缓存支持。如果启用可以节省带宽。';
-$messages['help_allow_php_code_in_templates'] = '允许在Smarty模板的{php}...{/php}块中嵌入PHP代码';
-// urls
-$messages['help_request_format_mode'] = '选择有效链接的格式.如果使用自定义链接,请确认以下设置';
-$messages['plain'] = '简单格式';
-$messages['search_engine_friendly'] = '适宜搜索引擎';
-$messages['custom_url_format'] = '自定义链接';
-$messages['help_permalink_format'] = '使用自定义链接时的静态地址格式';
-$messages['help_category_link_format'] = '使用自定义链接时的文章分类的链接格式';
-$messages['help_blog_link_format'] = '使用自定义链接时博客链接的格式';
-$messages['help_archive_link_format'] = '使用自定义链接时文件归档的链接格式';
-$messages['help_user_posts_link_format'] = '使用自定义链接时博客文章的链接格式';
-$messages['help_post_trackbacks_link_format'] = '使用自定义链接时引用链接的链接格式';
-$messages['help_template_link_format'] = '使用自定义链接时自定义静态模板页面的链接格式';
-$messages['help_album_link_format'] = '使用自定义链接时资源中心的链接格式';
-$messages['help_resource_link_format'] = '使用自定义链接时资源页面的链接格式';
-$messages['help_resource_preview_link_format'] = '使用自定义链接时资源预览的链接格式';
-$messages['help_resource_medium_size_preview_link_format'] = '使用自定义链接时中型资源预览的链接格式';
-$messages['help_resource_download_link_format'] = '使用自定义链接时文件的链接格式';
-// email
-$messages['help_check_email_address_validity'] = '在用户申请注册新博客站点时,是否要认证他所填写的电子邮件地址';
-$messages['help_email_service_enabled'] = '启用或禁用发送电子邮件功能';
-$messages['help_post_notification_source_address'] = '系统通知邮件中的寄件人的电子邮件地址。';
-$messages['help_email_service_type'] = '选择发送电子邮件的方式';
-$messages['help_smtp_host'] = '如果选用SMTP发送电子邮件,请输入您要用来发送邮件的主机。';
-$messages['help_smtp_port'] = '设置SMTP服务器的端口';
-$messages['help_smtp_use_authentication'] = '启用或禁用SMTP服务器认证';
-$messages['help_smtp_username'] = '如果SMTP服务器需要认证,请填写用户账号。';
-$messages['help_smtp_password'] = '如果SMTP服务器需要认证,请填写用户密码。';
-// helpers
-$messages['help_path_to_tar'] = 'tar命令所在文件夹';
-$messages['help_path_to_gzip'] = 'gzip命令所在文件夹';
-$messages['help_path_to_bz2'] = 'bzip2命令所在文件夹';
-$messages['help_path_to_unzip'] = 'unzip命令所在文件夹';
-$messages['help_unzip_use_native_version'] = '使用自带的php包解压缩.zip文件。';
-// uploads
-$messages['help_uploads_enabled'] = '启用或禁用上传文件功能。这个功能会影响到用户能否上传新的模板或语言包以及及能否向现存模板中添加文件。';
-$messages['help_maximum_file_upload_size'] = '允许用户上传文件的最大字节数。该项设置不能超过php中的设置';
-$messages['help_upload_forbidden_files'] = '禁止用户上传的文件类型。你可以指定任意数量的文件类型,两个类型之间用空格分离。';
-// interfaces
-$messages['help_xmlrpc_api_enabled'] = '启用 XMLRPC 发表文章';
-$messages['help_rdf_enabled'] = '启动Atom或RSS聚合';
-$messages['help_default_rss_profile'] = '默认的RSS或Atom方式';
-// security
-$messages['help_security_pipeline_enabled'] = '是否启用安全以及所有相关插件。注意,这也会影响到其它的新插件。';
-$messages['help_maximum_comment_size'] = '评论的最大字节数';
-// bayesian filter
-$messages['help_bayesian_filter_enabled'] = '启用或禁用过滤';
-$messages['help_bayesian_filter_spam_probability_treshold'] = '判断为垃圾评论的最大极限';
-$messages['help_bayesian_filter_nonspam_probability_treshold'] = '判断为垃圾评论的最小极限';
-$messages['help_bayesian_filter_min_length_token'] = '重要标记的最小长度';
-$messages['help_bayesian_filter_max_length_token'] = '重要标记的最大长度';
-$messages['help_bayesian_filter_number_significant_tokens'] = '重要标记的数量';
-$messages['help_bayesian_filter_spam_comments_action'] = '对于标记为垃圾的评论如何处理';
-$messages['keep_spam_comments'] = '保留数据库中标记为垃圾的评论';
-$messages['throw_away_spam_comments'] = '直接删除垃圾评论';
-// resources
-$messages['help_resources_enabled'] = '启用或禁用资源中心';
-$messages['help_resources_folder'] = '存储资源文件的文件夹';
-$messages['help_thumbnail_method'] = '生成缩略图的方法,如果使用PHP,支持GD方式';
-$messages['help_path_to_convert'] = 'convert命令所在文件夹';
-$messages['help_thumbnail_format'] = '缩略图存储格式';
-$messages['help_thumbnail_height'] = '小型缩略图默认高度';
-$messages['help_thumbnail_width'] = '小型缩略图默认宽度';
-$messages['help_medium_size_thumbnail_height'] = '中型缩略图的默认高度';
-$messages['help_medium_size_thumbnail_width'] = '中型缩略图的默认宽度';
-$messages['help_thumbnails_keep_aspect_ratio'] = '生成缩略图时保留原有的长宽比例';
-$messages['help_thumbnail_generator_force_use_gd1'] = '强迫使用 GD1-only 功能';
-$messages['help_thumbnail_generator_user_smoothing_algorithm'] = '平滑缩略图.该功能只能在使用GD功能时使用。';
-$messages['help_resources_quota'] = '博客的全局资源配额';
-$messages['help_resource_server_http_cache_enabled'] = '启用对"If-Modified-Since" 标题和HTTP条件请求的支持.启用增强带宽存储。';
-$messages['help_resource_server_http_cache_lifetime'] = '客户端使用资源缓存的时间';
-$messages['same_as_image'] = '与原始图像相同';
-// search
-$messages['help_search_engine_enabled'] = '启动或禁止搜索引擎';
-$messages['help_search_in_custom_fields'] = '搜索自定义区块';
-$messages['help_search_in_comments'] = '搜索评论';
-
-// cleanup
-$messages['purge'] = '清除';
-$messages['cleanup_spam'] = '清除垃圾回复';
-$messages['cleanup_spam_help'] = '清除所有被使用者标示为垃圾的回复。一旦删除无法恢复。';
-$messages['spam_comments_purged_ok'] = '垃圾回复清除成功';
-$messages['cleanup_posts'] = '清除文章';
-$messages['cleanup_posts_help'] = '清除所有被使用者标示为刪除的文章。 一旦删除无法恢复。';
-$messages['posts_purged_ok'] = '文章清除成功';
-
-/// summary ///
-// front page
-$messages['summary'] = '汇总';
-$messages['register'] = '注册';
-$messages['summary_welcome'] = '欢迎';
-$messages['summary_most_active_blogs'] = '最活跃的博客';
-$messages['summary_most_commented_articles'] = '评论最多的文章';
-$messages['summary_most_read_articles'] = '阅读最多的文章';
-$messages['password_forgotten'] = '忘记密码?';
-$messages['summary_newest_blogs'] = '最新开通的博客';
-$messages['summary_latest_posts'] = '最近发表的文章';
-$messages['summary_search_blogs'] = '搜索博客';
-
-// blog list
-$messages['updated'] = 'æ›´æ–°';
-$messages['total_reads'] = '浏览总次数';
-
-// blog profile
-$messages['blog'] = '博客';
-$messages['latest_posts'] = '最近发表的文章';
-
-// registration
-$messages['register_step0_title'] = '接受服务协议';
-$messages['agreement'] = '许可条款';
-$messages['decline'] = '拒绝';
-$messages['accept'] = '同意';
-$messages['read_service_agreement'] = '请阅读服务协议,如果您同意的话,点击同意';
-$messages['register_step1_title'] = '创建用户 [1/4]';
-$messages['register_step1_help'] = '首先您需要创建一个新用户来获得博客。';
-$messages['register_next'] = '下一步';
-$messages['register_back'] = '上一步';
-$messages['register_step2_title'] = '创建博客 [2/4]';
-$messages['register_blog_name_help'] = '博客名称';
-$messages['register_step3_title'] = '选择模板 [3/4]';
-$messages['step1'] = '第一步';
-$messages['step2'] = '第二步';
-$messages['step3'] = '第三步';
-$messages['register_step3_help'] = '请选择您的博客的默认模板。';
-$messages['error_must_choose_template'] = '请选择一个模板';
-$messages['select_template'] = '选择模板';
-$messages['register_step5_title'] = '祝贺您! [4/4]';
-$messages['finish'] = '完成';
-$messages['register_need_confirmation'] = '含有确认信息的电子邮件已经发送给您,请您点击其中的链接以激活您的博客。';
-$messages['register_step5_help'] = '祝贺您,您的用户以及博客已经开通!';
-$messages['register_blog_link'] = '如果您想访问您的博客,现在就进入吧! <a href="%2$s">%1$s</a>';
-$messages['register_blog_admin_link'] = '如果您想马上发表文章,请点击 <a href="admin.php">管理界面</a>进入后台进行操作。';
-$messages['register_error'] = '进程中出错';
-$messages['error_registration_disabled'] = '对不起,本站已暂停新用户注册,请稍候再试或联系管理员';
-// registration article topic and text
-$messages['register_default_article_topic'] = '祝贺您';
-$messages['register_default_article_text'] = '如果您阅读到这篇文章,这就意味着您注册的博客已经申请成功。';
-$messages['register_default_category'] = '一般分类';
-// confirmation email
-$messages['register_confirmation_email_text'] = '请点击下面的链接来激活您的博客:
-
-%s
-
-现在就进入博客世界吧!祝您天天快乐!';
-$messages['error_invalid_activation_code'] = '对不起,认证码无效';
-$messages['blog_activated_ok'] = '祝贺您,您注册的新用户和博客已经成功开通!';
-// forgot your password?
-$messages['reset_password'] = '重置密码';
-$messages['reset_password_username_help'] = '待重置密码的用户名';
-$messages['reset_password_email_help'] = '已有人使用该电子邮箱注册';
-$messages['reset_password_help'] = '重置密码,请输入忘记密码的用户名以及注册时的电子邮件地址';
-$messages['error_resetting_password'] = '重置密码时出错,请检查数据并重试。';
-$messages['reset_password_error_incorrect_email_address'] = '电子邮箱地址不正确或其他用户使用此邮件注册';
-$messages['password_reset_message_sent_ok'] = '利用注册电子邮件重置密码';
-$messages['error_incorrect_request'] = '链接中的参数不正确';
-$messages['change_password'] = '设置新密码';
-$messages['change_password_help'] = '请输入并确认新密码';
-$messages['new_password'] = '新密码';
-$messages['new_password_help'] = '输入新密码';
-$messages['password_updated_ok'] = '您的密码修改成功';
-
-// Suggested by BCSE, some useful messages that not available in official locale
-$messages['upgrade_information'] = '您所使用的浏览器不符合网页设计标准,因此本网页将以纯文字模式显示。如欲以最佳的排版方式浏览本站,请考虑<a href="http://www.webstandards.org/upgrade/" title="The Web Standards Project\'s Browser Upgrade initiative">升级</a>您的浏览器。';
-$messages['jump_to_navigation'] = '移动到导航条。';
-$messages['comment_email_never_display'] = '系统会自动为您设定分行,且不会显示您留下的邮件地址。';
-$messages['comment_html_allowed'] = '可使用的 <acronym title="Hypertext Markup Language">HTML</acronym> 标签如下:&lt;<acronym title="用途:超级链接">a</acronym> href=&quot;&quot; title=&quot;&quot; rel=&quot;&quot;&gt; &lt;<acronym title="用途:首字下沉">acronym</acronym> title=&quot;&quot;&gt; &lt;<acronym title="用途:引用文字">blockquote</acronym> cite=&quot;&quot;&gt; &lt;<acronym title="用途:删除线">del</acronym>&gt; &lt;<acronym title="用途:斜体">em</acronym>&gt; &lt;<acronym title="用途:底线">ins</acronym>&gt; &lt;<acronym title="用途:粗体">strong</acronym>&gt;';
-$messages['trackback_uri'] = '这篇文章的引用链接地址:';
-$messages['previous_post'] = '上一篇';
-$messages['next_post'] = '下一篇';
-$messages['comment_default_title'] = '(无标题)';
-$messages['guestbook'] = '留言板';
-$messages['trackbacks'] = '引用';
-$messages['menu'] = '主选单';
-$messages['albums'] = '资源中心';
-$messages['admin'] = '管理控制台';
-?>
\ No newline at end of file

Deleted: plog/trunk/locale/unported/locale_zh_TW.php
===================================================================
--- plog/trunk/locale/unported/locale_zh_TW.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/locale/unported/locale_zh_TW.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,1070 +0,0 @@
-<?php
-// set this to the encoding that should be used to display the pages correctly
-$messages['encoding'] = 'utf-8';
-$messages['locale_description'] = 'Traditional Chinese translation (UTF-8)';
-// locale format, see Locale::formatDate for more information
-$messages['date_format'] = '%d/%m/%Y %H:%M';
-
-// days of the week
-$messages['days'] = Array( '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' );
-// -- compatibility, do not touch -- //
-$messages['Monday'] = $messages['days'][1];
-$messages['Tuesday'] = $messages['days'][2];
-$messages['Wednesday'] = $messages['days'][3];
-$messages['Thursday'] = $messages['days'][4];
-$messages['Friday'] = $messages['days'][5];
-$messages['Saturday'] = $messages['days'][6];
-$messages['Sunday'] = $messages['days'][0];
-
-// abbreviations
-$messages['daysshort'] = Array( '日', '一', '二', '三', '四', '五', '六' );
-// -- compatibility, do not touch -- //
-$messages['Mo'] = $messages['daysshort'][1];
-$messages['Tu'] = $messages['daysshort'][2];
-$messages['We'] = $messages['daysshort'][3];
-$messages['Th'] = $messages['daysshort'][4];
-$messages['Fr'] = $messages['daysshort'][5];
-$messages['Sa'] = $messages['daysshort'][6];
-$messages['Su'] = $messages['daysshort'][0];
-
-// months of the year
-$messages['months'] = Array( '元月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月');
-// -- compatibility, do not touch -- //
-$messages['January'] = $messages['months'][0];
-$messages['February'] = $messages['months'][1];
-$messages['March'] = $messages['months'][2];
-$messages['April'] = $messages['months'][3];
-$messages['May'] = $messages['months'][4];
-$messages['June'] = $messages['months'][5];
-$messages['July'] = $messages['months'][6];
-$messages['August'] = $messages['months'][7];
-$messages['September'] = $messages['months'][8];
-$messages['October'] = $messages['months'][9];
-$messages['November'] = $messages['months'][10];
-$messages['December'] = $messages['months'][11];
-$messages['message'] = '訊息';
-$messages['error'] = '錯誤';
-$messages['date'] = '日期';
-
-// miscellaneous texts
-$messages['of'] = 'of';
-$messages['recently'] = '近期文章';
-$messages['comments'] = '迴響';
-$messages['comment on this'] = '迴響';
-$messages['my_links'] = '我的連結';
-$messages['archives'] = '文章彙整';
-$messages['search'] = '站內搜尋';
-$messages['calendar'] = '日曆';
-$messages['search_s'] = '搜尋';
-$messages['search_this_blog'] = '搜尋網誌內容:';
-$messages['about_myself'] = '自我介紹';
-$messages['permalink_title'] = '文章彙整靜態連結網址';
-$messages['permalink'] = '靜態連結網址';
-$messages['posted_by'] = '作者';
-$messages['reply'] = '回覆';
-
-// add comment form
-$messages['add_comment'] = '發表迴響';
-$messages['comment_topic'] = '標題';
-$messages['comment_text'] = '內容';
-$messages['comment_username'] = '暱稱';
-$messages['comment_email'] = '電子郵件';
-$messages['comment_url'] = '個人網頁';
-$messages['comment_send'] = '發表';
-$messages['comment_added'] = '您的迴響已經順利發表!';
-$messages['comment_add_error'] = '發表迴響時發生錯誤';
-$messages['article_does_not_exist'] = '本文章不存在';
-$messages['no_posts_found'] = '找不到文章';
-$messages['user_has_no_posts_yet'] = '該使用者還沒有發表過任何文章';
-$messages['back'] = '回到上一頁';
-$messages['post'] = '文章';
-$messages['trackbacks_for_article'] = '引用本文的文章標題:';
-$messages['trackback_excerpt'] = '摘要';
-$messages['trackback_weblog'] = '網誌';
-$messages['search_results'] = '搜尋結果';
-$messages['search_matching_results'] = '以下文章符合您的搜尋關鍵字: ';
-$messages['search_no_matching_posts'] = '找不到符合的文章';
-$messages['read_more'] = '(閱讀全文)';
-$messages['syndicate'] = '新聞交換';
-$messages['main'] = '主頁面';
-$messages['about'] = '關於';
-$messages['download'] = '下載';
-
-////// error messages /////
-$messages['error_fetching_article'] = '找不到您所指定的文章。';
-$messages['error_fetching_articles'] = '找不到您所指定的文章。';
-$messages['error_trackback_no_trackback'] = '尚未有人向本文發送引用通告';
-$messages['error_incorrect_article_id'] = '文章ID不正確。';
-$messages['error_incorrect_blog_id'] = '網誌站台ID不正確。';
-$messages['error_comment_without_text'] = '無迴響留言內容。';
-$messages['error_comment_without_name'] = '您必須要填寫姓名或暱稱。';
-$messages['error_adding_comment'] = '在將留言新增至資料庫時發生問題。';
-$messages['error_incorrect_parameter'] = '參數不正確。';
-$messages['error_parameter_missing'] = '您少傳遞了一項參數。';
-$messages['error_comments_not_enabled'] = '這個網誌站台關閉了迴響功能';
-$messages['error_incorrect_search_terms'] = '搜尋關鍵字不正確';
-$messages['error_no_search_results'] = '找不到與關鍵字相符的項目。';
-$messages['error_no_albums_defined'] = '這個網誌站台沒有任何資資料夾。';
-
-/////////////////                                          //////////////////
-///////////////// STRINGS FOR THE ADMINISTRATION INTERFACE //////////////////
-/////////////////                                          //////////////////
-
-// login page
-$messages['login'] = '登入';
-$messages['welcome_message'] = '歡迎來到 LifeType';
-$messages['error_incorrect_username_or_password'] = '很抱歉,您輸入的帳號或密碼錯誤。';
-$messages['error_dont_belong_to_any_blog'] = '很抱歉,您沒有使用系統中任何一個網誌站台的權限。';
-$messages['logout_message'] = '您已經順利登出系統。';
-$messages['logout_message_2'] = '請按 <a href="%1$s">這裡</a> 連結到 %2$s</a>.';
-$messages['error_access_forbidden'] = '您目前沒有權限進入管理介面。請到這裡登入。';
-$messages['username'] = '使用者名稱';
-$messages['password'] = '使用者密碼';
-
-// dashboard
-$messages['dashboard'] = '管理面版';
-$messages['recent_articles'] = '最近發表文章';
-$messages['recent_comments'] = '最近發表迴響';
-$messages['recent_trackbacks'] = '最近引用列表';
-$messages['blog_statistics'] = '網誌統計';
-$messages['total_posts'] = '文章總數';
-$messages['total_comments'] = '迴響總數';
-$messages['total_trackbacks'] = '引用總數';
-$messages['total_viewed'] = '文章閱讀總數';
-$messages['in'] = 'æ–¼';
-
-// menu options
-$messages['newPost'] = '發表新文章';
-$messages['Manage'] = '內容管理';
-$messages['managePosts'] = '文章管理';
-$messages['editPosts'] = '文章列表';
-$messages['editArticleCategories'] = '編輯文章分類';
-$messages['newArticleCategory'] = '新增文章分類';
-$messages['manageLinks'] = '網站連結管理';
-$messages['editLinks'] = '網站連結列表';
-$messages['newLink'] = '新增網站連結';
-$messages['editLink'] = '編輯網站連結';
-$messages['editLinkCategories'] = '編輯網站連結分類';
-$messages['newLinkCategory'] = '新增連結分類';
-$messages['editLinkCategory'] = '編輯網站連結分類';
-$messages['manageCustomFields'] = '管理自訂欄位';
-$messages['blogCustomFields'] = '自訂欄位列表';
-$messages['newCustomField'] = '新增自訂欄位';
-$messages['resourceCenter'] = '檔案中心';
-$messages['resources'] = '檔案列表';
-$messages['newResourceAlbum'] = '新增資料夾';
-$messages['newResource'] = '新增檔案';
-$messages['controlCenter'] = '個人網誌設定';
-$messages['manageSettings'] = '基本設定';
-$messages['blogSettings'] = '網誌設定';
-$messages['userSettings'] = '使用者設定';
-$messages['pluginCenter'] = '外掛中心';
-$messages['Stats'] = '統計資料';
-$messages['manageBlogUsers'] = '管理網誌使用者';
-$messages['newBlogUser'] = '新增網誌使用者';
-$messages['showBlogUsers'] = '網誌使用者列表';
-$messages['manageBlogTemplates'] = '管理網誌模版';
-$messages['newBlogTemplate'] = '新增網誌模版';
-$messages['blogTemplates'] = '網誌模版列表';
-$messages['adminSettings'] = '全部站台管控';
-$messages['Users'] = '使用者';
-$messages['createUser'] = '新增使用者';
-$messages['editSiteUsers'] = '管理使用者';
-$messages['Blogs'] = '管理網誌';
-$messages['createBlog'] = '建立網誌';
-$messages['editSiteBlogs'] = '網誌站台管理';
-$messages['Locales'] = '語系管理';
-$messages['newLocale'] = '新增語系';
-$messages['siteLocales'] = '語系檔案列表';
-$messages['Templates'] = '模版管理';
-$messages['newTemplate'] = '新增模版';
-$messages['siteTemplates'] = '模版管理';
-$messages['GlobalSettings'] = '全域設定';
-$messages['editSiteSettings'] = '全域設定';
-$messages['summarySettings'] = ' 摘要設定';
-$messages['templateSettings'] = '模版設定';
-$messages['urlSettings'] = '網址設定';
-$messages['emailSettings'] = '電子郵件設定';
-$messages['uploadSettings'] = '上傳設定';
-$messages['helpersSettings'] = '說明工具設定';
-$messages['interfacesSettings'] = '外部介面設定';
-$messages['securitySettings'] = '系統安全設定';
-$messages['bayesianSettings'] = '貝氏過濾設定';
-$messages['resourcesSettings'] = '檔案中心設定';
-$messages['searchSettings'] = '搜尋設定';
-$messages['cleanUpSection'] = '清理垃圾專區';
-$messages['cleanUp'] = '清理垃圾';
-$messages['editResourceAlbum'] = '編輯檔案資料夾';
-$messages['resourceInfo'] = '檔案資訊';
-$messages['editBlog'] = '網誌管理';
-$messages['Logout'] = '登出';
-
-// new post
-$messages['topic'] = '標題';
-$messages['topic_help'] = '文章標題';
-$messages['text'] = '內文';
-$messages['text_help'] = '這部份的內容會在網誌首頁出現。';
-$messages['extended_text'] = '延伸內文';
-$messages['extended_text_help'] = '您在此輸入的文字只會在單篇彙整狀態下顯示,除非您在「設定」頁面中修改了設定。';
-$messages['trackback_urls'] = '真實引用網址';
-$messages['trackback_urls_help'] = '如果您要引用的文章沒有支援『引用網址自動搜尋』機制,請在這裡輸入他們的真實引用網址,並用斷行來隔開。';
-$messages['post_slug'] = '短標題 ';
-$messages['post_slug_help'] = '短標題將會用來建立簡潔的靜態連結網址';
-$messages['date'] = '日期';
-$messages['post_date_help'] = '文章發表日期';
-$messages['status'] = '狀態';
-$messages['post_status_help'] = '選取一個狀態';
-$messages['post_status_published'] = '定稿';
-$messages['post_status_draft'] = '草稿';
-$messages['post_status_deleted'] = '已刪除';
-$messages['categories'] = '文章分類';
-$messages['post_categories_help'] = '選取一個或一個以上的分類';
-$messages['post_comments_enabled_help'] = '啟用迴響留言功能';
-$messages['send_notification_help'] = '如果有人對本文發表迴響,便向我發送電子郵件通知';
-$messages['send_trackback_pings_help'] = '發送引用通告';
-$messages['send_xmlrpc_pings_help'] = '送出 XMLRPC 通告';
-$messages['save_draft_and_continue'] = '儲存草稿';
-$messages['preview'] = '預覽';
-$messages['add_post'] = '發表!';
-$messages['error_saving_draft'] = '儲存草稿發生錯誤!';
-$messages['draft_saved_ok'] = '草稿 「%s」 已順利儲存';
-$messages['error_sending_request'] = '傳送要求時發生錯誤';
-$messages['error_no_category_selected'] = '你沒有選擇任何分類';
-$messages['error_missing_post_topic'] = '請輸入文章標題!';
-$messages['error_missing_post_text'] = '請輸入文章內文!';
-$messages['error_adding_post'] = '發表文章發生錯誤!';
-$messages['post_added_not_published'] = '文章已順利新增,但尚未正式發表。';
-$messages['post_added_ok'] = '文章已順利新增';
-$messages['send_notifications_ok'] = '當有新的迴響或是引用時,便向我發送電子郵件通知';
-$messages['bookmarklet'] = "書籤小程式";
-$messages['bookmarklet_help'] = "把下面的連結拉到你工具列,或是按下滑鼠右鍵把連結加到我的最愛。";
-$messages['blogit_to_lifetype'] = "把文章加到 LifeType!";
-$messages['original_post'] = "(原文)";
-
-// send trackbacks
-$messages['error_sending_trackbacks'] = '發送下列引用通知時產生錯誤。';
-$messages['send_trackbacks_help'] = '請勾選您所要發送引用通告的網址。(請確定該網站支援引用通告的功能)';
-$messages['send_trackbacks'] = '發送引用通知';
-$messages['ping_selected'] = '向勾選的網址發送引用通知';
-$messages['trackbacks_sent_ok'] = '引用通知已經成功發送到勾選的網址。';
-
-// posts page
-$messages['show_by'] = '更新列表';
-$messages['category'] = '分類';
-$messages['author'] = '作者';
-$messages['post_status_all'] = '全部';
-$messages['author_all'] = '全部作者';
-$messages['search_terms'] = '搜尋關鍵字';
-$messages['show'] = 'æ›´æ–°';
-$messages['delete'] = '刪除';
-$messages['actions'] = '動作';
-$messages['all'] = '全部';
-$messages['category_all'] = '全部分類';
-$messages['error_incorrect_article_id'] = '文章ID不正確。';
-$messages['error_deleting_article'] = '在刪除文章"%s"時,發生錯誤。';
-$messages['article_deleted_ok'] = '文章「%s」 已順利刪除。';
-$messages['articles_deleted_ok'] = '文章「%s」 已順利刪除。';
-$messages['error_deleting_article2'] = '刪除文章時發生錯誤 (id = %s) ';
-
-// edit post page
-$messages['update'] = 'æ›´æ–°';
-$messages['editPost'] = '編輯文章';
-$messages['error_fetching_post'] = '讀取文章資料時發生錯誤';
-$messages['post_updated_ok'] = '文章[%s]已成功更新。';
-$messages['error_updating_post'] = '更新文章時發生錯誤';
-$messages['notification_added'] = '當有新的迴響或是引用時,便向我發送電子郵件通知';
-$messages['notification_removed'] = '當有新的迴響或是引用時,不要向我發送電子郵件通知';
-
-// post comments
-$messages['url'] = '網址';
-$messages['comment_status_all'] = '全部迴響';
-$messages['comment_status_spam'] = '垃圾迴響';
-$messages['comment_status_nonspam'] = '正常迴響';
-$messages['error_fetching_comments'] = '讀取文章迴響資料時,發生錯誤。';
-$messages['error_deleting_comments'] = '在刪除迴響時發生錯誤或您沒有勾選任何要刪除的迴響。';
-$messages['comment_deleted_ok'] = '「%s」這篇文章的迴響已順利刪除。';
-$messages['comments_deleted_ok'] = '「%s」這篇文章的迴響已順利刪除。';
-$messages['error_deleting_comment'] = '在刪除迴響「%s」時發生錯誤。';
-$messages['error_deleting_comment2'] = '刪除迴響時發生錯誤 (id = %s)';
-$messages['editComments'] = '編輯迴響';
-$messages['mark_as_spam'] = '標示為垃圾迴響';
-$messages['mark_as_no_spam'] = '標示為正常迴響';
-$messages['error_incorrect_comment_id'] = '留言迴響ID不正確。';
-$messages['error_marking_comment_as_spam'] = '在將本篇迴響留言標示為垃圾留言時發生錯誤。';
-$messages['comment_marked_as_spam_ok'] = '您已經順利將本篇迴響留言標示為垃圾留言。';
-$messages['error_marking_comment_as_nonspam'] = '在將本篇迴響留言標示為正常留言時發生錯誤。';
-$messages['comment_marked_as_nonspam_ok'] = '您已經順利將本篇迴響留言標示為正常留言。';
-
-// post trackbacks
-$messages['blog'] = '網誌';
-$messages['excerpt'] = '摘要';
-$messages['error_fetching_trackbacks'] = '讀取引用資料時,發生錯誤。';
-$messages['error_deleting_trackbacks'] = '在刪除引用時發生錯誤或是你沒有勾選任何要刪除的引用。';
-$messages['error_deleting_trackback'] = '在刪除引用「%s」時發生錯誤';
-$messages['error_deleting_trackback2'] = '刪除引用時發生錯誤 (id = %s)';
-$messages['trackback_deleted_ok'] = '「%s」這篇引用已順利刪除。';
-$messages['trackbacks_deleted_ok'] = '「%s」這篇引用已順利刪除。';
-$messages['editTrackbacks'] = '編輯引用';
-
-// post statistics
-$messages['referrer'] = '逆向連結';
-$messages['hits'] = '點擊數';
-$messages['error_no_items_selected'] = '你沒有勾選任何要刪除的項目';
-$messages['error_deleting_referrer'] = '在刪除逆向連結「%s」時發生錯誤';
-$messages['error_deleting_referrer2'] = '刪除逆向連結時發生錯誤 (id = %s)';
-$messages['referrer_deleted_ok'] = '「%s」這篇逆向連結已順利刪除。';
-$messages['referrers_deleted_ok'] = '「%s」這篇逆向連結已順利刪除。';
-
-// categories
-$messages['posts'] = '文章列表';
-$messages['show_in_main_page'] = '在首頁顯示';
-$messages['error_incorrect_category_id'] = '文章分類ID錯誤或沒有選取任何項目';
-$messages['error_category_has_articles'] = '無法刪除「%s」這個分類,因為該分類下還有文章。請先修改文章分類後,再重試一次。';
-$messages['category_deleted_ok'] = '「%s」這個分類已順利刪除。';
-$messages['categories_deleted_ok'] = '「%s」這個分類已順利刪除。';
-$messages['error_deleting_category'] = '在刪除分類「%s」時發生錯誤';
-$messages['error_deleting_category2'] = '刪除分類時發生錯誤 (id = %s)';
-$messages['yes'] = '是';
-$messages['no'] = '否';
-
-// new category
-$messages['name'] = '名稱';
-$messages['category_name_help'] = '請輸入分類名稱';
-$messages['description'] = '分類描述';
-$messages['category_description_help'] = '請輸入詳細的分類描述';
-$messages['show_in_main_page_help'] = '選取這個選項,則在這個分類下的文章會在首頁顯示。否則只有當瀏覽這個分類時才會看到文章。';
-$messages['error_empty_name'] = '你必須輸入分類名稱';
-$messages['error_empty_description'] = '你必須輸入分類描述';
-$messages['error_adding_article_category'] = '在新增分類時發生錯誤。請檢查輸入的資料,再重試一次。';
-$messages['category_added_ok'] = '分類名稱 「%s」已經順利新增';
-$messages['add'] = '新增';
-$messages['reset'] = '重新設置';
-
-// update category
-$messages['error_updating_article_category'] = '更新文章分類時發生錯誤。';
-$messages['error_fetching_category'] = '讀取分類資料時發生錯誤。';
-$messages['article_category_updated_ok'] = '分類 「%s」 已順利更新。';
-
-// links
-$messages['feed'] = 'Feed';
-$messages['error_no_links_selected'] = '網站連結ID錯誤或您沒有選擇任何網站連結,無法刪除。';
-$messages['error_incorrect_link_id'] = '網站連結ID不正確';
-$messages['error_removing_link'] = '在刪除網站連結「%s」時發生錯誤。';
-$messages['error_removing_link2'] = '在刪除網站連結時發生錯誤,id = %d';
-$messages['link_deleted_ok'] = '網站連結「%s」已順利刪除。';
-$messages['links_deleted_ok'] = '網站連結「%s」已順利刪除。';
-
-// new link
-$messages['link_name_help'] = '請輸入連結名稱。';
-$messages['link_url_help'] = '連結網址';
-$messages['link_description_help'] = '簡短描述';
-$messages['link_feed_help'] = '你也可以提供任何的 RSS 或 Atom feeds 的連結。';
-$messages['link_category_help'] = '選取一個網站連結分類';
-$messages['error_adding_link'] = '新增網站連結時發生錯誤。請檢查輸入的資料,再重試一次。';
-$messages['error_invalid_url'] = '網址不正確';
-$messages['link_added_ok'] = '網站連結「%s」已順利新增';
-$messages['bookmarkit_to_lifetype'] = "把書籤加到 LifeType!";
-
-// update link
-$messages['error_updating_link'] = '更新網站連結時發生錯誤。請檢查輸入的資料,再重試一次。';
-$messages['error_fetching_link'] = '讀取網站連結資料時發生錯誤。';
-$messages['link_updated_ok'] = '網站連結「%s」已順利更新';
-
-// link categories
-$messages['links'] = '網站連結';
-$messages['error_invalid_link_category_id'] = '網站連結分類ID不正確或沒有選擇連結分類,無法刪除。';
-$messages['error_links_in_link_category'] = '無法刪除「%s」這個網站連結分類,因為該分類下還有連結。請先修改網站連結後,再重試一次。';
-$messages['error_removing_link_category'] = '在刪除網站連結分類「%s」時發生錯誤。';
-$messages['link_category_deleted_ok'] = '網站連結分類「%s」已順利刪除。';
-$messages['link_categories_deleted_ok'] = '網站連結分類「%s」已順利刪除。';
-$messages['error_removing_link_category2'] = '刪除網站連結分類時發生錯誤 (id = %s)';
-
-// new link category
-$messages['link_category_name_help'] = '網站連結分類名稱';
-$messages['error_adding_link_category'] = '新增網站連結分類時發生錯誤。';
-$messages['link_category_added_ok'] = '網站連結分類「%s」已順利新增';
-
-// edit link category
-$messages['error_updating_link_category'] = '更新網站連結分類時發生錯誤。請檢查輸入資料後,再試一次。';
-$messages['link_category_updated_ok'] = '網站連結分類「%s」已順利更新';
-$messages['error_fetching_link_category'] = '讀取網站連結分類資料時發生錯誤。';
-
-// custom fields
-$messages['type'] = 'é¡žåž‹';
-$messages['hidden'] = '隱藏';
-$messages['fields_deleted_ok'] = '「%s」 自訂欄位已順利刪除';
-$messages['field_deleted_ok'] = '「%s」 自訂欄位已順利刪除';
-$messages['error_deleting_field'] = '在刪除自訂欄位「%s」時發生錯誤。';
-$messages['error_deleting_field2'] = '刪除自訂欄位時發生錯誤 (id = %s)';
-$messages['error_incorrect_field_id'] = '自訂欄位ID不正確';
-
-// new custom field
-$messages['field_name_help'] = '在發表文章時,用來顯示自訂欄位的名稱';
-$messages['field_description_help'] = '自訂欄位的簡短描述';
-$messages['field_type_help'] = '選擇一個合適的欄位類型';
-$messages['field_hidden_help'] = '如果勾選隱藏,那麼在新增或修改文章時便不會出現該自訂欄位。這個功能主要提供給外掛程式專用。';
-$messages['error_adding_custom_field'] = '新增自訂欄位時發生錯誤。請檢查輸入資料後,再試一次。';
-$messages['custom_field_added_ok'] = '自訂欄位「%s」已順利更新';
-$messages['text_field'] = '文字欄位(Text Field)';
-$messages['text_area'] = '文字區塊(Text Box)';
-$messages['checkbox'] = '核取方塊(Check Box)';
-$messages['date_field'] = '日期選擇(Date Chooser)';
-
-// edit custom field
-$messages['error_fetching_custom_field'] = '讀取自訂欄位資料時發生錯誤。';
-$messages['error_updating_custom_field'] = '更新自訂欄位時發生錯誤。請檢查輸入資料後,再試一次。';
-$messages['custom_field_updated_ok'] = '自訂欄位「%s」已順利更新';
-
-// resources
-$messages['root_album'] = '主資料夾';
-$messages['num_resources'] = '檔案數';
-$messages['total_size'] = '檔案大小';
-$messages['album'] = '資料夾';
-$messages['error_incorrect_album_id'] = '資料夾ID不正確';
-$messages['error_base_storage_folder_missing_or_unreadable'] = 'LifeType無法建立檔案存檔所必需的資料夾。 原因可能是因為PHP以安全模式在執行或是你沒有足夠的權限上傳檔案。 你可以試著手動建立下列資料夾: <br/><br/>%s<br/><br/>如果這些資料夾已經存在,請確定你可以使用瀏覽器來進行讀寫。';
-$messages['items_deleted_ok'] = '「%s」已順利刪除';
-$messages['error_album_has_children'] = '「%s」資料夾裡面還有檔案或子資料夾。請將檔案或資料夾移除後在重試一次。';
-$messages['item_deleted_ok'] = '「%s」已順利刪除';
-$messages['error_deleting_album'] = '在刪除資料夾「%s」時發生錯誤。';
-$messages['error_deleting_album2'] = '刪除資料夾時發生錯誤 (id = %s)';
-$messages['error_deleting_resource'] = '在刪除檔案「%s」時發生錯誤。';
-$messages['error_deleting_resource2'] = '刪除檔案時發生錯誤 (id = %s)';
-$messages['error_no_resources_selected'] = '沒有選擇要刪除的項目。';
-$messages['resource_deleted_ok'] = '檔案:「%s」 已順利刪除';
-$messages['album_deleted_ok'] = '資料夾:「%s」 已順利刪除';
-$messages['add_resource'] = '新增檔案 (原圖)';
-$messages['add_resource_preview'] = '新增檔案預覽 (小圖)';
-$messages['add_resource_medium'] = '新增檔案預覽 (中圖)';
-$messages['add_album'] = '新增資料夾';
-
-// new album
-$messages['album_name_help'] = '資料夾簡短名稱';
-$messages['parent'] = '上層目錄';
-$messages['no_parent'] = '頂端目錄';
-$messages['parent_album_help'] = '使用這個選項來安排子資料夾,同時讓你的檔案放置更有組織。';
-$messages['album_description_help'] = '對資料夾內容做詳細的描述說明。';
-$messages['error_adding_album'] = '新增資料夾時發生錯誤。請檢查輸入資料後,再試一次。';
-$messages['album_added_ok'] = '資料夾:「%s」 已順利新增。';
-
-// edit album
-$messages['error_incorrect_album_id'] = '資料夾ID不正確。';
-$messages['error_fetching_album'] = '讀取資料夾資料時發生錯誤。';
-$messages['error_updating_album'] = '更新資料夾時發生錯誤。請檢查輸入資料後,再試一次。';
-$messages['album_updated_ok'] = '資料夾「%s」已順利更新';
-$messages['show_album_help'] = '取消勾選,這個資料夾將不會出現在網誌資料夾列表中。';
-
-// new resource
-$messages['file'] = '檔案';
-$messages['resource_file_help'] = '下面的檔案將會新增到網誌的檔案中心。如果你要同時上傳多個檔案,請使用下方「新增上傳欄位」的連結來新增欄位。';
-$messages['add_field'] = '新增上傳欄位';
-$messages['resource_description_help'] = '關於這個檔案內容的詳細描述。';
-$messages['resource_album_help'] = '選擇你想將檔案上傳到那個資料夾。';
-$messages['error_no_resource_uploaded'] = '你並未選擇任何要上傳的檔案。';
-$messages['resource_added_ok'] = '檔案:「%s」已順利新增。';
-$messages['error_resource_forbidden_extension'] = '無法新增檔案,因為用了系統不允許的副檔名。';
-$messages['error_resource_too_big'] = '無法新增檔案,因為檔案太大了。';
-$messages['error_uploads_disabled'] = '無法新增檔案,因為伺服器管理員關閉了這項功能。';
-$messages['error_quota_exceeded'] = '無法新增檔案,因為已經超過容許的檔案容量限度。';
-$messages['error_adding_resource'] = '在新增檔案時發生錯誤。';
-
-// edit resource
-$messages['editResource'] = '編輯檔案';
-$messages['resource_information_help'] = '下面是一些與這個檔案有關的資訊';
-$messages['information'] = '檔案資訊';
-$messages['size'] = '檔案大小';
-$messages['format'] = '檔案格式';
-$messages['dimensions'] = '維度';
-$messages['bits_per_sample'] = '樣本位元率';
-$messages['sample_rate'] = '取樣比例';
-$messages['number_of_channels'] = '頻道數目';
-$messages['legnth'] = '長度';
-$messages['thumbnail_format'] = '縮圖格式';
-$messages['regenerate_preview'] = '重新產生預覽縮圖';
-$messages['error_fetching_resource'] = '讀取檔案資訊時發生錯誤。';
-$messages['error_updating_resource'] = '更新檔案時發生錯誤。';
-$messages['resource_updated_ok'] = '檔案:「%s」已順利更新。';
-
-// blog settings
-$messages['blog_link'] = '網誌站台網址';
-$messages['blog_link_help'] = '不能修改';
-$messages['blog_name_help'] = '站台名稱';
-$messages['blog_description_help'] = '站台相關說明';
-$messages['language'] = '語系';
-$messages['blog_language_help'] = '系統文字以及日期所使用的語言';
-$messages['max_main_page_items'] = '首頁文章數目';
-$messages['max_main_page_items_help'] = '您要在首頁顯示幾篇文章?';
-$messages['max_recent_items'] = '近期文章數目';
-$messages['max_recent_items_help'] = '您要在「近期文章列表」顯示幾篇文章?';
-$messages['template'] = '模版';
-$messages['choose'] = '預覽選取...';
-$messages['blog_template_help'] = '請選擇您的網誌站台所要使用的外觀樣式模版';
-$messages['use_read_more'] = '在文章使用「閱讀全文...」連結';
-$messages['use_read_more_help'] = '如果設定為「是」,那麼您在首頁的文章就會自動產生「閱讀全文」連結,這個連結會連到單篇文章的靜態固定網址,再顯示全文的「延伸內文部分」。';
-$messages['enable_wysiwyg'] = '啟用所見即所得(WYSIWYG)文章編輯。';
-$messages['enable_wysiwyg_help'] = '如果您想要立刻看到您的編輯結果,請設定為「是」。這個功能只有在使用者使用Internet Explorer 5.5或Mozilla 1.3b以上的版本才有效果。';
-$messages['enable_comments'] = '開放所有文章的迴響留言權限';
-$messages['enable_comments_help'] = '如果設定為「是」,那麼您便可以讓其他使用者針對您的文章發表迴響留言。這個設定會套用到您的全部文章上。';
-$messages['show_future_posts'] = '在日曆顯示未來文章。';
-$messages['show_future_posts_help'] = '如果設定為「是」,那麼發表日期設定在未來的文章將會出現在日曆上。';
-$messages['comments_order'] = '迴響留言排序方式';
-$messages['comments_order_help'] = '如果您設定成「舊的在前」,那麼留言就會從舊到新排序,如果設定成「新的在前」,則反之,留言從新到舊排序出現。';
-$messages['oldest_first'] = '舊的在前';
-$messages['newest_first'] = '新的在前';
-$messages['categories_order'] = '分類排列順序';
-$messages['categories_order_help'] = '首頁分類排列方式。';
-$messages['most_recent_updated_first'] = '最近更新在前';
-$messages['alphabetical_order'] = '依英文字母順序排列';
-$messages['reverse_alphabetical_order'] = '依英文字母順序反向排列';
-$messages['most_articles_first'] = '最多文章在前';
-$messages['link_categories_order'] = '網站連結分類排列順序';
-$messages['link_categories_order_help'] = '首頁網站連結分類排列方式。';
-$messages['most_links_first'] = '最多連結在前';
-$messages['most_links_last'] = '最多連結在後';
-$messages['time_offset'] = '網誌伺服器與您所在地的時間差';
-$messages['time_offset_help'] = '您可以用這個設定,調整您所發表的文章的時間。這個功能在伺服器主機與您分別在不同時區時相當有用。如果您將時間差設定為「+3 小時」,那麼系統就會將文章的發表時間調整成您所設定的時間。';
-$messages['close'] = '關閉';
-$messages['select'] = '選擇';
-$messages['error_updating_settings'] = '更新網誌設定時發生錯誤,請檢查輸入資料後在重試一次。';
-$messages['error_invalid_number'] = '數目格式不正確。';
-$messages['error_incorrect_time_offset'] = '網誌伺服器與您所在地的時間差不正確';
-$messages['blog_settings_updated_ok'] = '網誌設定更新已順利完成。';
-$messages['hours'] = '小時';
-
-// user settings
-$messages['username_help'] = '公開的使用者名稱,無法更改。';
-$messages['full_name'] = '全名';
-$messages['full_name_help'] = '完整的使用者名稱';
-$messages['password_help'] = '如果你想更改密碼請輸入新密碼及確認密碼;如果您不想修改密碼,留白便可。';
-$messages['confirm_password'] = '確認密碼';
-$messages['email'] = '電子郵件';
-$messages['email_help'] = '如果您想要使用電子郵件通知信功能,請填寫正確的信箱。';
-$messages['bio'] = '自我介紹';
-$messages['bio_help'] = '您可以在此填寫一些您的自我介紹,或是不填也可以。';
-$messages['picture'] = '個人圖像';
-$messages['user_picture_help'] = '請從上傳到網誌中的圖片選取一張做為你的個人大頭貼。';
-$messages['error_invalid_password'] = '密碼太短或密碼錯誤。';
-$messages['error_passwords_dont_match'] = '很抱歉,您輸入的兩次密碼不相符。';
-$messages['error_incorrect_email_address'] = '電子郵件信箱格式錯誤。';
-$messages['error_updating_user_settings'] = '更新個人資料時發生錯誤。請檢查輸入的資料後在重試一次。';
-$messages['user_settings_updated_ok'] = '使用者設定已順利更新。';
-$messages['resource'] = '檔案';
-
-// plugin centre
-$messages['identifier'] = '代號';
-$messages['error_plugins_disabled'] = '很抱歉,外掛目前停用中。';
-
-// blog users
-$messages['revoke_permissions'] = '取消使用權限。';
-$messages['error_no_users_selected'] = '你沒有選取任何使用者。';
-$messages['user_removed_from_blog_ok'] = '使用者「%s」已經順利從本站作者行列中刪除。';
-$messages['users_removed_from_blog_ok'] = '使用者「%s」已經順利從本站作者行列中刪除。';
-$messages['error_removing_user_from_blog'] = '在將使用者「%s」從本網誌站台作者行列中移除時發生錯誤。';
-$messages['error_removing_user_from_blog2'] = '在將使用者從本網誌站台作者行列中移除時發生錯誤。(id:%s)';
-
-// new blog user
-$messages['new_blog_username_help'] = '您可以用以下表單,將其他使用者加入您的網誌作者行列中。新增加的使用者只能存取管理中心及檔案中心。';
-$messages['send_notification'] = '發送通知';
-$messages['send_user_notification_help'] = '用電子郵件通知這名使用者。';
-$messages['notification_text'] = '通知內容';
-$messages['notification_text_help'] = '請輸入您要通知這位使用者的信件內容';
-$messages['error_adding_user'] = '在加入使用者時發生問題,請檢查輸入的資料在重試一次。';
-$messages['error_empty_text'] = '通知內容不可以是空白。';
-$messages['error_adding_user'] = '在加入使用者時發生問題,請檢查輸入的資料在重試一次。';
-$messages['error_invalid_user'] = '使用者「%s」帳號不正確或該使用者不存在。';
-$messages['user_added_to_blog_ok'] = '使用者「%s」已經順利加入作者行列。';
-
-// blog templates
-$messages['error_no_templates_selected'] = '您沒有選擇任何模版。';
-$messages['error_template_is_current'] = '「%s」模版無法刪除,該模版正在使用中。';
-$messages['error_removing_template'] = '刪除模版 「%s」時發生錯誤。';
-$messages['template_removed_ok'] = ' 模版 「%s」已順利刪除。';
-$messages['templates_removed_ok'] = '模版 「%s」已順利刪除。';
-
-// new blog template
-$messages['template_installed_ok'] = '新的模版設置「 %s」已經順利安裝完成。';
-$messages['error_installing_template'] = '在安裝模版設置「 %s」時發生錯誤。';
-$messages['error_missing_base_files'] = '在這個模版設置中有些基本檔案不見了。';
-$messages['error_add_template_disabled'] = '本站不允許使用者新增模版檔案。';
-$messages['error_must_upload_file'] = '您必須上傳檔案。';
-$messages['error_uploads_disabled'] = '本站已關閉檔案上傳功能。';
-$messages['error_no_new_templates_found'] = '找不到新的模版設置。';
-$messages['error_template_not_inside_folder'] = '模版檔案必須放在與模版同名的目錄當中。';
-$messages['error_missing_base_files'] = '在這個模版設置中有些基本檔案不見了。';
-$messages['error_unpacking'] = '在解壓縮時發生錯誤。';
-$messages['error_forbidden_extensions'] = '在這個模版設置中有些檔案禁止存取。';
-$messages['error_creating_working_folder'] = '在檢查模版設置時發生錯誤。';
-$messages['error_checking_template'] = '模版設置發生錯誤 (code = %s)';
-$messages['template_package'] = '模版安裝包';
-$messages['blog_template_package_help']  = '您可以用這個表單,上傳一個新的模版安裝包,該模版將只有你的網誌能夠使用。如果您沒有辦法用瀏覽器上傳,請手動上傳該模版並將它放置於你的網誌模板資料夾<b>%s</b>下,然後按下 "<b>掃描模版</b>" 按紐。 LifeType 會掃描該資料夾並自動新增所找到的新模版。';
-$messages['scan_templates'] = '掃描模版';
-
-// site users
-$messages['user_status_active'] = '啟用';
-$messages['user_status_disabled'] = '停用';
-$messages['user_status_all'] = '所有狀態';
-$messages['user_status_unconfirmed'] = '尚未確認';
-$messages['error_invalid_user2'] = '使用者代號「%s」不存在。';
-$messages['error_deleting_user'] = '在停用使用者帳號「%s」時發生錯誤。';
-$messages['user_deleted_ok'] = '使用者帳號「%s」已順利停用。';
-$messages['users_deleted_ok'] = '使用者帳號「%s」已順利停用。';
-
-// create user
-$messages['user_added_ok'] = '新使用者帳號「%s」已順利新增。';
-$messages['error_incorrect_username'] = '使用者名稱不正確或已經有人註冊相同的名稱了。';
-$messages['user_status_help'] = '使用者帳號目前狀態';
-$messages['user_blog_help'] = '使用者預設的網誌';
-$messages['none'] = 'ç„¡';
-
-// edit user
-$messages['error_invalid_user'] = '使用者ID不正確或使用者不存在。';
-$messages['error_updating_user'] = '更新使用者設定時發生錯誤。請檢查輸入資料後再重試一次。';
-$messages['blogs'] = '網誌';
-$messages['user_blogs_help'] = '使用者擁有或可以存取的網誌。';
-$messages['site_admin'] = '全站系統管理';
-$messages['site_admin_help'] = '如果使用者擁有全站系統管理權限,他就可以看見[站台設定]區域,可以進行全站的管理工作。';
-$messages['user_updated_ok'] = '使用者帳號「%s」已順利更新。';
-
-// site blogs
-$messages['blog_status_all'] = '所有狀態';
-$messages['blog_status_active'] = '啟用';
-$messages['blog_status_disabled'] = '停用';
-$messages['blog_status_unconfirmed'] = '尚未確認';
-$messages['owner'] = '管理員';
-$messages['quota'] = '檔案限度';
-$messages['bytes'] = 'bytes';
-$messages['error_no_blogs_selected'] = '您必須要選擇您所想要刪除的網誌站台。';
-$messages['error_blog_is_default_blog'] = '「%s」是系統預設網誌站台,無法刪除。';
-$messages['blog_deleted_ok'] = '「%s」網誌站台已順利刪除。';
-$messages['blogs_deleted_ok'] = '「%s」網誌站台已順利刪除。';
-$messages['error_deleting_blog'] = '在刪除「%s」這個網誌站台時發生錯誤。';
-$messages['error_deleting_blog2'] = '在刪除網誌站台時發生錯誤。(ID:%s)';
-
-// create blog
-$messages['error_adding_blog'] = '在新增網誌時發生錯誤。請檢查輸入的資料在重試一次。';
-$messages['blog_added_ok'] = '新的網誌站台「%s」已成功加入資料庫中。';
-
-// edit blog
-$messages['blog_status_help'] = '網誌狀態';
-$messages['blog_owner_help'] = '網誌站台管理者,將擁有完整的權限來修改網誌設定。';
-$messages['users'] = '使用者';
-$messages['blog_quota_help'] = '檔案容量限度(單位:bytes)。設為0或空白將使用系統的全域檔案限度做為預設值。';
-$messages['edit_blog_settings_updated_ok'] = '網誌 「%s」已順利更新。';
-$messages['error_updating_blog_settings'] = '更新網誌站台 「%s」時發生錯誤。';
-$messages['error_incorrect_blog_owner'] = '要設定為網誌站台管理員的使用者帳號不存在。';
-$messages['error_fetching_blog'] = '讀取網誌資料時發生錯誤。';
-$messages['error_updating_blog_settings2'] = '更新網誌時發生錯誤。請檢查輸入資料在重試一次。';
-$messages['add_or_remove'] = '新增或移除使用者';
-
-// site locales
-$messages['locale'] = '語系';
-$messages['locale_encoding'] = '編碼方式';
-$messages['locale_deleted_ok'] = '「%s」語系已順利刪除。';
-$messages['error_no_locales_selected'] = '您沒有選擇要刪除的語系。';
-$messages['error_deleting_only_locale'] = '您不可以刪除這個語系檔案,因為這是系統中目前唯一的語系檔案。';
-$messages['locales_deleted_ok']= '「%s」語系已順利刪除。';
-$messages['error_deleting_locale'] = '在刪除「%s」語系時發生錯誤。';
-$messages['error_locale_is_default'] = '您不可以刪除「%s」語系,因為這是系統目前的預設語系。';
-
-// add locale
-$messages['error_invalid_locale_file'] = '這個檔案並不是正確的語系檔案。';
-$messages['error_no_new_locales_found'] = '找不到新的語系檔案。';
-$messages['locale_added_ok'] = '語系「%s」已經順利新增';
-$messages['error_saving_locale'] = '在將新的語系檔案儲存至語系檔案目錄時發生錯誤。請檢查檔案目錄的寫入權限是否正確。';
-$messages['scan_locales'] = '掃描語系檔';
-$messages['add_locale_help'] = '您可以用這個表單,上傳一個新的語系檔。如果您沒有辦法用瀏覽器上傳,請手動上傳該檔案並將它放置於 <b>./locales/</b>下,然後按下 "<b>掃描語系檔</b>" 按紐。 LifeType 會掃描該資料夾並自動新增所找到的語系檔。 ';
-
-// site templates
-$messages['error_template_is_default'] = '您不可以刪除「%s」模版,因為這是新網誌目前的預設模版。';
-
-// add template
-$messages['global_template_package_help'] = '您可以用這個表單,上傳一個新的模版安裝包,該模版將提供給網站上所有網誌使用。如果您沒有辦法用瀏覽器上傳,請手動上傳該模版並將它放置於你的網誌模板資料夾<b>%s</b>下,然後按下 "<b>掃描模版</b>" 按紐。 LifeType 會掃描該資料夾並自動新增所找到的新模版。';
-
-// global settings
-$messages['site_config_saved_ok'] = '站台設定已順利儲存。';
-$messages['error_saving_site_config'] = '在儲存站台設置時發生問題。';
-/// general settings
-$messages['help_comments_enabled'] = '啟用或停用全站的迴響留言功能。';
-$messages['help_beautify_comments_text'] = '在使用者發表迴響留言時,使用他所輸入的文字格式。';
-$messages['help_temp_folder'] = 'LifeType系統用來儲存暫存檔案用的目錄。';
-$messages['help_base_url'] = '這個網誌安裝的網址,這個項目務必要正確,請小心輸入。';
-$messages['help_subdomains_enabled'] = '啟用或停用次網域設定。';
-$messages['help_include_blog_id_in_url'] = '當[次網域]功能啟用及[一般網址]功能啟用時才有意義。強迫產生的網址不要包含"blogId"這個參數。請不要變更設定值,除非你知道你在做什麼。';
-$messages['help_script_name'] = '如果你將index.php更改為其它名稱的話,請在下方輸入更改後的檔案名稱。';
-$messages['help_show_posts_max'] = '在首頁顯示文章數的預設值。';
-$messages['help_recent_posts_max'] = '在首頁「近期文章」列表中顯示文章數的預設值。';
-$messages['help_save_drafts_via_xmlhttprequest_enabled'] = '當XmlHttpRequest功能被啟用時,將可以使用Javascript來儲存文章草稿。';
-$messages['help_locale_folder'] = '語系檔案所在目錄。';
-$messages['help_default_locale'] = '在建立新網誌站台時預設使用的語系。';
-$messages['help_default_blog_id'] = '預設網誌ID';
-$messages['help_default_time_offset'] = '預設的網站伺服器時間差。';
-$messages['help_html_allowed_tags_in_comments'] = '在發表迴響評論時可以使用的HTML語法標籤。';
-$messages['help_referer_tracker_enabled'] = '是否使用文章逆向連結功能。(停用此功能可以提高系統效能。)';
-$messages['help_show_more_enabled'] = '啟用或停用「閱讀全文」連結功能。';
-$messages['help_update_article_reads'] = '是否使用內建的點閱率統計工具計算每篇文章的點閱次數。(停用此功能可以提高系統效能。)';
-$messages['help_update_cached_article_reads'] = '在快取功能開啟的情形下,是否使用內建的點閱率統計工具計算每篇文章的點閱次數。';
-$messages['help_xmlrpc_ping_enabled'] = '在系統中有人發表新文章時,是否送出 XMLRPC 通告。';
-$messages['help_send_xmlrpc_pings_enabled_by_default'] = '預設啟用該功能。當有新文章發表或更新時,是否送出 XMLRPC 通告。。';
-$messages['help_xmlrpc_ping_hosts'] = 'XMLRPC 通告列表,如果您要向多處發送通告,請在文字框下面加入通告發送網址,每個網址一行。';
-$messages['help_trackback_server_enabled'] = '是否接受從站外傳來的引用通告(TrackBack)。';
-$messages['help_htmlarea_enabled'] = '啟用或停用即視即所得(WYSIWYG)文章編輯。';
-$messages['help_plugin_manager_enabled'] = '啟用或停用外掛程式。';
-$messages['help_minimum_password_length'] = '密碼最短需要多少字元。';
-$messages['help_xhtml_converter_enabled'] = '如果啟用此功能,LifeType會試著將所有的HTML轉換為適當的XHTML。';
-$messages['help_xhtml_converter_aggressive_mode_enabled'] = '如果啟用此功能,LifeType會試著將HTML進一步轉換為XHTML,但這樣可能會導致更多的錯誤。';
-$messages['help_session_save_path'] = '此設定將使用PHP的session_save_path()函數,來更改LifeType存放session的資料夾。請確定該資料夾可以透過網站伺服器進行寫入動作。如果你要使用PHP預設的session存放路徑,請將此設定空白。';
-// summary settings
-$messages['help_summary_page_show_max'] = '在摘要頁面中要顯示多少項目。此選項控制在摘要頁面中列出的所有項目。(包括最新文章數目、最活躍網誌等)';
-$messages['help_summary_items_per_page'] = '在[網誌列表]中每一頁要顯示多少網誌。';
-$messages['help_forbidden_usernames'] = '列出所有不允許註冊的使用者名稱。';
-$messages['help_force_one_blog_per_email_account'] = '一個電子郵件是否只能註冊一個網誌';
-$messages['help_summary_show_agreement'] = '在使用者進行註冊動作之前,是否顯示並確認使用者同意服務條款。';
-$messages['help_need_email_confirm_registration'] = '是否啟用電子郵件的確認連結來啟用帳號。';
-$messages['help_summary_disable_registration'] = '是否關閉使用者註冊新網誌的功能。';
-// templates
-$messages['help_template_folder'] = '模版檔案的所在目錄路徑。';
-$messages['help_default_template'] = '在新建網誌站台時,預設使用的模版。';
-$messages['help_users_can_add_templates'] = '使用者是否可以在模版設置當中,加入屬於自己專屬需求的檔案。';
-$messages['help_template_compile_check'] = '停用此功能時,Smarty只有在模版有更改時才會重新產生頁面。停用此功能可以提高系統效能。';
-$messages['help_template_cache_enabled'] = '啟用模版快取功能。啟用此功能,快取的版本將會持續被使用,而不需要對資料庫進行資料存取的動作。';
-$messages['help_template_cache_lifetime'] = '快取存活時間(單位:秒).設為-1快取將永不過期,或設為0來關閉快取功能。';
-$messages['help_template_http_cache_enabled'] = '是否啟用對HTTP連結要求的快取支援。啟用此功能LifeType只會傳送必要的內容,可以節省網路頻寬。';
-$messages['help_allow_php_code_in_templates'] = '允許在Smarty 模版中的{php}...{/php}區塊置入原生PHP程式碼(native PHP code)';
-// urls
-$messages['help_request_format_mode'] = '如果您設定為「一般網址」,那麼系統所呈現的網址,就會使用將參數以get方式傳入的一般方式。如果您選用「讓搜尋引擎易於搜尋的簡潔網址」,那麼就會讓網址變得簡潔,搜尋引擎也容易取得您網站上的內容,不過您的Apache伺服器必須要能夠接受.htaccess檔案中的覆寫設定。如果使用自訂網址,請調整下方的設定。';
-$messages['plain'] = '一般網址';
-$messages['search_engine_friendly'] = '讓搜尋引擎易於搜尋的簡潔網址';
-$messages['custom_url_format'] = '自訂網址';
-$messages['help_permalink_format'] = '當使用自訂網址時,靜態連結網址格式。';
-$messages['help_category_link_format'] = '當使用自訂網址時,網站連結分類網址格式。';
-$messages['help_blog_link_format'] = '當使用自訂網址時,網誌連結網址格式。';
-$messages['help_archive_link_format'] = '當使用自訂網址時,文章彙整連結網址格式。';
-$messages['help_user_posts_link_format'] = '當使用自訂網址時,特定使用者發表的文章連結網址格式。';
-$messages['help_post_trackbacks_link_format'] = '當使用自訂網址時,引用連結網址格式。';
-$messages['help_template_link_format'] = '當使用自訂網址時,自訂靜態模版連結網址格式。';
-$messages['help_album_link_format'] = '當使用自訂網址時,資料夾連結網址格式。';
-$messages['help_resource_link_format'] = '當使用自訂網址時,檔案連結網址格式。';
-$messages['help_resource_preview_link_format'] = '當使用自訂網址時,檔案預覽連結網址格式。';
-$messages['help_resource_medium_size_preview_link_format'] = '當使用自訂網址時,中型檔案預覽連結網址格式。';
-$messages['help_resource_download_link_format'] = '當使用自訂網址時,檔案下載連結網址格式。';
-// email
-$messages['help_check_email_address_validity'] = '在使用者註冊申請新的網誌站台時,是否要認證他所填寫的電子郵件信箱是否正確。';
-$messages['help_email_service_enabled'] = '使用或停用用來寄送通知信函的電子郵件服務。';
-$messages['help_post_notification_source_address'] = '系統通知信函的寄件人電子郵件信箱。';
-$messages['help_email_service_type'] = '用來寄送電子郵件的方式,請在各種方法選擇其中之一。';
-$messages['help_smtp_host'] = '如果您選用SMTP寄送電子郵件,請輸入您要用來發送郵件的主機。';
-$messages['help_smtp_port'] = '前項設定的SMTP主機連接埠(port)';
-$messages['help_smtp_use_authentication'] = 'SMTP主機是否需要授權認證。如果需要的話,請繼續填寫下面兩項設定。';
-$messages['help_smtp_username'] = '如果SMTP主機需要授權認證,請填寫使用者帳號。';
-$messages['help_smtp_password'] = '如果SMTP主機需要授權認證,請填寫使用者密碼。';
-// helpers
-$messages['help_path_to_tar'] = '「tar」指令所在目錄。(用來解壓縮使用 .tar.gz 或 .tar.gz2格式壓縮的模版包)';
-$messages['help_path_to_gzip'] = '「gzip」指令所在目錄。(用來解壓縮使用 .tar.gz 格式壓縮的模版包)';
-$messages['help_path_to_bz2'] = '「bzip2」指令所在目錄。(用來解壓縮使用 .tar.gz2格式壓縮的模版包)';
-$messages['help_path_to_unzip'] = '「unzip」指令所在目錄。(用來解壓縮使用 .zip格式壓縮的模版包)';
-$messages['help_unzip_use_native_version'] = '使用PHP內建的版本來解壓縮 .zip 的檔案';
-// uploads
-$messages['help_uploads_enabled'] = '啟用或停用上傳檔案功能。這個功能會影響到使用者能否上傳新的模版安裝包,以及在模版中添加新的檔案。';
-$messages['help_maximum_file_upload_size'] = '使用者上傳檔案大小的上限。';
-$messages['help_upload_forbidden_files'] = '禁止使用者上傳的檔案類型。如果有多個不同的檔案類型,請在不同的類型間用空白區隔。也可使用\'*\' and \'?\'的方式。';
-// interfaces
-$messages['help_xmlrpc_api_enabled'] = '啟用或停用XMLRPC介面。XMLRPC介面的用途是可以讓您使用桌面網誌寫作工具出版網誌文章。';
-$messages['help_rdf_enabled'] = '啟用或停用產生RSS新聞交換檔案功能。';
-$messages['help_default_rss_profile'] = '預設的RSS/RDF新聞交換格式';
-// security
-$messages['help_security_pipeline_enabled'] = '啟用系統安全功能。如果您關閉了這個選項,那麼所有的系統安全功能都會停用,如果您想要關閉一些系統安全功能,建議您將這個設定設為開啟,然後在以下的選項中,逐一停用我們不需要的系統安全功能項目。';
-$messages['help_maximum_comment_size'] = '迴響留言的內文字元數上限。';
-// bayesian filter
-$messages['help_bayesian_filter_enabled'] = '啟用或停用貝氏過濾機制。';
-$messages['help_bayesian_filter_spam_probability_treshold'] = '被認定為是垃圾迴響留言的數值下限。設定範圍在0.01到0.99之間。';
-$messages['help_bayesian_filter_nonspam_probability_treshold'] = '設定迴響留言是正常留言的數值上限。任何符合在前一設定與本設定之間數值的留言迴響,都會被認定是正常而非垃圾留言。';
-$messages['help_bayesian_filter_min_length_token'] = '在多少字元數以上才會啟動貝氏過濾機制。';
-$messages['help_bayesian_filter_max_length_token'] = '貝氏過濾機制可以處理的最多字元數上限。';
-$messages['help_bayesian_filter_number_significant_tokens'] = '在訊息中必須要有多少顯著有意義的文字。';
-$messages['help_bayesian_filter_spam_comments_action'] = '處理垃圾留言的方法。您可以直接清理這些垃圾留言(不會存進資料庫中),或是保存這些垃圾留言,但是加上垃圾留言標示標示。建議當您的過濾機制在還沒有妥善建立阻擋規則時,先用後者。';
-$messages['keep_spam_comments'] = '保存垃圾迴響';
-$messages['throw_away_spam_comments'] = '清理垃圾迴響';
-// resources
-$messages['help_resources_enabled'] = '啟用或關閉檔案中心功能。';
-$messages['help_resources_folder'] = '用來存放檔案中心的目錄。這個目錄不一定要在網頁目錄下。如果您不希望別人直接瀏覽您的檔案目錄,您可以把這個目錄設定到其他地方。';
-$messages['help_thumbnail_method'] = '您用來產生縮圖的後端系統。如果使用PHP,GD的支援是必須的。';
-$messages['help_path_to_convert'] = '用來產生縮圖的系統工具路徑。如果您要使用ImageMagick,那麼您必須接著填寫ImageMagick的工具程式路徑。';
-$messages['help_thumbnail_format'] = '在產生預覽縮圖時所使用的預設格式。如果您選擇「與原始影像相同」,那麼預覽縮圖就會儲存成與原始影像相同的格式。';
-$messages['help_thumbnail_height'] = '縮圖預設高度。';
-$messages['help_thumbnail_width'] = '縮圖預設寬度。';
-$messages['help_medium_size_thumbnail_height'] = '中型縮圖預設高度';
-$messages['help_medium_size_thumbnail_width'] = '中型縮圖預設寬度';
-$messages['help_thumbnails_keep_aspect_ratio'] = '縮圖是否保持原始比例。';
-$messages['help_thumbnail_generator_force_use_gd1'] = '是否強迫LifeType使用GD1函數來產生縮圖';
-$messages['help_thumbnail_generator_user_smoothing_algorithm'] = '是否使用演算法來使縮圖畫面更平順。只有當縮圖產生工具是GD時才適用。';
-$messages['help_resources_quota'] = '全域檔案容量限額';
-$messages['help_resource_server_http_cache_enabled'] = '當HTTP請求檔頭為"If-Modified-Since"啟用快取支援。啟用此功能來節省網路頻寬。';
-$messages['help_resource_server_http_cache_lifetime'] = '客戶端可以使用快取檔案的時間(單位:千分之一秒)';
-$messages['same_as_image'] = '與原始影像相同';
-// search
-$messages['help_search_engine_enabled'] = '啟用或停用搜尋引擎';
-$messages['help_search_in_custom_fields'] = '搜尋包含自訂欄位';
-$messages['help_search_in_comments'] = '搜尋包含迴響';
-
-// cleanup
-$messages['purge'] = '清除';
-$messages['cleanup_spam'] = '清除垃圾迴響';
-$messages['cleanup_spam_help'] = '這會清除所有被使用者標示為垃圾的迴響。被清除的垃圾迴響將無法回復。';
-$messages['spam_comments_purged_ok'] = '垃圾迴響已順利清除';
-$messages['cleanup_posts'] = '清除文章';
-$messages['cleanup_posts_help'] = '這會清除所有被使用者標示為刪除的文章。 被清除的文章將無法回復。';
-$messages['posts_purged_ok'] = '文章已順利清除';
-
-/// summary ///
-// front page
-$messages['summary'] = '摘要';
-$messages['register'] = '註冊';
-$messages['summary_welcome'] = 'æ­¡è¿Ž!';
-$messages['summary_most_active_blogs'] = '最活躍網誌';
-$messages['summary_most_commented_articles'] = '最多迴響文章';
-$messages['summary_most_read_articles'] = '最多人閱讀文章';
-$messages['password_forgotten'] = '忘記密碼?';
-$messages['summary_newest_blogs'] = '最新建立的網誌';
-$messages['summary_latest_posts'] = '最新發表的文章';
-$messages['summary_search_blogs'] = '搜尋網誌';
-
-// blog list
-$messages['updated'] = 'æ›´æ–°';
-$messages['total_reads'] = '瀏覽總次數';
-
-// blog profile
-$messages['blog'] = '網誌';
-$messages['latest_posts'] = '最新發表的文章';
-
-// registration
-$messages['register_step0_title'] = '服務條款';
-$messages['agreement'] = '同意條款';
-$messages['decline'] = '不接受';
-$messages['accept'] = '接受';
-$messages['read_service_agreement'] = '請詳細閱讀服務條款,如果你同意以上條款請按下接受鍵。';
-$messages['register_step1_title'] = '建立使用者 [1/4]';
-$messages['register_step1_help'] = '首先你必須先建立一個使用者帳號來取得一個網誌,這個使用者擁有該網誌,同時可以進行所有網誌設定功能。';
-$messages['register_next'] = '下一步';
-$messages['register_back'] = '上一步';
-$messages['register_step2_title'] = '建立網誌 [2/4]';
-$messages['register_blog_name_help'] = '幫你的網誌取個名稱';
-$messages['register_step3_title'] = '選擇一個模版[3/4]';
-$messages['step1'] = '步驟 1';
-$messages['step2'] = '步驟 2';
-$messages['step3'] = '步驟 3';
-$messages['register_step3_help'] = '請選擇一個模版做為網誌的預設模版。只要你不喜歡,你可以隨時把它換掉。';
-$messages['error_must_choose_template'] = '請選擇一個模版';
-$messages['select_template'] = '選取模版';
-$messages['register_step5_title'] = '恭喜你! [4/4]';
-$messages['finish'] = '註冊完成';
-$messages['register_need_confirmation'] = '一封包含註冊[確認訊息連結]的電子郵件已經寄到你的電子信箱中。請盡快點選該連結來開始你的blogging生活!';
-$messages['register_step5_help'] = '恭喜你,新的使用者帳號及網誌已經順利建立!';
-$messages['register_blog_link'] = '如果你要看一看你的新網誌,你現在可以到<a href="%2$s">%1$s</a>這裡看一看。';
-$messages['register_blog_admin_link'] = '如果你想要立刻開始發表文章,請點選連結到 <a href="admin.php">管理介面</a>';
-$messages['register_error'] = '過程中有錯誤發生!';
-$messages['error_registration_disabled'] = '很抱歉,網站管理者停用註冊新網誌的功能。';
-// registration article topic and text
-$messages['register_default_article_topic'] = '恭喜!';
-$messages['register_default_article_text'] = '如果你可以看到這篇文章,表示註冊過程已經順利完成。現在你可以開始blogging了!';
-$messages['register_default_category'] = '一般';
-// confirmation email
-$messages['register_confirmation_email_text'] = '請點選下面的連結來啟用你的網誌::
-
-%s
-
-祝你有個美好的一天!';
-$messages['error_invalid_activation_code'] = '很抱歉,確認碼不正確!';
-$messages['blog_activated_ok'] = '恭喜,你的使用者帳號和網誌已經順利啟用了!';
-// forgot your password?
-$messages['reset_password'] = '重設密碼';
-$messages['reset_password_username_help'] = '你要重設那個使用者的密碼?';
-$messages['reset_password_email_help'] = '使用者用來註冊的電子郵件位址';
-$messages['reset_password_help'] = '使用下方的表單來重設密碼。請輸入使用者名稱及註冊時使用的電子郵件位址。';
-$messages['error_resetting_password'] = '重設密碼時發生錯誤。請檢查輸入的資料再重試一次。';
-$messages['reset_password_error_incorrect_email_address'] = '電子郵件位址錯誤或著這不是你註冊時使用的電子郵件。';
-$messages['password_reset_message_sent_ok'] = '一封有著重設密碼連結的電子郵件已經送到你的電子郵件信箱,請點選該連結來重設密碼。';
-$messages['error_incorrect_request'] = '網址中的參數不正確。';
-$messages['change_password'] = '重設密碼';
-$messages['change_password_help'] = '請輸入新密碼及確認密碼';
-$messages['new_password'] = '新密碼';
-$messages['new_password_help'] = '在這裡輸入新密碼';
-$messages['password_updated_ok'] = '你的密碼已經順利更新';
-
-// Suggested by BCSE, some useful messages that not available in official locale
-$messages['upgrade_information'] = '您所使用的瀏覽器未符合網頁設計標準,因此本網頁將以純文字模式顯示。如欲以最佳的排版方式瀏覽本站,請考慮<a href="http://www.webstandards.org/upgrade/" title="The Web Standards Project\'s Browser Upgrade initiative">升級</a>您的瀏覽器。';
-$messages['jump_to_navigation'] = '移動到導覽列。';
-$messages['comment_email_never_display'] = '系統會自動為你設定分行,且不會顯示你留下的郵件地址。';
-$messages['comment_html_allowed'] = '可使用之 <acronym title="Hypertext Markup Language">HTML</acronym> 標籤如下:&lt;<acronym title="用途:超連結">a</acronym> href=&quot;&quot; title=&quot;&quot; rel=&quot;&quot;&gt; &lt;<acronym title="用途:頭字語標註">acronym</acronym> title=&quot;&quot;&gt; &lt;<acronym title="用途:引用文字">blockquote</acronym> cite=&quot;&quot;&gt; &lt;<acronym title="用途:刪除線">del</acronym>&gt; &lt;<acronym title="用途:斜體">em</acronym>&gt; &lt;<acronym title="用途:底線">ins</acronym>&gt; &lt;<acronym title="用途:粗體">strong</acronym>&gt;';
-$messages['trackback_uri'] = '這篇文章的引用連結網址:';
-$messages['previous_post'] = '上一篇';
-$messages['next_post'] = '下一篇';
-$messages['comment_default_title'] = '(無標題)';
-$messages['guestbook'] = '留言板';
-$messages['trackbacks'] = '引用';
-$messages['menu'] = '主選單';
-$messages['albums'] = '資料夾';
-$messages['admin'] = '管理介面';
-$messages['xmlrpc_ping_ok'] = 'XMLRPC Ping sent successfully: ';
-$messages['error_sending_xmlrpc_ping'] = 'There was an error sending the XMLRPC ping to: ';
-$messages['error_sending_xmlrpc_ping_message'] = 'There was an error sending the XMLRPC ping: ';
-
-//
-// new strings for 1.1 -- no need to translate yet!
-//
-$messages['error_incorrect_trackback_id'] = '引用的識別碼不正確';
-$messages['error_marking_trackback_as_spam'] = '標記垃圾引用時發生錯誤';
-$messages['trackback_marked_as_spam_ok'] = '標記垃圾引用成功';
-$messages['error_marking_trackback_as_nonspam'] = '取消標記垃圾引用時發生錯誤';
-$messages['trackback_marked_as_nonspam_ok'] = '取消標記垃圾引用成功';
-$messages['delete_trackback'] = '刪除引用';
-$messages['upload_here'] = '上傳到這裡';
-$messages['reply_string'] = 'Re: ';
-$messages['cleanup_users'] = '刪除使用者';
-$messages['cleanup_users_help'] = '這個操作會把所有被管理員標示為(已刪除)的使用者完全刪除,同時也會把這些使用者的所有網誌也刪除,包括所有包含在網誌裡的任何東西。如果這些使用者有在其他網誌寫文章的權限,那他們在其他網誌裡所寫的文章也會一起被刪除。當使用者被刪除時,這些動作是不可能恢復的。';
-$messages['users_purged_ok'] = '成功刪除使用者';
-$messages['cleanup_blogs'] = '刪除網誌';
-$messages['cleanup_blogs_help'] = '這個操作會把所有被管理員標示為(已刪除)的網誌完全刪除,包括所有包含在網誌裡的任何東西。當網誌被刪除時,這些動作是不可能恢復的。';
-$messages['blogs_purged_ok'] = '成功刪除網誌';
-$messages['help_use_http_accept_language_detection'] = '大部分的瀏覽器像 Mozilla Firefox 、 Safari 或 Internet Explorer 至少會傳送一個使用者<i>應該</i>瞭解的語言碼。如果啟用這個功能,而且該語言是可用的, LifeType 會試著以這個請求的語言來服務使用者。[預設值 = 否]';
-
-$messages['error_invalid_blog_category'] = '不合法的網誌分類';
-$messages['error_adding_blog_category'] = '新增網誌分類時發生錯誤';
-$messages['newBlogCategory'] = '新增網誌分類';
-$messages['editBlogCategories'] = '編輯網誌分類';
-$messages['blog_category_added_ok'] = '成功新增網誌分類';
-$messages['error_blog_category_has_blogs'] = '已經有一些網誌指定到網誌分類 "%s" 。請先編輯這些網誌之後再試一次';
-$messages['error_deleting_blog_category'] = '刪除網誌分類 "%s" 時發生錯誤';
-$messages['blog_category_deleted_ok'] = '成功刪除網誌分類 "%s"';
-$messages['blog_categories_deleted_ok'] = '成功刪除網誌分類 "%s"';
-$messages['error_deleting_blog_category2'] = '刪除 id 為 %s 的網誌分類時發生錯誤';
-$messages['blog_category'] = '網誌分類';
-$messages['blog_category_help'] = '替網誌指定一個全域網誌分類';
-
-$messages['help_use_captcha_auth'] = '在註冊程序使用 CAPTCHA 機制,以防止自動註冊機器人程式';
-$messages['help_skip_dashboard'] = '讓使用者跳過管理面板,直接進入他目前所擁有的第一個網誌';
-
-$messages['manageGlobalArticleCategory'] = '全域文章分類';
-$messages['newGlobalArticleCategory'] = '新增全域文章分類';
-$messages['editGlobalArticleCategories'] = '編輯全域文章分類';
-$messages['global_category_name_help'] = '新的全域文章分類的名稱';
-$messages['global_category_description_help'] = '新的全域文章分類的詳細描述';
-$messages['error_incorrect_global_category_id'] = '不合法的全域文章分類';
-$messages['global_category_deleted_ok'] = '成功刪除全域文章分類 "%s"';
-$messages['global_category_added_ok'] = '成功新增全域文章分類 "%s"';
-$messages['error_deleting_global_category2'] = '刪除 id 為 %S 的全域文章分類時發生錯誤';
-
-$messages['help_page_suffix_format'] = '支援分頁時,加在網址尾端的字尾';
-
-$messages['help_final_size_thumbnail_width'] = '上傳圖檔的最後寬度。使用空白或 0 則使用圖檔的原始大小';
-$messages['help_final_size_thumbnail_height'] = '上傳圖檔的最後高度。使用空白或 0 則使用圖檔的原始大小';
-$messages['error_comment_too_big'] = '回響內容太長';
-$messages['error_you_have_been_blocked'] = '阻擋:這個請求並沒有完成';
-$messages['created'] = '已建立';
-$messages['view'] = '閱讀';
-$messages['editUser'] = '編輯使用者';
-$messages['help_urlize_word_separator'] = '建立 LifeType 相關的連結時,用於連結單字的字元。如果啟用次網域網址時,這也會使用於產生網址裡的網站名稱。[預設值 = _]';
-$messages['help_summary_template_cache_lifetime'] = '摘要頁面快取的有效時間。若設為 \'0\' ,只要有資料更新就會更新摘要頁面的快取。如果設為其他值,則會等到這段時間過了之後再更新摘要頁面的快取。[預設值 = 0]';
-$messages['register_default_album_name'] = '一般';
-$messages['register_default_album_description'] = '使用這個資料夾上傳新圖檔';
-$messages['show_in_summary'] = '在摘要中顯示';
-$messages['show_in_summary_help'] = '在摘要的網誌頁中顯示這個網誌';
-
-$messages['saving_message'] = '儲存中 ...';
-$messages['show_option_panel'] = '顯示文章選項';
-$messages['hide_option_panel'] = '隱藏文章選項';
-
-$messages['quick_launches'] = '快捷列';
-
-$messages['confirmation_message_resent_ok'] = '註冊確認信件已成功地重新寄出';
-
-$messages['goto_blog_page'] = '打開 %s 首頁';
-
-$messages['help_num_blogs_per_user'] = '擁有者可以從管理介面建立網誌的數目';
-
-$messages['massive_change_option'] = '大量修改選項';
-$messages['show_massive_change_option'] = '顯示大量修改選項';
-$messages['hide_massive_change_option'] = '隱藏大量修改選項';
-$messages['change_status'] = '修改狀態';
-$messages['change_category'] = '修改分類';
-
-$messages['error_post_status'] = '請選擇文章狀態。';
-$messages['error_comment_status'] = '請選擇迴響狀態。';
-$messages['admin_mode'] = '管理員模式';
-$messages['administrate_user_blog'] = '管理這個網誌';
-$messages['trackbacks_updated_ok'] = '%s 個引用已成功的更新';
-$messages['trackback_updated_ok'] = '引用已成功的更新';
-$messages['error_trackback_status'] = '請選擇一個合法的狀態';
-$messages['error_incorrect_user'] = '不合法的使用者';
-$messages['select'] = '選擇';
-$messages['remove_selected'] = '取消選取';
-
-$messages['notification_subject'] = 'LifeType 通知系統';
-$messages['error_no_trackback_links_sent'] = '警告:沒有送出任何引用';
-
-$messages['help_logout_destination_url'] = '當使用者登出時所要顯示網頁的 URL 。例如,你提供服務的首頁。若是保持空白,則使用預設的 LifeType 登入頁。[預設值 = 空白]';
-
-$messages['help_http_cache_lifetime'] = '客戶端快取的有效時間,以秒為單位。 (瀏覽器在這段期間不會再連線到網頁主機,而直接使用本地端的快取)。這個做法將加快瀏覽網頁的速度,但是將延後文章和迴響的出現時間。[預設值 = 1800]';
-
-$messages['trackbacks_no_trackback'] = '送出引用到下面的網址失敗:';
-
-$messages['error_comment_spam_throw_away'] = '你不能發表這個訊息。反垃圾過濾系統已經將這個訊息阻擋下來。';
-$messages['error_comment_spam_keep'] = '反垃圾過濾系統已經將你的迴響放到佇列裡等待網誌擁有者的審核。';
-
-$messages['blog_categories'] = '網誌分類';
-$messages['global_article_categories'] = '全站文章分類'; 
-
-$messages['help_force_posturl_unique'] = '強迫網誌裡所有文章的網址都是唯一的。這只有當你更改網址並且將日期部份從網址中移除時才需要。[預設值 = no]';
-
-$messages['default_send_notification'] = '預設發送通知';
-
-$messages['enable_pull_down_menu'] = '下拉式選單';
-$messages['enable_pull_down_menu_help'] = '啟用或關閉下拉式選單。';
-
-$messages['change_album'] = '修改檔案夾'; 
-
-$messages['warning_autosave_message'] = '<img src="imgs/admin/icon_warning-16.png" alt="Error" class="InfoIcon"/><p class="ErrorText">你好像有之前尚未存檔的文章。如果你還想繼續編輯,你可以 <a href="#" onclick="restoreAutoSave();">取回未存檔文章繼續編輯</a> 或是 <a href="#" onclick="eraseAutoSave();">把他刪除</a> 。</p>';
-
-$messages['check_username'] = '檢查使用者名稱';
-$messages['check_username_ok'] = '恭喜!這個使用者名稱還沒有任何人使用。';
-$messages['error_username_exist'] = '抱歉!這個使用者名稱已經被別人用了,試試其他的吧!'; 
-
-$messages['error_rule_email_dns_server_temp_fail'] = '發生暫時性的錯誤,請稍後再試!';
-$messages['error_rule_email_dns_server_unreachable'] = '電子郵件主機無法連線';
-$messages['error_rule_email_dns_not_permitted'] = '不被允許的電子郵件地址'; 
-
-$messages['blog_users_help'] = '可以存取這個網誌的使用者。請從左邊選取使用者將他移到右邊提供該使用者存取網誌的權限。'; 
-
-$messages['summary_welcome_paragraph'] = '請將此處修改為你希望你的使用者看到的歡迎訊息,或將這部份刪除並重新安排整個頁面。這個頁面的模版在 templates/summary 裡面,你可以自由地依你的喜好修改他。'; 
-
-$messages['first_day_of_week'] = 1;
-$messages['first_day_of_week_label'] = '每一週的開始';
-$messages['first_day_of_week_help'] = '在首頁月曆中的顯示方式。'; 
-
-$messages['help_subdomains_base_url'] = '當次網域設定啟用時,這個網址將用來替代系統網址。使用 {blogname}來取得網誌名稱及{username}取得網誌使用者名稱以及{blogdomain},用來產生連結到網誌的網址。'; 
-
-$messages['registration_default_subject'] = 'LifeType 註冊確認';
-
-$messages['error_invalid_subdomain'] = '不合法的子網域名稱,或是名稱不是唯一的';
-$messages['register_blog_domain_help'] = '你的新網誌要使用的名稱和子網域';
-$messages['domain'] = '網域(Domain)';
-$messages['help_subdomains_available_domains'] = '允許的主網域名稱清單。主網域名稱請以一個空格分隔。使用者會看到一個包含這些值的下拉式選單,並加入他所要使用的主網域。只有當你啟用子網域並且在上方的 subdomain_base_url 使用了 (blogdomain) 。如果你允許任何的網域,則使用 \'?\'';
-$messages['subdomains_any_domain'] = '<- 啟用多重網域。輸入完整的網域名稱';
-$messages['error_updating_blog_subdomain'] = '更新子網域時發生錯誤,請檢查資料並再試一次。';
-$messages['error_updating_blog_main_domain'] = '更新主網域設定時發生錯誤。這可是管理者的一些系統參數調整錯誤造成的。';
-
-$messages['monthsshort'] = Array( '元', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二' );
-$messages['weekdaysshort'] = Array( '日', '一', '二', '三', '四', '五', '六' );
-
-// 阿欣發現的兩個漏掉的翻譯,再加四個
-$messages['Plugins'] = '外掛程式';
-$messages['Miscellaneous'] = '其它功能';
-$messages['help_default_global_article_category_id'] = '預設的全域文章分類 Id';
-$messages['help_blog_does_not_exist_url'] = '若瀏覽不存在的網誌,重導向到下面的網址';
-$messages['help_pull_down_menu_enabled'] = '啟用管理介面的下拉式選單。這只會影響新建立的網誌,已建立的網誌請從個人網誌設定裡調整選項';
-//$messages['help_logout_destination_url'] = '登出時,重導向到下列的網址。若為空白,則為預設的登入網頁';
-
-//我發現漏掉的
-$messages['global_category'] = '全域文章分類'; //編輯文章用
-$messages['global_article_category_help'] = '替文章指定一個全域文章分類'; //編輯文章用
-$messages['search_type'] = '搜尋方式'; //摘要頁面用
-
-?>
\ No newline at end of file

Deleted: plog/trunk/styles/admin-ff.css
===================================================================
--- plog/trunk/styles/admin-ff.css	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/styles/admin-ff.css	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,887 +0,0 @@
-/* -------------------------------------------------------------- */
-/* Common stuff and basic page layout                             */
-/* -------------------------------------------------------------- */
-html, body
-{
-    margin           : 0px;
-    padding          : 0px;
-    text-align       : center;
-    font             : 12px verdana, tahoma, arial, sans-serif;
-    background       : #EEEEEE url("../imgs/bg_main.jpg") repeat-y center;
-}
-
-#container
-{
-    width            : 786px;
-    text-align       : left;
-    margin-left      : auto;
-    margin-right     : auto;
-}
-
-#header
-{
-    height           : 60px;
-    width            : 100%;
-    background       : #FFFFFF url("../imgs/top_admin.jpg") no-repeat right;
-    padding          : 0px;
-    margin           : 0px;
-}
-
-#header #blogLink
-{
-    float: left;    width : 783px;    height: 52px;
-    margin-top: 5px;}
-
-#header span
-{
-    display          : none;
-}
-
-#header h1
-{
-    margin           : 0;
-}
-
-#content
-{
-    position         : relative;
-    width            : 100%;
-    display          : block;
-    margin           : 0;
-    padding          : 0;
-}
-
-#dashboard
-{
-    padding-left     : 1em;
-    padding-right    : 1em;
-}
-
-.clr
-{
-    clear            : both;
-}
-
-/*-- Accessibility Tweaks --*/
-#skipNav
-{
-    position         : absolute;
-    left             : -9999px;
-    font-size        : small;
-}
-
-#skipNav a:focus
-{
-    display          : block;
-    position         : absolute;
-    top              : 20px;
-    left             : 10020px;
-    font-size        : large;
-    background       : #fff;
-    border           : solid 2px #1B6BD8;
-    padding          : 10px;
-    width            : 15em;
-    z-index          : 1;
-}
-
-#skipNav a:hover
-{
-    color            : #029EDE;
-}
-
-#skipNav a:active
-{
-    display          : block;
-    position         : absolute;
-    top              : 20px;
-    left             : 10020px;
-    font-size        : large;
-    background       : #fff;
-    border           : solid 2px #1B6BD8;
-    padding          : 10px;
-    width            : 15em;
-    z-index          : 1;
-}
-
-.hide
-{
-    display          : none;
-}
-
-/* -------------------------------------------------------------- */
-/* Navigation/menu bar                                            */
-/* -------------------------------------------------------------- */
-
-#menubar
-{
-    margin-bottom    : 10px;
-    background       : #FFFFFF url("../imgs/bg_menu.jpg") repeat-x;
-    height           : 20px;
-    /*border-bottom    : 1px solid #B4B4B4;*/
-}
-
-#menu
-{
-    padding-top      : 1px;
-    padding-bottom   : 1px;
-}
-
-#menu ul
-{
-    padding         : .2em 0;
-    margin          : 0;
-    list-style-type : none;
-    color           : #FFF;
-    width           : 100%;
-    text-align      : center;
-}
-
-#menu li
-{
-
-    position         : relative;
-    padding          : 0;
-    border-left      : 0px solid #B4B4B4;
-    display          : inline;
-    font-weight      : bold;
-    font-family      : verdana, tahoma, sans-serif;
-    font-size        : 11px;
-    letter-spacing   : 0.20em;
-    text-transform   : uppercase;
-}
-
-#menu a, #menu a:link, #menu a:visited
-{
-    padding          : .2em 1em;
-    color            : #0E3862;
-    text-decoration  : none;
-}
-
-#menu a:hover
-{
-    background       : #818181;
-    color            : #FFFFFF;
-}
-
-#menu li.selected
-{
-    display          : block;
-    width            : auto;
-    padding          : 2px 7px;
-    background       : #FFFFFF;
-    color            : #000000;
-    border-bottom    : 1px solid #FFFFFF;
-}
-
-#menu br
-{
-    clear: both;
-}
-
-/* -------------------------------------------------------------- */
-/* Section title and navigation history bar                       */
-/* -------------------------------------------------------------- */
-
-#nav_bar
-{
-    margin-left      : auto;
-    margin-right     : auto;
-    width            : 100%;
-    margin-bottom    : 15px;
-    border-bottom    : 1px dotted #DEDEDE;
-}
-
-#section_title
-{
-    float            : left;
-    width            : 39%;
-}
-
-#section_title h2
-{
-    color            : #588BCA;
-    font-weight      : bold;
-    font-family      : trebuchet ms, tahoma, sans-serif;
-    font-size        : 1.5em;
-    letter-spacing   : 0.08em;
-    margin           : 0;
-    padding-left     : 4px;
-}
-
-#navigation
-{
-    float            : right;
-    width            : 60%;
-    text-align       : right;
-    padding-top      : 7px;
-    font-family      : verdana, tahoma, sans-serif;
-    font-size        : 0.93em;
-    letter-spacing   : 0.09em;
-    padding-right    : 2px;
-}
-
-#navigation a
-{
-    color            : #000000;
-    text-decoration  : none;
-}
-
-#navigation a:hover
-{
-    color            : #5583BE;
-    text-decoration  : none;
-}
-
-/* -------------------------------------------------------------- */
-/* Admin Tabbed Ul's                                              */
-/* -------------------------------------------------------------- */
-
-#tablist
-{
-    padding          : 3px 0;
-    margin-left      : 0;
-    font             : 13px trebuchet ms, verdana, tahoma, arial, sans-serif;
-    border-bottom    : 1px solid #DEDEDE;
-}
-
-#tablist li
-{
-    list-style       : none;
-    margin           : 0;
-    display          : inline;
-}
-
-#tablist li a
-{
-    padding          : 3px 0.5em;
-    margin-left      : 3px;
-    border           : 1px solid #DEDEDE;
-    background       : #F4F4FF;
-    text-decoration  : none;
-}
-
-#tablist li a:link
-{
-    color            : #448;
-}
-
-#tablist li a:visited
-{
-    color            : #667;
-}
-
-#tablist li a:hover
-{
-    color            : #000;
-    background       : #F2F0FE;
-    border-color     : #DEDEDE;
-}
-
-#tablist li a#tab_current
-{
-    background       : white;
-    border-bottom    : 1px solid white;
-}
-
-.menuTop_level1 ul, li
-{
-    list-style-type: none;
-}
-
-.menuTop_level1 ul
-{
-  list-style-type: disc;
-  list-style-image: url(../imgs/bullet.gif);
-}
-
-
-/* -------------------------------------------------------------- */
-/* Form controls (input, ...)                                     */
-/* -------------------------------------------------------------- */
-
-form
-{
-    margin           : 0px;
-}
-
-fieldset
-{
-    border           : 1px solid #DEDEDE;
-    color            : #000000;
-    font-family      : verdana, tahoma, sans-serif;
-    font-size        : 0.95em;
-    padding-bottom   : 0px;
-    margin           : 0px;
-}
-
-textarea, input, select
-{
-    background       : #FFFFFF;
-    border           : 1px solid #b2b2b2;
-    color            : #000000;
-    font-family      : verdana, tahoma, sans-serif;
-    font-size        : 0.95em;
-}
-
-input:focus, textarea:focus, label:focus
-{
-    border           : 1px solid #5583BE;
-}
-
-.checkbox, .radio
-{
-    border           : 0px;
-}
-
-.submit
-{
-    /*margin-left      : 4px;*/
-}
-
-.list_action_button a img
-{
-    border           : 0px;
-    padding          : 0px;
-}
-
-.list_action_button a:hover img
-{
-    filter            : alpha(opacity=60);
-    -moz-opacity      : 0.6;
-}
-
-.field
-{
-    top              : 0;
-    left             : 0;
-    margin           : 0 1em 1em 0;
-}
-
-.field .field
-{
-    margin           : 1em 0 0 0;
-}
-
-.field label
-{
-    font-size        : 110%;
-    font-weight      : bold;
-}
-
-.field_checkbox
-{
-    top              : 0;
-    left             : 0;
-}
-
-.field_checkbox label
-{
-    font-size        : 100%;
-}
-
-.formHelp
-{
-    font-size        : 100%;
-    color            : #76797c;
-    margin           : 0 0 0.2em 0;
-}
-
-.formHelp a
-{
-    text-decoration  : underline;
-}
-
-.formHelp:hover
-{
-    color            : Black;
-    cursor           : default;
-}
-
-fieldset
-{
-    border           : 1px solid #8cacbb;
-    margin           : 1em 0em 1em 0em;
-    padding          : 0em 1em 1em 1em;
-    line-height      : 1.5em;
-    width            : auto;
-}
-
-.inputField
-{
-    width: 85%;
-    margin-left: auto;
-    margin-right: auto;
-    background-color: #FCFCFF;
-    border: 1px solid #DEDEDE;
-}
-
-.buttons
-{
-    width: 88%;
-    margin-left: auto;
-    margin-right: auto;
-    text-align: right;
-}
-
-.inputField input
-{
-    width:100%;
-}
-
-.inputField legend
-{
-    font-size: 110%;
-    font-weight: bold;
-}
-
-.inputField .dateTime
-{
-   width: 80%;
-}
-
-.inputField .checkbox, .inputField .button, .inputField .radio
-{
-   width: auto;
-}
-
-.inputField .file
-{
-   width: auto;
-}
-
-.pager
-{
-    float:left;
-}
-
-/* -------------------------------------------------------------- */
-/* Data lists parameters & search bar                             */
-/* -------------------------------------------------------------- */
-
-#list_nav_bar
-{
-    margin-left      : auto;
-    margin-right     : auto;
-    width            : 98%;
-    background-color : #F3F1FF;
-    padding-bottom   : 4px;
-    padding-left     : 4px;
-    padding-right    : 4px;
-    margin-bottom    : 10px;
-    border           : 0px solid #DEDEDE;
-}
-
-#list_nav_bar fieldset
-{
-    border           : 1px solid #DEDEDE;
-    color            : #000000;
-    font-family      : verdana, tahoma, sans-serif;
-    font-size        : 0.93em;
-    padding          : 0px;
-    margin           : 0px;
-    height           : 60px;
-}
-
-#list_nav_select
-{
-    float            : left;
-    width            : 100%;
-    text-align       : center;
-}
-
-#list_nav_search
-{
-    float            : left;
-    width            : 30%;
-    text-align       : center;
-}
-
-.list_nav_option
-{
-    float            : left;
-    text-align       : left;
-    padding          : 0px 4px 4px 4px;
-    margin-left      : 5px;
-}
-
-#list_nav_bar legend
-{
-    font-family      : trebuchet ms, tahoma, sans-serif;
-    font-size        : 1.1em;
-    font-weight      : bold;
-    letter-spacing   : 0.08em;
-}
-
-#list_nav_select label
-{
-}
-
-/* -------------------------------------------------------------- */
-/* Data lists table format                                        */
-/* -------------------------------------------------------------- */
-
-.info
-{
-    margin-left      : auto;
-    margin-right     : auto;
-    margin-bottom    : 10px;
-    width            : 775px;
-    border-collapse  : collapse;
-    border-bottom    : 4px solid #DEDEDE;
-    border-spacing   : 0px;
-}
-
-.info th
-{
-    font-family      : trebuchet ms, tahoma, sans-serif;
-    font-size        : 1.1em;
-    font-weight      : bold;
-    letter-spacing   : 0.08em;
-    vertical-align   : bottom;
-    border-bottom    : 1px solid #DEDEDE;
-    padding          : 4px;
-    text-align       : left;
-}
-
-.info th a
-{
-    color           : #000000;
-    text-decoration : none;
-}
-
-.info th a:hover
-{
-    color           : #5583BE;
-    text-decoration : none;
-}
-
-.even
-{
-    background       : #F7F7F7;
-}
-
-.tableHover
-{
-   background: #EFEFEF;
-}
-
-.info td
-{
-    color            : #888888;
-    border-bottom    : 1px solid #DEDEDE;
-    vertical-align   : middle;
-    padding          : 4px;
-    /*border:1px solid black;*/
-}
-
-.info td a
-{
-    color           : #888888;
-    text-decoration : none;
-}
-
-.info td a img {
-    border: 0px;
-}
-
-.info td a:hover
-{
-    color           : #5583BE;
-    text-decoration : none;
-}
-
-/* -------------------------------------------------------------- */
-/* Specific column format                                         */
-/* -------------------------------------------------------------- */
-
-.col_highlighted
-{
-    font-weight      : bold;
-}
-
-/* -------------------------------------------------------------- */
-/* Data lists bottom actions bar                                  */
-/* -------------------------------------------------------------- */
-
-#list_action_bar
-{
-    margin-left      : auto;
-    margin-right     : auto;
-    width            : 768px;
-    padding          : 4px;
-    text-align       : right;
-    /*background-color : #F3F1FF;*/
-    margin-bottom    : 10px;
-    /*border           : 1px dashed #DEDEDE;*/
-}
-
-
-/* -------------------------------------------------------------- */
-/* Positive or negative feedback messages                         */
-/* -------------------------------------------------------------- */
-
-#list #FormError
-{
-    padding-left: 10px;
-}
-
-#FormError
-{
-    align: left;
-    padding-top: 0px;
-}
-
-#list #FormInfo
-{
-    padding-left: 10px;
-}
-
-#FormInfo
-{
-    align: left;
-    padding-top: 0px;
-}
-
-.InfoIcon
-{
-    float:left;
-    clear:left;
-    margin-top:3px;
-}
-
-.InfoText
-{
-    color:green;
-    padding-left:20px;
-    padding-top:3px;
-}
-
-.ErrorText
-{
-    color:red;
-    padding-left:20px;
-    padding-top:3px;
-}
-
-/**
- * login screen
- */
-.loginBox
-{
-  width: 300px;
-  margin-top: 25px;
-  margin-left: auto;
-  margin-right: auto;
-}
-
-h4, fieldset h4
-{
-    font-family      : trebuchet ms, tahoma, sans-serif;
-    font-size        : 1.1em;
-    font-weight      : bold;
-    letter-spacing   : 0.08em;
-    vertical-align   : bottom;
-    border-bottom    : 1px solid #DEDEDE;
-    padding          : 0px;
-    text-align       : left;
-    text-transform   : capitalize;
-}
-
-.sectionTitle
-{
-    font-size: 1.3em;
-}
-
-.welcomeMessage {
-  margin-bottom: 10px;
-}
-
-.pager
-{
-float:left;
-}
-
-/**
- * styles for the 'manage' page and similar.
- */
-#content .menuTop
-{
-    list-style-type : none;
-    padding-left: 45px;
-    padding-right: 45px;
-    margin: 0px;
-}
-
-#content .menuTop ul
-{
- padding: 0px;
- margin: 0px;
-}
-
-#content .menuTop .Level_1
-{
-    font-family      : trebuchet ms, tahoma, sans-serif;
-    font-size        : 1.0em;
-    font-weight      : bold;
-    letter-spacing   : 0.08em;
-    border-bottom    : 1px solid #DEDEDE;
-    padding-top      : 10px;
-    text-align       : left;
-}
-
-#content .menuTop .Level_0
-{
-    padding-left: 10px;
-    font-weight      : normal;
-}
-
-#content .menuTop .Level_0 a
-{
-    color           : #888888;
-    text-decoration : none;
-}
-
-#content .menuTop .Level_0 a:hover
-{
-    color           : #5583BE;
-    text-decoration : none;
-}
-
-/* -------------------------------------------------------------- */
-/* Dashboard                                                      */
-/* -------------------------------------------------------------- */
-
-#dashboard h2
-{
-    color            : #588BCA;
-    font-weight      : bold;
-    font-family      : verdana, arial, tahoma, sans-serif;
-    font-size        : 1.4em;
-    letter-spacing   : 0.08em;
-    margin           : 0;
-    padding-left     : 4px;
-}
-
-#dashboard h2 a
-{
-    color            : #32609B;
-    font-weight      : bold;
-    font-family      : verdana, arial, tahoma, sans-serif;
-    margin           : 0;
-    padding-left     : 4px;
-    text-decoration  : none;
-}
-
-#dashboard h2 a:hover
-{
-    text-decoration  : underline;
-}
-
-#dashboard h3
-{
-    color            : #588BCA;
-    font-weight      : bold;
-    font-family      : verdana, arial, tahoma, sans-serif;
-    font-size        : 1.1em;
-    margin           : 0;
-    margin-top       : 12px;
-    margin-bottom    : 4px;
-    padding-left     : 12px;
-}
-
-#dashboard table
-{
-    margin-left     : 12px;
-    width           : 100%;
-}
-
-#dashboard th
-{
-}
-
-#dashboard td
-{
-}
-
-#dashboard a
-{
-    color            : #8A8A8A;
-    text-decoration  : none;
-}
-
-#dashboard
-{
-    color            : #8A8A8A;
-}
-
-#dashboard .dashboard_blog
-{
-    border           : 1px solid #DEDEDE;
-    padding          : 4px;
-    background-color : #FCFCFF;
-    margin-top       : 10px;
-}
-
-#dashboard .dashboard_blog_layout
-{
-    margin           : 0;
-    width            : 100%;
-    background-color : #FFFFFF;
-}
-
-#dashboard .dashboard_blog_layout tr
-{
-}
-
-#dashboard .dashboard_blog_layout td
-{
-}
-
-#dashboard .dashboard_data_table
-{
-    width           : 98%;
-}
-
-#dashboard .dashboard_data_table th
-{
-    border-bottom   : 2px solid #DEDEDE;
-    height          : 20px;
-    text-align      : left;
-}
-
-#dashboard .dashboard_data_table td
-{
-    border-bottom    : 1px solid #DEDEDE;
-    height           : 20px;
-}
-
-#dashboard .dashboard_data_table_statistics
-{
-    width           : 98%;
-}
-
-#dashboard .dashboard_data_table_statistics th, td
-{
-    border-bottom    : 1px solid #DEDEDE;
-    height           : 20px;
-    text-align       : left;
-}
-
-.dashboard_logout_link a
-{
-	float: right;	
-	padding-right: 5px;
-	padding-top: 3px;
-	text-transform: capitalize;
-    color            : #32609B;
-    font-weight      : bold;
-    font-family      : verdana, arial, tahoma, sans-serif;
-    margin           : 0;
-    padding-left     : 4px;
-    text-decoration  : none;	
-}
-
-.dashboard_logout_link a:hover
-{
-	text-decoration: underline;	
-}

Modified: plog/trunk/styles/admin.css
===================================================================
--- plog/trunk/styles/admin.css	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/styles/admin.css	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,4 +1,3 @@
-** a {text-decoration:underline !important} **/
 div#content li.Level_0 a {line-height:1.8em}
 
 
@@ -967,3 +966,10 @@
     text-align: right;
     display:none;
  }
+
+.dashboardHelp
+{
+    font-size        : 1em;
+    color            : #76797c;
+    margin           : 0 0 0.2em 0.4em;
+}

Modified: plog/trunk/styles/wizard.css
===================================================================
--- plog/trunk/styles/wizard.css	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/styles/wizard.css	2007-03-22 13:18:28 UTC (rev 5156)
@@ -26,6 +26,33 @@
     margin-left: 20px;
 }
 
+.checkCategory
+{
+	font-size: 12px;
+	font-weight: bold;
+	margin:5px 0px;
+	text-decoration: underline;
+}
+
+.checkItem
+{
+	padding-bottom: 5px;
+	margin-top: 10px;
+	border: 0px;
+}
+
+.checkError
+{
+	margin-left: 20px;
+	margin-top: 5px;
+}
+
+.checkImage
+{
+	float:left; 
+	margin: 10px 5px 0px 0px;
+}
+
 #menu li
 {
     position         : relative;

Modified: plog/trunk/templates/LifeType/en_UK/strings.txt
===================================================================
--- plog/trunk/templates/LifeType/en_UK/strings.txt	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/LifeType/en_UK/strings.txt	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,7 +1,7 @@
 ltTagline = """LifeType is an open-source blogging platform with support for multiple blogs and users
 in a single installation."""
 
-frontPageLeft = """The latest stable version of LifeType is <b>1.1.5</b>. Click the link below to download.<br/>
+frontPageLeft = """The latest stable version of LifeType is <b>1.2</b>. Click the link below to download.<br/>
 Take a look at the <a href="http://www.lifetype.net/blog.php/lifetype-development-journal/page/downloads">Downloads</a> section for more download packages,
 additional template sets and plugins."""
 
@@ -253,7 +253,7 @@
 
 <p>If you wish to check out a certain branch or tag, replace /trunk with /branch/branch-name or /tags/tag-name:</p>
 <pre>
-svn checkout http://devel.lifetype.net/svn/plog/plog/tags/lifetype-1.1.5
+svn checkout http://devel.lifetype.net/svn/plog/plog/tags/lifetype-1.2
 </pre>
 
 
@@ -299,9 +299,9 @@
 These are the official downloadable packages containing the most recent stable version. Packages
 are available compressed in either .tar.gz or .zip, and are provided via SourceForge.net.
 <br/><br/>
-<a href="http://prdownloads.sourceforge.net/lifetype/lifetype-1.1.5.tar.gz?download">LifeType 1.1.5 (tar.gz format)</a><br/>
-<a href="http://prdownloads.sourceforge.net/lifetype/lifetype-1.1.5.tar.bz2?download">LifeType 1.1.5 (tar.bz2 format)</a><br/>
-<a href="http://prdownloads.sourceforge.net/lifetype/lifetype-1.1.5.zip?download">LifeType 1.1.5 (zip format)</a><br/>
+<a href="http://prdownloads.sourceforge.net/lifetype/lifetype-1.2.tar.gz?download">LifeType 1.2 (tar.gz format)</a><br/>
+<a href="http://prdownloads.sourceforge.net/lifetype/lifetype-1.2.tar.bz2?download">LifeType 1.2 (tar.bz2 format)</a><br/>
+<a href="http://prdownloads.sourceforge.net/lifetype/lifetype-1.2.zip?download">LifeType 1.2 (zip format)</a><br/>
 </p>
 
 <h2>Plugins</h2>
@@ -471,14 +471,9 @@
 </p>
 <p>
 LifeType 1.0 was released in April 2005, with LifeType 1.0.6 being the last maintenance release of the 1.0.x
-branch in June 2006. LifeType 1.0 has so far been the most successful LifeType release ever, although it is still
-early to say how well LifeType 1.1.x will do.
+branch in June 2006. LifeType 1.0 marked the beginning of a new era for LifeType, with a modernized user interface and plenty of
+exciting features for bloggers. Lifetype 1.2 was released on the 20th of March 2007 and brought a new fine-grained permission framework, performance improvements when serving files and plenty of other performance improvements.
 </p>
-<p>
-The most recent version of LifeType is 1.1.5, which is the fifth maintenance release the 1.1.x stable branch. LifeType 1.1 was the first major release since April 2005
-and includes a major set of new features and improvements specially in the performance and memory
-consumption areas.
-</p>
 
 <h4>Relationship between LifeType and pLog</h4>
 <a name="lifetype_and_plog"></a>
@@ -526,7 +521,7 @@
 <h4>Partners Sponsors</h4>
 <a name="sponsors"></a>
 <p>
-Current hosting services of all LifeType.net sites is provided by
+Current hosting services of all LifeType.net sites is provided by
 Limedaley.com.<br/>
 <a href="http://www.limedaley.com" style="border:0px">
 <img src="http://www.lifetype.net/templates/LifeType/images/partner_limedaley.gif" alt="Limedaley" />
@@ -553,4 +548,4 @@
 <li>German enquiries: <a href="mailto:de at lifetype.net">de at lifetype.net</a></li>
 <li>Taiwan enquiries: <a href="mailto:tw at lifetype.net">tw at lifetype.net</a></li>
 </ul>
-"""
+"""

Modified: plog/trunk/templates/LifeType/panel.template
===================================================================
--- plog/trunk/templates/LifeType/panel.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/LifeType/panel.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -40,7 +40,7 @@
 	   	{/foreach}
    	    </ul>
 	</li>
-        <!-- ADS -->
+
 	<li><h2>{$locale->tr("archives")|capitalize}</h2>
             <ul>
 		{foreach from=$archives item=archivelink}

Modified: plog/trunk/templates/LifeType/post.template
===================================================================
--- plog/trunk/templates/LifeType/post.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/LifeType/post.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -7,7 +7,11 @@
 <span class="postdate">{$locale->formatDate($postDate,"%j. %b. %Y")}</span>
 
 <div class="entry">
-{$post->getText()}
+{if $templatename=="postandcomments"}
+  {$post->getText("<br/><div style='margin-top:10px'><!-- ADS --></div>")}
+{else}
+  {$post->getText()}
+{/if}
 </div>
 <p class="postinfo">
 {foreach name=categories from=$post->getCategories() item=postcategory}
@@ -18,4 +22,4 @@
 
 </p>
 </div>
-</div>
\ No newline at end of file
+</div>

Modified: plog/trunk/templates/LifeType/postandcomments.template
===================================================================
--- plog/trunk/templates/LifeType/postandcomments.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/LifeType/postandcomments.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -50,9 +50,9 @@
  
  {/if}
 
- {if $post->getComments()}
+ {if $comments}
  <ol class="commentlist">
- {foreach from=$post->getComments() item=comment}
+ {foreach from=$comments item=comment}
   <li>
    {assign value=$comment->getTopic() var=subject}   
    {if $subject==""}

Deleted: plog/trunk/templates/admin/.directory
===================================================================
--- plog/trunk/templates/admin/.directory	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/.directory	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,2 +0,0 @@
-[URL properties]
-IconSize=0

Modified: plog/trunk/templates/admin/chooser/resourcelist.template
===================================================================
--- plog/trunk/templates/admin/chooser/resourcelist.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/chooser/resourcelist.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -79,7 +79,12 @@
      <a href="admin.php?op=resourceList&amp;albumId={$album->getParentId()}&amp;mode={$destination}&amp;page=1">
      <img src="imgs/admin/icon_folder-72.png" border="0" alt="Parent" />&nbsp;<br/>..</a>
     </td>
-    <td><a onclick="_toggle('resource_list_upload');" href="#upload"><span style="font-size:13px;font-weight:bold">{$locale->tr("upload_here")}</span></a> </td>
+    <td>
+	{if $resources_enabled}
+	<a onclick="_toggle('resource_list_upload');" href="#upload">
+		<span style="font-size:13px;font-weight:bold">{$locale->tr("upload_here")}</span>
+	</a> </td>
+	{/if}
    </tr>
   {/if}
   {foreach from=$albums item=resalbum}
@@ -148,8 +153,8 @@
 {/foreach}
 </tbody>
 </table>
-{if $album}
-{** show this album only if we're not browsing the root album **}
+{if $album && $resources_enabled}
+{** show this album only if we're not browsing the root album and resources are enabled **}
 <a name="upload"></a>
 <div id="resource_list_upload" style="display: none;">
  <form name="uploadFile" method="post" action="admin.php" enctype="multipart/form-data">

Modified: plog/trunk/templates/admin/chooser/siteblogschooser.template
===================================================================
--- plog/trunk/templates/admin/chooser/siteblogschooser.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/chooser/siteblogschooser.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -25,7 +25,7 @@
     <br />
     <input type="hidden" name="op" value="siteBlogsChooser" />
     <input type="submit" name="Show" value="{$locale->tr("show")}" />
-    <input type="submit" name="mode" value="{$mode}" />
+    <input type="hidden" name="mode" value="{$mode}" />
    </div>
   </fieldset> 
  </form> 

Modified: plog/trunk/templates/admin/cleanup.template
===================================================================
--- plog/trunk/templates/admin/cleanup.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/cleanup.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -47,6 +47,7 @@
 {include file="$admintemplatepath/footer.template"}
 {if $continue}
 <script type="text/javascript">
-  window.location = "{$dest}";
+  //window.location = "{$dest}";
+  setTimeout( function() {literal}{{/literal} window.location = "{$dest}" {literal}}{/literal}, 750 ); 
 </script>
 {/if}
\ No newline at end of file

Modified: plog/trunk/templates/admin/dashboard.template
===================================================================
--- plog/trunk/templates/admin/dashboard.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/dashboard.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -5,11 +5,10 @@
         </div>
         <div class="dashboard_logout_link">
           {if $userCanCreateBlog}<a href="?op=registerBlog">{$locale->tr("createBlog")}</a>{/if}
-          <a href="?op=blogSelect&amp;blogId={$userblogs[0]->getId()}&amp;action=Logout">{$locale->tr("logout")}</a>
+          <a href="?op=blogSelect&amp;blogId={$userblogs[0]->getId()}&amp;action=Logout">{$locale->tr("Logout")}</a>
         </div>
         <br style="clear:both;" />
     </div>
-    </div>
     <div id="dashboard">
     {foreach from=$userblogs item=blog}
 	<script type="text/javascript">
@@ -26,18 +25,22 @@
 	</script> 
         <div class="dashboard_blog">
         <h2>{$locale->tr("login")}&raquo; <a href="?op=blogSelect&amp;blogId={$blog->getId()}">{$blog->getBlog()}</a></h2>
+        <div class="dashboardHelp">{$locale->tr("help_login_admin_panel")}</div>
         <table class="dashboard_blog_layout" summary="">
             <tr>
                 <td style="width: 70%; border: 0px solid black;">
                     <h3>{$locale->tr("recent_articles")}</h3>
                     <table class="dashboard_data_table" id="dashboard_data_table_{$blog->getId()}" summary="{$locale->tr("recent_articles")}">
                         <thead>
+                         <tr>
                             <th>{$locale->tr("topic")}</th>
                             <th style="width:60px;">{$locale->tr("actions")}</th>
+                         </tr>
                         </thead>
                         {assign var=blogId value=$blog->getId()}
                         {assign var=url value=$blog->getBlogRequestGenerator()}
                         {** loop to print out the list of recent posts **}
+						{if !empty($recentposts[$blogId])}
 						<tbody>
                         {foreach from=$recentposts[$blogId] item=post}
                         <tr>
@@ -53,18 +56,22 @@
                         </tr>
                         {/foreach}
 						</tbody>
+						{/if}
                     </table>
 
                     <h3>{$locale->tr("recent_comments")}</h3>
                     <table class="dashboard_data_table" id="dashboard_recent_comments_{$blog->getId()}" summary="{$locale->tr("recent_comments")}">
                         <thead>
+                        <tr>
                             <th>{$locale->tr("topic")}</th>
                             <th>{$locale->tr("posted_by")}</th>
                             <th>{$locale->tr("in")}</th>
                             <th>{$locale->tr("date")}</th>
                             <th style="width:60px;">{$locale->tr("actions")}</th>
+                         </tr>
                         </thead>
                         {** loop to print out the list of recent comments **}
+						{if !empty($recentcomments[$blogId])}
 						<tbody>
                         {foreach from=$recentcomments[$blogId] item=comment}
                         {assign var=article value=$comment->getArticle()}
@@ -114,17 +121,21 @@
                         </tr>
                         {/foreach}
 						</tbody>
+						{/if}
                     </table>
 
                     <h3>{$locale->tr("recent_trackbacks")}</h3>
                     <table class="dashboard_data_table" id="dashboard_recent_trackbacks_{$blog->getId()}" summary="{$locale->tr("recent_trackbacks")}">
                         <thead>
+                        <tr>
                             <th>{$locale->tr("topic")}</th>
                             <th>{$locale->tr("in")}</th>
                             <th>{$locale->tr("date")}</th>
                             <th style="width:60px;">{$locale->tr("actions")}</th>
+                        </tr>
                         </thead>
                         {** loop to print out the list of recent trackbacks **}
+						{if !empty($recenttrackbacks[$blogId])}
 						<tbody>
                         {foreach from=$recenttrackbacks[$blogId] item=trackback}
                         <tr>
@@ -169,6 +180,7 @@
                         </tr>
                     {/foreach}
 					</tbody>
+					{/if}
                     </table>
                 </td>
                 <td style="width: 30%; vertical-align: top; border-left: 1px solid #DEDEDE; border-bottom: 0px; padding-left: 4px;">
@@ -236,5 +248,4 @@
         </div>
     {/foreach}
     </div>
-
-{include file="$admintemplatepath/footer.template"}
+{include file="$admintemplatepath/simplefooter.template"}

Modified: plog/trunk/templates/admin/default.template
===================================================================
--- plog/trunk/templates/admin/default.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/default.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -25,4 +25,5 @@
 		</div> 
        </form>		
 	</div>
-{include file="$blogtemplate/footer.template"}
+
+{include file="$blogtemplate/simplefooter.template"}

Modified: plog/trunk/templates/admin/editpost.template
===================================================================
--- plog/trunk/templates/admin/editpost.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/editpost.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -19,8 +19,6 @@
   // some messages that we are going to need in the functions above 
   var htmlAreaEnabled = {if $htmlarea==0 || !$htmlarea}false{else}true{/if};
   var msgSaving = "{$locale->tr("saving_message")}";  
-  var msgShowOptionPanel = "{$locale->tr("show_option_panel")}";
-  var msgHideOptionPanel = "{$locale->tr("hide_option_panel")}";  
   var preview = false;
     
   {include file="$admintemplatepath/calendarstuff.template"}
@@ -46,11 +44,6 @@
   <form name="newPost" id="newPost" action="admin.php" method="post" onSubmit="return selectOperation(this.target);" target="admin">   
    <fieldset class="inputField">
    <legend>{$locale->tr("editPost")}</legend>
-
-   <div class="optionIcon">
-     <a id="optionIconLink" href="#" title="{$locale->tr("hide_option_panel")}" onclick="switchOptionPanel()">{$locale->tr("hide_option_panel")}</a>
-   </div> 
-   
    <div id="mainPanel" style="float:left; width: 73%; border-right: 1px solid #DEDEDE;">  
      {include file="$admintemplatepath/formvalidate.template"}    
 	 

Modified: plog/trunk/templates/admin/globalsettings_bayesian.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_bayesian.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/globalsettings_bayesian.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -10,7 +10,7 @@
    <!-- bayesian_filter_spam_probability_treshold -->
    <div class="field">
     <label for="config[bayesian_filter_spam_probability_treshold]">bayesian_filter_spam_probability_treshold</label>
-	<div class="formHelp">>{$locale->tr("help_bayesian_filter_spam_probability_treshold")}</div>
+	<div class="formHelp">{$locale->tr("help_bayesian_filter_spam_probability_treshold")}</div>
     <input style="width:100%" type="text" name="config[bayesian_filter_spam_probability_treshold]" id="config[bayesian_filter_spam_probability_treshold]" value="{$bayesian_filter_spam_probability_treshold}"/>
    </div>
    <!-- bayesian_filter_nonspam_probability_treshold -->

Modified: plog/trunk/templates/admin/globalsettings_general.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_general.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/globalsettings_general.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -18,7 +18,7 @@
     <label for="config[temp_folder]">temp_folder</label>
     <div class="formHelp">{$locale->tr("help_temp_folder")}</div>	 
     <input style="width:100%" type="text" name="config[temp_folder]" value="{$temp_folder}"/>
-   </div>s
+   </div>
    <!-- base_url -->
    <div class="field">
     <label for="config[base_url"]>base_url</label>

Modified: plog/trunk/templates/admin/globalsettings_url.template
===================================================================
--- plog/trunk/templates/admin/globalsettings_url.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/globalsettings_url.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -77,24 +77,25 @@
     <div class="formHelp">{$locale->tr("help_resource_link_format")}</div>	
     <input style="width:100%" type="text" id="config[resource_link_format]" name="config[resource_link_format]" value="{$resource_link_format}"/>
    </div>
-   <!-- resource_preview_link_format -->
+<!--   
    <div class="field">
     <label for="config[resource_preview_link_format]">resource_preview_link_format</label>
     <div class="formHelp">{$locale->tr("help_resource_preview_link_format")}</div>	
     <input disabled="disabled" style="width:100%" type="text" id="config[resource_preview_link_format]" name="config[resource_preview_link_format]" value="{$resource_preview_link_format}"/>
    </div>
-   <!-- resource_preview_link_format -->
+
    <div class="field">
     <label for="config[resource_medium_size_preview_link_format]">resource_medium_size_preview_link_format</label>
     <div class="formHelp">{$locale->tr("help_resource_medium_size_preview_link_format")}</div>	
     <input disabled="disabled" style="width:100%" type="text" id="config[resource_medium_size_preview_link_format]" name="config[resource_medium_size_preview_link_format]" value="{$resource_medium_size_preview_link_format}"/>    
    </div>   
-   <!-- resource_download_link_format -->
+
    <div class="field">
     <label for="config[resource_download_link_format]">resource_download_link_format</label>
     <div class="formHelp">{$locale->tr("help_resource_download_link_format")}</div>	
     <input disabled="disabled" style="width:100%" type="text" id="config[resource_download_link_format]" name="config[resource_download_link_format]" value="{$resource_download_link_format}"/>
    </div>
+-->
    <!-- page_suffix_format -->
    <div class="field">
     <label for="config[page_suffix_format]">page_suffix_format</label>

Modified: plog/trunk/templates/admin/header.template
===================================================================
--- plog/trunk/templates/admin/header.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/header.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -27,17 +27,16 @@
 </script>
 <script type="text/javascript" src="js/cookie/cookie.js"></script>
 <script type="text/javascript" src="js/prototype/prototype.js"></script>
-<script type="text/javascript" src="js/rico/rico.js"></script>
 <!-- Yahoo UI Library -->
 <script type="text/javascript" src="js/yui/yahoo/yahoo-min.js"></script> 
 <script type="text/javascript" src="js/yui/dom/dom-min.js"></script> 
 <script type="text/javascript" src="js/yui/event/event-min.js"></script>
 <script type="text/javascript" src="js/yui/connection/connection-min.js"></script>
 <!-- LifeType UI Library -->
+<script type="text/javascript" src="js/ui/core.js"></script>
 <script type="text/javascript" src="js/ui/default.js"></script>
 <script type="text/javascript" src="js/ui/common.js"></script>
 <script type="text/javascript" src="js/ui/forms.js"></script>
-<script type="text/javascript" src="js/ui/core.js"></script>
 <script type="text/javascript" src="js/ui/plogui.js"></script>
 <script type="text/javascript" src="js/ui/tableeffects.js"></script>
 <script type="text/javascript" src="js/ui/overlay.js"></script>

Modified: plog/trunk/templates/admin/newlink.template
===================================================================
--- plog/trunk/templates/admin/newlink.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/newlink.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -59,7 +59,7 @@
         <div class="field">
         	<label for="bookmarklet">{$locale->tr("bookmarklet")}</label>
         	<div class="formHelp">{$locale->tr("bookmarklet_help")}</div>
-        	<a href="javascript:void(ltbm=window.open('{$url->getAdminUrl()}?op=newLink&linkName='+encodeURIComponent(document.title)+'&linkUrl='+encodeURIComponent(location.href),'ltbm','toolbar=1,status=1,location=1,scrollbars=1,menubar=1,resizable=1'));" onclick="window.alert('{$locale->tr("bookmarklet_help")}');">{$locale->tr("bookmark_it_to_lifetype")}</a>
+        	<a href="javascript:void(ltbm=window.open('{$url->getAdminUrl()}?op=newLink&linkName='+encodeURIComponent(document.title)+'&linkUrl='+encodeURIComponent(location.href),'ltbm','toolbar=1,status=1,location=1,scrollbars=1,menubar=1,resizable=1'));" onclick="window.alert('{$locale->tr("bookmarklet_help")}');">{$locale->tr("bookmarkit_to_lifetype")}</a>
         </div>
         
         </fieldset>

Modified: plog/trunk/templates/admin/newpost.template
===================================================================
--- plog/trunk/templates/admin/newpost.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/newpost.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -27,8 +27,6 @@
   var msgErrorPostTopic = "{$locale->tr("error_missing_post_topic")}";
   var msgErrorPostText = "{$locale->tr("error_missing_post_text")}";
   var msgSaving = "{$locale->tr("saving_message")}";
-  var msgShowOptionPanel = "{$locale->tr("show_option_panel")}";
-  var msgHideOptionPanel = "{$locale->tr("hide_option_panel")}";
   var msgAutoSaveMessage = '{$locale->tr("warning_autosave_message")|escape:javascript}';
   
   var todayDay = '{$today->getDay()}';
@@ -62,10 +60,6 @@
   <form name="newPost" id="newPost" action="admin.php" method="post" onSubmit="return selectOperation(this.target);" target="admin">   
    <fieldset class="inputField">
    <legend>{$locale->tr("newPost")}</legend>
-   <div class="optionIcon">
-     <a id="optionIconLink" href="#" title="{$locale->tr("hide_option_panel")}" onclick="switchOptionPanel()">{$locale->tr("hide_option_panel")}</a>
-   </div> 
-
    <div id="mainPanel" style="float:left; width: 73%; border-right: 1px solid #DEDEDE;">
 	   <div id="autoSaveMessage" style="display: none;"></div>
 	   {include file="$admintemplatepath/formvalidate.template"}  

Modified: plog/trunk/templates/admin/registerblog.template
===================================================================
--- plog/trunk/templates/admin/registerblog.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/registerblog.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -100,4 +100,4 @@
   </div>  
  </form>
     </div>
-{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
+{include file="$admintemplatepath/simplefooter.template"}

Modified: plog/trunk/templates/admin/simpleerror.template
===================================================================
--- plog/trunk/templates/admin/simpleerror.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/simpleerror.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -14,4 +14,4 @@
    </p>
    </div>
 {include file="$blogtemplate/footernavigation.template"}
-{include file="$blogtemplate/footer.template"}
+{include file="$blogtemplate/simplefooter.template"}

Modified: plog/trunk/templates/admin/simplefooter.template
===================================================================
--- plog/trunk/templates/admin/simplefooter.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/simplefooter.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,3 +1,4 @@
  </div>
+ </div>
 </body>
 </html>
\ No newline at end of file

Modified: plog/trunk/templates/admin/simpleheader.template
===================================================================
--- plog/trunk/templates/admin/simpleheader.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/simpleheader.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -21,7 +21,7 @@
 <script type="text/javascript" src="js/yui/dom/dom-min.js"></script> 
 <script type="text/javascript" src="js/yui/event/event-min.js"></script>
 {if $templatename=="default"}{** only to be used in the login page! **}
-<style>{literal}
+<style type="text/css">{literal}
 html,body
 {
     margin		     : 0px;

Modified: plog/trunk/templates/admin/siteblogs.template
===================================================================
--- plog/trunk/templates/admin/siteblogs.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/siteblogs.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,5 +1,11 @@
 {include file="$admintemplatepath/header.template"}
 {include file="$admintemplatepath/navigation.template" showOpt=editSiteBlogs title=$locale->tr("editSiteBlogs")}
+<script type="text/javascript" src="js/ui/plogui.js"></script>
+<script type="text/javascript">
+	var errorStatusMsg = '{$locale->tr("error_select_status")}';
+	var showMassiveChangeOption = '{$locale->tr("show_massive_change_option")}';
+	var hideMassiveChangeOption = '{$locale->tr("hide_massive_change_option")}';
+</script>
         <div id="list_nav_bar">
             <div id="list_nav_select">
             
@@ -34,6 +40,11 @@
  </div> 
  
  <form id="editBlogs" method="post" action="admin.php">
+{check_perms adminperm=update_site_blog}	
+     <div class="optionIcon">
+		<a id="optionIconLink" href="#bulkEdit" title="{$locale->tr("show_massive_change_option")}" onclick="switchMassiveOption()">{$locale->tr("show_massive_change_option")}</a>
+	</div>
+{/check_perms}	
   <div id="list"> 
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
@@ -90,13 +101,29 @@
     </tbody> 
    </table>
   </div>
+ <a name="bulkEdit"></a>
   <div id="list_action_bar">
 	{adminpager style="list"}
 	{check_perms adminperm=update_site_blog}
     <input type="hidden" name="op" value="deleteBlogs"/>
     <input type="submit" name="{$locale->tr("delete")}" value="{$locale->tr("delete")}"/>  
     {/check_perms}
+	{check_perms adminperm=update_site_blog}
+    <div id="massiveChangeOption" style="display: none">
+        <fieldset>	
+        <legend>{$locale->tr("massive_change_option")}</legend>            
+            <label for="blogStatus">{$locale->tr("status")}</label>
+            <select name="blogStatus" id="blogStatus">
+              <option value="-1">-{$locale->tr("select")}-</option>
+		    	{foreach from=$blogstatus key=name item=status}
+		      		{if $status != -1}<option value="{$status}">{$locale->tr($name)}</option>{/if}
+		    	{/foreach}	
+            </select>
+            <input type="button" name="changeBlogStatus" value="{$locale->tr("change_status")}" class="submit" onClick="javascript:submitBlogsList('changeBlogStatus');" /> 
+        </fieldset>
+	</div>
+	{/check_perms}
   </div> 
  </form>
 {include file="$admintemplatepath/footernavigation.template"}
-{include file="$admintemplatepath/footer.template"}
+{include file="$admintemplatepath/footer.template"}
\ No newline at end of file

Modified: plog/trunk/templates/admin/siteusers.template
===================================================================
--- plog/trunk/templates/admin/siteusers.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/admin/siteusers.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,6 +1,12 @@
 {include file="$admintemplatepath/header.template"}
 {include file="$admintemplatepath/navigation.template" showOpt=editSiteUsers title=$locale->tr("editSiteUsers")} 
+<script type="text/javascript" src="js/ui/plogui.js"></script>
 <script type="text/javascript">
+	var errorStatusMsg = '{$locale->tr("error_select_status")}';
+	var showMassiveChangeOption = '{$locale->tr("show_massive_change_option")}';
+	var hideMassiveChangeOption = '{$locale->tr("hide_massive_change_option")}';
+</script>
+<script type="text/javascript">
 {literal}
 YAHOO.util.Event.addListener( window, "load", function() {
 		var t = new Lifetype.UI.TableEffects( "list" );
@@ -43,6 +49,13 @@
  </div>             
  
         <form id="siteUsers" action="admin.php" method="post">
+	
+			{check_perms adminperm=update_user}	
+			     <div class="optionIcon">
+					<a id="optionIconLink" href="#bulkEdit" title="{$locale->tr("show_massive_change_option")}" onclick="switchMassiveOption()">{$locale->tr("show_massive_change_option")}</a>
+				</div>
+			{/check_perms}	
+	
         <div id="list">
   {include file="$admintemplatepath/successmessage.template"}
   {include file="$admintemplatepath/errormessage.template"}
@@ -69,14 +82,6 @@
                         </td>
                         <td class="col_highlighted">
                             <a href="?op=editSiteUser&amp;userId={$siteuser->getId()}">{$siteuser->getUsername()|truncate:20:"..."}</a>
-							{assign var=userPerms value=$siteuser->getPermissions(0)}
-							<script type="text/javascript">
-							  myTooltip = new YAHOO.widget.Tooltip("myTooltip", {literal}{{/literal}  
-							    context:"user_{$siteuser->getId()}",  
-								text:"{$locale->tr("permissions")}:<br/>{foreach from=$userPerms item=perm}{$perm->getPermissionName()}<br/>{/foreach}"
-								{literal}}{/literal} );
-							</script>
-
                         </td>
                         <td>
                             {$siteuser->getFullName()|truncate:70:"..."}
@@ -107,13 +112,29 @@
                 </tbody>
             </table>
         </div>        
+		<a name="bulkEdit"></a>
         <div id="list_action_bar">
-            {adminpager style=list}
-			{check_perms adminperm=update_user}
-              <input type="submit" name="delete" value="{$locale->tr("delete")}" class="submit" />
-              <input type="hidden" name="op" value="deleteUsers" />
-			{/check_perms}
-        </div>
+        {adminpager style=list}
+		{check_perms adminperm=update_user}
+             <input type="submit" name="delete" value="{$locale->tr("delete")}" class="submit" />
+             <input type="hidden" name="op" value="deleteUsers" />
+		{/check_perms}
+		{check_perms adminperm=update_user}
+	    <div id="massiveChangeOption" style="display: none">
+	        <fieldset>	
+	        <legend>{$locale->tr("massive_change_option")}</legend>            
+	            <label for="userStatus">{$locale->tr("status")}</label>
+	            <select name="userStatus" id="userStatus">
+	              <option value="-1">-{$locale->tr("select")}-</option>
+			    	{foreach from=$userstatus key=name item=status}
+			      		{if $status != -1}<option value="{$status}">{$locale->tr($name)}</option>{/if}
+			    	{/foreach}	
+	            </select>
+	            <input type="button" name="changeUserStatus" value="{$locale->tr("change_status")}" class="submit" onClick="javascript:submitUsersList('changeUserStatus');" /> 
+	        </fieldset>
+		</div>
+		{/check_perms}
+	  </div>	
 	</form>
 
 {include file="$admintemplatepath/footernavigation.template"}

Modified: plog/trunk/templates/standard/footer.template
===================================================================
--- plog/trunk/templates/standard/footer.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/standard/footer.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -35,6 +35,7 @@
    
 <li><a title="{$locale->tr("links")}" href="{$url->templatePage("links")}">{$locale->tr("links")}</a></li>{/if}
     	{/foreach}
+    	<li><a title="{$locale->tr("admin")}" href="{$url->getAdminUrl()}">{$locale->tr("admin")}</a></li>
     	</ul>
     	</div>
     	

Modified: plog/trunk/templates/standard/screenshot.jpg
===================================================================
(Binary files differ)

Modified: plog/trunk/templates/summary/header.template
===================================================================
--- plog/trunk/templates/summary/header.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/summary/header.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -3,10 +3,9 @@
 <head>
     <title>{$serviceName}</title>
     <meta http-equiv="content-type" content="text/html; charset={$locale->getCharset()}" />
-    <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
     <style type="text/css" media="screen">@import "styles/summary.css";</style>
     <meta name="description" content="{$serviceName}" />
- 	<link rel="shortcut icon" type="image/x-icon" href="/imgs/favicon.ico" />
+ 	<link rel="shortcut icon" type="image/x-icon" href="{$url->getUrl("/imgs/favicon.ico")}" />
     <script type="text/javascript">
     var blogLocale = '{$locale->getCharset()|upper}';
   	// base url where we can find the admin.php script
@@ -27,7 +26,7 @@
           <ul class="menuTop">
              <li class="menuOption"><a href="summary.php?op=Summary">{$locale->tr("summary")}</a></li>
              <li class="menuOption"><a href="summary.php?op=Register&amp;start=1">{$locale->tr("register")}</a></li>
-             <li class="menuOption"><a href="summary.php?op=PostList">{$locale->tr("post")}</a></li>
+             <li class="menuOption"><a href="summary.php?op=PostList">{$locale->tr("posts")}</a></li>
              <li class="menuOption"><a href="summary.php?op=BlogList">{$locale->tr("blogs")}</a></li>
              <li class="menuOption"><a href="summary.php?op=UserList">{$locale->tr("users")}</a></li>
           </ul>

Modified: plog/trunk/templates/summary/index.template
===================================================================
--- plog/trunk/templates/summary/index.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/summary/index.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -59,7 +59,7 @@
       <ul class="itemList">
         {foreach from=$activeBlogs item=blog}
 	      {assign var="url" value=$blog->getBlogRequestGenerator()}
-          <li class="item"><a href="{$url->blogLink()}">{$blog->getBlog()|strip_tags|escape:"htmlall"|truncate:60}</a></li>
+          <li class="item"><a href="{$url->blogLink()}">{$blog->getBlog()|strip_tags|truncate:60}</a></li>
         {/foreach}
       </ul>
     {/if}
@@ -77,7 +77,7 @@
         {foreach from=$recentBlogs item=blog}
           {assign var="url" value=$blog->getBlogRequestGenerator()}
 		  {** remove this if you're having problems with blogs in encondings other than iso-8859-1 **}
-          <li class="item"><a href="{$url->blogLink()}">{$blog->getBlog()|strip_tags|escape:"htmlall"|truncate:60}</a></li>
+          <li class="item"><a href="{$url->blogLink()}">{$blog->getBlog()|strip_tags|truncate:60}</a></li>
         {/foreach}
       </ul>
     {/if}
@@ -94,7 +94,7 @@
             {assign var="blog" value=$post->getBlogInfo()}
 	        {assign var="url" value=$blog->getBlogRequestGenerator()}		
             <li class="item">
-              <a href="{$url->postPermalink($post)}">{$post->getTopic()|strip_tags|escape:"htmlall"|truncate:60}</a> ({$post->getNumReads()})<br />
+              <a href="{$url->postPermalink($post)}">{$post->getTopic()|strip_tags|truncate:60}</a> ({$post->getNumReads()})<br />
            </li>
           {/foreach}
         </ul>
@@ -112,7 +112,7 @@
 	      {assign var="blog" value=$post->getBlogInfo()}
 	      {assign var="url" value=$blog->getBlogRequestGenerator()}	
           <li class="item">		
-            <a href="{$url->postPermalink($post)}">{$post->getTopic()|strip_tags|escape:"htmlall"|truncate:60}</a> ({$post->getTotalComments()})<br />
+            <a href="{$url->postPermalink($post)}">{$post->getTopic()|strip_tags|truncate:60}</a> ({$post->getTotalComments()})<br />
           </li>
         {/foreach}
       </ul>

Modified: plog/trunk/templates/summary/post.template
===================================================================
--- plog/trunk/templates/summary/post.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/summary/post.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -17,7 +17,7 @@
     </h3>
     	
     <div class="subtitle">
-    	{$locale->tr("posted_in")} <a href="{$request->postPermalink($post)}">{$blog->getBlog()}</a>{if $artGlobalCategory} | {$locale->tr("category")}: <a href="?op=PostList&amp;globalArticleCategoryId={$artGlobalCategory->getId()}">{$artGlobalCategory->getName()}</a>{/if}
+    	{$locale->tr("posted_in")} <a href="{$request->blogLink()}">{$blog->getBlog()}</a>{if $artGlobalCategory} | {$locale->tr("category")}: <a href="?op=PostList&amp;globalArticleCategoryId={$artGlobalCategory->getId()}">{$artGlobalCategory->getName()}</a>{/if}
     </div>
     
     <p>
@@ -25,7 +25,7 @@
     </p>
     
     <div class="postinfo">
-        <img src="imgs/post.png" width="10" height="11" alt="Autor" />
+        <img src="imgs/post.png" width="10" height="11" alt="Author" />
          <strong>{$postOwner->getUsername()}</strong>, {$locale->formatDate($postDate,"%e %B %Y")} |
         <img src="imgs/comment.png" width="11" height="10" alt="{$locale->tr("comments")}" />
         <a href="{$request->postPermalink($post)}#comments">{if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")|capitalize}{/if}</a>

Modified: plog/trunk/templates/summary/registerstep2.template
===================================================================
--- plog/trunk/templates/summary/registerstep2.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/summary/registerstep2.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -29,9 +29,15 @@
      <div class="formHelp">{$locale->tr("register_blog_domain_help")}.</div>
      <input type="text" name="blogSubDomain" id="blogSubDomain" value="{$blogSubDomain}"  size="12" />
      <select name="blogMainDomain" id="blogMainDomain">
-            <option value="balearweb.net" selected >
-            .balearweb.net
+      {foreach from=$blogAvailableDomains item=domain}
+       <option value="{$domain}" {if $domain == $blogMainDomain}selected{/if}>
+            {if $domain == "?"}
+              {$locale->tr("subdomains_any_domain")}
+            {else}
+              .{$domain}
+            {/if}
        </option>
+      {/foreach}
      </select>
      {include file="summary/validate.template" field=blogSubDomain message=$locale->tr("error_invalid_subdomain")}
      {include file="summary/validate.template" field=blogMainDomain message=$locale->tr("error_invalid_domain")}
@@ -65,4 +71,4 @@
 
 </div>
 </div>
-{include file="summary/footer.template"}
\ No newline at end of file
+{include file="summary/footer.template"}

Modified: plog/trunk/templates/summary/userprofile.template
===================================================================
--- plog/trunk/templates/summary/userprofile.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/summary/userprofile.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -23,7 +23,7 @@
     </p>
     
     <div class="postinfo">
-        <img src="imgs/post.png" width="10" height="11" alt="Autor" />
+        <img src="imgs/post.png" width="10" height="11" alt="Author" />
          <strong>{$user->getUsername()}</strong>, {$locale->formatDate($postDate,"%e %B %Y")} |
         <img src="imgs/comment.png" width="11" height="10" alt="{$locale->tr("comments")}" />
         <a href="{$request->postPermalink($post)}#comments">{if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")|capitalize}{/if}</a>

Modified: plog/trunk/templates/wizard/checks.template
===================================================================
--- plog/trunk/templates/wizard/checks.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/wizard/checks.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -17,26 +17,27 @@
       <p class="wizardInfoText">Welcome to the configuration wizard of LifeType. These are some basic checks of your current
       system in order to ensure that LifeType can run properly.
       <br/><br/>
-      </p> 
+      </p>
+     </div>
    {/if}
    
    {foreach from=$checkGroups item=checks key=checkGroup}
-       <div style="font-size: 12px; font-weight: bold; margin:5px 0px; text-decoration: underline">{$checkGroup}</div>
+       <div class="checkCategory">{$checkGroup}</div>
 	   {foreach from=$checks item=check key=checkId}
 	    {** loop through the checks and show an error message if not passed, unless not critical **}
 	    {if $check->isValid()}
-	        <img src="imgs/summary/icon_accept-16.png" style="float:left; margin: 10px 5px 0px 0px;" alt="PASSED" />
+	        <img src="imgs/summary/icon_accept-16.png" class="checkImage" alt="PASSED" />
 	    {else}
 	        {if $check->isCritical()}
-	            <img src="imgs/summary/icon_cancel-16.png" style="float:left; margin: 10px 5px 0px 0px;" alt="ERROR" />
+	            <img src="imgs/summary/icon_cancel-16.png" class="checkImage" alt="ERROR" />
 	        {else}
-	            <img src="imgs/summary/icon_warning-16.png" style="float:left; margin: 10px 5px 0px 0px;" alt="NOT CRITICAL" />
+	            <img src="imgs/summary/icon_warning-16.png" class="checkImage" alt="NOT CRITICAL" />
 	        {/if}
 	    {/if}
-	    <div style="padding-bottom:5px; margin-top: 10px;">
+	    <div class="checkItem">
 	    {$check->getDesc()} {if !$check->isCritical()}(optional){/if}
 	    {if !$check->isValid()}
-	    	<div style="margin-left: 20px; margin-top: 5px;">
+	    	<div class="checkError">
 	    	{if $check->isCritical()}
 	    		<span style="color: red;">{$check->getSolution()}</span>
 	    	{else}
@@ -47,7 +48,7 @@
 	    </div>
 	   {/foreach}
    {/foreach}
-   </div>
+
    </fieldset>
    <div class="buttons">
     {if $ok}

Modified: plog/trunk/templates/wizard/footer.template
===================================================================
--- plog/trunk/templates/wizard/footer.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/wizard/footer.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,3 +1,4 @@
 </div>
+</div>
 </body>
 </html>
\ No newline at end of file

Modified: plog/trunk/templates/wizard/step1.template
===================================================================
--- plog/trunk/templates/wizard/step1.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/wizard/step1.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,5 +1,5 @@
 {include file="wizard/header.template" title="Confirm Information" mode=install step=3}
- <form name="formStep1" method="post">
+ <form name="formStep1" action="wizard.php" method="post">
   <fieldset class="inputField">
   <legend>Database Initialization</legend>   
   {if $viewIsError}
@@ -32,7 +32,7 @@
     <div class="field"> 
      <label for="dbName">Database table</label>
      <div class="formHelp"></div>     
-     <span idb="dbName">{$dbName}</span><br/>
+     <span id="dbName">{$dbName}</span><br/>
     </div>
     <div class="field">
      <label for="dbPrefix">Database prefix</label>
@@ -43,7 +43,6 @@
     {if !empty($availableCharacterSets)}
 	    <div class="field">
 	     	<label for="dbCharacterSet">Database default character set</label>
-     		<span class="required"></span>
 	     	<div class="formHelp">If you plan to use UTF-8 as your default web encoding, please select <strong>utf8</strong> as your database default character set.</div>     
 	    	<select name="dbCharacterSet" id="dbCharacterSet" size="1" style="width:20%">
 	        <option value="default">default</option>
@@ -56,7 +55,6 @@
     
     <div class="field">
      <label for="createDatabase">Create database</label>
-     <span class="required"></span>
      <div class="formHelp"></div>
      <div class="field"><input type="checkbox" name="createDatabase" id="createDatabase" class="checkbox" value="1" {if $createDatabase} checked="checked"  {/if}/>Please check this if you want the installer to create the database.</div>
     </div>

Modified: plog/trunk/templates/wizard/step3.template
===================================================================
--- plog/trunk/templates/wizard/step3.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/wizard/step3.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -24,7 +24,6 @@
    </div>
    <div class="field"> 
     <label for="userFullName">Full name</label>
-    <span class="required"></span>
     <div class="fieldHelp">Full name of the user</div>
     <input type="text" name="userFullName" id="userFullName" value="{$userFullName}"/>
    </div>
@@ -51,7 +50,7 @@
    <input type="button" value="&laquo; Previous" name="back" onClick="javascript:history.go(-1);" />
    <input type="reset" value="Reset" name="Reset" />
    <input type="submit" value="Next &raquo;" name="Next &raquo;"/>
-   <input type="hidden" name="nextStep" value="Step4"/></p>
-  </p>
-
+   <input type="hidden" name="nextStep" value="Step4"/>
+  </div>
+</form>
 {include file="wizard/footer.template"}

Modified: plog/trunk/templates/wizard/step4.template
===================================================================
--- plog/trunk/templates/wizard/step4.template	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/templates/wizard/step4.template	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1,5 +1,5 @@
 {include file="wizard/header.template" title="Blog Configuration" step=6 mode=install}
-<form name="newBlog" method="post">
+<form name="newBlog" action="wizard.php" method="post">
 <fieldset class="inputField">
 <legend>Blog Creation</legend>
 {if $viewIsError}
@@ -37,7 +37,7 @@
    <span class="required">*</span>
    <div class="fieldHelp">Default template that will be used throughout your site</div>
     {foreach from=$siteTemplates item=template}
-     <img height="300" width="300" src="{$template->getScreenshotUrl()}" alt="{$template->getName()}" /><br/>
+     <img height="210" width="280" src="{$template->getScreenshotUrl()}" alt="{$template->getName()}" /><br/>
      <input type="radio" class="radio" id="blogTemplate" name="blogTemplate" value="{$template->getName()}" {if $blogTemplate==$template->getName()}checked="checked"{/if} /> {$template->getName()}<br/>
     {/foreach}
     {include file="wizard/validate.template" field=blogTemplate message="Please select a template for the blog"}

Copied: plog/trunk/tools/updatedbschema.php (from rev 5155, plog/branches/lifetype-1.2/tools/updatedbschema.php)
===================================================================
--- plog/trunk/tools/updatedbschema.php	                        (rev 0)
+++ plog/trunk/tools/updatedbschema.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -0,0 +1,63 @@
+<?php
+
+/**
+ * Quick and dirty script to update a database schema to the most recent version of the schema
+ * as defined by file install/dbschemas.properties.php
+ */
+
+if (!defined( "PLOG_CLASS_PATH" )) {
+    define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
+}
+
+lt_include( PLOG_CLASS_PATH."class/database/db.class.php" );
+lt_include( PLOG_CLASS_PATH."class/config/configfilestorage.class.php" );
+lt_include( PLOG_CLASS_PATH."install/dbschemas.properties.php" );
+
+$config = new ConfigFileStorage();
+// open a connection to the database
+$db = PDb::getDriver('mysql');
+
+if( !$db->Connect($config->getValue( "db_host" ), $config->getValue( "db_username" ), $config->getValue( "db_password" ), $config->getValue( "db_database" ), $config->getValue( "db_character_set" ))) {
+	die( "could not connect to database!" );
+}
+
+$prefix = $config->getValue( "db_prefix" );
+
+$dict = NewPDbDataDictionary( $db );            
+$errors = false;
+$message = "";
+foreach( $Tables as $name => $table ) {
+    $errorMessage = "";
+    $table_errors = false;
+	$upperName = $dict->upperName;
+	$tableSchema = $table["schema"];
+	if ( isset( $table["options"] ) )
+	{
+		$tableOptions = $table["options"];
+		$options = array ( $upperName => $tableOptions );
+	} else {
+		$options = array ();
+    }
+   
+    // generate the code with the changes for the table
+    $sqlarray = $dict->ChangeTableSQL( $prefix.$name, $tableSchema, $options );
+    
+    foreach( $sqlarray as $sql ) {
+        // and run the query
+        if( !$db->Execute( $sql )) {
+            $table_errors = true;
+            $errors = true;
+            $errorMessage .= $db->ErrorMsg()."<br/>";
+        }
+    }
+
+    if( !$table_errors )
+        $message .= "Changes to table <strong>$name</strong> executed successfully.<br/>";
+    else {
+        $message .= "Error modifying table $name: ".$errorMessage;
+    }
+}
+
+print($message);
+
+?>
\ No newline at end of file

Modified: plog/trunk/wizard.php
===================================================================
--- plog/trunk/wizard.php	2007-03-22 12:17:23 UTC (rev 5155)
+++ plog/trunk/wizard.php	2007-03-22 13:18:28 UTC (rev 5156)
@@ -1122,7 +1122,8 @@
             $userId = $users->addUser( $user );
             if( !$userId ) {
                 $this->_view = new WizardView( "step3" );
-                $message = "There was an error adding the user. Make sure that the user does not already exist in the database (".$users->DbError().")";
+				$db =& Db::getDb();
+                $message = "There was an error adding the user. Make sure that the user does not already exist in the database (".$db->ErrorMsg().")";
                 $this->_view->setErrorMessage( $message );
                 $this->setCommonData();
                 return false;
@@ -1465,7 +1466,7 @@
 				$result = true;
 			}
 			else {
-				$this->message .= "Error modifying table $curTAble: ".$errorMessage;
+				$this->message .= "Error modifying table $curTable: ".$errorMessage;
 				$result = false;
 			}
 
@@ -1515,12 +1516,15 @@
 							$perm = new UserPermission( $row["user_id"], $row["blog_id"], $perm->getId());
 							$userPermissions->grantPermission( $perm );
 						}
-					}					
+					}
 				}
             }
-        
+      
             $this->message .= "{$this->updatedRecords} users updated (".$this->getPercentProcessed()."%)<br/>";
-            return true;        
+
+            $this->Execute("DROP TABLE ".Db::getPrefix()."tmp_users_permissions");
+
+            return true;
         }
     }
 
@@ -1564,6 +1568,10 @@
 			//
 			// prepare the users_permissions table for the next step
 			//
+
+            // make sure we are starting with an empty table
+            $this->Execute("DELETE FROM ".Db::getPrefix()."tmp_users_permissions");
+            
 			if( !$this->Execute( "INSERT INTO ".$this->dbPrefix."tmp_users_permissions SELECT * FROM ".$this->dbPrefix."users_permissions WHERE blog_id != 0 AND permission_id != 1" )) {
 				$this->message .= "Error preparing the users_permissions table for transformation";
 				$errors = true;
@@ -1774,12 +1782,13 @@
 				$destFileName = $galleryFolder.$row["owner_id"]."/".$row["file_name"];
 				
                     //print( "Renaming file: $fileName --- $destFileName<br/>" );
-
                     // skip the rename if we already did it
-                if( !File::exists( $destFileName)) {
-                    if( !File::rename( $fileName, $destFileName )) {
-                        $this->message .= "Error updating resource file with id ".$row["id"].", while attempting to rename file from $fileName to $destFileName<br/>";
-                    }
+				if( File::exists( $fileName )) {
+	                if( !File::exists( $destFileName)) {
+	                    if( !File::rename( $fileName, $destFileName )) {
+	                        $this->message .= "Error updating resource file with id ".$row["id"].", while attempting to rename file from $fileName to $destFileName<br/>";
+	                    }
+					}
 				}
 
 				
@@ -1807,12 +1816,16 @@
 					//print(" -- renaming preview: $previewFileName -- $destPreviewFileName<br/>");
 					//print(" -- renaming medium preview: $medPreviewFileName -- $destMedPreviewFileName<br/>");					
 					
-                    if( !File::exists( $destPreviewFileName)) {
-                        File::rename( $previewFileName, $destPreviewFileName );
-                    }
-                    if( !File::exists( $destMedPreviewFileName)) {
-                        File::rename( $medPreviewFileName, $destMedPreviewFileName );
-                    }
+					if( File::exists( $previewFileName )) {
+                    	if( !File::exists( $destPreviewFileName)) {
+                        	File::rename( $previewFileName, $destPreviewFileName );
+                    	}
+					}
+					if( File::exists( $medPreviewFileName )) {
+	                    if( !File::exists( $destMedPreviewFileName)) {
+	                        File::rename( $medPreviewFileName, $destMedPreviewFileName );
+	                    }
+					}
 				}
 				
 				
@@ -1916,8 +1929,8 @@
                 // transformer id
                 $this->_view->setValue( "transformerId", $this->currentTransformerId );            
                 $this->_view->setValue( "error", true );
-                if( $transformer->DbError() != "" ) {
-                    $message .= "<br/>The database error message was: ".$transformer->DbError()."<br/>";
+                if( $transformer->ErrorMsg() != "" ) {
+                    $message .= "<br/>The database error message was: ".$transformer->ErrorMsg()."<br/>";
                 }
 
                 $this->_view->setErrorMessage( $message );



More information about the pLog-svn mailing list