Browse Source

2007-12-24: Latest (only ?) version.

- Not usable in the least.
Frédéric G. MARAND 12 years ago
commit
13685fb681
100 changed files with 5547 additions and 0 deletions
  1. 4 0
      block.tpl.php
  2. 5 0
      box.tpl.php
  3. 9 0
      comment.tpl.php
  4. 20 0
      dotclear.txt
  5. 137 0
      dotclear/.rss.php
  6. 180 0
      dotclear/.tb.php
  7. 30 0
      dotclear/CHANGELOG
  8. 340 0
      dotclear/COPYING
  9. 45 0
      dotclear/LISEZMOI.txt
  10. 1 0
      dotclear/VERSION
  11. 118 0
      dotclear/atom.php
  12. 1 0
      dotclear/conf/.htaccess
  13. 1 0
      dotclear/conf/UPDATE
  14. 67 0
      dotclear/conf/config.php
  15. 67 0
      dotclear/conf/config.php.in
  16. 126 0
      dotclear/conf/dotclear.ini
  17. 7 0
      dotclear/dc-themes/default/dc-desc.xml
  18. 61 0
      dotclear/dc-themes/default/dc-form.notphp
  19. 51 0
      dotclear/dc-themes/default/dc-list.notphp
  20. 103 0
      dotclear/dc-themes/default/dc-post.notphp
  21. 31 0
      dotclear/dc-themes/default/dc-prepend.notphp
  22. 149 0
      dotclear/dc-themes/default/dc-template.notphp
  23. BIN
      dotclear/dc-themes/default/img/day-date.png
  24. BIN
      dotclear/dc-themes/default/img/page.png
  25. BIN
      dotclear/dc-themes/default/img/q.png
  26. BIN
      dotclear/dc-themes/default/img/top.png
  27. 20 0
      dotclear/dc-themes/default/layout-gauche.notcss
  28. 59 0
      dotclear/dc-themes/default/layout.notcss
  29. BIN
      dotclear/dc-themes/default/smilies/alien.png
  30. BIN
      dotclear/dc-themes/default/smilies/angry.png
  31. BIN
      dotclear/dc-themes/default/smilies/arrow.png
  32. BIN
      dotclear/dc-themes/default/smilies/confused.png
  33. BIN
      dotclear/dc-themes/default/smilies/cool.png
  34. BIN
      dotclear/dc-themes/default/smilies/cry.png
  35. BIN
      dotclear/dc-themes/default/smilies/dizzy.png
  36. BIN
      dotclear/dc-themes/default/smilies/eek.png
  37. BIN
      dotclear/dc-themes/default/smilies/evil.png
  38. BIN
      dotclear/dc-themes/default/smilies/exclam.png
  39. BIN
      dotclear/dc-themes/default/smilies/idea.png
  40. BIN
      dotclear/dc-themes/default/smilies/laugh.png
  41. BIN
      dotclear/dc-themes/default/smilies/lol.png
  42. BIN
      dotclear/dc-themes/default/smilies/mrgreen.png
  43. BIN
      dotclear/dc-themes/default/smilies/normal.png
  44. BIN
      dotclear/dc-themes/default/smilies/question.png
  45. BIN
      dotclear/dc-themes/default/smilies/razz.png
  46. BIN
      dotclear/dc-themes/default/smilies/redface.png
  47. BIN
      dotclear/dc-themes/default/smilies/rolleyes.png
  48. BIN
      dotclear/dc-themes/default/smilies/sad.png
  49. BIN
      dotclear/dc-themes/default/smilies/smile.png
  50. 17 0
      dotclear/dc-themes/default/smilies/smilies.txt
  51. BIN
      dotclear/dc-themes/default/smilies/surprised.png
  52. BIN
      dotclear/dc-themes/default/smilies/wink.png
  53. 312 0
      dotclear/dc-themes/default/style.notcss
  54. 112 0
      dotclear/ecrire/auth.php
  55. 147 0
      dotclear/ecrire/cat_list.php
  56. 122 0
      dotclear/ecrire/categorie.php
  57. 163 0
      dotclear/ecrire/comment.php
  58. 151 0
      dotclear/ecrire/comments.php
  59. 53 0
      dotclear/ecrire/help/de-utf8/category.html
  60. 128 0
      dotclear/ecrire/help/de-utf8/entry.html
  61. 113 0
      dotclear/ecrire/help/de-utf8/user.html
  62. 80 0
      dotclear/ecrire/help/de-utf8/wiki2xhtml.html
  63. 53 0
      dotclear/ecrire/help/de/category.html
  64. 128 0
      dotclear/ecrire/help/de/entry.html
  65. 113 0
      dotclear/ecrire/help/de/user.html
  66. 80 0
      dotclear/ecrire/help/de/wiki2xhtml.html
  67. 58 0
      dotclear/ecrire/help/en-utf8/category.html
  68. 127 0
      dotclear/ecrire/help/en-utf8/entry.html
  69. 113 0
      dotclear/ecrire/help/en-utf8/user.html
  70. 87 0
      dotclear/ecrire/help/en-utf8/wiki2xhtml.html
  71. 58 0
      dotclear/ecrire/help/en/category.html
  72. 127 0
      dotclear/ecrire/help/en/entry.html
  73. 113 0
      dotclear/ecrire/help/en/user.html
  74. 87 0
      dotclear/ecrire/help/en/wiki2xhtml.html
  75. 56 0
      dotclear/ecrire/help/fr-utf8/category.html
  76. 127 0
      dotclear/ecrire/help/fr-utf8/entry.html
  77. 0 0
      dotclear/ecrire/help/fr-utf8/index.html
  78. 112 0
      dotclear/ecrire/help/fr-utf8/user.html
  79. 89 0
      dotclear/ecrire/help/fr-utf8/wiki2xhtml.html
  80. 56 0
      dotclear/ecrire/help/fr/category.html
  81. 127 0
      dotclear/ecrire/help/fr/entry.html
  82. 0 0
      dotclear/ecrire/help/fr/index.html
  83. 112 0
      dotclear/ecrire/help/fr/user.html
  84. 89 0
      dotclear/ecrire/help/fr/wiki2xhtml.html
  85. 57 0
      dotclear/ecrire/help/it/category.html
  86. BIN
      dotclear/ecrire/help/it/entry.html
  87. 110 0
      dotclear/ecrire/help/it/user.html
  88. 80 0
      dotclear/ecrire/help/it/wiki2xhtml.html
  89. 27 0
      dotclear/ecrire/images-popup.php
  90. 331 0
      dotclear/ecrire/images.php
  91. BIN
      dotclear/ecrire/images/arrow_down.png
  92. BIN
      dotclear/ecrire/images/arrow_up.png
  93. BIN
      dotclear/ecrire/images/bt_bquote.png
  94. BIN
      dotclear/ecrire/images/bt_br.png
  95. BIN
      dotclear/ecrire/images/bt_code.png
  96. BIN
      dotclear/ecrire/images/bt_del.png
  97. BIN
      dotclear/ecrire/images/bt_em.png
  98. BIN
      dotclear/ecrire/images/bt_img.png
  99. BIN
      dotclear/ecrire/images/bt_img_link.png
  100. BIN
      dotclear/ecrire/images/bt_ins.png

+ 4 - 0
block.tpl.php

@@ -0,0 +1,4 @@
+  <div class="block block-<?php print $block->module; ?>" id="block-<?php print $block->module; ?>-<?php print $block->delta; ?>">
+    <h2 class="title"><?php print $block->subject; ?></h2>
+    <div class="content"><?php print $block->content; ?></div>
+ </div>

+ 5 - 0
box.tpl.php

@@ -0,0 +1,5 @@
+  <div class="box">
+    <?php if ($title) { ?><h2 class="title"><?php print $title; ?></h2><?php } ?>
+    <div class="content"><?php print $content; ?></div>
+ </div>
+

+ 9 - 0
comment.tpl.php

@@ -0,0 +1,9 @@
+  <div class="comment">
+    <?php if ($picture) {
+    print $picture;
+  } ?>
+<h3 class="title"><?php print $title; ?></h3><?php if ($new != '') { ?><span class="new"><?php print $new; ?></span><?php } ?>
+    <div class="submitted"><?php print $submitted; ?></div>
+    <div class="content"><?php print $content; ?></div>
+    <div class="links">&raquo; <?php print $links; ?></div>
+  </div>

+ 20 - 0
dotclear.txt

@@ -0,0 +1,20 @@
+form.php        formulaire de saisie de commentaire
+
+list.php        liste des posts sur la page d'accueil
+
+post.php        formulaire de lecture de post individuel
+
+
+style.css
+        import layout.css
+        (variante: import layout-gauche.css)
+
+template.php    cadre de page général visiteur
+        soit erreur
+        soit preview commentaire
+        soit liste de posts <- list.php
+        soit post <- post.php
+        barre latérale
+                calendrier
+                recherche
+                

+ 137 - 0
dotclear/.rss.php

@@ -0,0 +1,137 @@
+<?php
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of DotClear.
+# Copyright (c) 2004 Olivier Meunier and contributors. All rights
+# reserved.
+#
+# DotClear is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# DotClear is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with DotClear; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# ***** END LICENSE BLOCK *****
+require dirname(__FILE__).'/inc/prepend.php';
+require dirname(__FILE__).'/layout/lib.cache.php';
+
+require dirname(__FILE__).'/layout/class.xblog.php';
+require dirname(__FILE__).'/layout/class.xblogpost.php';
+require dirname(__FILE__).'/layout/class.xblogcomment.php';
+
+$type = (!empty($_GET['type']) && $_GET['type'] == 'co') ? 'co' : 'blog';
+$cat = (!empty($_GET['cat'])) ? $_GET['cat'] : '';
+$lang = (!empty($_GET['lang'])) ? $_GET['lang'] : '';
+
+# Connexion MySQL
+$con = new Connection(DB_USER,DB_PASS,DB_HOST,DB_DBASE);
+
+if ($con->error()) { exit; }
+
+# Création de l'objet de type weblog avec uniquement les billets
+# publiés
+$blog = new xblog($con,DB_PREFIX,1,dc_encoding);
+$blog->rs_blogpost = 'xblogpost';
+$blog->rs_blogcomment = 'xblogcomment';
+
+$blog->setURL('post','http://'.$_SERVER['HTTP_HOST'].dc_blog_url.dc_format_post_url);
+
+# Si type = co on fait un fil des commentaires
+if ($type == 'co')
+{
+	if (!empty($_GET['post'])) {
+		$comments = $blog->getComments($_GET['post'],'DESC');
+	} else {
+		$comments = $blog->getComments('','DESC',20);
+	}
+	
+	$title = dc_blog_name.' - Commentaires';
+	$ts = time();
+	$items = $seq = '';
+	
+	if (!$comments->isEmpty())
+	{
+		$ts = $comments->getTS();
+		
+		while(!$comments->EOF())
+		{
+			$seq .= $comments->getRSSSeq();
+			$items .= $comments->getRSSItem(dc_short_feeds);
+			
+			$comments->moveNext();
+		}
+	}
+}
+else
+{
+	# Dernières nouvelles
+	// echo "<pre>cat = $cat, news = " ;
+	$news = $blog->getLastNews(10,$cat,'post_dt DESC',false,$lang);
+	// print_r ($news) ; echo "</pre>" ;
+	$ts = strtotime($blog->getEarlierDate());
+	$title = dc_blog_name;
+	$items = $seq = '';
+	while(!$news->EOF())
+	{
+		$items .= $news->getRSSItem(dc_short_feeds);
+		$seq .= $news->getRSSSeq();
+		
+		$news->moveNext();
+	}
+}
+
+# Fermeture de connexion
+$con->close();
+
+# Cache HTTP
+if (dc_http_cache && defined('DC_UPDATE_FILE_W') && DC_UPDATE_FILE_W)
+{
+	$mod_files = get_included_files();
+	$mod_files[] = DC_UPDATE_FILE;
+	$mod_files[] = dirname(__FILE__).'/conf/dotclear.ini';
+	
+	cache::http($mod_files);
+}
+
+header('Content-Type: text/xml; charset='.dc_encoding);
+echo '<?xml version="1.0" encoding="'.dc_encoding.'" ?>'."\n";
+?>
+<rdf:RDF
+  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+  xmlns:dc="http://purl.org/dc/elements/1.1/"
+  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
+  xmlns:admin="http://webns.net/mvcb/"
+  xmlns:content="http://purl.org/rss/1.0/modules/content/"
+  xmlns="http://purl.org/rss/1.0/">
+
+<channel rdf:about="<?php echo 'http://'.$_SERVER['HTTP_HOST'].dc_blog_url; ?>">
+  <title><?php echo $blog->toXML($title); ?></title>
+  <description><![CDATA[<?php echo dc_blog_desc; ?>]]></description>
+  <link><?php echo 'http://'.$_SERVER['HTTP_HOST'].dc_blog_url; ?></link>
+  <dc:language><?php echo DC_LANG; ?></dc:language>
+  <dc:creator></dc:creator>
+  <dc:rights></dc:rights>
+  <dc:date><?php echo dt::iso8601($ts); ?></dc:date>
+  <admin:generatorAgent rdf:resource="http://www.dotclear.net/" />
+  
+  <sy:updatePeriod>daily</sy:updatePeriod>
+  <sy:updateFrequency>1</sy:updateFrequency>
+  <sy:updateBase><?php echo dt::iso8601($ts); ?></sy:updateBase>
+  
+  <items>
+  <rdf:Seq>
+  <?php echo $seq; ?>
+  </rdf:Seq>
+  </items>
+</channel>
+
+<?php echo $items; ?>
+
+</rdf:RDF>

+ 180 - 0
dotclear/.tb.php

@@ -0,0 +1,180 @@
+<?php
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of DotClear.
+# Copyright (c) 2004 Olivier Meunier and contributors. All rights
+# reserved.
+#
+# DotClear is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# DotClear is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with DotClear; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# ***** END LICENSE BLOCK *****
+
+# Chemin vers la racine de l'application (si vous changer le fichier de place)
+$app_path = '/';
+require dirname(__FILE__).$app_path.'/inc/prepend.php';
+
+
+# Si on est là, alors on a un _POST
+# Connexion et création du blog
+header('Content-Type: text/xml');
+echo '<?xml version="1.0" encoding="'.dc_encoding.'"?>'."\n";
+echo '<response>'."\n";
+
+$content = '';
+
+if (empty($_GET['id']))
+{
+	$content = '<error>1</error>'."\n".
+	'<message>No ID.</message>';
+}
+else
+{
+	$id = $_GET['id'];
+	
+	$con = new Connection(DB_USER,DB_PASS,DB_HOST,DB_DBASE);
+	
+	if($con->error())
+	{
+		$content = '<error>1</error>'."\n".
+		'<message>MySQL connection error : '.$con->error().'</message>';
+	}
+	else
+	{
+		$blog = new blog($con,DB_PREFIX,1,dc_encoding);
+		
+		$blog->setURL('post',dc_blog_url.dc_format_post_url);
+		
+		$post = $blog->getPostByID($id);
+		
+		if ($post->isEmpty())
+		{
+			$content = '<error>1</error>'."\n".
+			'<message>No post for this ID.</message>';
+		}
+		elseif (!dc_allow_trackbacks || !$post->f('post_open_tb')
+		|| (dc_comments_ttl!=0 && time()-(dc_comments_ttl*86400) > $post->getTS()))
+		{
+			$content = '<error>1</error>'."\n".
+			'<message>Trackbacks are not allowed for this post or weblog.</message>';
+		}
+		elseif (isset($_REQUEST['__info']))
+		{
+			$content =
+			'<error>0</error>'."\n".
+			'<engine>DotClear</engine>'."\n".
+			'<version>'.DC_VERSION.'</version>'."\n".
+			'<encoding>'.dc_encoding.'</encoding>'."\n";
+		}
+		elseif (!empty($_REQUEST['__mode']) && $_REQUEST['__mode'] == 'rss')
+		{
+			$tb_url = 'http://'.$_SERVER['HTTP_HOST'].dc_trackback_uri.'&amp;id='.$id;
+			
+			if ($post->f('post_chapo') != '') {
+				$post_excerpt = $post->f('post_chapo');
+			} else {
+				$post_excerpt = $post->f('post_content');
+			}
+			$post_excerpt = util::cutString(strip_tags($post_excerpt),255);
+			
+			$content =
+			'<error>0</error>'."\n".
+			'<rss version="0.91"><channel>'."\n".
+			'<title>'.dc_blog_name.' - Trackback</title>'."\n".
+			'<link>'.$tb_url.'</link>'."\n".
+			'<description>TrackBack item for this blog</description>'."\n".
+			'<language>fr</language>'."\n".
+			'<item>'."\n".
+			'<title>'.$blog->toXML($post->f('post_titre'),0).'</title>'."\n".
+			'<link>http://'.$_SERVER['HTTP_HOST'].$post->getPermURL().'</link>'."\n".
+			'<description>'.$post_excerpt.'</description>'."\n".
+			'</item>'."\n".
+			'</channel>'."\n".
+			'</rss>';
+		}
+		elseif (empty($_REQUEST['url']))
+		{
+			$content =
+			'<error>1</error>'."\n".
+			'<message>URL parameter is requiered.</message>';
+		}
+		else
+		{
+			$url = $_REQUEST['url'];
+			$title = (!empty($_REQUEST['title'])) ? $_REQUEST['title'] : $url;
+			$excerpt = (!empty($_REQUEST['excerpt'])) ? $_REQUEST['excerpt'] : '';
+			$blog_name = (!empty($_REQUEST['blog_name'])) ? $_REQUEST['blog_name'] : '';
+			
+			if (trim($title) == '') {
+				$title = $url;
+			}
+			
+			if (strlen($excerpt) > 255) {
+				$excerpt = util::cutString($excerpt,252).'...';
+			}
+			
+			# On poste de l'UTF-8 ou pas ?
+			if (dc_encoding == 'UTF-8' && (empty($_REQUEST['utf8']) || $_REQUEST['utf8'] != 1))
+			{
+				$title = utf8_encode($title);
+				$excerpt = utf8_encode($excerpt);
+				$blog_name = utf8_encode($blog_name);
+			}
+			
+			$comment = '<!-- TB -->'."\n".
+					'<p><strong>'.$title.'</strong></p>'."\n".
+					'<p>'.$excerpt.'</p>';
+			
+			if ($blog->addComment($id,$blog_name,'',$url,$comment,true) !== false)
+			{
+				$content = '<error>0</error>';
+				
+				if (dc_comment_notification && $post->f('user_email') != '')
+				{
+					$n_titre = $blog->removeEntities($post->f('post_titre'));
+					$n_mail = $post->f('user_email');
+					$n_subject = util::mimeEncode('['.dc_blog_name.'] '.$n_titre,dc_encoding);
+					
+					$n_content =
+					sprintf(__('Trackback for entry %s'),$n_titre)."\n\n".
+					sprintf(__('By: %s'),$blog_name)."\n".
+					sprintf(__('Website: %s'),$url)."\n".
+					"\n".$title."\n\n".$excerpt."\n".
+					"--\n".
+					'http://'.$_SERVER['HTTP_HOST'].$post->getPermURL();
+					
+					$n_headers =
+					'From: '.$n_mail."\r\n".
+					'Content-Type: text/plain; charset='.dc_encoding.";\r\n".
+					"X-Mailer: DotClear\r\n".
+					'X-Blog: http://'.$_SERVER['HTTP_HOST'].dc_blog_url;
+					
+					@mail($n_mail,$n_subject,$n_content,$n_headers);
+				}
+			}
+			else
+			{
+				$err = $blog->error(0);
+				$content =
+				'<error>1</error>'."\n".
+				'<message>'.$err[0][1].'</message>';
+			}
+		}
+		
+		$con->close();
+	}
+}
+
+echo $content."\n";
+echo '</response>';
+?>

+ 30 - 0
dotclear/CHANGELOG

@@ -0,0 +1,30 @@
+== 1.2.1 ==================================================
+4 new languages :
+- Chinese (by Tsing)
+- German (by Hans and Frederik)
+- Italian (by Federico)
+- Spanish (by Gromka)
+
+- Translation of help files (by Tehu)
+
+- New default theme (by Maurice.)
+- New $PLUGIN_HEAD variable in which a plugin can specify
+  optional HTML headers.
+- Indexes in MySQL tables.
+- Improved MySQL plugin with backup and restore (by Pep.)
+- Javascript event which alert when leaving an unsaved entry.
+- Drag and drop sorting on categories and links.
+- Javascript fixes.
+- New wiki2xhtml with macro support.
+- Added help files in all languages but Chinese.
+- New dcCustomTitle() template function which display
+  $dc_custom_title global variable (useful for plugins.)
+- Added a template function to display an admin link if user
+  is logged in.
+- Fixed bug #15 about $_GET (yeah!)
+- Added "short feeds" option.
+- Fixes in Atom and RSS feeds.
+- New global variable $dc_args which returns URL arguments.
+- Moved sessions to a database table.
+- Added feature to prevent comment spam.
+- Removed SQL cache.

+ 340 - 0
dotclear/COPYING

@@ -0,0 +1,340 @@
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+                       59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+	    How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) year name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Library General
+Public License instead of this License.

+ 45 - 0
dotclear/LISEZMOI.txt

@@ -0,0 +1,45 @@
+DotClear 1.2.1
+===============================================================================
+
+Installation
+------------
+
+* Pré-requis
+
+DotClear fonctionne chez les hébergeurs supportant PHP 4.1 minimum et MySQL.
+Le module XML de PHP doit être présent
+
+* Installation
+
+Téléchargez DotClear et décompressez l'archive où bon vous semble.
+
+Ensuite rendez vous simplement sur http://votresite/dotclear/install et laissez
+vous guider.
+
+Vous devrez indiquer (et donc posséder les informations suivantes)
+
+    * votre nom d'utilisateur pour se connecter à MySQL (généralement votre
+    login).
+    * votre mot de passe pour se connecter à la base.
+    * le nom de la machine hébergeant la base MySQL (consultez votre
+      hébergeur).
+    * le nom de la base de données où sera installé DotClear.
+
+Ensuite, avec le plugin de configuration, vous pourrez paramétrer votre
+weblogue.
+
+Note : vous pouvez également modifier le fichier conf/dotclear.ini, le
+résultat sera le même.
+
+Mise à jour
+-----------
+
+Reportez vous à la documentation en ligne pour effectuer la mise à jour:
+http://dev.dotclear.net/trac/wiki/DotClear/fr/Documentation/Upgrade
+
+Licence
+-------
+
+DotClear est un logiciel libre soumis à la license GPL (GNU General Public
+License).
+Voir le fichier COPYING pour plus de détails.

+ 1 - 0
dotclear/VERSION

@@ -0,0 +1 @@
+1.2.1

+ 118 - 0
dotclear/atom.php

@@ -0,0 +1,118 @@
+<?php
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of DotClear.
+# Copyright (c) 2004 Olivier Meunier and contributors. All rights
+# reserved.
+#
+# DotClear is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# DotClear is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with DotClear; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# ***** END LICENSE BLOCK *****
+require dirname(__FILE__).'/inc/prepend.php';
+require dirname(__FILE__).'/layout/lib.cache.php';
+
+require dirname(__FILE__).'/layout/class.xblog.php';
+require dirname(__FILE__).'/layout/class.xblogpost.php';
+require dirname(__FILE__).'/layout/class.xblogcomment.php';
+
+$type = (!empty($_GET['type']) && $_GET['type'] == 'co') ? 'co' : 'blog';
+$cat = (!empty($_GET['cat'])) ? $_GET['cat'] : '';
+$lang = (!empty($_GET['lang'])) ? $_GET['lang'] : '';
+
+# Connexion MySQL
+$con = new Connection(DB_USER,DB_PASS,DB_HOST,DB_DBASE);
+
+if ($con->error()) { exit; }
+
+# Création de l'objet de type weblog avec uniquement les billets
+# publiés
+$blog = new xblog($con,DB_PREFIX,1,dc_encoding);
+$blog->rs_blogpost = 'xblogpost';
+$blog->rs_blogcomment = 'xblogcomment';
+
+$blog->setURL('post','http://'.$_SERVER['HTTP_HOST'].dc_blog_url.dc_format_post_url);
+
+# Si type = co on fait un fil des commentaires
+if ($type == 'co')
+{
+	if (!empty($_GET['post'])) {
+		$comments = $blog->getComments($_GET['post'],'DESC');
+	} else {
+		$comments = $blog->getComments('','DESC',20);
+	}
+	
+	$title = dc_blog_name.' - Commentaires';
+	$ts = time();
+	$items = $seq = '';
+}
+else
+{
+	# Dernières nouvelles
+	$news = $blog->getLastNews(10,$cat,'post_dt DESC',false,$lang);
+	
+	$ts = strtotime($blog->getEarlierDate());
+	$title = dc_blog_name;
+}
+
+# Cache HTTP
+if (dc_http_cache && defined('DC_UPDATE_FILE_W') && DC_UPDATE_FILE_W)
+{
+	$mod_files = get_included_files();
+	$mod_files[] = DC_UPDATE_FILE;
+	$mod_files[] = dirname(__FILE__).'/conf/dotclear.ini';
+	
+	cache::http($mod_files);
+}
+
+header('Content-Type: text/xml; charset='.dc_encoding);
+echo '<?xml version="1.0" encoding="'.dc_encoding.'" ?>'."\n";
+/*
+echo '<?xml-stylesheet href="'.$rss_css.'" type="text/css"?>'."\n";
+//*/
+?>
+<feed xmlns="http://purl.org/atom/ns#" version="0.3"
+	  xmlns:dc="http://purl.org/dc/elements/1.1/"
+	  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
+	  xml:lang="<?php echo DC_LANG; ?>">
+
+  <title><?php echo $blog->toXML($title); ?></title>
+  <link rel="alternate" type="text/html" href="http://<?php echo $_SERVER['HTTP_HOST'].dc_blog_url; ?>"/>
+  <tagline type="text/plain" mode="escaped"><?php echo htmlspecialchars(dc_blog_desc); ?></tagline>
+  
+  <modified><?php echo dt::iso8601($ts); ?></modified>
+  <generator version="<?php echo DC_VERSION; ?>" url="http://www.dotclear.net/">DotClear</generator>
+  
+  <sy:updatePeriod>daily</sy:updatePeriod>
+  <sy:updateFrequency>1</sy:updateFrequency>
+  <sy:updateBase><?php echo dt::iso8601($ts); ?></sy:updateBase>
+  
+<?php
+if ($type == 'co')
+{
+	while(!$comments->EOF()) {
+		echo $comments->getAtomEntry(dc_short_feeds);
+		$comments->moveNext();
+	}
+}
+else
+{
+	while(!$news->EOF()) {
+		echo $news->getAtomEntry(dc_short_feeds);
+		$news->moveNext();
+	}
+}
+
+$con->close();
+?>
+</feed>

+ 1 - 0
dotclear/conf/.htaccess

@@ -0,0 +1 @@
+Deny from all

+ 1 - 0
dotclear/conf/UPDATE

@@ -0,0 +1 @@
+MAKE THIS FILE WRITABLE BY YOUR SERVER USER

+ 67 - 0
dotclear/conf/config.php

@@ -0,0 +1,67 @@
+<?php
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of DotClear.
+# Copyright (c) 2004 Olivier Meunier and contributors. All rights
+# reserved.
+#
+# DotClear is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# DotClear is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with DotClear; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# ***** END LICENSE BLOCK *****
+
+# Utilisateur MySQL
+define('DB_USER','riff.org');
+
+# Mot de passe MySQL
+define('DB_PASS','issu3qt2');
+
+# Nom de machine MySQL (généralement localhost)
+define('DB_HOST','sql.riff.org');
+
+# Nom de la base de données
+define('DB_DBASE','riff.org');
+
+# Préfixe à ajouter devant le nom de chaque table
+define('DB_PREFIX','dc_');
+
+# If your web hosting does not provide a valid DOCUMENT_ROOT you may
+# overide it here. DOCUMENT_ROOT will be relative of this file's path.
+# Current line is ok if you put dotclear in a folder in DOCUMENT_ROOT
+#
+#$_SERVER['DOCUMENT_ROOT'] = dirname(__FILE__).'/../../';
+
+# You may have to overide HTTP_HOST too, do it here
+#
+#$_SERVER['HTTP_HOST'] = myhost.tld;
+
+
+/* --------------------------------------------------------
+        Do not change anything below this line          
+          Ne rien changer après cette ligne
+-------------------------------------------------------- */
+
+
+
+
+
+
+
+
+
+
+
+if (!defined('CONF_ONLY')) {
+	require_once dirname(__FILE__).'/../inc/post_config.php';
+}
+?>

+ 67 - 0
dotclear/conf/config.php.in

@@ -0,0 +1,67 @@
+<?php
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of DotClear.
+# Copyright (c) 2004 Olivier Meunier and contributors. All rights
+# reserved.
+#
+# DotClear is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# DotClear is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with DotClear; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# ***** END LICENSE BLOCK *****
+
+# Utilisateur MySQL
+define('DB_USER','%%DB_USER%%');
+
+# Mot de passe MySQL
+define('DB_PASS','%%DB_PASS%%');
+
+# Nom de machine MySQL (généralement localhost)
+define('DB_HOST','%%DB_HOST%%');
+
+# Nom de la base de données
+define('DB_DBASE','%%DB_BASE%%');
+
+# Préfixe à ajouter devant le nom de chaque table
+define('DB_PREFIX','%%DB_PREFIX%%');
+
+# If your web hosting does not provide a valid DOCUMENT_ROOT you may
+# overide it here. DOCUMENT_ROOT will be relative of this file's path.
+# Current line is ok if you put dotclear in a folder in DOCUMENT_ROOT
+#
+#$_SERVER['DOCUMENT_ROOT'] = dirname(__FILE__).'/../../';
+
+# You may have to overide HTTP_HOST too, do it here
+#
+#$_SERVER['HTTP_HOST'] = myhost.tld;
+
+
+/* --------------------------------------------------------
+        Do not change anything below this line          
+          Ne rien changer après cette ligne
+-------------------------------------------------------- */
+
+
+
+
+
+
+
+
+
+
+
+if (!defined('CONF_ONLY')) {
+	require_once dirname(__FILE__).'/../inc/post_config.php';
+}
+?>

+ 126 - 0
dotclear/conf/dotclear.ini

@@ -0,0 +1,126 @@
+; ***** BEGIN LICENSE BLOCK *****
+; This file is part of DotClear.
+; Copyright (c) 2004 Olivier Meunier and contributors. All rights
+; reserved.
+;
+; DotClear is free software; you can redistribute it and/or modify
+; it under the terms of the GNU General Public License as published by
+; the Free Software Foundation; either version 2 of the License, or
+; (at your option) any later version.
+; 
+; DotClear is distributed in the hope that it will be useful,
+; but WITHOUT ANY WARRANTY; without even the implied warranty of
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+; GNU General Public License for more details.
+; 
+; You should have received a copy of the GNU General Public License
+; along with DotClear; if not, write to the Free Software
+; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+;
+; ***** END LICENSE BLOCK *****
+
+; ---------------------------------------------------------
+; Fichier de configuration de l'affichage du site
+; Ce fichier est modifié directement par le backend
+; mais vous pouvez aussi le modifier à la main 
+; ---------------------------------------------------------
+
+; Nom du weblog
+dc_blog_name = Riff Blog
+
+; Description courte du weblog (pour les fils RSS et Atom)
+dc_blog_desc = Music, sort of. And computing. And ...
+
+; URL vers le blog
+dc_blog_url = /index.php/
+
+; Emplacement de l'application (depuis la racine du site)
+dc_app_url = 
+
+; Chemin vers le fil RSS (depuis la racine du site)
+dc_blog_rss = /rss.php
+
+; Chemin vers le fil Atom (depuis la racine du site)
+dc_blog_atom = /atom.php
+
+; Chemin vers le fichier trackback
+dc_trackback_uri = /tb.php
+
+; URI vers le répertoire des images à uploader
+dc_img_url = /images/
+
+; Chemin des images. Si pas de "/" au début, depuis la racine du site Web,
+; sinon chemin complet.
+; Option commentée par défaut, à activer uniquement en cas de problème avec
+; le gestionnaire d'images
+;dc_img_path = dotclear/images/
+
+; Thème à utiliser
+dc_theme = default-en
+
+; Nombre de billets sur la première page et sur la première de chaque
+; catégorie
+dc_nb_post_per_page = 15
+
+; Permettre les commentaires
+dc_allow_comments = 1
+
+; Permettre les trackback
+dc_allow_trackbacks = 1
+
+; Publier directement les nouveaux commentaires
+dc_comments_pub = 0
+
+; Temps de vie (en jours) des commentaires et trackbacks (0 = infini)
+dc_comments_ttl = 0
+
+; Commentaires au format wiki ?
+dc_wiki_comments = 0
+
+; Utiliser les smilies dans les billets et les commentaires
+dc_use_smilies = 0
+
+; Notification par email des commentaires
+dc_comment_notification = 1
+
+; Format de la date
+dc_date_format = %A %e %B %Y
+
+; Format de l'heure
+dc_time_format = %H:%M
+
+; Décalage horaire global (entre -12 et 12)
+dc_time_delta = 0
+
+; Mode de reconnaissance des URL (path_info, query_string, get)
+dc_url_scan = path_info
+
+; Flux RSS et Atom au format court
+dc_short_feeds = 1
+
+; Activer le cache HTTP ?
+dc_http_cache = 1
+
+; Langue par défaut
+dc_default_lang = en
+
+; Taille maximum d'un fichier uploadé (en octets)
+; Note : vous ne pouvez pas dépasser la limite fixée par votre hébergeur
+;        ça ne servira à rien
+dc_upload_size = 251200
+
+; Format maximum d'une image largeur x hauteur
+; exemples : 600x600, 600, 600x, x600 (0 = sans limite)
+dc_max_img_size = 0x0
+
+; Afficher les prévisualisations
+dc_show_previews = 1
+
+; Envoyer Content-Type: application/xhtml+xml si possible ?
+; Attention : ne supporte aucune erreur de syntaxe XHTML
+; Laissez à 0 si vous ne savez pas.
+dc_send_real_xml = no
+
+; Encoding (ISO-8859-1 ou UTF-8 seulement)
+; Ne le changez pas indéfiniment, il faudrait reconvertir la base
+dc_encoding = ISO-8859-1

+ 7 - 0
dotclear/dc-themes/default/dc-desc.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<theme name="default" version="2.0" active="true">
+  <author>Maurice Svay</author>
+  
+  <label>Default Theme</label>
+  <desc>New default theme.</desc>
+</theme>

+ 61 - 0
dotclear/dc-themes/default/dc-form.notphp

@@ -0,0 +1,61 @@
+<?php
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of DotClear.
+# Copyright (c) 2004 Olivier Meunier and contributors. All rights
+# reserved.
+#
+# DotClear is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# DotClear is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with DotClear; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# ***** END LICENSE BLOCK *****
+?>
+<form action="<?php dcPostUrl(); ?>" method="post" id="comment-form">
+<fieldset>
+	<?php dcCommentFormError('<div class="error"><strong>Erreurs :</strong><br /> %s</div>'); ?>
+	<?php dcCommentFormMsg('<p class="msg"><strong>%s</strong></p>'); ?>
+	<p class="field"><label for="c_nom">Nom ou pseudo&nbsp;:</label>
+	<input name="c_nom" id="c_nom" type="text" size="30" maxlength="255"
+	value="<?php dcCommentFormValue('c_nom'); ?>" />
+	</p>
+
+	<p class="field"><label for="c_mail">Email (facultatif)&nbsp;:</label>
+	<input name="c_mail" id="c_mail" type="text" size="30" maxlength="255"
+	value="<?php dcCommentFormValue('c_mail'); ?>" />
+	</p>
+
+	<p class="field"><label for="c_site">Site Web (facultatif)&nbsp;:</label>
+	<input name="c_site" id="c_site" type="text" size="30" maxlength="255"
+	value="<?php dcCommentFormValue('c_site'); ?>" />
+	</p>
+	
+	<p class="field"><label for="c_content">Commentaire&nbsp;:</label>
+	<textarea name="c_content" id="c_content" cols="35" rows="7"><?php
+	dcCommentFormValue('c_content');
+	?></textarea>
+	</p>
+</fieldset>
+
+<p class="form-help">Le code HTML dans le commentaire sera affich&eacute; comme du texte,
+les adresses internet seront converties automatiquement.</p>
+
+<fieldset>	
+	<p><input type="checkbox" id="c_remember" name="c_remember" />
+	<label for="c_remember">Se souvenir de mes informations</label>
+	</p>
+	<p><input type="submit" class="preview" name="preview" value="pr&eacute;visualiser" />
+	<input type="submit" class="submit" value="envoyer" />
+	<input type="hidden" name="redir" value="<?php dcCommentFormRedir(); ?>" /></p>
+</fieldset>
+
+</form>

+ 51 - 0
dotclear/dc-themes/default/dc-list.notphp

@@ -0,0 +1,51 @@
+<?php
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of DotClear.
+# Copyright (c) 2004 Olivier Meunier and contributors. All rights
+# reserved.
+#
+# DotClear is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# DotClear is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with DotClear; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# ***** END LICENSE BLOCK *****
+?>
+
+
+<!-- Boucle sur la liste de billets -->
+<?php while ($news->fetch()) : ?>
+	<div class="post">
+		<?php dcDayDate('<p class="day-date">%s</p>'); ?>
+		
+		<h2 id="p<?php dcPostID(); ?>" class="post-title"><a
+		href="<?php dcPostURL(); ?>"><?php dcPostTitle(); ?></a></h2>
+		
+		<p class="post-info">Par <?php dcPostAuthor(); ?>,
+		<?php dcPostDate(); ?> &agrave; <?php dcPostTime(); ?>
+		<span>::</span> <a href="<?php dcPostCatURL(); ?>"><?php dcPostCatTitle(); ?></a>
+		</p>
+		
+		<div class="post-content" <?php dcPostLang(); ?>>
+			<?php dcPostAbstract('%s','<p><a href="%s" title="Lire %s">Lire la suite</a></p>'); ?>
+		</div>
+		
+		<p class="post-info-co"><a href="<?php dcPostURL(); ?>#co"
+		title="commentaires pour : <?php dcPostTitle(); ?>"><?php
+		dcPostNbComments('aucun commentaire','un commentaire','%s commentaires');
+		?></a>
+		<span>::</span> <a href="<?php dcPostURL(); ?>#tb"
+		title="trackbacks pour : <?php dcPostTitle(); ?>"><?php
+		dcPostNbTrackbacks('aucun trackback','un trackback','%s trackbacks');
+		?></a></p>
+	</div>
+<?php endwhile; ?>

+ 103 - 0
dotclear/dc-themes/default/dc-post.notphp

@@ -0,0 +1,103 @@
+<?php
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of DotClear.
+# Copyright (c) 2004 Olivier Meunier and contributors. All rights
+# reserved.
+#
+# DotClear is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# DotClear is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with DotClear; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# ***** END LICENSE BLOCK *****
+?>
+
+<div class="post">
+	<h2 class="post-title"><?php dcPostTitle(); ?></h2>
+	<p class="post-info">Par <?php dcPostAuthor(); ?>,
+	<?php dcPostDate(); ?> &agrave; <?php dcPostTime(); ?>
+	<span>::</span> <a href="<?php dcPostCatURL(); ?>"><?php dcPostCatTitle(); ?></a>
+	<span>::</span> <a href="<?php dcPostURL(); ?>"
+	title="Lien permanent vers : <?php dcPostTitle(); ?>">#<?php dcPostID(); ?></a>
+	<span>::</span> <a href="<?php dcInfo('rss'); ?>?type=co&amp;post=<?php dcPostID(); ?>"
+	title="fil RSS des commentaires de : <?php dcPostTitle(); ?>">rss</a>
+	</p>
+	
+	<?php dcPostChapo('<div class="post-chapo">%s</div>'); ?>
+	<div class="post-content"><?php dcPostContent(); ?></div>
+	
+	
+</div>
+
+<div id="trackbacks">
+	<h3 id="tb">Trackbacks</h3>
+	<?php if ($trackbacks->isEmpty()) : /* Message si aucune trackback */?>
+		<p>Aucun trackback.</p>
+	<?php endif; ?>
+	
+	<?php while ($trackbacks->fetch()) : /* Liste des trackbacks */
+		// On met le numéro du trackback dans une variable
+		$tb_num = $trackbacks->int_index+1;
+	?>
+		<p id="c<?php dcTBID(); ?>" class="comment-info">
+		<span class="comment-number"><a href="#c<?php dcTBID(); ?>"><?php echo $tb_num; ?>.</a></span>
+		Le <?php dcTBDate(); ?> &agrave;
+		<?php dcTBTime(); ?>, de
+		<strong><?php dcTBAuthor(); ?></strong></p>
+		
+		<?php /* on affiche le trackback */ ?>
+		<blockquote>
+		<?php dcTBContent(); ?>
+		</blockquote>
+	<?php endwhile; ?>
+	
+	
+	<?php /*Le lien pour ajouter un trackback si ceux-ci sont autorisés*/ ?>
+	<?php if (dcPostOpenTrackbacks() && dc_allow_trackbacks) : ?>
+		<p>Pour faire un trackback sur ce billet&nbsp;:
+		<?php echo dcPostTrackBackURI(); ?></p>
+	<?php else: ?>
+		<p>Les trackbacks pour ce billet sont ferm&eacute;s.</p>
+	<?php endif; ?>
+</div>
+	
+<div id="comments">
+	<h3 id="co">Commentaires</h3>
+	<?php if ($comments->isEmpty()) : /* Message si aucune commentaire */	?>
+		<p>Aucun commentaire pour le moment.</p>
+	<?php endif; ?>
+	
+	<?php while ($comments->fetch()) : /* Boucle de commentaires */
+		// On met le numéro du commentaire dans une variable
+		$co_num = $comments->int_index+1;
+	?>
+		<p id="c<?php dcCommentID(); ?>" class="comment-info">
+		<span class="comment-number"><a href="#c<?php dcCommentID(); ?>"><?php echo $co_num; ?>.</a></span>
+		Le <?php dcCommentDate(); ?> &agrave;
+		<?php dcCommentTime(); ?>, par
+		<strong><?php dcCommentAuthor(); ?></strong></p>
+		
+		<?php /* on affiche le commentaire */ ?>
+		<blockquote>
+		<?php dcCommentContent(); ?>
+		</blockquote>
+	<?php endwhile; ?>
+	
+	<h3>Ajouter un commentaire</h3>
+	<?php if (dcPostOpenComments() && dc_allow_comments) : /* Si les commentaires sont permis */?>
+		<?php if (dc_allow_comments) : /* Si les commentaires sont permis */?>
+			<?php include dirname(__FILE__).'/form.php'; ?>
+		<?php endif; ?>
+	<?php else : ?>
+		<p>Les commentaires pour ce billet sont ferm&eacute;s.</p>
+	<?php endif; ?>
+</div>

+ 31 - 0
dotclear/dc-themes/default/dc-prepend.notphp

@@ -0,0 +1,31 @@
+<?php
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of DotClear.
+# Copyright (c) 2004 Olivier Meunier and contributors. All rights
+# reserved.
+#
+# DotClear is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# DotClear is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with DotClear; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# ***** END LICENSE BLOCK *****
+
+# Change here the template lang
+//$__lang = 'fr';
+
+# Ajout des fichiers du template pour le cache
+$mod_files[] = dirname(__FILE__).'/list.php';
+$mod_files[] = dirname(__FILE__).'/post.php';
+$mod_files[] = dirname(__FILE__).'/form.php';
+
+?>

+ 149 - 0
dotclear/dc-themes/default/dc-template.notphp

@@ -0,0 +1,149 @@
+<?php
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of DotClear.
+# Copyright (c) 2004 Olivier Meunier and contributors. All rights
+# reserved.
+#
+# DotClear is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# DotClear is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with DotClear; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# ***** END LICENSE BLOCK *****
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php dcInfo('lang'); ?>"
+lang="<?php dcInfo('lang'); ?>">
+<head>
+	<meta http-equiv="Content-Type"
+	content="text/html; charset=<?php dcInfo('encoding'); ?>" />
+	<meta name="MSSmartTagsPreventParsing" content="TRUE" />
+	<?php dcHeadLinks(); ?>
+	<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php dcInfo('rss'); ?>" />
+	<link rel="alternate" type="application/xml" title="Atom" href="<?php dcInfo('atom'); ?>" />
+	<meta name="DC.title" content="<?php dcInfo(); ?>" />
+	<title><?php dcSinglePostTitle('%s - '); dcSingleCatTitle('%s - ');
+	dcSingleMonthTitle('%s - '); dcCustomTitle('%s - '); dcInfo(); ?></title>
+	
+	<link rel="stylesheet" type="text/css" href="<?php dcInfo('theme'); ?>/style.css" media="screen" />
+	<?php dcPostTrackbackAutoDiscovery(); ?>
+</head>
+
+<body>
+
+<div id="page">
+
+<div id="top">
+	<h1><a href="<?php dcInfo('url'); ?>"><?php dcInfo(); ?></a></h1>
+</div>
+
+<p id="prelude"><a href="#main">Aller au contenu</a> |
+<a href="#sidebar">Aller au menu</a> |
+<a href="#search">Aller &agrave; la recherche</a></p>
+
+<div id="main">
+	<div id="content">
+	<?php if ($err_msg != '') : /* Si on a une quelconque erreur, on l'affiche */?>
+		<div class="error"><strong>Erreur : </strong>
+		<?php echo $err_msg; ?></div>
+	
+	<?php elseif ($preview) : /* Si on demande la prévisualisation d'un commentaire */?>
+		<h3>Commentaire pour <?php dcPostTitle(); ?></h3>
+		<div id="comment-preview">
+			<blockquote>
+			<?php dcCommentPreview(); ?>
+			</blockquote>
+		</div>
+		
+		<h3>Changer le commentaire</h3>
+		<?php include dirname(__FILE__).'/form.php'; ?>
+		
+	<?php elseif ($mode != 'post') : /* Si aucune erreur et mode != post on affiche une liste de billets */?>
+		<?php # Phrase affiché en cas de recherche (%s est le mot cherché)
+		dcSearchString('<p>R&eacute;sultats de votre recherche de <em>%s</em>.</p>');
+		?>
+		
+		<?php include dirname(__FILE__).'/list.php'; ?>
+		
+	<?php else : /* Sinon, mode = post, donc billet unique (avec commentaires et tout le reste)*/?>
+		<?php include dirname(__FILE__).'/post.php'; ?>
+	<?php endif; ?>
+	
+	</div>
+</div>
+
+<div id="sidebar">
+	<div id="calendar">
+	<h2>Calendrier</h2>
+	<?php #Affichage du calendrier
+	dcCalendar('<table summary="Calendrier">%s</table>'); ?>
+	<span></span>
+	</div>
+	
+	<div id="search">
+		<form action="<?php dcInfo('search'); ?>" method="get">
+		
+			<h2><label for="q">Rechercher</label></h2>
+			<p class="field"><input name="q" id="q" type="text" size="10"
+			value="<?php dcSearchString(); ?>" accesskey="4" />
+			<input type="submit" class="submit" value="ok" /></p>
+		
+		</form>
+	</div>
+	
+	<?php /* Affichage du blog "selection uniquement si des billets sont
+		présents */ ?>
+	<?php dcSelection('<div id="selection"><h2>&Agrave; retenir</h2><ul>%s</ul></div>'); ?>
+	
+	<?php dcLangList('<div id="languages"><h2>Langues</h2><ul>%s</ul></div>'); ?>
+	
+	<div id="categories">
+		<h2>Cat&eacute;gories</h2>
+		<?php dcCatList(); ?>
+	</div>
+	
+	<div id="archives">
+		<h2>Archives</h2>
+		<?php dcMonthsList(); ?>
+	</div>
+	
+	<div id="links">
+		<h2>Liens</h2>
+		<?php dcBlogroll::linkList(); ?>
+	</div>
+	
+	<div id="syndicate">
+	<h2>Syndication</h2>
+	<ul>
+		<li><a href="<?php dcInfo('rss'); ?>">fil rss</a></li>
+		<li><a href="<?php dcInfo('rss'); ?>?type=co">fil rss commentaires</a></li>
+		<li><a href="<?php dcInfo('atom'); ?>">fil atom</a></li>
+		<li><a href="<?php dcInfo('atom'); ?>?type=co">fil atom commentaires</a></li>
+	</ul>
+	</div>
+</div>
+
+<p id="footer"><a href="http://www.dotclear.net/">
+propuls&eacute; par DotClear</a>, <script type="text/javascript" src="http://technorati.com/embed/ayectx2b3s.js"> </script></p>.
+
+</div> <!-- end #page -->
+
+<!-- Blocs en plus pour ajouter des images en tout genre si besoin -->
+<div id="block1"><span></span></div><div id="block2"><span></span></div>
+<div id="block3"><span></span></div><div id="block4"><span></span></div>
+<div id="block5"><span></span></div><div id="block6"><span></span></div>
+<?php
+require( bbclone::counter() );
+?>
+</body>
+</html>

BIN
dotclear/dc-themes/default/img/day-date.png


BIN
dotclear/dc-themes/default/img/page.png


BIN
dotclear/dc-themes/default/img/q.png


BIN
dotclear/dc-themes/default/img/top.png


+ 20 - 0
dotclear/dc-themes/default/layout-gauche.notcss

@@ -0,0 +1,20 @@
+#main{
+	float: right;
+	width: 520px;
+}
+
+#content{
+	margin: 0 30px 0 0;
+	padding: 1em 0 0 0;
+}
+
+#sidebar{
+	float: left;
+	width: 240px;
+	padding-bottom: 4em;
+}
+
+#sidebar div{
+	margin: 0 0 0 30px;
+	padding: 1ex 1em;
+}

+ 59 - 0
dotclear/dc-themes/default/layout.notcss

@@ -0,0 +1,59 @@
+html, body{
+	margin: 0;
+	padding: 0;
+	text-align: center;
+}
+
+#page{
+	width: 780px;
+	margin: 4em auto;
+	text-align: left;
+}
+
+#top{
+	margin: 0;
+}
+
+#top h1{
+	margin: 0;
+}
+
+#prelude{
+	position: absolute;
+	width: 780px;
+	top: 7px;
+	left: 50%;
+	margin: 0 0 0 -390px;
+	padding: 0 1ex;
+}
+
+#main{
+	float: left;
+	width: 520px;
+}
+
+#content{
+	margin: 0 0 0 30px;
+	padding: 1em 0 0 0;
+}
+
+.post{
+	margin-bottom: 4em;
+}
+
+#sidebar{
+	float: right;
+	width: 240px;
+	padding-bottom: 4em;
+}
+
+#sidebar div{
+	margin: 0 30px 0 0;
+	padding: 1ex 1em;
+}
+
+#footer{
+	padding: 1ex 1em 1ex 1em;
+	margin : 0;
+	clear: both;
+}

BIN
dotclear/dc-themes/default/smilies/alien.png


BIN
dotclear/dc-themes/default/smilies/angry.png


BIN
dotclear/dc-themes/default/smilies/arrow.png


BIN
dotclear/dc-themes/default/smilies/confused.png


BIN
dotclear/dc-themes/default/smilies/cool.png


BIN
dotclear/dc-themes/default/smilies/cry.png


BIN
dotclear/dc-themes/default/smilies/dizzy.png


BIN
dotclear/dc-themes/default/smilies/eek.png


BIN
dotclear/dc-themes/default/smilies/evil.png


BIN
dotclear/dc-themes/default/smilies/exclam.png


BIN
dotclear/dc-themes/default/smilies/idea.png


BIN
dotclear/dc-themes/default/smilies/laugh.png


BIN
dotclear/dc-themes/default/smilies/lol.png


BIN
dotclear/dc-themes/default/smilies/mrgreen.png


BIN
dotclear/dc-themes/default/smilies/normal.png


BIN
dotclear/dc-themes/default/smilies/question.png


BIN
dotclear/dc-themes/default/smilies/razz.png


BIN
dotclear/dc-themes/default/smilies/redface.png


BIN
dotclear/dc-themes/default/smilies/rolleyes.png


BIN
dotclear/dc-themes/default/smilies/sad.png


BIN
dotclear/dc-themes/default/smilies/smile.png


+ 17 - 0
dotclear/dc-themes/default/smilies/smilies.txt

@@ -0,0 +1,17 @@
+:-)		smile.png
+:)		smile.png
+;-)		wink.png
+;)		wink.png
+:-/		confused.png
+:-|		normal.png
+LOL		lol.png
+:-D		laugh.png
+:(		sad.png
+:-(		sad.png
+:-C		angry.png
+8-)		cool.png
+:-o		surprised.png
+:-O		surprised.png
+;-(		cry.png
+;('		cry.png
+8-O		eek.png

BIN
dotclear/dc-themes/default/smilies/surprised.png


BIN
dotclear/dc-themes/default/smilies/wink.png


+ 312 - 0
dotclear/dc-themes/default/style.notcss

@@ -0,0 +1,312 @@
+/* ***** BEGIN LICENSE BLOCK *****
+ * This file is part of DotClear.
+ * Copyright (c) 2004 Maurice Svay and contributors. All rights
+ * reserved.
+ *
+ * DotClear is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * 
+ * DotClear is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with DotClear; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *
+ * ***** END LICENSE BLOCK *****
+ *
+ * Contributor(s):
+ *  Maurice Svay
+ */
+
+/* Ce fichier définit le style visuel pour les différents éléments du blog.
+ * Dans l'ordre, vous trouverez les règles qui définissent l'apparence pour:
+ * - les éléments HTML en général
+ * - la page
+ * - l'entête
+ * - le prélude
+ * - le contenu
+ * - la barre de navigation
+ * - le pied de page
+ *
+ * L'agengement des blocs est défini dans le fichier layout.css
+ * Pour mettre la barre de navigation à gauche, décommentez l'appel à 
+ * layout-gauche.css
+ */
+
+@import "layout.css";
+/* @import "layout-gauche.css"; */
+ 
+/* Les éléments HTML en général
+-------------------------------------------------------- */
+body{
+	background: #EEE;
+	color: #000;
+	font-size: 80%;
+	line-height: 1.6em;
+	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+	border-top: 10px solid #DDD;
+}
+
+h1, h2, h3, h4, h5, h6{
+	font-family: "Trebuchet MS", sans-serif;
+}
+
+h1{font-size: 1.5em;}
+h2{font-size: 1.4em;}
+h3{font-size: 1.3em;}
+h4{font-size: 1.2em;}
+h5{font-size: 1.1em;}
+h6{font-size: 1em;}
+
+pre, code{
+	font-size: 1.2em;
+}
+
+pre{
+	width: 100%;
+	overflow: auto;
+	border: 1px solid #CCC;
+}
+
+fieldset{
+	border: none;
+}
+
+label{
+	cursor: pointer;
+	cursor: hand;
+}
+
+.field label{
+	display: block;
+}
+
+input,textarea{
+	border: 1px solid #999;
+}
+
+textarea{
+	width: 100%;
+	font-size: 1em;
+	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+}
+
+a{
+	color: #000;
+}
+
+a:visited{
+	color: #663;
+}
+
+a:hover{
+	color: #636;
+}
+
+.left{
+	float: left;
+	margin-right: 1em;
+}
+
+.right{
+	float: right;
+	margin-left: 1em;
+}
+
+/* La page
+-------------------------------------------------------- */
+#page{
+	background: #fff url(img/page.png) repeat-y center top;
+	color: inherit;
+}
+ 
+/* L'entête
+-------------------------------------------------------- */
+#top{
+	height: 120px;
+	/*padding-top: 20px;*/
+	background: #FFF url(img/top.png) no-repeat left top;
+}
+
+#top h1{
+	height: 80px;
+	line-height: 80px;
+	margin: 0 0 0 40px;
+	padding-top: 20px;
+	color: #FFFFFF;
+}
+
+#top h1 a{
+	text-decoration: none;
+	color: #FFFFFF;
+}
+
+/* Le prélude
+-------------------------------------------------------- */ 
+#prelude{
+	background: transparent;
+	color: #DFDFDF;
+	text-align: center;
+}
+
+#prelude a{
+	color: #DFDFDF;
+	background: transparent;
+}
+
+#prelude a:hover{
+	color: #666;
+	background: transparent;
+}
+
+/* Le contenu
+-------------------------------------------------------- */
+.day-date{
+	padding-left: 20px;
+	margin-left: -25px;
+	color: #888;
+	background: transparent url(img/day-date.png) no-repeat left center;
+	font-style: italic;
+}
+
+.post-title{
+	color: #F90;
+	background: transparent;
+	margin-bottom: 0;
+}
+
+.post-title a{
+	color: #F90;
+	background: transparent;
+	text-decoration: none;
+}
+
+.post-info{
+	margin-top: 0;
+	color: #FA0;
+	background: transparent;
+	padding-bottom: 1ex;
+	/*border-bottom: 1px solid #FC0;*/
+}
+
+.post-info a{
+	color: #FA0;
+	background: transparent;
+	text-decoration: none;
+}
+
+.post-content{
+	text-align: justify;
+}
+
+.post-content blockquote{
+	font-family: Georgia, serif;
+	font-style: italic;
+}
+
+.post-info-co{
+	text-align: right;
+}
+
+#trackbacks blockquote, #comments blockquote{
+	border: 1px solid #EEE;
+	margin: 1em 0;
+	padding: 1ex 1em;
+}
+
+/* La barre de navigation
+-------------------------------------------------------- */
+#sidebar div{
+	border-bottom: 1px solid #F0F0F0;
+	color: inherit;
+}
+
+#sidebar div ul{
+	margin: 0;
+	padding: 0;
+	list-style: none;
+}
+
+#sidebar h2, #sidebar h3{
+	color: #9ED200;
+	margin: 0 0 1ex 0;
+}
+
+#sidebar h3{
+	font-size: 1em;
+	margin: 0;
+}
+
+#sidebar div#search{
+	background: transparent;
+	color: inherit;
+	line-height: 2.3em;
+}
+
+#search fieldset, #search p{
+	margin: 0;
+	padding: 0;
+}
+
+#q{
+	padding-left: 18px;
+	background: #fff url(img/q.png) no-repeat 4px center;
+}
+
+#sidebar div#calendar{
+	/*border-top: 1px solid #F0F0F0;*/
+}
+
+#sidebar div#calendar table{
+	font-size: 0.8em;
+	text-align: center;
+	margin: 0 auto;
+	border-collapse: collapse;
+}
+
+#sidebar div#calendar table caption{
+	margin: 0 auto;
+}
+
+#sidebar div#calendar table th{
+	color: #493;
+	background: transparent;
+}
+
+#sidebar div#calendar table td{
+	width: 14%;
+	line-height: 2em;
+	border: 1px solid #EEE;
+}
+
+#sidebar div#calendar table td a{
+	display: block;
+	background: #EFA;
+	color: #493;
+	font-weight: bold;
+	text-decoration: none;
+}
+
+#sidebar div#calendar table td a:hover{
+	background: #DBB8DC;
+	color: #636;
+}
+
+/* Le pied de page
+-------------------------------------------------------- */
+#footer{
+	margin: 0;
+	padding: 1em;
+	border-top: 1px solid #CCC;
+	background: #EEE;
+	color: #666;
+}
+
+#footer a{
+	color: #999;
+}

+ 112 - 0
dotclear/ecrire/auth.php

@@ -0,0 +1,112 @@
+<?php
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of DotClear.
+# Copyright (c) 2004 Olivier Meunier and contributors. All rights
+# reserved.
+#
+# DotClear is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# DotClear is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with DotClear; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# ***** END LICENSE BLOCK *****
+ 
+$do_auth = true;
+
+require dirname(__FILE__).'/inc/prepend.php';
+
+if(!empty($_POST['user_id']) && !empty($_POST['user_pwd']))
+{
+	$user_id = $_POST['user_id'];
+	$user_remember = !empty($_POST['user_remember']) ? true : false;
+	
+	if($auth->perform($user_id,$_POST['user_pwd'],1,true,$user_remember))
+	{
+		$_SESSION['sess_user_id'] = $user_id;
+		
+		$redir = 'index.php';
+		
+		if (!empty($_SESSION['sess_auth_from']))
+		{
+			if ($_SESSION['sess_auth_from'] != $_SERVER['REQUEST_URI']) {
+				$redir = $_SESSION['sess_auth_from'];
+			}
+			unset($_SESSION['sess_auth_from']);
+		}
+		header('Location: '.$redir);
+		exit;
+	}
+	else
+	{
+		$err = __('Login failed. Please try again.');
+	}
+}
+else
+{
+	$user_id = '';
+}
+
+header('Content-Type: text/html; charset='.dc_encoding);
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+xml:lang="<?php echo DC_LANG; ?>" lang="<?php echo DC_LANG; ?>">
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=<?php echo dc_encoding; ?>" />
+  <meta http-equiv="Content-Script-Type" content="text/javascript" />
+  <meta http-equiv="Content-Style-Type" content="text/css" />
+  <meta http-equiv="Content-Language" content="<?php echo DC_LANG; ?>" />
+  <title><?php echo dc_blog_name; ?> - DotClear</title>
+  <style type="text/css">
+  @import url(style/default.css); 
+  </style>
+
+</head>
+<body>
+
+
+<div style="text-align:center;">
+<h1><img src="images/logo.png" alt="dotclear" /></h1>
+
+<form action="auth.php" method="post">
+<div class="login">
+<?php
+if(!empty($err))
+{
+	echo '<p><strong>'.$err.'</strong></p>';
+}
+?>
+
+<p><label for="user_id"><strong><?php echo __('Login'); ?> :</strong></label>
+<input name="user_id" id="user_id" type="text" maxlength="32"
+value="<?php echo $user_id; ?>" tabindex="1"/></p>
+
+<p><label for="user_pwd"><strong><?php echo __('Password'); ?> :</strong></label>
+<input name="user_pwd" id="user_pwd" type="password" tabindex="2" /></p>
+
+<p><input type="checkbox" id="user_remember" name="user_remember" value="1" />
+<label class="inline" for="user_remember"><?php echo __('Remember me'); ?></label></p>
+
+<p><input class="submit" type="submit" value="<?php echo __('ok'); ?>" /></p>
+
+<p><?php echo __('You must accept cookies in order to use the private area.'); ?></p>
+
+</div>
+</form>
+</div>
+
+<script type="text/javascript">
+document.forms[0]['user_id'].focus();
+</script>
+
+</body>
+</html>

+ 147 - 0
dotclear/ecrire/cat_list.php

@@ -0,0 +1,147 @@
+<?php
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of DotClear.
+# Copyright (c) 2004 Olivier Meunier and contributors. All rights
+# reserved.
+#
+# DotClear is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# DotClear is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with DotClear; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# ***** END LICENSE BLOCK *****
+
+require dirname(__FILE__).'/inc/prepend.php';
+
+$auth->check(5);
+
+include dirname(__FILE__).'/inc/connexion.php';
+
+$err = '';
+
+# Reord
+if (!empty($_GET['reord']))
+{
+	if ($blog->reordCats(false,true) === false) {
+		$err = $blog->error(1);
+	} else {
+		header('Location: cat_list.php');
+		exit;
+	}
+}
+
+# Classic ord
+if (isset($_POST['catOrd']) && is_array($_POST['catOrd']))
+{
+	if ($blog->ordCats($_POST['catOrd']) === false) {
+		$err = $blog->error(1);
+	} else {
+		header('Location: cat_list.php');
+		exit;
+	}
+}
+
+# DragNdrop
+if (!empty($_POST['dndSort']))
+{
+	$catOrd = array();
+	foreach (explode(';',$_POST['dndSort']) as $k => $v) {
+		$catOrd[substr($v,3)] = $k;
+	}
+	
+	if ($blog->ordCats($catOrd) === false) {
+		$err = $blog->error(1);
+	} else {
+		header('Location: cat_list.php');
+		exit;
+	}
+}
+
+$mySubMenu->addItem('<strong>'.__('New category').'</strong>','categorie.php','images/ico_new.png',false);
+
+openPage(__('Categories list'),
+'  <script type="text/javascript" src="js/drag.js"></script>'.
+'  <script type="text/javascript" src="js/dragsort.js"></script>'.
+'  <script type="text/javascript">'."\n".
+'  if (document.getElementById) { '."\n".
+'    window.onload = function() { '."\n".
+'    dragSort.dest = document.getElementById(\'dndSort\');'."\n".
+'    dragSort.makeElementSortable(document.getElementById(\'sortcat\'));'."\n".
+'    };'."\n".
+'  }'."\n".
+'</script>');
+?>
+<h2><?php echo __('Categories list'); ?></h2>
+
+<?php
+if ($err != '')
+{
+	echo '<div class="erreur"><p><strong>'.__('Error(s)').' :</strong></p>'.
+		$err.'</div>';
+}
+
+$rsCat = $blog->getCat('','cat_ord');
+
+if ($rsCat->isEmpty())
+{
+	echo '<p>'.__('No category yet').'</p>';
+}
+else
+{
+	echo '<p>'.__('Drag items to change their positions.').'</p>';
+	echo '<form action="cat_list.php" method="post">';
+	
+	echo '<div id="sortcat">';
+	while(!$rsCat->EOF())
+	{
+		$cat_id = $rsCat->field('cat_id');
+		$cat_ord = $rsCat->field('cat_ord');
+		$cat_libelle = $rsCat->field('cat_libelle');
+		$cat_nb_post = (integer) $rsCat->field('nb_post');
+		
+		echo
+		'<div class="sort" id="dnd'.$cat_id.'">'.
+		'<p><strong><a href="categorie.php?cat_id='.$cat_id.'">'.
+		$cat_libelle.'</a></strong> - ';
+		
+		if ($cat_nb_post > 0)
+		{
+			echo '<a href="index.php?cat_id='.$cat_id.'">'.
+			(($cat_nb_post>1) ? sprintf(__('%d entries'),$cat_nb_post) : sprintf(__('%d entry'),$cat_nb_post)).
+			'</a>';
+		}
+		else
+		{
+			echo '<a href="categorie.php?cat_id='.$cat_id.'&amp;del=1" '.
+			' onclick="return window.confirm(\''.__('Are you sure you want to delete this category?').'\')">'.
+			__('delete').'</a>';
+		}
+		
+		echo
+		'</p>'.
+		'<p class="nojsfield"><label for="catOrd'.$cat_id.'" class="inline">'.__('Position').' : </label>'.
+		form::field(array('catOrd['.$cat_id.']','catOrd'.$cat_id),3,3,$cat_ord).'</p>'.
+		'</div>';
+		
+		$rsCat->moveNext();
+	}
+	
+	echo
+	'</div>'.
+	'<p><input type="hidden" id="dndSort" name="dndSort" value="" />'.
+	'<input type="submit" class="submit" value="'.__('save order').'" /></p>'.
+	'</form>';
+	
+	echo '<p><a href="cat_list.php?reord=1">'.__('Reorder categories').'</a></p>';
+}
+?>
+<?php closePage(); ?>

+ 122 - 0
dotclear/ecrire/categorie.php

@@ -0,0 +1,122 @@
+<?php
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of DotClear.
+# Copyright (c) 2004 Olivier Meunier and contributors. All rights
+# reserved.
+#
+# DotClear is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# DotClear is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with DotClear; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# ***** END LICENSE BLOCK *****
+
+require dirname(__FILE__).'/inc/prepend.php';
+
+$auth->check(5);
+
+include dirname(__FILE__).'/inc/connexion.php';
+
+$err = '';
+$cat_libelle = '';
+$cat_libelle_url = '';
+$cat_desc = '';
+
+# Edition d'une catégorie
+if (!empty($_REQUEST['cat_id']))
+{
+	$rsCat = $blog->getCat($_REQUEST['cat_id']);
+	
+	$cat_libelle = $rsCat->field('cat_libelle');
+	$cat_libelle_url = $rsCat->field('cat_libelle_url');
+	$cat_desc = $rsCat->field('cat_desc');
+	$cat_id = $rsCat->field('cat_id');
+	
+	# Suppression
+	if (!empty($_GET['del']))
+	{
+		if ($blog->delCat($cat_id) !== false) {
+			$msg = __('Category has been deleted');
+			header('Location: cat_list.php?msg='.rawurlencode($msg));
+			exit;
+		} else {
+			$msg = __('Cannot delete category');
+			header('Location: cat_list.php?msg='.rawurlencode($msg));
+		}
+	}
+	
+	# Modification
+	if (!empty($_POST['submit']) && $cat_id)
+	{
+		$cat_libelle = $_POST['cat_libelle'];
+		$cat_libelle_url = $_POST['cat_libelle_url'];
+		$cat_desc = $_POST['cat_desc'];
+		
+		if ($blog->updCat($cat_id,$cat_libelle,$cat_desc,$cat_libelle_url) !== false) {
+			$msg = __('Category has been updated');
+			header('Location: cat_list.php?msg='.rawurlencode($msg));
+			exit;
+		} else {
+			$err = $blog->error(1);
+		}
+	}
+}
+# Ajout d'une catégorie
+elseif (!empty($_POST['submit']))
+{
+	$cat_libelle = $_POST['cat_libelle'];
+	$cat_libelle_url = $_POST['cat_libelle_url'];
+	$cat_desc = $_POST['cat_desc'];
+	
+	if ($blog->addCat($cat_libelle,$cat_desc,$cat_libelle_url) !== false) {
+			$msg = __('Category has been created');
+			header('Location: cat_list.php?msg='.rawurlencode($msg));
+			exit;
+		} else {
+			$err = $blog->error(1);
+		}
+}
+
+openPage(__('Category'));
+
+if ($err != '')
+{
+	echo '<div class="erreur"><p><strong>'.__('Error(s)').' :</strong></p>'.
+		$err.'</div>';
+}
+
+echo
+'<p><strong><a href="cat_list.php">'.__('Back').'</a></strong></p>'.
+'<h2>'.__('Category').'</h2>'.
+
+'<form action="categorie.php" method="post">'.
+'<p><label for="cat_libelle"><strong>'.__('Title').'&nbsp;: </strong> '.
+helpLink('category','title').'</label>'.
+form::field('cat_libelle',40,255,$cat_libelle,'','class="max"').'</p>'.
+
+'<p><label for="cat_libelle_url"><strong>'.__('URLed title').'</strong>&nbsp;: '.
+helpLink('category','title_url').' <a href="#" '.
+'onclick="document.forms[0].cat_libelle_url.value=str2url(document.forms[0].cat_libelle.value,\''.dc_encoding.'\',1); return false;">'.
+__('Use').'</a></label>'.
+form::field('cat_libelle_url',40,255,$cat_libelle_url,'','class="max"').'</p>'.
+
+'<p><label for="cat_desc">'.__('Description').' ('.__('optional').')&nbsp;: '.
+helpLink('category','description').'</label>'.
+form::textArea('cat_desc',60,8,htmlspecialchars($cat_desc),'','class="max"').
+'</p>'.
+
+'<p><input class="submit" type="submit" name="submit" value="'.__('save').'" />'.
+((!empty($cat_id)) ? form::hidden('cat_id',$cat_id) : '').
+'</p>'.
+'</form>';
+
+closePage(); ?>

+ 163 - 0
dotclear/ecrire/comment.php

@@ -0,0 +1,163 @@
+<?php
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of DotClear.
+# Copyright (c) 2004 Olivier Meunier and contributors. All rights
+# reserved.
+#
+# DotClear is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# DotClear is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with DotClear; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# ***** END LICENSE BLOCK *****
+
+require dirname(__FILE__).'/inc/prepend.php';
+
+$auth->check(1);
+
+include dirname(__FILE__).'/inc/connexion.php';
+
+$err = '';
+$is_editable = false;
+$comment_id = '';
+$comment_dt = '';
+$comment_auteur = '';
+$comment_email = '';
+$comment_site = '';
+$comment_content = '';
+$comment_pub = '';
+$comment_ip = '';
+$post_titre = '';
+$post_id = '';
+$user_id = '';
+
+if (!empty($_REQUEST['comment_id']))
+{
+	$comment = $blog->getComment($_REQUEST['comment_id']);
+	
+	if ($comment->isEmpty()) {
+		$err = '<ul><li>'.__('No comment yet.').'</li></ul>';
+	} else {
+		$comment_id = $comment->f('comment_id');
+		$comment_ldate = dt::str(__('On %A %e %B %Y, %I:%M %p'),$comment->getTS());
+		$comment_auteur = $comment->f('comment_auteur');
+		$comment_email = $comment->f('comment_email');
+		$comment_site = $comment->f('comment_site');
+		$comment_content = $comment->f('comment_content');
+		$comment_pub = (integer) $comment->f('comment_pub');
+		$comment_ip = $comment->f('comment_ip');
+		$post_titre = $comment->f('post_titre');
+		$post_id = $comment->f('post_id');
+		
+		if ($comment->f('user_id') == $_SESSION['sess_user_id'] || $_SESSION['sess_user_level'] == 9)
+		{
+			$is_editable = true;
+		}
+	}
+}
+
+# On arrête tout si le commentaire est pas éditable
+if (!$is_editable)
+{
+	$err = '<ul><li>'.__('You are not allowed to edit a comment').'</li></ul>';
+}
+
+# Modification du commentaire
+if (!empty($_POST['update']) && $is_editable)
+{
+	$comment_auteur = $_POST['c_auteur'];
+	$comment_email = $_POST['c_email'];
+	$comment_site = preg_replace('|^http://|','',$_POST['c_site']);
+	$comment_content = $_POST['c_content'];
+	$comment_pub = $_POST['c_pub'];
+	
+	if ($blog->updComment($comment_id,$comment_auteur,$comment_email,
+	$comment_site,$comment_content,$comment_pub) !== false) {
+		header('Location: poster.php?post_id='.$post_id.'#c'.$comment_id);
+		exit;
+	} else {
+		$err = $blog->error(1);
+	}	
+}
+
+# Suppression du commentaire
+if (!empty($_POST['delete']) && $is_editable)
+{
+	if ($blog->delComment($comment_id) !== false) {
+		header('Location: poster.php?post_id='.$post_id.'#comments');
+		exit;
+	} else {
+		$err = $blog->error(1);
+	}
+}
+
+if ($comment_id)
+{
+	$mySubMenu->addItem(
+		__('XHTML validation'),
+		array('validpost.php?co_id='.$comment_id,'onclick="popup(this.href); return false;"'),
+		'images/ico_ok.png',false);
+}
+
+openPage(__('Comment'));
+
+if ($err != '')
+{
+	echo '<div class="erreur"><p><strong>'.__('Error(s)').' :</strong></p>'.
+		$err.'</div>';
+}
+
+if ($is_editable)
+{
+?>
+
+<h2><?php echo __('Edit a comment'); ?></h2>
+
+<p><strong><?php echo __('Entry'); ?> :</strong>
+<a href="poster.php?post_id=<?php echo $post_id; ?>"><?php echo $post_titre; ?></a></p>
+
+<form action="comment.php" method="post">
+<p class="field"><label class="float" for="c_auteur"><?php echo __('Name'); ?>&nbsp;:</label>
+<?php echo form::field('c_auteur',30,255,htmlspecialchars($comment_auteur)); ?></p>
+
+<p class="field"><label class="float" for="c_email"><?php echo __('Email'); ?>&nbsp;:</label>
+<?php echo form::field('c_email',30,255,htmlspecialchars($comment_email)); ?></p>
+
+<p class="field"><label class="float" for="c_site"><?php echo __('Site'); ?>&nbsp;:</label>
+<?php echo form::field('c_site',30,255,'http://'.htmlspecialchars($comment_site)); ?></p>
+
+<p class="field"><span class="label">@IP&nbsp;:</span>
+<span><?php echo $comment_ip; ?></span></p>
+
+<p class="field"><span class="label"><?php echo __('Date'); ?>&nbsp;:</span>
+<span><?php echo $comment_ldate; ?></span></p>
+
+<p class="field"><label class="float" for=""><?php echo __('Status'); ?>&nbsp;:</label>
+<?php echo form::combo('c_pub',array(__('Online')=>'1',__('Offline')=>'0'),$comment_pub); ?>
+
+<p class="field"><label for="c_content"><?php echo __('Comment'); ?>&nbsp;:</label>
+<?php echo form::textArea('c_content',40,10,htmlspecialchars($comment_content),'','class="max"'); ?>
+</p>
+
+<p class="field"><input type="submit" class="submit" name="update" value="<?php echo __('save'); ?>" />&nbsp;
+<input type="submit" class="submit" name="delete" value="<?php echo __('delete'); ?>"
+onclick="return window.confirm('<?php echo __('Are you sure you want to delete this comment?'); ?>')" />
+<input type="hidden" name="comment_id" id="comment_id"
+value="<?php echo $comment_id; ?>" /></p>
+</form>
+
+<p><strong><?php echo __('Notice'); ?></strong>&nbsp;: 
+<?php echo __('This comment has to be in HTML format'); ?></p>
+
+<?php } ?>
+
+<?php closePage(); ?>

+ 151 - 0
dotclear/ecrire/comments.php

@@ -0,0 +1,151 @@
+<?php
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of DotClear.
+# Copyright (c) 2004 Olivier Meunier and contributors. All rights
+# reserved.
+#
+# DotClear is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# DotClear is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with DotClear; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# ***** END LICENSE BLOCK *****
+
+require dirname(__FILE__).'/inc/prepend.php';
+require dirname(__FILE__).'/../inc/classes/class.multipage.php';
+
+$auth->check(1);
+
+include dirname(__FILE__).'/inc/connexion.php';
+
+# Mise hors ligne d'un commentaire
+if (!empty($_GET['com_id']) && isset($_GET['cancel']))
+{
+	if ($blog->statusComment($_GET['com_id']) !== false)
+	{
+		$redir = 'comments.php';
+		$redir .= (!empty($_GET['env'])) ? '?env='.$_GET['env'] : '';
+		header('Location: '.$redir);
+		exit;
+	}
+}
+
+$nb_per_page = 30;
+$nb_comments = $blog->getNbComments();
+
+$max_pages = ceil($nb_comments/$nb_per_page);
+$env = (!empty($_GET['env']) && $_GET['env'] <= $max_pages) ? $_GET['env'] : 1;
+
+$comments = $blog->getComments('','DESC',(($env-1)*$nb_per_page).','.$nb_per_page);
+
+# Pour voir ou cacher les commentaires
+$js_openCloseAll = $h_script = '';
+if (!$comments->isEmpty())
+{
+	$h_script =
+	'<script type="text/javascript">'."\n".
+	"js_comments_ids = new Array('".implode("','",$comments->getIDs('comment'))."');\n".
+	//"window.onload = function() { mOpenClose(js_comments_ids,-1); }\n".
+	"</script>\n";
+	
+	$js_openCloseAll =
+	'<p class="small"><a href="#" onclick="mOpenClose(js_comments_ids,1)">'.__('show all').'</a> - '.
+	'<a href="#" onclick="mOpenClose(js_comments_ids,-1)">'.__('hide all').'</a></p>';
+}
+
+# Ligne pour afficher un commentaire
+function ligne_comment($data,$i)
+{
+	$comment_id = $data['comment_id'];
+	$comment_dt = $data['comment_dt'];
+	$comment_auteur = $data['comment_auteur'];
+	$comment_email = $data['comment_email'];
+	$comment_site = $data['comment_site'];
+	$comment_content = $data['comment_content'];
+	$comment_pub = $data['comment_pub'];
+	$comment_ip = $data['comment_ip'];
+	$comment_trackback = $data['comment_trackback'];
+	$post_titre = $data['post_titre'];
+	$post_id = $data['post_id'];
+	$comment_date = date('d/m/Y H:i',strtotime($comment_dt));
+	
+	if($comment_pub)
+	{
+		$com_cancel = __('set offline');
+		$com_style = '';
+		$com_img = '<img src="images/check_on.png" '.
+				'alt="'.__('This comment is online').'" class="status" /> ';
+		
+	}
+	else
+	{
+		$com_cancel = __('set online');
+		$com_style = ' cancel';
+		$com_img = '<img src="images/check_off.png" '.
+				'alt="'.__('This comment is offline').'" class="status" /> ';
+	}
+	
+	$str_tb = ($comment_trackback == 1) ? ' - <strong>trackback</strong>' : '';
+	
+	$cancel_url = $_SERVER['REQUEST_URI'];
+	$cancel_url .= (strpos($cancel_url,'?') !== false) ? '&amp;' : '?';
+	$cancel_url .= 'com_id='.$comment_id.'&amp;cancel=1';
+	
+	
+	$res = '<div class="ligne'.$com_style.'">'.
+		'<h3 class="ligneTitre">'.$com_img.
+		'<a href="#" onclick="openClose(\'comment'.$comment_id.'\',0); return false;">'.
+		'<img src="images/plus.png" id="img_comment'.$comment_id.'" '.
+		'alt="'.__('show/hide').'" title="'.__('show/hide').'" /></a>&nbsp;&nbsp;'.
+		'<a href="poster.php?post_id='.$post_id.'#c'.$comment_id.'">'.
+		$post_titre.'</a>'.$str_tb.
+		' - <a style="font-weight: normal;" href="'.$cancel_url.'">'.$com_cancel.'</a>'.
+		'</h3>'.
+		'<p class="ligneInfo">'.$comment_date.' - '.$comment_auteur.'</p>';
+	
+	$res .= '<div id="comment'.$comment_id.'" class="comment" style="display:none">'.
+		$comment_content.'</div>';
+	
+	$res .= '</div>';
+	
+	return $res;
+}
+
+# Affichage
+openPage(__('Comments'),$h_script);
+
+echo '<h2>'.__('Comments').'</h2>';
+echo '<p>'.__('Comments listed from most recent to oldest').'</p>';
+
+$lum = new multipage($env,'ligne_comment',$comments->getData(),$nb_comments,$nb_per_page);
+
+$lum->setOption('html_block','%s');
+$lum->setOption('html_row','%s');
+$lum->setOption('html_cell','%s');
+
+$lum->setOption('html_links','<p>'.__('Page(s)').' : %s</p>');
+$lum->setOption('html_cur_page','<strong>%s</strong>');
+
+$lum->setOption('html_prev','&lt;'.__('prev. page'));
+$lum->setOption('html_next',__('next page').'&gt;');
+$lum->setOption('html_prev_grp','...');
+$lum->setOption('html_next_grp','...');
+
+$lum->setOption('html_empty','<p><strong>'.__('No comment yet').'</strong></p>');
+
+echo $lum->getLinks();
+echo $js_openCloseAll;
+echo $lum->getPage();
+echo $lum->getLinks();
+
+closePage();
+?>

+ 53 - 0
dotclear/ecrire/help/de-utf8/category.html

@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Kategorien</title>
+</head>
+<body>
+<h1>Kategorien</h1>
+<p>Um neue Kategorien zu erstellen oder abzu&auml;ndern, muss auf das
+Register <em>Kategorien</em> geklickt werden. W&auml;hlt man den den
+Link <em>Neue Kategorie </em>an, so kann eine neue Kategorie erstellt
+werden. Wird auf der Link <em>bearbeiten</em> einer bereits
+bestehenden Kategorie angew&auml;hlt, so kann diese ge&auml;ndert
+werden.</p>
+<h2>Felder</h2>
+<dl>
+  <dt id="title">Titel</dt>
+  <dd>Der Name der Kategorie. Standardm&auml;ssig wird dieser Name auch
+im Men&uuml; und jedem Blog-Eintrag angezeigt. Das Feld muss
+ausgef&uuml;llt werden. </dd>
+  <dt id="title_url">URL Titel<br>
+  </dt>
+  <dd>Der URL Titel ist der Name, welche die URL's f&uuml;r die
+entsprechende Kategorie bekommen werden. Accents und Sonderzeichen
+werden aus dem URL Titel gel&ouml;scht. Achtung: das verwenden von mehr
+als 4 Zahlen ist unzul&auml;ssig. So ist zum Beispiel der URL Titel <em>2005</em>
+nicht zul&auml;ssig, wohingegen <em>Jahr2005</em> zul&auml;ssig
+w&auml;re. </dd>
+  <dt id="description">Beschreibung</dt>
+  <dd>Die Beschreibung der Kategorie ist optional und muss im
+XHTML-Format vorliegen. </dd>
+</dl>
+</body>
+</html>

+ 128 - 0
dotclear/ecrire/help/de-utf8/entry.html

@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Eintr&auml;ge</title>
+</head>
+<body>
+<h1>Erstellen von Eintr&auml;gen<br>
+</h1>
+<p>Um einen neuen Eintrag zu erstellen, muss das Register <em>Eintr&auml;ge</em>
+angew&auml;hlt werden und auf den Link <em>Neuer Eintrag</em> geklickt
+werden.</p>
+<p>Ein Eintrag besteht mindestens aus einem Titel und dessen Eintrag.
+Daneben ist es m&ouml;glich, eine Kategorie zu w&auml;hlen.</p>
+<h2>Felder</h2>
+<dl>
+  <dt id="category">Kategorie</dt>
+  <dd>Die Kategorie des Eintrages. Um Kategorien zu bearbeiten muss
+in das Register <em>Kategorien</em> gewechselt werden.</dd>
+  <dt id="format">Format</dt>
+  <dd>Eintr&auml;ge k&ouml;nnen in zwei Formaten erstellt werden;
+Wiki oder HTML. Das Wiki Format ist eine vereinfachte Syntax um
+Eintr&auml;ge schnell, einfach und mit minimalem Training zu erfassen.
+Daneben stellt HTML die gesamte Bandbreite an Funktionen zur
+Verf&uuml;gung, um Eintr&auml;ge zu definieren und anzupassen.</dd>
+  <dt id="status">Status</dt>
+  <dd>Der Status legt fest, ob der Eintrag in DotClear erscheint
+(<em>Online</em>) oder nicht (<em>Offline</em>).<br>
+  </dd>
+  <dt id="comment">Kommentare</dt>
+  <dd>Das Auswahlfeld erlaubt einem festzulegen, ob Kommentare f&uuml;r
+diesen
+Eintrag erlaubt sind.</dd>
+  <dt id="trackback">Trackbacks</dt>
+  <dd>Trackbacks sind Kommentare von anderen Weblogs, welche auf den
+Titel oder Inhalt eines Eintrages verweisen. Das Feld erlaubt einem
+Trackbacks zu aktivieren oder zu deaktivieren.</dd>
+  <dt id="language">Sprache</dt>
+  <dd>Der Sprachcode f&uuml;r den Eintrag. Standardm&auml;ssig ist dies
+der Sprachcode, welcher in den pers&ouml;nlichen Einstellungen
+hinterlegt ist. Der Sprachcode kann jedoch f&uuml;r jeden Eintrag
+ge&auml;ndert werden. Um Falle eines englischen Eintrages k&ouml;nnen
+zum
+Beispiel "en" oder "en-us" gesetzt werden. Der Sprachcode wird bei der
+Anzeige
+der Eintr&auml;ge angezeigt.</dd>
+  <dt id="selected">Spezialeintrag</dt>
+  <dd>Um einen Eintrag besonders hervorzuheben kann dieser mit dem
+Auswahlfeld
+Spezialeintrag markiert werden. <br>
+  </dd>
+  <dt id="title">Titel</dt>
+  <dd>Der Titel des Eintrages. Dies ist ein Muss-Feld.<br>
+  </dd>
+  <dt id="title_url">URL Titel<br>
+  </dt>
+  <dd>Der URL Titel ist der Name, welche die URL's f&uuml;r die
+entsprechende Kategorie bekommen werden. Accents und Sonderzeichen
+werden aus dem URL Titel gel&ouml;scht. Im Gegenssatz zu Kategorien ist
+das setzen des URL Titels freiwillig, jedoch empfohlen.</dd>
+  <dt id="abstract">Zusammenfassung / Einleitung<br>
+  </dt>
+  <dd>Die Zusammenfassung erlaubt das Verfassen einer kurzen
+Einf&uuml;hrung. Wird die Zusammenfassung erfasst, so ist der Rest des
+Eintrages nach dem Anklicken eines Links einsehbar. Ansonsten wird der
+komplette Artikel auf der Frontseite dargestellt.</dd>
+  <dt id="entry">Eintrag</dt>
+  <dd>Der Text des Eintrages. Dies ist ein Muss-Feld.<br>
+  </dd>
+  <dt id="insertImage">Bild einf&uuml;gen<br>
+  </dt>
+  <dd>Wird auf das Icon <em>internes Bild</em> geklickt, so erscheint
+ein
+Fenster, in welchem ein Bild gew&auml;hlt werden kann, welches in den
+Text eingef&uuml;gt wird.</dd>
+  <dt id="notepad">Notizen</dt>
+  <dd>Das Feld Notizen erlaubt es dem Autor gewisse Informationen
+&uuml;ber den
+Eintrag zu sichern. Diese Information erscheint nicht im Weblog. <br>
+  </dd>
+  <dt id="datetime">Datum und Uhrzeit<br>
+  </dt>
+  <dd>Sofern der Eintrag gespeichert wurde, kann das Datum und die
+Uhrzeit des Eintrages angepasst werden.<br>
+  </dd>
+</dl>
+<h2>Aktionen</h2>
+<dl>
+  <dt>Vorschau</dt>
+  <dd>Um den Eintrag zu &uuml;berpr&uuml;fen, bevor er gespeichert
+wird, kann mit der Schaltfl&auml;che Vorschau die Vorschau aufgerufen
+werden. Bitte beachten: Smileys, sofern im Weblog aktiviert,
+funktionieren in
+dieser Ansicht nicht. <br>
+    <strong>Shortcut: alt+v</strong>.</dd>
+  <dt>Speichern</dt>
+  <dd>Damit wird der Eintrag gespeichert. <br>
+    <strong>Shortcut: alt+s</strong>.</dd>
+  <dt>L&ouml;schen</dt>
+  <dd>Damit wird der Eintrag gel&ouml;scht.<br>
+  </dd>
+</dl>
+<h2>Kommentare hinzuf&uuml;gen<br>
+</h2>
+<p>Sobald der Eintrag gespeichert ist, ist es m&ouml;glich aus dem
+Backend Kommentare hinzuzuf&uuml;gen.<br>
+</p>
+</body>
+</html>

+ 113 - 0
dotclear/ecrire/help/de-utf8/user.html

@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Einstellungen und Benutzermanagement</title>
+</head>
+<body>
+<h1>Einstellungen und Benutzermanagement<br>
+</h1>
+<p>Um die Systemeinstellungen zu &auml;ndern muss das Register
+"Einstellungen" angew&auml;lt werden. Sollen Benutzer (<em>Redakture</em>)
+erstellt oder ge&auml;ndert werden, so ist das Register "Redakteure"
+anzuw&auml;hlen. F&uuml;r letzteres m&uuml;ssen mindenstens
+Administratorrechte vorhanden sein.</p>
+<h2>Felder</h2>
+<dl>
+  <dt id="user_prenom">Vorname</dt>
+  <dd>Der Vorname des Redakteurs (optional)<br>
+  </dd>
+  <dt id="user_nom">Name</dt>
+  <dd>Der Nachname des Redakteurs (optional)<br>
+  </dd>
+  <dt id="user_pseudo">Pseudonym</dt>
+  <dd>Das Pseudonym des Redakteurs (optional)<br>
+  </dd>
+</dl>
+<p>Beachte: <em>Falls der Benutzer kein Pseudonym verwendet, wird der
+Vorname und Name im Weblog verwendet. Wird ein Pseudonym
+angegeben, so erscheint dieses im Weblog.</em></p>
+<dl>
+  <dt id="user_email">Email</dt>
+  <dd>Die Emailadresse des Redakteurs. Will der Redakteur &uuml;ber
+Kommentare auf seine Eintr&auml;ge benachrichtigt werden, so muss eine
+g&uuml;ltige Emailadresse erfasst sein.</dd>
+  <dt id="user_pwd">Passwort</dt>
+  <dd>Das Passwort, um im Backend einzuloggen. Das Passwort sollte
+kryptisch gehalten werden, damit es sicher ist. Soll das Passwort nicht
+ge&auml;ndert werden, so muss dieses Feld leergelassen werden.<br>
+  </dd>
+  <dt id="user_lang">Sprache</dt>
+  <dd>Falls DotClear auf diese Sprache &uuml;bersetzt worden ist, so
+wird die Administrationsoberfl&auml;che in der gew&auml;hlten Sprache
+angezeigt. Daneben werden alle neuen Eintr&auml;ge mit diesem
+Sprachcode versehen.</dd>
+  <dt id="user_post_format">Bevorzugtes Format<br>
+  </dt>
+  <dd>Definiert, welches Standardformat f&uuml;r die Erfassung der
+Eintr&auml;ge benutzt werden soll. Dies kann pro Eintrag
+&uuml;berschrieben werden.<br>
+  </dd>
+  <dt id="user_post_pub">Bevorzugte Ver&ouml;ffentlichung<br>
+  </dt>
+  <dd>Diese Option erlaubt das Setzen eines Standardstatus f&uuml;r
+neue Eintr&auml;ge.<br>
+  </dd>
+  <dt id="user_pref_cat">Bevorzugte Kategorie<br>
+  </dt>
+  <dd>Die f&uuml;r neue Eintr&auml;ge bevorzugte Kategorie.<br>
+  </dd>
+  <dt id="user_edit_size">H&ouml;he des Textfelds f&uuml;r Beitr&auml;ge<br>
+  </dt>
+  <dd>H&ouml;he des Textfelds f&uuml;r Beitr&auml;ge.</dd>
+  <dt id="user_delta">Differenz in Stunden zwischen Lokalzeit
+des Nutzers und Serverzeit</dt>
+  <dd>Diese Option erlaubt das Festlegen der Differenz zwischen der
+Lokalzeit und der Zeit auf dem Server.</dd>
+</dl>
+<h2>Administration</h2>
+<p>Diese Felder sind nur sichtbar, falls der Benutzer
+Administratorenrechte besitzt.<br>
+</p>
+<dl>
+  <dt id="user_id">Login-Name</dt>
+  <dd>Der Benutzername. Er darf nur aus Buchstaben und Ziffern
+bestehen. Das Feld ist obligatorisch.<br>
+  </dd>
+  <dt id="user_level">Redaktionsrechte</dt>
+  <dd>Das Redaktionsrecht definiert die Privilegien f&uuml;r den
+entsprechenden Benutzer. Es gibt drei Typen von Rechten:
+    <ul>
+      <li><strong>Administrator</strong>: Enth&auml;lt alle Privilegien.</li>
+      <li><strong>Redakteur mit besonderen Rechten</strong>: Das Recht
+erlaubt einem, seine eigenen Eintr&auml;ge zu administrieren,
+Eintr&auml;ge anderer Redakteure zu lesen und Kategorien zu erfassen.<br>
+      </li>
+      <li><strong>Redakteur</strong>: Das Recht erlaubt einem, seine
+eigenen Eintr&auml;ge zu administrieren, jedoch keine anderen
+Beitr&auml;ge zu lesen.<br>
+      </li>
+    </ul>
+  </dd>
+</dl>
+</body>
+</html>

+ 80 - 0
dotclear/ecrire/help/de-utf8/wiki2xhtml.html

@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Wiki Syntax</title>
+</head>
+<body>
+<h1>Wiki Syntax</h1>
+<p>Wiki Formatzeichen k&ouml;nnen mit Hilfe eines Backslash "\"
+als Text im Eintrag verwendet werden..</p>
+<h2>Absatz</h2>
+<ul>
+  <li>Eine Leerzeile zwischen den Abs&auml;tzen lassen. ;</li>
+  <li><strong>Paragraph</strong> : Text und eine Leerzeile ;</li>
+  <li><strong>Titel</strong> : <code>!!!</code>, <code>!!</code>, <code>!</code>
+je nach Ausf&uuml;hrungsart (Wichtigkeit) ;</li>
+  <li><strong>Horizontale Linie</strong>: <code>----</code>&nbsp;;</li>
+  <li><strong>Liste</strong> : Zeile mit einem <code>*</code> der <code>#</code>
+beginnen.
+Es ist m&ouml;glich, die Listenelemente zu kombinieren. ;</li>
+  <li><strong>Formatierter Text</strong>: Leerschlag vor jeder
+Textzeile ;</li>
+  <li><strong>Blockquote/Absatz f&uuml;r Zitate</strong> : <code>&gt;</code>
+oder <code>;:</code> vor jeder Zeile mit Text. ;<br>
+  </li>
+</ul>
+<h2>Zeichen/Formatierungen</h2>
+<ul>
+  <li>Die Satzzeichenkorrektur ist aktiviert. Alle Zeichen, welche
+keinen "zeilenumbrechenden" Charakter haben, werden durch Leerschlage
+ersetzt, sofern die Sprache = fr (Franz&ouml;sisch) ist. Jedoch nur,
+falls diese Zeichen vorausgegangen sind:&nbsp; ";","?",":"
+und
+"!".&nbsp;;</li>
+  <li><strong>Kursiv</strong>: zwei einfache Anf&uuml;hrungszeichen <code>''Text''</code>&nbsp;;</li>
+  <li><strong>Fett und Kursiv</strong>: zwei Underscores&nbsp; <code>__Text__</code>&nbsp;;</li>
+  <li><strong>Neue Zeile</strong>: <code>%%%</code>&nbsp;;</li>
+  <li><strong>Einf&uuml;gen</strong>: zwei Plus <code>++Text++ </code>;</li>
+  <li><strong>Unterdr&uuml;ckung</strong>: zwei Minus <code>--Text--</code>
+;</li>
+  <li><strong>Link</strong>: <code>[URL]</code>, <code>[Name|URL]</code>,
+    <code>[Name|URL|Sprache]</code> oder <code>[Name|URL|Sprache|Titel]</code>.
+    <br>
+    <em>Wenn man einen Link hinzuf&uuml;gen m&ouml;chte, welcher auf
+einen Anker auf der gleichen Seite verweist, so muss dei URL mit dem
+#Ankername ersetzt werden. </em>;</li>
+  <li><strong>Bild</strong>: <code>((URL|ALT Text))</code>, <code>((URL|ALT
+Text|Position))</code> oder <code>((URL|ALT
+Text|Position|Beschreibung))</code>. <br>
+Der Parameter Position kann folgende Werte annehmen: L oder G
+(Links), R oder D (Rechts) oder C
+(Zentriert). ;</li>
+  <li><strong>Anker</strong>: <code>~Anker~</code> ;</li>
+  <li><strong>Akronym</strong>: <code>??Akronym??</code> oder <code>??Akronym|Titel??</code>&nbsp;;</li>
+  <li><strong>Zitate</strong>: <code>{{Zitat}}</code>, <code>{{Zitat|Sprache}}</code>
+oder <code>{{Zitat|Sprache|URL}}</code>&nbsp;;</li>
+  <li><strong>Code</strong>: <code>@@Code@@</code>&nbsp;;</li>
+  <li><strong>Fussnote</strong>: <code>$$Fussnote$$</code>.</li>
+</ul>
+</body>
+</html>

+ 53 - 0
dotclear/ecrire/help/de/category.html

@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Kategorien</title>
+</head>
+<body>
+<h1>Kategorien</h1>
+<p>Um neue Kategorien zu erstellen oder abzu&auml;ndern, muss auf das
+Register <em>Kategorien</em> geklickt werden. W&auml;hlt man den den
+Link <em>Neue Kategorie </em>an, so kann eine neue Kategorie erstellt
+werden. Wird auf der Link <em>bearbeiten</em> einer bereits
+bestehenden Kategorie angew&auml;hlt, so kann diese ge&auml;ndert
+werden.</p>
+<h2>Felder</h2>
+<dl>
+  <dt id="title">Titel</dt>
+  <dd>Der Name der Kategorie. Standardm&auml;ssig wird dieser Name auch
+im Men&uuml; und jedem Blog-Eintrag angezeigt. Das Feld muss
+ausgef&uuml;llt werden. </dd>
+  <dt id="title_url">URL Titel<br>
+  </dt>
+  <dd>Der URL Titel ist der Name, welche die URL's f&uuml;r die
+entsprechende Kategorie bekommen werden. Accents und Sonderzeichen
+werden aus dem URL Titel gel&ouml;scht. Achtung: das verwenden von mehr
+als 4 Zahlen ist unzul&auml;ssig. So ist zum Beispiel der URL Titel <em>2005</em>
+nicht zul&auml;ssig, wohingegen <em>Jahr2005</em> zul&auml;ssig
+w&auml;re. </dd>
+  <dt id="description">Beschreibung</dt>
+  <dd>Die Beschreibung der Kategorie ist optional und muss im
+XHTML-Format vorliegen. </dd>
+</dl>
+</body>
+</html>

+ 128 - 0
dotclear/ecrire/help/de/entry.html

@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Eintr&auml;ge</title>
+</head>
+<body>
+<h1>Erstellen von Eintr&auml;gen<br>
+</h1>
+<p>Um einen neuen Eintrag zu erstellen, muss das Register <em>Eintr&auml;ge</em>
+angew&auml;hlt werden und auf den Link <em>Neuer Eintrag</em> geklickt
+werden.</p>
+<p>Ein Eintrag besteht mindestens aus einem Titel und dessen Eintrag.
+Daneben ist es m&ouml;glich, eine Kategorie zu w&auml;hlen.</p>
+<h2>Felder</h2>
+<dl>
+  <dt id="category">Kategorie</dt>
+  <dd>Die Kategorie des Eintrages. Um Kategorien zu bearbeiten muss
+in das Register <em>Kategorien</em> gewechselt werden.</dd>
+  <dt id="format">Format</dt>
+  <dd>Eintr&auml;ge k&ouml;nnen in zwei Formaten erstellt werden;
+Wiki oder HTML. Das Wiki Format ist eine vereinfachte Syntax um
+Eintr&auml;ge schnell, einfach und mit minimalem Training zu erfassen.
+Daneben stellt HTML die gesamte Bandbreite an Funktionen zur
+Verf&uuml;gung, um Eintr&auml;ge zu definieren und anzupassen.</dd>
+  <dt id="status">Status</dt>
+  <dd>Der Status legt fest, ob der Eintrag in DotClear erscheint
+(<em>Online</em>) oder nicht (<em>Offline</em>).<br>
+  </dd>
+  <dt id="comment">Kommentare</dt>
+  <dd>Das Auswahlfeld erlaubt einem festzulegen, ob Kommentare f&uuml;r
+diesen
+Eintrag erlaubt sind.</dd>
+  <dt id="trackback">Trackbacks</dt>
+  <dd>Trackbacks sind Kommentare von anderen Weblogs, welche auf den
+Titel oder Inhalt eines Eintrages verweisen. Das Feld erlaubt einem
+Trackbacks zu aktivieren oder zu deaktivieren.</dd>
+  <dt id="language">Sprache</dt>
+  <dd>Der Sprachcode f&uuml;r den Eintrag. Standardm&auml;ssig ist dies
+der Sprachcode, welcher in den pers&ouml;nlichen Einstellungen
+hinterlegt ist. Der Sprachcode kann jedoch f&uuml;r jeden Eintrag
+ge&auml;ndert werden. Um Falle eines englischen Eintrages k&ouml;nnen
+zum
+Beispiel "en" oder "en-us" gesetzt werden. Der Sprachcode wird bei der
+Anzeige
+der Eintr&auml;ge angezeigt.</dd>
+  <dt id="selected">Spezialeintrag</dt>
+  <dd>Um einen Eintrag besonders hervorzuheben kann dieser mit dem
+Auswahlfeld
+Spezialeintrag markiert werden. <br>
+  </dd>
+  <dt id="title">Titel</dt>
+  <dd>Der Titel des Eintrages. Dies ist ein Muss-Feld.<br>
+  </dd>
+  <dt id="title_url">URL Titel<br>
+  </dt>
+  <dd>Der URL Titel ist der Name, welche die URL's f&uuml;r die
+entsprechende Kategorie bekommen werden. Accents und Sonderzeichen
+werden aus dem URL Titel gel&ouml;scht. Im Gegenssatz zu Kategorien ist
+das setzen des URL Titels freiwillig, jedoch empfohlen.</dd>
+  <dt id="abstract">Zusammenfassung / Einleitung<br>
+  </dt>
+  <dd>Die Zusammenfassung erlaubt das Verfassen einer kurzen
+Einf&uuml;hrung. Wird die Zusammenfassung erfasst, so ist der Rest des
+Eintrages nach dem Anklicken eines Links einsehbar. Ansonsten wird der
+komplette Artikel auf der Frontseite dargestellt.</dd>
+  <dt id="entry">Eintrag</dt>
+  <dd>Der Text des Eintrages. Dies ist ein Muss-Feld.<br>
+  </dd>
+  <dt id="insertImage">Bild einf&uuml;gen<br>
+  </dt>
+  <dd>Wird auf das Icon <em>internes Bild</em> geklickt, so erscheint
+ein
+Fenster, in welchem ein Bild gew&auml;hlt werden kann, welches in den
+Text eingef&uuml;gt wird.</dd>
+  <dt id="notepad">Notizen</dt>
+  <dd>Das Feld Notizen erlaubt es dem Autor gewisse Informationen
+&uuml;ber den
+Eintrag zu sichern. Diese Information erscheint nicht im Weblog. <br>
+  </dd>
+  <dt id="datetime">Datum und Uhrzeit<br>
+  </dt>
+  <dd>Sofern der Eintrag gespeichert wurde, kann das Datum und die
+Uhrzeit des Eintrages angepasst werden.<br>
+  </dd>
+</dl>
+<h2>Aktionen</h2>
+<dl>
+  <dt>Vorschau</dt>
+  <dd>Um den Eintrag zu &uuml;berpr&uuml;fen, bevor er gespeichert
+wird, kann mit der Schaltfl&auml;che Vorschau die Vorschau aufgerufen
+werden. Bitte beachten: Smileys, sofern im Weblog aktiviert,
+funktionieren in
+dieser Ansicht nicht. <br>
+    <strong>Shortcut: alt+v</strong>.</dd>
+  <dt>Speichern</dt>
+  <dd>Damit wird der Eintrag gespeichert. <br>
+    <strong>Shortcut: alt+s</strong>.</dd>
+  <dt>L&ouml;schen</dt>
+  <dd>Damit wird der Eintrag gel&ouml;scht.<br>
+  </dd>
+</dl>
+<h2>Kommentare hinzuf&uuml;gen<br>
+</h2>
+<p>Sobald der Eintrag gespeichert ist, ist es m&ouml;glich aus dem
+Backend Kommentare hinzuzuf&uuml;gen.<br>
+</p>
+</body>
+</html>

+ 113 - 0
dotclear/ecrire/help/de/user.html

@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Einstellungen und Benutzermanagement</title>
+</head>
+<body>
+<h1>Einstellungen und Benutzermanagement<br>
+</h1>
+<p>Um die Systemeinstellungen zu &auml;ndern muss das Register
+"Einstellungen" angew&auml;lt werden. Sollen Benutzer (<em>Redakture</em>)
+erstellt oder ge&auml;ndert werden, so ist das Register "Redakteure"
+anzuw&auml;hlen. F&uuml;r letzteres m&uuml;ssen mindenstens
+Administratorrechte vorhanden sein.</p>
+<h2>Felder</h2>
+<dl>
+  <dt id="user_prenom">Vorname</dt>
+  <dd>Der Vorname des Redakteurs (optional)<br>
+  </dd>
+  <dt id="user_nom">Name</dt>
+  <dd>Der Nachname des Redakteurs (optional)<br>
+  </dd>
+  <dt id="user_pseudo">Pseudonym</dt>
+  <dd>Das Pseudonym des Redakteurs (optional)<br>
+  </dd>
+</dl>
+<p>Beachte: <em>Falls der Benutzer kein Pseudonym verwendet, wird der
+Vorname und Name im Weblog verwendet. Wird ein Pseudonym
+angegeben, so erscheint dieses im Weblog.</em></p>
+<dl>
+  <dt id="user_email">Email</dt>
+  <dd>Die Emailadresse des Redakteurs. Will der Redakteur &uuml;ber
+Kommentare auf seine Eintr&auml;ge benachrichtigt werden, so muss eine
+g&uuml;ltige Emailadresse erfasst sein.</dd>
+  <dt id="user_pwd">Passwort</dt>
+  <dd>Das Passwort, um im Backend einzuloggen. Das Passwort sollte
+kryptisch gehalten werden, damit es sicher ist. Soll das Passwort nicht
+ge&auml;ndert werden, so muss dieses Feld leergelassen werden.<br>
+  </dd>
+  <dt id="user_lang">Sprache</dt>
+  <dd>Falls DotClear auf diese Sprache &uuml;bersetzt worden ist, so
+wird die Administrationsoberfl&auml;che in der gew&auml;hlten Sprache
+angezeigt. Daneben werden alle neuen Eintr&auml;ge mit diesem
+Sprachcode versehen.</dd>
+  <dt id="user_post_format">Bevorzugtes Format<br>
+  </dt>
+  <dd>Definiert, welches Standardformat f&uuml;r die Erfassung der
+Eintr&auml;ge benutzt werden soll. Dies kann pro Eintrag
+&uuml;berschrieben werden.<br>
+  </dd>
+  <dt id="user_post_pub">Bevorzugte Ver&ouml;ffentlichung<br>
+  </dt>
+  <dd>Diese Option erlaubt das Setzen eines Standardstatus f&uuml;r
+neue Eintr&auml;ge.<br>
+  </dd>
+  <dt id="user_pref_cat">Bevorzugte Kategorie<br>
+  </dt>
+  <dd>Die f&uuml;r neue Eintr&auml;ge bevorzugte Kategorie.<br>
+  </dd>
+  <dt id="user_edit_size">H&ouml;he des Textfelds f&uuml;r Beitr&auml;ge<br>
+  </dt>
+  <dd>H&ouml;he des Textfelds f&uuml;r Beitr&auml;ge.</dd>
+  <dt id="user_delta">Differenz in Stunden zwischen Lokalzeit
+des Nutzers und Serverzeit</dt>
+  <dd>Diese Option erlaubt das Festlegen der Differenz zwischen der
+Lokalzeit und der Zeit auf dem Server.</dd>
+</dl>
+<h2>Administration</h2>
+<p>Diese Felder sind nur sichtbar, falls der Benutzer
+Administratorenrechte besitzt.<br>
+</p>
+<dl>
+  <dt id="user_id">Login-Name</dt>
+  <dd>Der Benutzername. Er darf nur aus Buchstaben und Ziffern
+bestehen. Das Feld ist obligatorisch.<br>
+  </dd>
+  <dt id="user_level">Redaktionsrechte</dt>
+  <dd>Das Redaktionsrecht definiert die Privilegien f&uuml;r den
+entsprechenden Benutzer. Es gibt drei Typen von Rechten:
+    <ul>
+      <li><strong>Administrator</strong>: Enth&auml;lt alle Privilegien.</li>
+      <li><strong>Redakteur mit besonderen Rechten</strong>: Das Recht
+erlaubt einem, seine eigenen Eintr&auml;ge zu administrieren,
+Eintr&auml;ge anderer Redakteure zu lesen und Kategorien zu erfassen.<br>
+      </li>
+      <li><strong>Redakteur</strong>: Das Recht erlaubt einem, seine
+eigenen Eintr&auml;ge zu administrieren, jedoch keine anderen
+Beitr&auml;ge zu lesen.<br>
+      </li>
+    </ul>
+  </dd>
+</dl>
+</body>
+</html>

+ 80 - 0
dotclear/ecrire/help/de/wiki2xhtml.html

@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Wiki Syntax</title>
+</head>
+<body>
+<h1>Wiki Syntax</h1>
+<p>Wiki Formatzeichen k&ouml;nnen mit Hilfe eines Backslash "\"
+als Text im Eintrag verwendet werden..</p>
+<h2>Absatz</h2>
+<ul>
+  <li>Eine Leerzeile zwischen den Abs&auml;tzen lassen. ;</li>
+  <li><strong>Paragraph</strong> : Text und eine Leerzeile ;</li>
+  <li><strong>Titel</strong> : <code>!!!</code>, <code>!!</code>, <code>!</code>
+je nach Ausf&uuml;hrungsart (Wichtigkeit) ;</li>
+  <li><strong>Horizontale Linie</strong>: <code>----</code>&nbsp;;</li>
+  <li><strong>Liste</strong> : Zeile mit einem <code>*</code> der <code>#</code>
+beginnen.
+Es ist m&ouml;glich, die Listenelemente zu kombinieren. ;</li>
+  <li><strong>Formatierter Text</strong>: Leerschlag vor jeder
+Textzeile ;</li>
+  <li><strong>Blockquote/Absatz f&uuml;r Zitate</strong> : <code>&gt;</code>
+oder <code>;:</code> vor jeder Zeile mit Text. ;<br>
+  </li>
+</ul>
+<h2>Zeichen/Formatierungen</h2>
+<ul>
+  <li>Die Satzzeichenkorrektur ist aktiviert. Alle Zeichen, welche
+keinen "zeilenumbrechenden" Charakter haben, werden durch Leerschlage
+ersetzt, sofern die Sprache = fr (Franz&ouml;sisch) ist. Jedoch nur,
+falls diese Zeichen vorausgegangen sind:&nbsp; ";","?",":"
+und
+"!".&nbsp;;</li>
+  <li><strong>Kursiv</strong>: zwei einfache Anf&uuml;hrungszeichen <code>''Text''</code>&nbsp;;</li>
+  <li><strong>Fett und Kursiv</strong>: zwei Underscores&nbsp; <code>__Text__</code>&nbsp;;</li>
+  <li><strong>Neue Zeile</strong>: <code>%%%</code>&nbsp;;</li>
+  <li><strong>Einf&uuml;gen</strong>: zwei Plus <code>++Text++ </code>;</li>
+  <li><strong>Unterdr&uuml;ckung</strong>: zwei Minus <code>--Text--</code>
+;</li>
+  <li><strong>Link</strong>: <code>[URL]</code>, <code>[Name|URL]</code>,
+    <code>[Name|URL|Sprache]</code> oder <code>[Name|URL|Sprache|Titel]</code>.
+    <br>
+    <em>Wenn man einen Link hinzuf&uuml;gen m&ouml;chte, welcher auf
+einen Anker auf der gleichen Seite verweist, so muss dei URL mit dem
+#Ankername ersetzt werden. </em>;</li>
+  <li><strong>Bild</strong>: <code>((URL|ALT Text))</code>, <code>((URL|ALT
+Text|Position))</code> oder <code>((URL|ALT
+Text|Position|Beschreibung))</code>. <br>
+Der Parameter Position kann folgende Werte annehmen: L oder G
+(Links), R oder D (Rechts) oder C
+(Zentriert). ;</li>
+  <li><strong>Anker</strong>: <code>~Anker~</code> ;</li>
+  <li><strong>Akronym</strong>: <code>??Akronym??</code> oder <code>??Akronym|Titel??</code>&nbsp;;</li>
+  <li><strong>Zitate</strong>: <code>{{Zitat}}</code>, <code>{{Zitat|Sprache}}</code>
+oder <code>{{Zitat|Sprache|URL}}</code>&nbsp;;</li>
+  <li><strong>Code</strong>: <code>@@Code@@</code>&nbsp;;</li>
+  <li><strong>Fussnote</strong>: <code>$$Fussnote$$</code>.</li>
+</ul>
+</body>
+</html>

+ 58 - 0
dotclear/ecrire/help/en-utf8/category.html

@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Categories</title>
+</head>
+
+<body>
+
+<h1>The categories</h1>
+
+<p>To create or modify a category, you simply have to go to the 
+<em>Categories</em> section and click on <em>New category</em> or on the link
+of an existing category, depending on whether you want to create or modify a category.</p>
+
+<h2>Fields</h2>
+
+<dl>
+  <dt id="title">Title</dt>
+  <dd>The name of the category. On the default model, the title is displayed in
+  menu and also for each entry. This field is required.</dd>
+  
+  <dt id="title_url">URLed title</dt>
+  <dd>The URLed title is the "URLish" form of title. Accents and
+  disturbing characters for URL are deleted. The DC Engine can build it
+  except if you determine a specific one. You can click the "Use" link
+  to fill the field according to your category's title.
+  Note that if the category's title is made of non latin characters, you
+  you must specify a title of your choice. Titles made of 4 figures or more
+  are invalid. In order to be valid they must be accompanied by letters. By
+  example, <em>2005</em> will be invalid while <em>year2005</em> will be
+  perfectly valid.</dd>
+  
+  <dt id="description">Description</dt>
+  <dd>Description of the category, in XHTML format. This optional field allows you
+  to give a detailed description of the category.</dd>
+</dl>
+
+</body>

+ 127 - 0
dotclear/ecrire/help/en-utf8/entry.html

@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Entries</title>
+</head>
+
+<body>
+  <h1>Creation of entries</h1>
+  
+  <p>To begin the editing of an entry, you have to go to the 
+  <em>Entries</em> section then click on <em>new entry</em>.</p>
+  
+  <p>An entry must contain at least a title, and its content. You can
+  can also choose a category.</p>
+  
+  <h2>Fields</h2>
+  
+  <dl>
+  <dt id="category">Category</dt>
+  <dd>The category of your entry. To create a new category, 
+  go to the <em>Categories</em> section.</dd>
+  
+  <dt id="format">Format</dt>
+  <dd>You can edit your entries in two formats; Wiki or HTML.
+  Wiki format is a simplified syntax which allows you to quickly type
+  an entry, with minimal training. On another hand HTML format gives you
+  a complete scope for the format of your writings.</dd>
+  
+  <dt id="status">Status</dt>
+  <dd>Status allows you to choose if the entry will be online or offline
+  after recording.</dd>
+  
+  <dt id="comment">Comments</dt>
+  <dd>This field allows to define if you authorize or not comments
+  for this entry.</dd>
+  
+  <dt id="trackback">Trackbacks</dt>
+  <dd>Trackbacks are comments sent by an other weblog
+  refering to your entry, or its subject. This field allows to define
+  if you authorize or not trackbacks.</dd>
+  
+  <dt id="language">Language</dt>
+  <dd>The language code for your entry. By default, it's your own language code.
+  You can change it for another language code, for 
+  example "en", "en-us". This code is free, it will be included in the display
+  of entries.</dd>
+  
+  <dt id="selected">Selection</dt>
+  <dd>To mark an entry as selected can allow you to create a list of
+  important entries upon which you want to draw attention for any given reason.</dd>
+  
+  <dt id="title">Title</dt>
+  <dd>The title of the entry. This field is required.</dd>
+  
+  <dt id="title_url">URLed title</dt>
+  <dd>The URLed title is the "URLish" form of the title. Accents and
+  disturbing characters for URL are deleted. The DC Engine can build it
+  except if you determine a specific one. You can click the "Use" link
+  to fill the field according to your category's title.
+  Contrary to the categories, the title of an entry in URLed form is not
+  mandatory, simply advised.</dd>
+  
+  <dt id="abstract">Abstract</dt>
+  <dd>The abstract allows you to write a short introduction for a longer
+  entry. In this case the continuation (content) will be readable after
+  clicking on a link.</dd>
+  
+  <dt id="entry">Entry</dt>
+  <dd>The body of your entry. This field is required.</dd>
+  
+  <dt id="insertImage">Image insertion</dt>
+  <dd>When you click on the <em>Internal image</em> icon, a popup window appears
+  so you can choose an image to insert in the body of your entry.</dd>
+  
+  <dt id="notepad">Notepad</dt>
+  <dd>The notepad is a small text zone which allows you to keep notes,
+  links or whatever you are thinking about while writing your entry.
+  The content of this field will not be displayed on your weblog, it's only there
+  in case of need.</dd>
+  
+  <dt id="datetime">Date and Hour</dt>
+  <dd>You can change the date and the hour of the entry as displayed
+  on your weblog.</dd>
+  </dl>
+  
+  <h2>Actions</h2>
+  <dl>
+  <dt>preview</dt>
+  <dd>To visualize summarily your entry before saving.
+  Note that if you use the smileys, they won't be visible while using
+  this feature.
+  <br /><strong>Shortcut : alt+v</strong>.</dd>
+  
+  <dt>save</dt>
+  <dd>To save or update your entry.
+  <br /><strong>Shortcut : alt+s</strong>.</dd>
+  
+  <dt>delete</dt>
+  <dd>To suppress <strong>definitely</strong> your entry.</dd>
+  </dl>
+  
+  <h2>add comments</h2>
+  <p>You can attach a comment to the entry directly from the
+  administration interface but you can do so only if the entry is already saved.</p>
+  
+</body>
+</html>

+ 113 - 0
dotclear/ecrire/help/en-utf8/user.html

@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Preferences and user management</title>
+</head>
+
+<body>
+  <h1>Preferences and user management</h1>
+  
+  <p>To modify your preferences, click on the "Preferences" tab.
+  To create or modify a user, choose the "Editors" tab.
+  You must have administrator privileges for this last action.</p>
+  
+  <h2>Fields</h2>
+  
+  <dl>
+  <dt id="user_prenom">First name</dt>
+  <dd>The user's first name is optional.</dd>
+  
+  <dt id="user_nom">Name</dt>
+  <dd>The user's name is required.</dd>
+  
+  <dt id="user_pseudo">Nickname</dt>
+  <dd>The user's nickname is optional.</dd>
+  </dl>
+  
+  <p>Note: <em>If the user doesn't provide his nickname, his
+  name and eventually his first name will be used to indicate who is
+  the author of the entry. If the nickname is provided, it will be used 
+  instead.</em></p>
+  
+  <dl>
+  <dt id="user_email">Email</dt>
+  <dd>The user's email address is optional. If you wish to
+  activate email notification for your entries' comments, then you
+  must fill this field.</dd>
+  
+  <dt id="user_pwd">Password</dt>
+  <dd>Choose a long enough password and rather cryptic. In case of updating
+  user settings or preferences, leave this field empty in order to avoid
+  changing your password.</dd>
+  
+  <dt id="user_lang">Language<dt>
+  <dd>If the language exists in the translation files, it will be used
+  for the user's private area. Each created entry will be
+  automatically "tagged" with the same language code.</dd>
+  
+  <dt id="user_post_format">Prefered edit format</dt>
+  <dd>Selected format will be the default one for each new entry.
+  User can of course change the mode punctually for a specific entry.</dd>
+  
+  <dt id="user_post_pub">Default publication status</dt>
+  <dd>This option defines the online or offline state of each new
+  entry.</dd>
+  
+  <dt id="user_pref_cat">Prefered category</dt>
+  <dd>Selected category will be the default one for each new entry.</dd>
+  
+  <dt id="user_edit_size">Entry edit field height</dt>
+  <dd>Height in number of lines for the text area of an entry.</dd>
+  
+  <dt id="user_delta">Number of hours between user's local time and the server
+  time</dt>
+  <dd>This option allows to define a possible time shift between your
+  server and your publication zone. Negative values are workable.
+  Your server's time is displayed in order to define the difference in hours
+  between the two zones.</dd>
+  </dl>
+  
+  <h2>Administration</h2>
+  <p>These fields are only available for the administrator in the
+  modification zone of an editor.</p>
+  
+  <dl>
+  <dt id="user_id">Login</dt>
+  <dd>Login identifies the user. It must only contain
+  letters and/or figures. It is required.</dd>
+  
+  <dt id="user_level">Level</dt>
+  <dd>Level corresponds to the privilege you agree to give the user. There are
+  three types of level:
+    <ul>
+      <li><strong>Administrator</strong>: Complete privilege.</li>
+	 <li><strong>Advanced editor</strong>: Privilege for his own
+	 entries, he can read other entries, and create categories.</li>
+	 <li><strong>Editor</strong>: Complete privilege for his own entries,
+	 but he can't read the others.</li>
+    </ul>
+  </dd>
+  </dl>
+  
+</body>
+</html>

+ 87 - 0
dotclear/ecrire/help/en-utf8/wiki2xhtml.html

@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Wiki Syntax</title>
+</head>
+
+<body>
+
+<h1>Wiki Syntax</h1>
+
+<p>Wiki formatting marks can be inserted in text by
+protecting them with "<code>\</code>".</p>
+
+<h2>Blocks</h2>
+<ul>
+  <li>Leave an empty line between each block <em>of same disposition</em>&nbsp;;</li>
+  <li><strong>Paragraph</strong> : text and an empty line&nbsp;;</li>
+  <li><strong>Title</strong> : <code>!!!</code>, <code>!!</code>, <code>!</code>
+  for titles more or less important&nbsp;;</li>
+  <li><strong>Horizontal rule</strong> : <code>----</code>&nbsp;;</li>
+  <li><strong>List</strong> : line beginning by <code>*</code> or
+  <code>#</code>. It is possible to mix lists (<code>*#*</code>) in order to
+  make nested lists. The style of each level must be respected&nbsp;;</li>
+  <li><strong>Preformated text</strong> : space before each line of
+  text&nbsp;;</li>
+  <li><strong>Blockquote</strong> : <code>&gt;</code> or <code>;:</code>
+  before each line of text.</li>
+</ul>
+
+<h2>Inline elements</h2>
+<ul>
+  <li>Punctuation correction is active. A non-breaking space
+  will replace automatically each space preceding the marks :
+  ";","?",":" and "!".&nbsp;;</li>
+  <li><strong>Emphasis</strong> : two simple quotes
+  <code>''text''</code>&nbsp;;</li>
+  <li><strong>Strong emphasis</strong> : two underscores
+  <code>__text__</code>&nbsp;;</li>
+  <li><strong>Forced line break</strong> :
+  <code>%%%</code>&nbsp;;</li>
+  <li><strong>Insertion</strong> : two plus
+  <code>++text++</code>&nbsp;;</li>
+  <li><strong>Suppression</strong> : two minus
+  <code>--text--</code>&nbsp;;</li>
+  <li><strong>Link</strong> : <code>[url]</code>, <code>[name|url]</code>,
+  <code>[name|url|language]</code> or
+  <code>[name|url|language|title]</code>.
+  <br /><em>If you want to insert a link to an anchor in the same page,
+  replace url by #name-of-anchor</em>&nbsp;;</li>
+  <li><strong>Image</strong> :
+  <code>((url|alternate text))</code>,
+  <code>((url|alternate text|position))</code> or
+  <code>((url|alternate text|position|long description))</code>.
+  <br />The position can take these values : L or G (left), R or D (right)
+  or C (center).&nbsp;;</li>
+  <li><strong>Anchor</strong> : <code>~anchor~</code>&nbsp;;</li>
+  <li><strong>Acronym</strong> : <code>??acronym??</code> or
+  <code>??acronym|title??</code>&nbsp;;</li>
+  <li><strong>Citation</strong> : <code>{{citation}}</code>,
+  <code>{{citation|language}}</code> or
+  <code>{{citation|language|url}}</code>&nbsp;;</li>
+  <li><strong>Code</strong> : <code>@@code here@@</code>&nbsp;;</li>
+  <li><strong>Footnote</strong> : <code>$$footnote's body$$</code>.</li>
+</ul>
+
+</body>
+</html>

+ 58 - 0
dotclear/ecrire/help/en/category.html

@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Categories</title>
+</head>
+
+<body>
+
+<h1>The categories</h1>
+
+<p>To create or modify a category, you simply have to go to the 
+<em>Categories</em> section and click on <em>New category</em> or on the link
+of an existing category, depending on whether you want to create or modify a category.</p>
+
+<h2>Fields</h2>
+
+<dl>
+  <dt id="title">Title</dt>
+  <dd>The name of the category. On the default model, the title is displayed in
+  menu and also for each entry. This field is required.</dd>
+  
+  <dt id="title_url">URLed title</dt>
+  <dd>The URLed title is the "URLish" form of title. Accents and
+  disturbing characters for URL are deleted. The DC Engine can build it
+  except if you determine a specific one. You can click the "Use" link
+  to fill the field according to your category's title.
+  Note that if the category's title is made of non latin characters, you
+  you must specify a title of your choice. Titles made of 4 figures or more
+  are invalid. In order to be valid they must be accompanied by letters. By
+  example, <em>2005</em> will be invalid while <em>year2005</em> will be
+  perfectly valid.</dd>
+  
+  <dt id="description">Description</dt>
+  <dd>Description of the category, in XHTML format. This optional field allows you
+  to give a detailed description of the category.</dd>
+</dl>
+
+</body>

+ 127 - 0
dotclear/ecrire/help/en/entry.html

@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Entries</title>
+</head>
+
+<body>
+  <h1>Creation of entries</h1>
+  
+  <p>To begin the editing of an entry, you have to go to the 
+  <em>Entries</em> section then click on <em>new entry</em>.</p>
+  
+  <p>An entry must contain at least a title, and its content. You can
+  can also choose a category.</p>
+  
+  <h2>Fields</h2>
+  
+  <dl>
+  <dt id="category">Category</dt>
+  <dd>The category of your entry. To create a new category, 
+  go to the <em>Categories</em> section.</dd>
+  
+  <dt id="format">Format</dt>
+  <dd>You can edit your entries in two formats; Wiki or HTML.
+  Wiki format is a simplified syntax which allows you to quickly type
+  an entry, with minimal training. On another hand HTML format gives you
+  a complete scope for the format of your writings.</dd>
+  
+  <dt id="status">Status</dt>
+  <dd>Status allows you to choose if the entry will be online or offline
+  after recording.</dd>
+  
+  <dt id="comment">Comments</dt>
+  <dd>This field allows to define if you authorize or not comments
+  for this entry.</dd>
+  
+  <dt id="trackback">Trackbacks</dt>
+  <dd>Trackbacks are comments sent by an other weblog
+  refering to your entry, or its subject. This field allows to define
+  if you authorize or not trackbacks.</dd>
+  
+  <dt id="language">Language</dt>
+  <dd>The language code for your entry. By default, it's your own language code.
+  You can change it for another language code, for 
+  example "en", "en-us". This code is free, it will be included in the display
+  of entries.</dd>
+  
+  <dt id="selected">Selection</dt>
+  <dd>To mark an entry as selected can allow you to create a list of
+  important entries upon which you want to draw attention for any given reason.</dd>
+  
+  <dt id="title">Title</dt>
+  <dd>The title of the entry. This field is required.</dd>
+  
+  <dt id="title_url">URLed title</dt>
+  <dd>The URLed title is the "URLish" form of the title. Accents and
+  disturbing characters for URL are deleted. The DC Engine can build it
+  except if you determine a specific one. You can click the "Use" link
+  to fill the field according to your category's title.
+  Contrary to the categories, the title of an entry in URLed form is not
+  mandatory, simply advised.</dd>
+  
+  <dt id="abstract">Abstract</dt>
+  <dd>The abstract allows you to write a short introduction for a longer
+  entry. In this case the continuation (content) will be readable after
+  clicking on a link.</dd>
+  
+  <dt id="entry">Entry</dt>
+  <dd>The body of your entry. This field is required.</dd>
+  
+  <dt id="insertImage">Image insertion</dt>
+  <dd>When you click on the <em>Internal image</em> icon, a popup window appears
+  so you can choose an image to insert in the body of your entry.</dd>
+  
+  <dt id="notepad">Notepad</dt>
+  <dd>The notepad is a small text zone which allows you to keep notes,
+  links or whatever you are thinking about while writing your entry.
+  The content of this field will not be displayed on your weblog, it's only there
+  in case of need.</dd>
+  
+  <dt id="datetime">Date and Hour</dt>
+  <dd>You can change the date and the hour of the entry as displayed
+  on your weblog.</dd>
+  </dl>
+  
+  <h2>Actions</h2>
+  <dl>
+  <dt>preview</dt>
+  <dd>To visualize summarily your entry before saving.
+  Note that if you use the smileys, they won't be visible while using
+  this feature.
+  <br /><strong>Shortcut : alt+v</strong>.</dd>
+  
+  <dt>save</dt>
+  <dd>To save or update your entry.
+  <br /><strong>Shortcut : alt+s</strong>.</dd>
+  
+  <dt>delete</dt>
+  <dd>To suppress <strong>definitely</strong> your entry.</dd>
+  </dl>
+  
+  <h2>add comments</h2>
+  <p>You can attach a comment to the entry directly from the
+  administration interface but you can do so only if the entry is already saved.</p>
+  
+</body>
+</html>

+ 113 - 0
dotclear/ecrire/help/en/user.html

@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Preferences and user management</title>
+</head>
+
+<body>
+  <h1>Preferences and user management</h1>
+  
+  <p>To modify your preferences, click on the "Preferences" tab.
+  To create or modify a user, choose the "Editors" tab.
+  You must have administrator privileges for this last action.</p>
+  
+  <h2>Fields</h2>
+  
+  <dl>
+  <dt id="user_prenom">First name</dt>
+  <dd>The user's first name is optional.</dd>
+  
+  <dt id="user_nom">Name</dt>
+  <dd>The user's name is required.</dd>
+  
+  <dt id="user_pseudo">Nickname</dt>
+  <dd>The user's nickname is optional.</dd>
+  </dl>
+  
+  <p>Note: <em>If the user doesn't provide his nickname, his
+  name and eventually his first name will be used to indicate who is
+  the author of the entry. If the nickname is provided, it will be used 
+  instead.</em></p>
+  
+  <dl>
+  <dt id="user_email">Email</dt>
+  <dd>The user's email address is optional. If you wish to
+  activate email notification for your entries' comments, then you
+  must fill this field.</dd>
+  
+  <dt id="user_pwd">Password</dt>
+  <dd>Choose a long enough password and rather cryptic. In case of updating
+  user settings or preferences, leave this field empty in order to avoid
+  changing your password.</dd>
+  
+  <dt id="user_lang">Language<dt>
+  <dd>If the language exists in the translation files, it will be used
+  for the user's private area. Each created entry will be
+  automatically "tagged" with the same language code.</dd>
+  
+  <dt id="user_post_format">Prefered edit format</dt>
+  <dd>Selected format will be the default one for each new entry.
+  User can of course change the mode punctually for a specific entry.</dd>
+  
+  <dt id="user_post_pub">Default publication status</dt>
+  <dd>This option defines the online or offline state of each new
+  entry.</dd>
+  
+  <dt id="user_pref_cat">Prefered category</dt>
+  <dd>Selected category will be the default one for each new entry.</dd>
+  
+  <dt id="user_edit_size">Entry edit field height</dt>
+  <dd>Height in number of lines for the text area of an entry.</dd>
+  
+  <dt id="user_delta">Number of hours between user's local time and the server
+  time</dt>
+  <dd>This option allows to define a possible time shift between your
+  server and your publication zone. Negative values are workable.
+  Your server's time is displayed in order to define the difference in hours
+  between the two zones.</dd>
+  </dl>
+  
+  <h2>Administration</h2>
+  <p>These fields are only available for the administrator in the
+  modification zone of an editor.</p>
+  
+  <dl>
+  <dt id="user_id">Login</dt>
+  <dd>Login identifies the user. It must only contain
+  letters and/or figures. It is required.</dd>
+  
+  <dt id="user_level">Level</dt>
+  <dd>Level corresponds to the privilege you agree to give the user. There are
+  three types of level:
+    <ul>
+      <li><strong>Administrator</strong>: Complete privilege.</li>
+	 <li><strong>Advanced editor</strong>: Privilege for his own
+	 entries, he can read other entries, and create categories.</li>
+	 <li><strong>Editor</strong>: Complete privilege for his own entries,
+	 but he can't read the others.</li>
+    </ul>
+  </dd>
+  </dl>
+  
+</body>
+</html>

+ 87 - 0
dotclear/ecrire/help/en/wiki2xhtml.html

@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Wiki Syntax</title>
+</head>
+
+<body>
+
+<h1>Wiki Syntax</h1>
+
+<p>Wiki formatting marks can be inserted in text by
+protecting them with "<code>\</code>".</p>
+
+<h2>Blocks</h2>
+<ul>
+  <li>Leave an empty line between each block <em>of same disposition</em>&nbsp;;</li>
+  <li><strong>Paragraph</strong> : text and an empty line&nbsp;;</li>
+  <li><strong>Title</strong> : <code>!!!</code>, <code>!!</code>, <code>!</code>
+  for titles more or less important&nbsp;;</li>
+  <li><strong>Horizontal rule</strong> : <code>----</code>&nbsp;;</li>
+  <li><strong>List</strong> : line beginning by <code>*</code> or
+  <code>#</code>. It is possible to mix lists (<code>*#*</code>) in order to
+  make nested lists. The style of each level must be respected&nbsp;;</li>
+  <li><strong>Preformated text</strong> : space before each line of
+  text&nbsp;;</li>
+  <li><strong>Blockquote</strong> : <code>&gt;</code> or <code>;:</code>
+  before each line of text.</li>
+</ul>
+
+<h2>Inline elements</h2>
+<ul>
+  <li>Punctuation correction is active. A non-breaking space
+  will replace automatically each space preceding the marks :
+  ";","?",":" and "!".&nbsp;;</li>
+  <li><strong>Emphasis</strong> : two simple quotes
+  <code>''text''</code>&nbsp;;</li>
+  <li><strong>Strong emphasis</strong> : two underscores
+  <code>__text__</code>&nbsp;;</li>
+  <li><strong>Forced line break</strong> :
+  <code>%%%</code>&nbsp;;</li>
+  <li><strong>Insertion</strong> : two plus
+  <code>++text++</code>&nbsp;;</li>
+  <li><strong>Suppression</strong> : two minus
+  <code>--text--</code>&nbsp;;</li>
+  <li><strong>Link</strong> : <code>[url]</code>, <code>[name|url]</code>,
+  <code>[name|url|language]</code> or
+  <code>[name|url|language|title]</code>.
+  <br /><em>If you want to insert a link to an anchor in the same page,
+  replace url by #name-of-anchor</em>&nbsp;;</li>
+  <li><strong>Image</strong> :
+  <code>((url|alternate text))</code>,
+  <code>((url|alternate text|position))</code> or
+  <code>((url|alternate text|position|long description))</code>.
+  <br />The position can take these values : L or G (left), R or D (right)
+  or C (center).&nbsp;;</li>
+  <li><strong>Anchor</strong> : <code>~anchor~</code>&nbsp;;</li>
+  <li><strong>Acronym</strong> : <code>??acronym??</code> or
+  <code>??acronym|title??</code>&nbsp;;</li>
+  <li><strong>Citation</strong> : <code>{{citation}}</code>,
+  <code>{{citation|language}}</code> or
+  <code>{{citation|language|url}}</code>&nbsp;;</li>
+  <li><strong>Code</strong> : <code>@@code here@@</code>&nbsp;;</li>
+  <li><strong>Footnote</strong> : <code>$$footnote's body$$</code>.</li>
+</ul>
+
+</body>
+</html>

+ 56 - 0
dotclear/ecrire/help/fr-utf8/category.html

@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Catégories</title>
+</head>
+
+<body>
+
+<h1>Les catégories</h1>
+
+<p>Pour créer ou modifier une catégorie, il suffit de se rendre dans la section
+<em>catégories</em> et de cliquer sur <em>Nouvelle catégorie</em> ou sur le lien
+d'une catégorie existante selon que l'on veut créer ou modifier une catégorie.</p>
+
+<h2>Champs</h2>
+
+<dl>
+  <dt id="title">Titre</dt>
+  <dd>Le nom de la catégorie. Sur le modèle par défaut, il est affiché dans le
+  menu ainsi que pour chaque billet. Ce champ est obligatoire.</dd>
+  
+  <dt id="title_url">Titre URL</dt>
+  <dd>Le titre URL est la forme "URLisée" du titre. Les accents et les
+  caractères gênants pour une URL sont supprimés. Il est fait tout seul
+  par le moteur sauf si vous en proposez un autre. Vous pouvez utiliser le lien
+  "essayer" pour remplir le champ en fonction du titre de votre catégorie.
+  Notez que si le titre de la catégorie est composé de caractères non latin, vous
+  devez en fournir un de votre choix. Les titres composés uniquement de 4 chiffres
+  ou plus sont invalides.</dd>
+  
+  <dt id="description">Description</dt>
+  <dd>Description de la catégorie, au format XHTML. Ce champ facultatif vous
+  permet de fournir une description détaillée de la catégorie.</dd>
+</dl>
+
+</body>

+ 127 - 0
dotclear/ecrire/help/fr-utf8/entry.html

@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Billets</title>
+</head>
+
+<body>
+  <h1>Création des billets</h1>
+  
+  <p>Pour commencer la rédaction d'un billet, rendez vous dans la section
+  <em>billets</em> puis cliquez sur <em>nouveau billet</em>.</p>
+  
+  <p>Un billet doit comporter au moins un titre, et son contenu. Vous pouvez
+  également choisir une catégorie.</p>
+  
+  <h2>Champs</h2>
+  
+  <dl>
+  <dt id="category">Catégorie</dt>
+  <dd>La catégorie de votre billet. Pour créer une nouvelle catégorie, rendez
+  vous dans la section <em>catégories</em>.</dd>
+  
+  <dt id="format">Format</dt>
+  <dd>Vous pouvez écrire vos billets dans deux formats&nbsp;; Wiki ou HTML.
+  Le format Wiki est une syntaxe simplifiée permettant de saisir rapidement
+  un billet, avec un minimum d'apprentissage. Le format HTML vous donne, quant
+  à lui, une latitude complète dans la mise en forme de vos écrits.</dd>
+  
+  <dt id="status">État</dt>
+  <dd>L'état permet de choisir si le billet est en ligne ou hors ligne après
+  enregistrement.</dd>
+  
+  <dt id="comment">Commentaires</dt>
+  <dd>Ce champ permet de définir si vous autorisez ou non les commentaires
+  pour ce billets.</dd>
+  
+  <dt id="trackback">Trackbacks</dt>
+  <dd>Les trackbacks (ou rétroliens) sont des commentaires envoyés par un autre
+  weblogue parlant de votre billet, ou du même sujet. Ce champ permet de définir
+  si vous autorisez ou non les trackbacks.</dd>
+  
+  <dt id="language">Langue</dt>
+  <dd>Code langue de votre billet. Par défaut, il s'agit du code de votre
+  langue. Vous pouvez le changer, par le code d'une autre langue, par
+  exemple "en", "fr-qc". Ce code est libre, il sera utilisé lors de l'affichage
+  des billets.</dd>
+  
+  <dt id="selected">Sélection</dt>
+  <dd>Marquer un billet comme sélectionné peut permettre de créer une liste
+  de certains billets importants que vous souhaitez mettre en avant, d'une
+  manière ou d'une autre.</dd>
+  
+  <dt id="title">Titre</dt>
+  <dd>Le titre du billet proprement dit. Ce champ est obligatoire.</dd>
+  
+  <dt id="title_url">Titre URL</dt>
+  <dd>Le titre URL est la forme "URLisée" du titre. Les accents et les
+  caractères génants pour une URL sont supprimés. Il est fait tout seul
+  par le moteur sauf si vous en proposez un autre. Vous pouvez utiliser le lien
+  "essayer" pour remplir le champ en fonction du titre de votre billet.
+  Contrairement aux catégories, le titre du billet sous forme d'URL n'est
+  pas obligatoire, simplement conseillé.</dd>
+  
+  <dt id="abstract">Chapô</dt>
+  <dd>La chapô permet d'écrire une courte introduction à un billet plus
+  long dont la suite (le contenu) sera lisible en cliquant sur un lien.</dd>
+  
+  <dt id="entry">Billet</dt>
+  <dd>Le corps de votre billet. Ce champ est obligatoire.</dd>
+  
+  <dt id="insertImage">Insertion d'image</dt>
+  <dd>En cliquant sur "Insérer une image" vous ouvrirez une fenêtre permettant
+  de choisir une image à insérer dans le corps de votre billet.</dd>
+  
+  <dt id="notepad">Bloc-notes</dt>
+  <dd>Le bloc-notes est une petite zone de texte permettant de conserver des notes,
+  des liens ou tout ce qui vous passe par la tête pendant que vous rédigez votre
+  billet. Ce champ n'est pas affiché sur votre weblog, il est là uniquement en
+  cas de besoin.</dd>
+  
+  <dt id="datetime">Date et Heure</dt>
+  <dd>Vous pouvez changer la date et l'heure du billet telle qu'affichée sur
+  votre blog.</dd>
+  </dl>
+  
+  <h2>Actions</h2>
+  <dl>
+  <dt>visualiser</dt>
+  <dd>Permet de visualiser sommairement votre billet avant de l'enregistrer.
+  Notez que si vous utilisez les émoticones, ils ne seront pas visibles sur
+  cette partie.
+  <br /><strong>Raccourci : alt+v</strong>.</dd>
+  
+  <dt>enregistrer</dt>
+  <dd>Pour enregistrer ou mettre à jour votre billet.
+  <br /><strong>Raccourci : alt+s</strong>.</dd>
+  
+  <dt>supprimer</dt>
+  <dd>Supprime <strong>définitivement</strong> votre billet.</dd>
+  </dl>
+  
+  <h2>Ajout de commentaires</h2>
+  <p>Vous pouvez ajouter un commentaire directement à un billet depuis
+  l'interface d'administration. Seulement si le billet est enregistré.</p>
+  
+</body>
+</html>

+ 0 - 0
dotclear/ecrire/help/fr-utf8/index.html


+ 112 - 0
dotclear/ecrire/help/fr-utf8/user.html

@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Préférences et gestion des utilisateurs</title>
+</head>
+
+<body>
+  <h1>Préférences et gestion des utilisateurs</h1>
+  
+  <p>Pour modifier vos préférences, rendez vous sur l'onglet "préférences".
+  Pour créer ou modifier un utilisateur, rendez vous sur l'onglet "rédacteurs".
+  Vous devez être administrateur pour cette dernière action.</p>
+  
+  <h2>Champs</h2>
+  
+  <dl>
+  <dt id="user_prenom">Prénom</dt>
+  <dd>Le prénom de l'utilisateur est facultatif.</dd>
+  
+  <dt id="user_nom">Nom</dt>
+  <dd>Le nom de l'utilisateur est obligatoire.</dd>
+  
+  <dt id="user_pseudo">Pseudo</dt>
+  <dd>Le pseudo de l'utilisateur est facultatif.</dd>
+  </dl>
+  
+  <p>Note&nbsp;: <em>Si l'utilisateur ne donne pas de pseudo, son
+  nom et éventuellement son prénom seront utilisés pour indiquer qui est
+  l'auteur du billet. S'il fournit un pseudo, alors ce dernier sera utilisé.</em></p>
+  
+  <dl>
+  <dt id="user_email">Email</dt>
+  <dd>L'addresse email de l'utilisateur est facultative. Si vous souhaitez
+  activer la notification des commentaires de vos billets par email, vous
+  devez renseigner ce champ.</dd>
+  
+  <dt id="user_pwd">Mot de passe</dt>
+  <dd>Choisissez un mot de passe assez long et peu explicite. En cas de mise à
+  jour d'un utilisateur ou de vos préférences, laissez ce champ vide pour ne pas
+  changer de mot de passe.</dd>
+  
+  <dt id="user_lang">Langue<dt>
+  <dd>Si la langue existe dans les fichiers de traduction, elle sera utilisée
+  pour l'interface d'administration de cet utilisateur. Chaque billet créé sera
+  également "marqué" avec le code de cette langue automatiquement.</dd>
+  
+  <dt id="user_post_format">Format d'édition préféré</dt>
+  <dd>Le format choisi sera celui utilisé par défaut pour tout nouveau billet.
+  L'utilisateur a bien sûr la possibilité de changer ce format ponctuellement
+  pour un nouveau billet.</dd>
+  
+  <dt id="user_post_pub">Statut de publication par défaut</dt>
+  <dd>Cette option définit le statut en ligne ou hors ligne de chaque nouveau
+  billet.</dd>
+  
+  <dt id="user_pref_cat">Catégorie préférée</dt>
+  <dd>La catégorie choisie sera celle par défaut de chaque nouveau billet.</dd>
+  
+  <dt id="user_edit_size">Hauteur de la zone d'édition d'un billet</dt>
+  <dd>Hauteur en lignes du champs d'écriture d'un billet.</dd>
+  
+  <dt id="user_delta">Nombres d'heures entre l'heure de l'utilisateur et celle
+  du serveur</dt>
+  <dd>Cette option permet de définir un éventuel décalage horaire entre votre
+  serveur et votre lieu de publication. Les valeurs négatives sont possibles.
+  L'heure de votre serveur est indiquée afin de définir votre décalage.</dd>
+  </dl>
+  
+  <h2>Administration</h2>
+  <p>Ces champs ne sont disponibles que pour l'administrateur dans la zone de
+  modification d'un rédacteur.</p>
+  
+  <dl>
+  <dt id="user_id">Identifiant</dt>
+  <dd>L'identifiant est le login de l'utilisateur. Il doit contenir uniquement
+  des lettres et/ou des chiffres. Il est obligatoire.</dd>
+  
+  <dt id="user_level">Niveau de l'utilisateur</dt>
+  <dd>Le niveau correspond aux droits que vous donnez à l'utilisateur. Il existe
+  trois types de droit&nbsp;:
+    <ul>
+      <li><strong>Administrateur</strong>&nbsp;: tous les droits.</li>
+	 <li><strong>Rédacteur avancé</strong>&nbsp;: tous les droits sur ses
+	 billets, peut lire les autres billets, peut créer des catégories.</li>
+	 <li><strong>Rédacteur</strong>&nbsp;: tous les droits sur ses billets,
+	 ne peut pas lire les autres billets.</li>
+    </ul>
+  </dd>
+  </dl>
+  
+</body>
+</html>

+ 89 - 0
dotclear/ecrire/help/fr-utf8/wiki2xhtml.html

@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Syntaxe Wiki</title>
+</head>
+
+<body>
+
+<h1>Syntaxe Wiki</h1>
+
+<p>Les marques de formatage Wiki peuvent être insérées dans le texte en les
+protégeant par le caractère "<code>\</code>".</p>
+
+<h2>Blocs</h2>
+<ul>
+  <li>Laisser une ligne vide entre chaque bloc <em>de même nature</em>.&nbsp;;</li>
+  <li><strong>Paragraphe</strong> : du texte et une ligne vide&nbsp;;</li>
+  <li><strong>Titre</strong> : <code>!!!</code>, <code>!!</code>, <code>!</code>
+  pour des titres plus ou moins importants&nbsp;;</li>
+  <li><strong>Trait horizontal</strong> : <code>----</code>&nbsp;;</li>
+  <li><strong>Liste</strong> : ligne débutant par <code>*</code> ou
+  <code>#</code>. Il est possible de mélanger les listes (<code>*#*</code>) pour
+  faire des listes de plusieurs niveaux. Respecter le style de chaque
+  niveau&nbsp;;</li>
+  <li><strong>Texte préformaté</strong> : espace devant chaque ligne de
+  texte&nbsp;;</li>
+  <li><strong>Bloc de citation</strong> : <code>&gt;</code> ou <code>;:</code>
+  devant chaque ligne de texte.</li>
+</ul>
+
+<h2>Éléments en ligne</h2>
+<ul>
+  <li>La correction de ponctuation est active. Un espace insécable
+  remplacera automatiquement tout espace précédant les marques
+  ";","?",":" et "!".&nbsp;;</li>
+  <li><strong>Emphase</strong> : deux apostrophes
+  <code>''texte''</code>&nbsp;;</li>
+  <li><strong>Forte emphase</strong> : deux soulignés
+  <code>__texte__</code>&nbsp;;</li>
+  <li><strong>Retour forcé à la ligne</strong> :
+  <code>%%%</code>&nbsp;;</li>
+  <li><strong>Insertion</strong> : deux plus
+  <code>++texte++</code>&nbsp;;</li>
+  <li><strong>Suppression</strong> : deux moins
+  <code>--texte--</code>&nbsp;;</li>
+  <li><strong>Lien</strong> : <code>[url]</code>, <code>[nom|url]</code>,
+  <code>[nom|url|langue]</code> ou
+  <code>[nom|url|langue|titre]</code>.
+  <br /><em>Si vous voulez insérer un lien vers une ancre dans la même page,
+  remplacez url par #nom-de-votre-ancre</em>&nbsp;;</li>
+  <li><strong>Image</strong> :
+  <code>((url|texte alternatif))</code>,
+  <code>((url|texte alternatif|position))</code> ou
+  <code>((url|texte alternatif|position|description longue))</code>.
+  <br />La position peut prendre les valeur L ou G (gauche), R ou D (droite)
+  ou C (centré).&nbsp;;</li>
+  <li><strong>Ancre</strong> : <code>~ancre~</code>&nbsp;;</li>
+  <li><strong>Acronyme</strong> : <code>??acronyme??</code> ou
+  <code>??acronyme|titre??</code>&nbsp;;</li>
+  <li><strong>Citation</strong> : <code>{{citation}}</code>,
+  <code>{{citation|langue}}</code> ou
+  <code>{{citation|langue|url}}</code>&nbsp;;</li>
+  <li><strong>Code</strong> : <code>@@code ici@@</code>&nbsp;;</li>
+  <li><strong>Note de bas de page</strong> : <code>$$Corps de la
+  note$$</code>.</li>
+</ul>
+
+</body>
+</html>

+ 56 - 0
dotclear/ecrire/help/fr/category.html

@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Catégories</title>
+</head>
+
+<body>
+
+<h1>Les catégories</h1>
+
+<p>Pour créer ou modifier une catégorie, il suffit de se rendre dans la section
+<em>catégories</em> et de cliquer sur <em>Nouvelle catégorie</em> ou sur le lien
+d'une catégorie existante selon que l'on veut créer ou modifier une catégorie.</p>
+
+<h2>Champs</h2>
+
+<dl>
+  <dt id="title">Titre</dt>
+  <dd>Le nom de la catégorie. Sur le modèle par défaut, il est affiché dans le
+  menu ainsi que pour chaque billet. Ce champ est obligatoire.</dd>
+  
+  <dt id="title_url">Titre URL</dt>
+  <dd>Le titre URL est la forme "URLisée" du titre. Les accents et les
+  caractères gênants pour une URL sont supprimés. Il est fait tout seul
+  par le moteur sauf si vous en proposez un autre. Vous pouvez utiliser le lien
+  "essayer" pour remplir le champ en fonction du titre de votre catégorie.
+  Notez que si le titre de la catégorie est composé de caractères non latin, vous
+  devez en fournir un de votre choix. Les titres composés uniquement de 4 chiffres
+  ou plus sont invalides.</dd>
+  
+  <dt id="description">Description</dt>
+  <dd>Description de la catégorie, au format XHTML. Ce champ facultatif vous
+  permet de fournir une description détaillée de la catégorie.</dd>
+</dl>
+
+</body>

+ 127 - 0
dotclear/ecrire/help/fr/entry.html

@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Billets</title>
+</head>
+
+<body>
+  <h1>Création des billets</h1>
+  
+  <p>Pour commencer la rédaction d'un billet, rendez vous dans la section
+  <em>billets</em> puis cliquez sur <em>nouveau billet</em>.</p>
+  
+  <p>Un billet doit comporter au moins un titre, et son contenu. Vous pouvez
+  également choisir une catégorie.</p>
+  
+  <h2>Champs</h2>
+  
+  <dl>
+  <dt id="category">Catégorie</dt>
+  <dd>La catégorie de votre billet. Pour créer une nouvelle catégorie, rendez
+  vous dans la section <em>catégories</em>.</dd>
+  
+  <dt id="format">Format</dt>
+  <dd>Vous pouvez écrire vos billets dans deux formats&nbsp;; Wiki ou HTML.
+  Le format Wiki est une syntaxe simplifiée permettant de saisir rapidement
+  un billet, avec un minimum d'apprentissage. Le format HTML vous donne, quant
+  à lui, une latitude complète dans la mise en forme de vos écrits.</dd>
+  
+  <dt id="status">État</dt>
+  <dd>L'état permet de choisir si le billet est en ligne ou hors ligne après
+  enregistrement.</dd>
+  
+  <dt id="comment">Commentaires</dt>
+  <dd>Ce champ permet de définir si vous autorisez ou non les commentaires
+  pour ce billets.</dd>
+  
+  <dt id="trackback">Trackbacks</dt>
+  <dd>Les trackbacks (ou rétroliens) sont des commentaires envoyés par un autre
+  weblogue parlant de votre billet, ou du même sujet. Ce champ permet de définir
+  si vous autorisez ou non les trackbacks.</dd>
+  
+  <dt id="language">Langue</dt>
+  <dd>Code langue de votre billet. Par défaut, il s'agit du code de votre
+  langue. Vous pouvez le changer, par le code d'une autre langue, par
+  exemple "en", "fr-qc". Ce code est libre, il sera utilisé lors de l'affichage
+  des billets.</dd>
+  
+  <dt id="selected">Sélection</dt>
+  <dd>Marquer un billet comme sélectionné peut permettre de créer une liste
+  de certains billets importants que vous souhaitez mettre en avant, d'une
+  manière ou d'une autre.</dd>
+  
+  <dt id="title">Titre</dt>
+  <dd>Le titre du billet proprement dit. Ce champ est obligatoire.</dd>
+  
+  <dt id="title_url">Titre URL</dt>
+  <dd>Le titre URL est la forme "URLisée" du titre. Les accents et les
+  caractères génants pour une URL sont supprimés. Il est fait tout seul
+  par le moteur sauf si vous en proposez un autre. Vous pouvez utiliser le lien
+  "essayer" pour remplir le champ en fonction du titre de votre billet.
+  Contrairement aux catégories, le titre du billet sous forme d'URL n'est
+  pas obligatoire, simplement conseillé.</dd>
+  
+  <dt id="abstract">Chapô</dt>
+  <dd>La chapô permet d'écrire une courte introduction à un billet plus
+  long dont la suite (le contenu) sera lisible en cliquant sur un lien.</dd>
+  
+  <dt id="entry">Billet</dt>
+  <dd>Le corps de votre billet. Ce champ est obligatoire.</dd>
+  
+  <dt id="insertImage">Insertion d'image</dt>
+  <dd>En cliquant sur "Insérer une image" vous ouvrirez une fenêtre permettant
+  de choisir une image à insérer dans le corps de votre billet.</dd>
+  
+  <dt id="notepad">Bloc-notes</dt>
+  <dd>Le bloc-notes est une petite zone de texte permettant de conserver des notes,
+  des liens ou tout ce qui vous passe par la tête pendant que vous rédigez votre
+  billet. Ce champ n'est pas affiché sur votre weblog, il est là uniquement en
+  cas de besoin.</dd>
+  
+  <dt id="datetime">Date et Heure</dt>
+  <dd>Vous pouvez changer la date et l'heure du billet telle qu'affichée sur
+  votre blog.</dd>
+  </dl>
+  
+  <h2>Actions</h2>
+  <dl>
+  <dt>visualiser</dt>
+  <dd>Permet de visualiser sommairement votre billet avant de l'enregistrer.
+  Notez que si vous utilisez les émoticones, ils ne seront pas visibles sur
+  cette partie.
+  <br /><strong>Raccourci : alt+v</strong>.</dd>
+  
+  <dt>enregistrer</dt>
+  <dd>Pour enregistrer ou mettre à jour votre billet.
+  <br /><strong>Raccourci : alt+s</strong>.</dd>
+  
+  <dt>supprimer</dt>
+  <dd>Supprime <strong>définitivement</strong> votre billet.</dd>
+  </dl>
+  
+  <h2>Ajout de commentaires</h2>
+  <p>Vous pouvez ajouter un commentaire directement à un billet depuis
+  l'interface d'administration. Seulement si le billet est enregistré.</p>
+  
+</body>
+</html>

+ 0 - 0
dotclear/ecrire/help/fr/index.html


+ 112 - 0
dotclear/ecrire/help/fr/user.html

@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Préférences et gestion des utilisateurs</title>
+</head>
+
+<body>
+  <h1>Préférences et gestion des utilisateurs</h1>
+  
+  <p>Pour modifier vos préférences, rendez vous sur l'onglet "préférences".
+  Pour créer ou modifier un utilisateur, rendez vous sur l'onglet "rédacteurs".
+  Vous devez être administrateur pour cette dernière action.</p>
+  
+  <h2>Champs</h2>
+  
+  <dl>
+  <dt id="user_prenom">Prénom</dt>
+  <dd>Le prénom de l'utilisateur est facultatif.</dd>
+  
+  <dt id="user_nom">Nom</dt>
+  <dd>Le nom de l'utilisateur est obligatoire.</dd>
+  
+  <dt id="user_pseudo">Pseudo</dt>
+  <dd>Le pseudo de l'utilisateur est facultatif.</dd>
+  </dl>
+  
+  <p>Note&nbsp;: <em>Si l'utilisateur ne donne pas de pseudo, son
+  nom et éventuellement son prénom seront utilisés pour indiquer qui est
+  l'auteur du billet. S'il fournit un pseudo, alors ce dernier sera utilisé.</em></p>
+  
+  <dl>
+  <dt id="user_email">Email</dt>
+  <dd>L'addresse email de l'utilisateur est facultative. Si vous souhaitez
+  activer la notification des commentaires de vos billets par email, vous
+  devez renseigner ce champ.</dd>
+  
+  <dt id="user_pwd">Mot de passe</dt>
+  <dd>Choisissez un mot de passe assez long et peu explicite. En cas de mise à
+  jour d'un utilisateur ou de vos préférences, laissez ce champ vide pour ne pas
+  changer de mot de passe.</dd>
+  
+  <dt id="user_lang">Langue<dt>
+  <dd>Si la langue existe dans les fichiers de traduction, elle sera utilisée
+  pour l'interface d'administration de cet utilisateur. Chaque billet créé sera
+  également "marqué" avec le code de cette langue automatiquement.</dd>
+  
+  <dt id="user_post_format">Format d'édition préféré</dt>
+  <dd>Le format choisi sera celui utilisé par défaut pour tout nouveau billet.
+  L'utilisateur a bien sûr la possibilité de changer ce format ponctuellement
+  pour un nouveau billet.</dd>
+  
+  <dt id="user_post_pub">Statut de publication par défaut</dt>
+  <dd>Cette option définit le statut en ligne ou hors ligne de chaque nouveau
+  billet.</dd>
+  
+  <dt id="user_pref_cat">Catégorie préférée</dt>
+  <dd>La catégorie choisie sera celle par défaut de chaque nouveau billet.</dd>
+  
+  <dt id="user_edit_size">Hauteur de la zone d'édition d'un billet</dt>
+  <dd>Hauteur en lignes du champs d'écriture d'un billet.</dd>
+  
+  <dt id="user_delta">Nombres d'heures entre l'heure de l'utilisateur et celle
+  du serveur</dt>
+  <dd>Cette option permet de définir un éventuel décalage horaire entre votre
+  serveur et votre lieu de publication. Les valeurs négatives sont possibles.
+  L'heure de votre serveur est indiquée afin de définir votre décalage.</dd>
+  </dl>
+  
+  <h2>Administration</h2>
+  <p>Ces champs ne sont disponibles que pour l'administrateur dans la zone de
+  modification d'un rédacteur.</p>
+  
+  <dl>
+  <dt id="user_id">Identifiant</dt>
+  <dd>L'identifiant est le login de l'utilisateur. Il doit contenir uniquement
+  des lettres et/ou des chiffres. Il est obligatoire.</dd>
+  
+  <dt id="user_level">Niveau de l'utilisateur</dt>
+  <dd>Le niveau correspond aux droits que vous donnez à l'utilisateur. Il existe
+  trois types de droit&nbsp;:
+    <ul>
+      <li><strong>Administrateur</strong>&nbsp;: tous les droits.</li>
+	 <li><strong>Rédacteur avancé</strong>&nbsp;: tous les droits sur ses
+	 billets, peut lire les autres billets, peut créer des catégories.</li>
+	 <li><strong>Rédacteur</strong>&nbsp;: tous les droits sur ses billets,
+	 ne peut pas lire les autres billets.</li>
+    </ul>
+  </dd>
+  </dl>
+  
+</body>
+</html>

+ 89 - 0
dotclear/ecrire/help/fr/wiki2xhtml.html

@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Syntaxe Wiki</title>
+</head>
+
+<body>
+
+<h1>Syntaxe Wiki</h1>
+
+<p>Les marques de formatage Wiki peuvent être insérées dans le texte en les
+protégeant par le caractère "<code>\</code>".</p>
+
+<h2>Blocs</h2>
+<ul>
+  <li>Laisser une ligne vide entre chaque bloc <em>de même nature</em>.&nbsp;;</li>
+  <li><strong>Paragraphe</strong> : du texte et une ligne vide&nbsp;;</li>
+  <li><strong>Titre</strong> : <code>!!!</code>, <code>!!</code>, <code>!</code>
+  pour des titres plus ou moins importants&nbsp;;</li>
+  <li><strong>Trait horizontal</strong> : <code>----</code>&nbsp;;</li>
+  <li><strong>Liste</strong> : ligne débutant par <code>*</code> ou
+  <code>#</code>. Il est possible de mélanger les listes (<code>*#*</code>) pour
+  faire des listes de plusieurs niveaux. Respecter le style de chaque
+  niveau&nbsp;;</li>
+  <li><strong>Texte préformaté</strong> : espace devant chaque ligne de
+  texte&nbsp;;</li>
+  <li><strong>Bloc de citation</strong> : <code>&gt;</code> ou <code>;:</code>
+  devant chaque ligne de texte.</li>
+</ul>
+
+<h2>Éléments en ligne</h2>
+<ul>
+  <li>La correction de ponctuation est active. Un espace insécable
+  remplacera automatiquement tout espace précédant les marques
+  ";","?",":" et "!".&nbsp;;</li>
+  <li><strong>Emphase</strong> : deux apostrophes
+  <code>''texte''</code>&nbsp;;</li>
+  <li><strong>Forte emphase</strong> : deux soulignés
+  <code>__texte__</code>&nbsp;;</li>
+  <li><strong>Retour forcé à la ligne</strong> :
+  <code>%%%</code>&nbsp;;</li>
+  <li><strong>Insertion</strong> : deux plus
+  <code>++texte++</code>&nbsp;;</li>
+  <li><strong>Suppression</strong> : deux moins
+  <code>--texte--</code>&nbsp;;</li>
+  <li><strong>Lien</strong> : <code>[url]</code>, <code>[nom|url]</code>,
+  <code>[nom|url|langue]</code> ou
+  <code>[nom|url|langue|titre]</code>.
+  <br /><em>Si vous voulez insérer un lien vers une ancre dans la même page,
+  remplacez url par #nom-de-votre-ancre</em>&nbsp;;</li>
+  <li><strong>Image</strong> :
+  <code>((url|texte alternatif))</code>,
+  <code>((url|texte alternatif|position))</code> ou
+  <code>((url|texte alternatif|position|description longue))</code>.
+  <br />La position peut prendre les valeur L ou G (gauche), R ou D (droite)
+  ou C (centré).&nbsp;;</li>
+  <li><strong>Ancre</strong> : <code>~ancre~</code>&nbsp;;</li>
+  <li><strong>Acronyme</strong> : <code>??acronyme??</code> ou
+  <code>??acronyme|titre??</code>&nbsp;;</li>
+  <li><strong>Citation</strong> : <code>{{citation}}</code>,
+  <code>{{citation|langue}}</code> ou
+  <code>{{citation|langue|url}}</code>&nbsp;;</li>
+  <li><strong>Code</strong> : <code>@@code ici@@</code>&nbsp;;</li>
+  <li><strong>Note de bas de page</strong> : <code>$$Corps de la
+  note$$</code>.</li>
+</ul>
+
+</body>
+</html>

+ 57 - 0
dotclear/ecrire/help/it/category.html

@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Categorie</title>
+</head>
+
+<body>
+
+<h1>Le categorie</h1>
+
+<p>Per modificare o cambiare le categorie presenti nel blog devi cliccare sulla linguetta 
+<em>Categorie</em>, poi clicca su <em>Nuova categoria</em> per aggiungere una nuoca categoria o clicca
+  sulle categorie già esistenti per modificarle.</p>
+
+<h2>Campi</h2>
+
+<dl>
+  <dt id="title">Titolo</dt>
+  <dd>Nome della categoria. Il campo è obbligatorio. Normalmente il titolo di ogni categoria
+  appare sia nel menù del blog, sia in ogni post.
+  </dd>
+  
+  <dt id="title_url">URLed</dt>
+  <dd>L'URLed è una forma "standardizzata" del titolo sotto forma di indirizzo (URL). Accenti e caratteri particolari saranno rimossi.
+  DotClear è in grado di generare automaticamente un titolo URLed, tuttavia puoi specificare
+  un titolo URLed di tuo piacimento.
+  Nota: se il titolo della categoria non è stato scritto in caratteri latini devi obbligatoriamente
+  impostare un titolo URLed. Un titolo URLed non può essere composto soltanto da numeri ma anche da
+  lettere. Quindi, per esempio, <em>2005</em> non può essere valido, mentre <em>anno2005</em> è corretto. 
+  </dd>
+  
+  <dt id="description">Descrizione</dt>
+  <dd>Campo ozpionale che ti permette di inserire un commento o una descrizione più o meno dettagliata (in formato XHTML) 
+  della categoria.</dd>
+</dl>
+
+</body>

BIN
dotclear/ecrire/help/it/entry.html


+ 110 - 0
dotclear/ecrire/help/it/user.html

@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Preferenze e gestione utenti</title>
+</head>
+
+<body>
+  <h1>Preferenze e gestione utenti</h1>
+
+  <p>Per modificare le tue preferenze clicca sul linguetta etichettata "Preferenze".
+  Per creare o modificare un utente scegli la linguetta "Autori"
+  Per modificare o creare un utente devi avere i privilegi di amministrazione.
+  </p>
+  
+  <h2>Campi</h2>
+  
+  <dl>
+  <dt id="user_prenom">Cognome</dt>
+  <dd>Il cognome dell'utente è opzionale</dd>
+  
+  <dt id="user_nom">Nome</dt>
+  <dd>Il nome dell'utente è obbligatorio.</dd>
+  
+  <dt id="user_pseudo">Nickname</dt>
+  <dd>Il nickname dell'utente è obbligatorio.</dd>
+  </dl>
+  
+  <p>Nota: <em>Se l'utente non specifica un nickname, il suo nome ed eventualmente il suo cognome
+  verranno usati nel blog per indicare chi è l'autore del post.
+  Se invece è stato specificato un nickname quest'ultimo potrà essere usato come identificatore.</em></p>
+  
+  <dl>
+  <dt id="user_email">Email</dt>
+  <dd>La mail dell'utente è opzionale. Tuttavia è obbligatoria per attivare servizi come 
+  la notifica via posta.
+  La notifica via mail permette di essere avvertiti della presenza di nuovi commenti.
+  </dd>
+  
+  <dt id="user_pwd">Password</dt>
+  <dd>&Egrave preferibile che l'utente scelga una email lunga e difficile da individuare.
+  In caso di aggiornamento del profilo lasciare questo campo vuoto per evitare che la password
+  sia sovrascritta.
+  </dd>
+  
+  <dt id="user_lang">Lingua<dt>
+  <dd>Se la lingua prescelta è presente nei file di traduzione di DotClear, questa sarà
+  predefinita sia nella sezione privata sia nell'indicazione della lingua di ogni singolo
+  post dell'autore.</dd>
+  
+  <dt id="user_post_format">Formato di scrittura prefefinito</dt>
+  <dd>Indica il formato di scrittura preferito dall'utente.
+  Naturalmente esso può essere cambiato in fase di scrittura di un nuovo post.</dd>
+  
+  <dt id="user_post_pub">Stato di pubblicazione di default</dt>
+  <dd>Questa opzione definisce lo stato di pubblicazione (online o offline) di ogni nuovo post.</dd>
+  
+  <dt id="user_pref_cat">Categoria preferita</dt>
+  <dd>Categoria di default per ogni nuovo post.
+  In fase di scrittura può essere definita una categoria diversa.</dd>
+  
+  <dt id="user_edit_size">Altezza dell'area di scrittura del post</dt>
+  <dd>Questo campo indica quanto deve essere alto (in righe) il box di scrittura del post.</dd>
+  
+  <dt id="user_delta">Numero di ore di fuso orario tra l'ora del server e l'ora dell'utente</dt>
+  <dd>Definisce il fuso orario presente tra il server e la località dell'utente. Si inseriscono le ore di differenza, funzionano sia valori positivi
+  sia valori negativi.</dd>
+  </dl>
+  
+  <h2>Amministrazione</h2>
+  <p>Queste opzioni sono visibili solo a chi gode dei privilegi di amministrazione.</p>
+  
+  <dl>
+  <dt id="user_id">Login</dt>
+  <dd>Il login permette di indentificare ogni singolo utente. Può contentere solo lettere e numeri. &Egrave obbligatorio.</dd>
+  
+  <dt id="user_level">Livelli di gerarchie</dt>
+  <dd>I livelli corrispondono ai privilegi che si vogliono assegnare ad ogni singolo utente:
+  Ci sono tre livelli disponibili
+    <ul>
+      <li><strong>Amministratore</strong>: Superuser, ha tutti i privilegi disponibili.</li>
+         <li><strong>Utente avanzato</strong>: Privilegi di scrittura dei suoi post, può leggere i post di altri utenti e
+	 può creare nuove sezioni.</li>
+         <li><strong>Utente</strong>: Privilegi completi per i suoi post ma non può leggere post di altri utenti e non può
+	 creare nuove sezioni.</li>
+    </ul>
+  </dd>
+  </dl>
+  
+</body>
+</html>

+ 80 - 0
dotclear/ecrire/help/it/wiki2xhtml.html

@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- ***** BEGIN LICENSE BLOCK *****
+   - This file is part of DotClear.
+   - Copyright (c) 2004 Olivier Meunier and contributors. All rights
+   - reserved.
+   -
+   - DotClear is free software; you can redistribute it and/or modify
+   - it under the terms of the GNU General Public License as published by
+   - the Free Software Foundation; either version 2 of the License, or
+   - (at your option) any later version.
+   - 
+   - DotClear is distributed in the hope that it will be useful,
+   - but WITHOUT ANY WARRANTY; without even the implied warranty of
+   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   - GNU General Public License for more details.
+   - 
+   - You should have received a copy of the GNU General Public License
+   - along with DotClear; if not, write to the Free Software
+   - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   -
+   - ***** END LICENSE BLOCK ***** -->
+<html>
+<head>
+  <title>Sintassi Wiki</title>
+</head>
+
+<body>
+
+<h1>Sintassi Wiki</h1>
+
+<p>Se vuoi far s&igrave; che alcuni tag Wiki che hai inserito nel testo siano 
+  mostrati nel testo finale devi proteggerli con il tag "<code>\</code>".</p>
+
+<h2>Blocchi</h2>
+<ul>
+  <li>Lascia una riga vuota tra ogni blocco <em>dello stesso tipo</em>&nbsp;;</li>
+  <li><strong>Paragrafo</strong> : per un nuovo paragrafo inserire una riga vuota&nbsp;;</li>
+  <li><strong>Titolo</strong> : <code>!!!</code>, <code>!!</code>, <code>!</code> 
+    per titoli, ordinati per importanza descrescente&nbsp;;</li>
+  <li><strong>Linea orizzontale </strong> : <code>----</code>&nbsp;;</li>
+  <li><strong>Lista</strong>: all'inizio di ogni riga inserisci<code> *</code> 
+    o<code> #</code>. &Eacute; possibile alternare le liste (<code>*#*</code>) 
+    in modo da generare liste innestate. Lo stile di ogni livello deve essere 
+    rispettato &nbsp;;</li>
+  <li><strong>Testo preformattato</strong> : <em>uno_spazio</em> prima di ogni 
+    linea di testo&nbsp;;</li>
+  <li><strong>Blocco di quoting</strong> : <code>&gt;</code> or <code>;:</code> 
+    prima di ogni linea di testo.</li>
+</ul>
+
+<h2>Elementi</h2>
+<ul>
+  <li>Il correttore automatico della punteggiatura &egrave; attivo se la lingua prescelta è fr (francese). 
+  Se attiva, tutti gli spazi che precedono uno di questi elementi : ";","?",":" and "!" verranno rimpiazzati 
+  da un unico spazio&nbsp;;</li>
+  <li><strong>Corsivo</strong> : <code>''testo''</code>&nbsp;;</li>
+  <li><strong>Grassetto</strong> : <code>__testo__</code>&nbsp;;</li>
+  <li><strong>A capo</strong> : <code>%%%</code>&nbsp;;</li>
+  <li><strong>Sottolineato</strong> : <code>++testo++</code>&nbsp;;</li>
+  <li><strong>Barrato</strong> : <code>--testo--</code>&nbsp;;</li>
+  <li><strong>Link</strong> : <code>[indirizzo]</code>, <code>[nome|indirizzo]</code>, 
+    <code>[nome|indirizzo|lingua]</code> or <code>[nome|indirizzo|lingua|titolo]</code>. 
+    <br />
+    <em>Se vuoi inserire un link ad un segnalibro presente nella pagina, metti 
+    come indirizzo #nome-del-segnalibro</em>&nbsp;;</li>
+  <li><strong>Immagini</strong> : <code>((indirizzo|testo alternativo))</code>, 
+    <code>((indirizzo|testo alternativo|posizionamento))</code> or <code>((indirizzo|testo 
+    alternativo|posizionamento|descrizione))</code>. <br />
+    Valori per il campo posizionamento: L or G (sinistra), R or D (destra) or 
+    C (centro)&nbsp;;</li>
+  <li><strong>Segnalibro </strong>: <code>~nome-segnalibro~</code>&nbsp;;</li>
+  <li><strong>Acronimo</strong> : <code>??nome-acronimo??</code> or <code>??nome-acronimo|titolo??</code>&nbsp;;</li>
+  <li><strong>Citazione</strong> : <code>{{citazione}}</code>, <code>{{citazione|lingua}}</code> 
+    or <code>{{citazione|lingua|indirizzo}}</code>&nbsp;;</li>
+  <li><strong>Codice</strong> : <code>@@codice@@</code>&nbsp;;</li>
+  <li><strong>Nota a pi&egrave; di pagina</strong> : <code>$$nota$$</code>.</li>
+</ul>
+
+</body>
+</html>

+ 27 - 0
dotclear/ecrire/images-popup.php

@@ -0,0 +1,27 @@
+<?php
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of DotClear.
+# Copyright (c) 2004 Olivier Meunier and contributors. All rights
+# reserved.
+#
+# DotClear is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# DotClear is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with DotClear; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# ***** END LICENSE BLOCK *****
+
+$mode = 'popup';
+
+include dirname(__FILE__).'/images.php';
+
+?>

+ 331 - 0
dotclear/ecrire/images.php

@@ -0,0 +1,331 @@
+<?php
+# ***** BEGIN LICENSE BLOCK *****
+# This file is part of DotClear.
+# Copyright (c) 2004 Olivier Meunier and contributors. All rights
+# reserved.
+#
+# DotClear is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# DotClear is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with DotClear; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+# ***** END LICENSE BLOCK *****
+
+require dirname(__FILE__).'/inc/prepend.php';
+require_once dirname(__FILE__).'/../inc/classes/class.imgmanager.php';
+require_once dirname(__FILE__).'/../inc/libs/lib.image.php';
+
+$auth->check(5);
+
+include dirname(__FILE__).'/inc/connexion.php';
+
+$page_title = __('Manage images');
+
+$img_p = dc_img_root;
+$img_p = path::real($img_p);
+$p = !empty($_REQUEST['p']) ? $_REQUEST['p'] : '';
+$mode = !isset($mode) ? '' : $mode;
+
+$pscript = ($mode == 'popup') ? 'images-popup.php' : 'images.php';
+
+$imgM = new imgmanager($img_p,$p,dc_img_url,$pscript);
+
+$err = '';
+
+# Upload d'image
+if (!$imgM->isExclude() && $imgM->isWritable() && !empty($_FILES['up_img']))
+{
+	$tmp_file = $_FILES['up_img']['tmp_name'];
+	$img_name = $_FILES['up_img']['name'];
+	$up_dir = $imgM->root.'/'.$imgM->base_path;
+	
+	if (version_compare(phpversion(),'4.2.0','>=')) {
+		$upd_error = $_FILES['up_img']['error'];
+	} else {
+		$upd_error = 0;
+	}
+	
+	if($upd_error != 0)
+	{
+		switch ($upd_error) {
+			case 1:
+			case 2:
+				$err .= '<li>'.__('File size exceeds the authorized limit').'</li>';
+				break;
+			case 3:
+				$err .= '<li>'.__('File was only partially uploaded').'</li>';
+				break;
+			case 4:
+				$err .= '<li>'.__('No file').'</li>';
+				break; 
+		}
+	}
+	elseif(@move_uploaded_file($tmp_file,$up_dir.'/'.$img_name))
+	{
+		$dest_img = $up_dir.'/'.$img_name;
+		
+		if(filesize($dest_img) > dc_upload_size)
+		{
+			$err .= '<li>'.__('File size exceeds the authorized limit').'</li>'; 
+		}
+		else
+		{	
+			if(($img_size = @getimagesize($dest_img)) === false)
+			{
+				$err .= '<li>'.sprintf(__('The file %s is not an image'),
+				'<strong>'.$img_name.'</strong>').'</li>';
+			}
+			else
+			{
+				$max_s = explode('x',dc_max_img_size);
+				$max_w = (int) $max_s[0];
+				$max_h = isset($max_s[1]) ? (int) $max_s[1] : 0;
+				
+				if ($max_w > 0 && $img_size[0] > $max_w)
+				{
+					$err .= '<li>'.__('Image is too large').'</li>';
+				}
+				elseif ($max_h > 0 && $img_size[1] > $max_h)
+				{
+					$err .= '<li>'.__('Image is too large').'</li>';
+				}
+			}
+		}
+		
+		if ($err != '')
+		{
+			unlink($dest_img);
+		}
+		else
+		{
+			chmod($up_dir.'/'.$img_name,fileperms($up_dir) & ~0111);
+			# On fait le thumbnail
+			if (($img_type = images::type($dest_img)) !== false)
+			{
+				$tn_file = preg_replace('/^(.*)([.]\\w+)$/','$1.TN__$2',$up_dir.'/'.$img_name);
+				images::cropImg($dest_img,$tn_file,$img_type,140,140);
+			}
+			
+			$msg = __('Image uploaded');
+			header('Location: '.$pscript.'?p='.$p.'&msg='.rawurlencode($msg));
+			exit();
+		}
+	}
+	else
+	{
+		$err .= '<li>'.__('An error occured while uploading the image').'</li>';
+	}
+}
+
+# Création d'une miniature
+if (!$imgM->isExclude() && $imgM->isImg() && isset($_GET['tn']))
+{
+	$type = $imgM->getImgType();
+	
+	if ($type != 'png' && $type != 'jpeg')
+	{
+		$err .= '<li>'.__('Wrong image type').'</li>';
+	}
+	elseif (!$imgM->isParentWritable())
+	{
+		$err .= '<li>'.__('This folder is not writable.').'</li>';
+	}
+	else
+	{
+		$img_file = $imgM->root.'/'.$imgM->base_path;
+		$tn_file = preg_replace('/^(.*)([.]\\w+)$/','$1.TN__$2',$img_file);
+		
+		if (images::cropImg($img_file,$tn_file,$type,140,140) !== false) {
+			header('Location: '.$pscript.'?p='.dirname($p));
+			exit;
+		}
+	}
+}
+
+# Suppression
+if (!$imgM->isExclude() && $imgM->isDeletable() && isset($_GET['del']))
+{
+	if ($imgM->isImg()) {
+		$img_tn = $imgM->getThumb(NULL,true);
+	}
+	if ($imgM->delete() === false) {
+		$err .= '<li>'.__('Cannot delete.').'</li>';
+	} else {
+		if (!empty($img_tn)) {
+			@unlink($img_tn);
+		}
+		header('Location: '.$pscript.'?p='.dirname($p));
+		exit;
+	}
+}
+
+# Création d'un répertoire
+if (!$imgM->isExclude() && $imgM->isWritable() && !empty($_POST['new_dir']))
+{
+	if ($imgM->newDir($_POST['new_dir']) !== false) {
+		header('Location: '.$pscript.'?p='.$p);
+		exit;
+	} else {
+		$err = '<li>'.__('Cannot create this directory.').'</li>';
+	}
+}
+
+# Affichage
+if ($mode == 'popup') {
+	openPopup($page_title);
+	echo '<script type="text/javascript" src="js/toolbar.js"></script>';
+	echo
+	'<script type="text/javascript">'.
+	"if (document.getElementById) {
+		var tbImg = new dcToolBar(window.opener.document.getElementById('p_content'),
+		window.opener.document.getElementById('p_format'),'images/');
+	}
+	</script>";
+	
+} else {
+	# Sous menu
+	$mySubMenu->addItem(
+		__('Back to list of entries'),'index.php','images/ico_retour.png',false);
+	
+	openPage($page_title);
+}
+
+
+echo '<h2>'.$page_title.'</h2>';
+
+if ($err != '')
+{
+	echo '<div class="erreur"><p><strong>'.__('Error(s)').' :</strong></p>'.
+		'<ul>'.$err.'</ul></div>';
+}
+
+echo '<h3>'.__('Your images').'</h3>';
+
+echo '<p>'.$imgM->getNavBar().'</p>';
+
+# Affichage des image
+if (!$imgM->isExclude() && $imgM->isDir() && ($f_list = $imgM->getDir()) !== false)
+{
+	$redir_link = ''.$pscript.'?p='.$imgM->base_path;
+	
+	foreach ($f_list['dirs'] as $k => $v)
+	{
+		$action = '';
+		
+		if ($v['del']) {
+			$action .= '<a href="'.$redir_link.'/%2$s&amp;del=1" '.
+			'onclick="return window.confirm(\''.
+			addslashes(sprintf(__('Are you sure you want to delete this %s?'),__('directory'))).'\');">'.
+			'<img src="images/delete.png" alt="'.__('delete').'" '.
+			'title="'.__('delete').'"/></a>';
+		}
+		
+		$action = '<p class="action">'.$action.'</p>';
+		
+		$dir_link =
+		'<div class="imgBrowsedir">'.
+		'<p class="thumbnail small">'.
+		'<a href="%1$s">'.
+		'<img src="images/directory.png" alt="" /></a>'.
+		'<a href="%1$s">%2$s</a></p>'.
+		$action.
+		'</div>';
+		
+		echo $imgM->listDir($k,$v,$dir_link);
+	}
+	
+	foreach ($f_list['files'] as $k => $v)
+	{
+		$action = '';
+		
+		if ($v['del']) {
+			$action .= '<a href="'.$redir_link.'/%2$s&amp;del=1" '.
+			'onclick="return window.confirm(\''.
+			addslashes(sprintf(__('Are you sure you want to delete this %s?'),__('file'))).'\');">'.
+			'<img src="images/delete.png" alt="'.__('delete').'" '.
+			'title="'.__('delete').'"/></a>';
+		}
+		
+		$action = '<p class="action">'.$action.'</p>';
+		
+		if ($mode != 'popup') {
+			$img_href = '%1$s';
+		} else {
+			$img_href = '%1$s" '.
+			'onclick="tbImg.insImg(\'%4$s\'); '.
+			'window.close(); return false;';
+		}
+		
+		$img_link =
+		'<div class="imgBrowse">'.
+		'<p class="thumbnail small">'.
+		'<br /><a href="'.$img_href.'">%2$s</a>'.
+		'<br /><br /> <a href="'.$pscript.'?p='.$imgM->base_path.'/%2$s&amp;tn=1">'.
+		__('Try to create thumbnail').'</a></p>'.
+		$action.
+		'</div>';
+		
+		$img_link_tn =
+		'<div class="imgBrowse">'.
+		'<p class="thumbnail small">'.
+		'<a href="'.$img_href.'"><img src="%3$s" alt="%2$s" /></a>'.
+		'<a href="'.$img_href.'">%2$s</a></p>'.
+		$action.
+		'</div>';
+		
+		if (!preg_match('/TN__[.]\w+$/',$k))
+		{
+			# Thumbnail ?
+			if (($tn_url = $imgM->getThumb($k)) !== false) {
+				echo $imgM->listImg($k,$v,$img_link_tn);
+			} else {
+				echo $imgM->listImg($k,$v,$img_link);
+			}
+		}
+	}
+}
+
+# Formulaire
+
+if ($imgM->isWritable())
+{
+	echo
+	'<form enctype="multipart/form-data" action="'.$pscript.'" method="post">'.
+	'<fieldset class="clear"><legend>'.__('Upload an image').'</legend>'.
+	'<p><label for="up_img">'.
+	sprintf(__('Choose a file (max size %s)'),files::size(dc_upload_size)).'&nbsp;: </label>'.
+	'<input name="up_img" id="up_img" type="file" />'.
+	'<input type="hidden" name="MAX_FILE_SIZE" value="'.dc_upload_size.'" />'.
+	'<input type="hidden" name="mode" value="'.$mode.'" />'.
+	'<input type="hidden" name="p" value="'.$p.'" />'.
+	'&nbsp;<input class="submit" type="submit" value="'.__('send').'" /></p>'.
+	'</fieldset>'.
+	'</form>';
+	
+	echo
+	'<form action="'.$pscript.'" method="post">'.
+	'<fieldset><legend>'.__('New directory').'</legend>'.
+	'<p><label for="new_dir">'.__('Name').' : </label>'.
+	form::field('new_dir',20,255,'').
+	'<input type="hidden" name="mode" value="'.$mode.'" />'.
+	'<input type="hidden" name="p" value="'.$p.'" />'.
+	'&nbsp;<input class="submit" type="submit" value="'.__('save').'" /></p>'.
+	'</fieldset>'.
+	'</form>';
+}
+
+if ($mode == 'popup') {
+	closePopup();
+} else {
+	closePage();
+}
+?>

BIN
dotclear/ecrire/images/arrow_down.png


BIN
dotclear/ecrire/images/arrow_up.png


BIN
dotclear/ecrire/images/bt_bquote.png


BIN
dotclear/ecrire/images/bt_br.png


BIN
dotclear/ecrire/images/bt_code.png


BIN
dotclear/ecrire/images/bt_del.png


BIN
dotclear/ecrire/images/bt_em.png


BIN
dotclear/ecrire/images/bt_img.png


BIN
dotclear/ecrire/images/bt_img_link.png


BIN
dotclear/ecrire/images/bt_ins.png


Some files were not shown because too many files changed in this diff