diff --git a/CHANGELOG b/CHANGELOG
new file mode 100644
index 0000000..f62ca74
--- /dev/null
+++ b/CHANGELOG
@@ -0,0 +1,22 @@
+postInfoWidget 0.5.1 - 2015-04-23 - Pierre Van Glabeke
+ * modif url support
+
+postInfoWidget 0.5 - 2015-01-29 - Pierre Van Glabeke
+ * ajout case hors ligne
+ * modif localisation
+ * fin de ligne unix (LF)
+
+postInfoWidget 0.4 - 2013-11-12
+ * Switch to Dotclear 2.6
+ * Clean up code
+ * Add widget options
+
+postInfoWidget 0.3 - 2010-06-21
+ * Fixed tags list
+ * Fixed nav links
+
+postInfoWidget 0.2 - 2010-06-05
+ * Switched to DC 2.2
+
+postInfoWidget 0.1 - 2010-05-24
+ * First lab release
diff --git a/ICONS b/ICONS
new file mode 100644
index 0000000..51540b9
--- /dev/null
+++ b/ICONS
@@ -0,0 +1,19 @@
+Flags icons
+
+“Flags” are 247 icons — in GIF and PNG formats — representing most countries in
+the world as small pixel icons. These flag icons are available for free use for any
+purpose with no requirement for attribution.
+Come from http://www.famfamfam.com/lab/icons/flags/
+
+Fugue Icons
+
+Copyright (C) 2010 Yusuke Kamiyamane. All rights reserved.
+The icons are licensed under a Creative Commons Attribution
+3.0 license.
+
+If you can't or don't want to provide a link back, please
+purchase a royalty-free license.
+
+I'm unavailable for custom icon design work. But your
+suggestions are always welcome!
+
\ No newline at end of file
diff --git a/README.md b/README.md
index 268fe90..f70e342 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,22 @@
-# postInfoWidget
-Afficher les informations d'un billet dans un widget
+# README
+
+## WHAT IS POSTINFOWIDGET ?
+
+postInfoWidget "Entry information list" is a plugin for the open-source
+web publishing software called Dotclear.
+
+Show entry details in a widget.
+
+## REQUIREMENTS
+
+ postInfoWidget requires:
+
+ * permissions to manage widgets
+ * Dotclear 2.6
+
+## USAGE
+
+First install postInfoWidget, manualy from a zip package or from
+Dotaddict repository. (See Dotclear's documentation to know how do this)
+
+Add and configure "Entry information list" from widgets manager.
diff --git a/_admin.php b/_admin.php
new file mode 100644
index 0000000..55b144a
--- /dev/null
+++ b/_admin.php
@@ -0,0 +1,19 @@
+registerModule(
+ /* Name */
+ "postInfoWidget",
+ /* Description*/
+ "Show Entry informations on a widget",
+ /* Author */
+ "Jean-Christian Denis, Pierre Van Glabeke",
+ /* Version */
+ '0.5.1',
+ array(
+ 'permissions' => 'usage,contentadmin',
+ 'type' => 'plugin',
+ 'dc_min' => '2.7',
+ 'support' => 'http://forum.dotclear.org/viewtopic.php?pid=332974#p332974',
+ 'details' => 'http://plugins.dotaddict.org/dc2/details/postInfoWidget'
+ )
+);
\ No newline at end of file
diff --git a/_public.php b/_public.php
new file mode 100644
index 0000000..d543cda
--- /dev/null
+++ b/_public.php
@@ -0,0 +1,19 @@
+addBehavior(
+ 'initWidgets',
+ array('postInfoWidget', 'adminWidget')
+);
+
+class postInfoWidget
+{
+ public static function adminWidget($w)
+ {
+ global $core;
+
+ $w->create(
+ 'postinfowidget',
+ __('PostInfoWidget: entry information list'),
+ array('postInfoWidget', 'publicWidget'),
+ null,
+ __('Show Entry informations on a widget')
+ );
+ $w->postinfowidget->setting(
+ 'title',
+ __('Title:'),
+ __('About this entry'),
+ 'text'
+ );
+ $w->postinfowidget->setting(
+ 'dt_str',
+ __('Publish date text:'),
+ __('Publish on %Y-%m-%d %H:%M'),
+ 'text'
+ );
+ $w->postinfowidget->setting(
+ 'creadt_str',
+ __('Create date text:'),
+ __('Create on %Y-%m-%d %H:%M'),
+ 'text'
+ );
+ $w->postinfowidget->setting(
+ 'upddt_str',
+ __('Update date text:'),
+ __('Update on %Y-%m-%d %H:%M'),
+ 'text'
+ );
+ $w->postinfowidget->setting(
+ 'lang_str',
+ __('Language (%T = name, %C = code, %F = flag):'),
+ __('Language: %T %F'),
+ 'text'
+ );
+ $w->postinfowidget->setting(
+ 'author_str',
+ __('Author text (%T = author):'),
+ __('Author: %T'),
+ 'text'
+ );
+ $w->postinfowidget->setting(
+ 'category_str',
+ __('Category text (%T = category):'),
+ __('Category: %T'),
+ 'text'
+ );
+ if ($core->plugins->moduleExists('tags')) {
+ $w->postinfowidget->setting(
+ 'tag_str',
+ __('Tags text (%T = tags list):'),
+ __('Tags: %T'),
+ 'text'
+ );
+ }
+ $w->postinfowidget->setting(
+ 'attachment_str',
+ __('Attachments text (%T = text, %D = numeric):'),
+ __('Attachments: %T'),
+ 'text'
+ );
+ $w->postinfowidget->setting(
+ 'comment_str',
+ __('Comments text (%T = text, %D = numeric):'),
+ __('Comments: %T'),
+ 'text'
+ );
+ $w->postinfowidget->setting(
+ 'trackback_str',
+ __('Trackbacks text (%T = text, %D = numeric):'),
+ __('Trackbacks: %T'),
+ 'text'
+ );
+ $w->postinfowidget->setting(
+ 'permalink_str',
+ __('Permalink text (%T = text link, %F = full link):'),
+ __('%T'),
+ 'text'
+ );
+ $w->postinfowidget->setting(
+ 'feed',
+ __('Show comment feed url'),
+ 1,
+ 'check'
+ );
+ $w->postinfowidget->setting(
+ 'navprevpost',
+ __('Link to previous entry (%T = navigation text, %F = entry title):'),
+ __('%T'),
+ 'text'
+ );
+ $w->postinfowidget->setting(
+ 'navnextpost',
+ __('Link to next entry (%T = navigation text, %F = entry title):'),
+ __('%T'),
+ 'text'
+ );
+ $w->postinfowidget->setting(
+ 'navprevcat',
+ __('Link to previous entry of this category (%T = navigation text, %F = entry title):'),
+ __('%T'),
+ 'text'
+ );
+ $w->postinfowidget->setting(
+ 'navnextcat',
+ __('Link to next entry of this category (%T = navigation text, %F = entry title):'),
+ __('%T'),
+ 'text'
+ );
+ $w->postinfowidget->setting(
+ 'style',
+ __('Try to adapt style'),
+ 'small',
+ 'combo',
+ array(
+ __('No style') => '-',
+ __('Small icon') => 'small',
+ __('Normal icon') => 'normal'
+ )
+ );
+ $w->postinfowidget->setting(
+ 'rmvinfo',
+ __('Try to remove entry information'),
+ 1,
+ 'check'
+ );
+ $w->postinfowidget->setting(
+ 'rmvtags',
+ __('Try to remove entry tags'),
+ 1,
+ 'check'
+ );
+ $w->postinfowidget->setting(
+ 'rmvnav',
+ __('Try to remove entry navigation'),
+ 1,
+ 'check'
+ );
+
+ # --BEHAVIOR-- postInfoWidgetAdmin
+ $core->callBehavior('postInfoWidgetAdmin', $w);
+
+ $w->postinfowidget->setting(
+ 'content_only',
+ __('Content only'),
+ 0,
+ 'check'
+ );
+
+ $w->postinfowidget->setting(
+ 'class',
+ __('CSS class:'),
+ ''
+ );
+ $w->postinfowidget->setting('offline',__('Offline'),0,'check');
+ }
+
+ public static function publicWidget($w)
+ {
+ global $core, $_ctx;
+
+ if ($w->offline)
+ return;
+
+ if ($core->url->type != 'post'
+ || !$_ctx->posts->post_id
+ ){
+ return null;
+ }
+
+ $link = '%s';
+ $title = (strlen($w->title) > 0) ?
+ ''.html::escapeHTML($w->title).'
' : null;
+ $content = '';
+
+ if ($w->dt_str != '') {
+ $content .= postInfoWidget::li(
+ $w,
+ 'date',
+ dt::str(
+ $w->dt_str,
+ strtotime($_ctx->posts->post_dt),
+ $core->blog->settings->system->blog_timezone
+ )
+ );
+ }
+
+ if ($w->creadt_str != '') {
+ $content .= postInfoWidget::li(
+ $w,
+ 'create',
+ dt::str(
+ $w->creadt_str,
+ strtotime($_ctx->posts->post_creadt),
+ $core->blog->settings->system->blog_timezone
+ )
+ );
+ }
+
+ if ($w->upddt_str != '') {
+ $content .= postInfoWidget::li(
+ $w,
+ 'update',
+ dt::str(
+ $w->upddt_str,
+ strtotime($_ctx->posts->post_upddt),
+ $core->blog->settings->system->blog_timezone
+ )
+ );
+ }
+
+ if ($w->lang_str != '') {
+ $ln = l10n::getISOcodes();
+ $lang_code = $_ctx->posts->post_lang ?
+ $_ctx->posts->post_lang :
+ $core->blog->settings->system->lang;
+ $lang_name = isset($ln[$lang_code]) ?
+ $ln[$lang_code] :
+ $lang_code;
+ $lang_flag = file_exists(
+ dirname(__FILE__).
+ '/img/flags/'.
+ $lang_code.'.png'
+ ) ?
+ '' :
+ '';
+
+ $content .= postInfoWidget::li(
+ $w,
+ 'lang',
+ str_replace(
+ array('%T', '%C', '%F'),
+ array($lang_name, $lang_code, $lang_flag),
+ html::escapeHTML($w->lang_str)
+ )
+ );
+ }
+
+ if ($w->author_str != '') {
+ $content .= postInfoWidget::li(
+ $w,
+ 'author',
+ str_replace(
+ '%T',
+ $_ctx->posts->getAuthorLink(),
+ html::escapeHTML($w->author_str)
+ )
+ );
+ }
+
+ if ($w->category_str != '' && $_ctx->posts->cat_id) {
+ $content .= postInfoWidget::li(
+ $w,
+ 'category',
+ str_replace(
+ '%T',
+ sprintf(
+ $link,
+ $_ctx->posts->getCategoryURL(),
+ html::escapeHTML($_ctx->posts->cat_title)
+ ),
+ html::escapeHTML($w->category_str)
+ )
+ );
+ }
+
+ if ($w->tag_str != '' && $core->plugins->moduleExists('tags')) {
+ $meta = $core->meta->getMetadata(array(
+ 'meta_type' => 'tag',
+ 'post_id' => $_ctx->posts->post_id
+ ));
+ $metas = array();
+ while ($meta->fetch()) {
+ $metas[$meta->meta_id] = sprintf(
+ $link,
+ $core->blog->url.
+ $core->url->getBase('tag')."/".
+ rawurlencode($meta->meta_id),
+ $meta->meta_id
+ );
+ }
+ if (!empty($metas)) {
+ $content .= postInfoWidget::li(
+ $w,
+ 'tag',
+ str_replace(
+ '%T',
+ implode(', ', $metas),
+ html::escapeHTML($w->tag_str)
+ )
+ );
+ }
+ }
+
+ if ($w->attachment_str != '') {
+ $nb = $_ctx->posts->countMedia();
+ if ($nb == 0) {
+ $attachment_numeric = 0;
+ $attachment_textual = __('no attachment');
+ }
+ elseif ($nb == 1) {
+ $attachment_numeric = sprintf(
+ $link,
+ '#attachment',
+ 1
+ );
+ $attachment_textual = sprintf(
+ $link,
+ '#attachment',
+ __('one attachment')
+ );
+ }
+ else {
+ $attachment_numeric = sprintf(
+ $link,
+ '#attachment',
+ $nb
+ );
+ $attachment_textual = sprintf(
+ $link,
+ '#attachment',
+ sprintf(__('%d attachments'), $nb)
+ );
+ }
+
+ $content .= postInfoWidget::li(
+ $w,
+ 'attachment',
+ str_replace(
+ array('%T', '%D'),
+ array($attachment_textual, $attachment_numeric),
+ html::escapeHTML($w->attachment_str)
+ )
+ );
+ }
+
+ if ($w->comment_str != '' && $_ctx->posts->commentsActive()) {
+ $nb = $_ctx->posts->nb_comment;
+ if ($nb == 0) {
+ $comment_numeric = 0;
+ $comment_textual = __('no comment');
+ }
+ elseif ($nb == 1) {
+ $comment_numeric = sprintf(
+ $link,
+ '#comments',
+ 1
+ );
+ $comment_textual = sprintf(
+ $link,
+ '#comments',
+ __('one comment')
+ );
+ }
+ else {
+ $comment_numeric = sprintf(
+ $link,
+ '#comments',
+ $nb
+ );
+ $comment_textual = sprintf(
+ $link,
+ '#comments',
+ sprintf(__('%d comments'), $nb)
+ );
+ }
+
+ $content .= postInfoWidget::li(
+ $w,
+ 'comment',
+ str_replace(
+ array('%T', '%D'),
+ array($comment_textual, $comment_numeric),
+ html::escapeHTML($w->comment_str)
+ )
+ );
+ }
+
+ if ($w->trackback_str != '' && $_ctx->posts->trackbacksActive()) {
+ $nb = $_ctx->posts->nb_trackback;
+ if ($nb == 0) {
+ $trackback_numeric = 0;
+ $trackback_textual = __('no trackback');
+ }
+ elseif ($nb == 1) {
+ $trackback_numeric = sprintf(
+ $link,
+ '#pings',
+ 1
+ );
+ $trackback_textual = sprintf(
+ $link,
+ '#pings',
+ __('one trackback')
+ );
+ }
+ else {
+ $trackback_numeric = sprintf(
+ $link,
+ '#pings',
+ $nb
+ );
+ $trackback_textual = sprintf(
+ $link,
+ '#pings',
+ sprintf(__('%d trackbacks'), $nb)
+ );
+ }
+
+ $content .= postInfoWidget::li(
+ $w,
+ 'trackback',
+ str_replace(
+ array('%T', '%D'),
+ array($trackback_textual, $trackback_numeric),
+ html::escapeHTML($w->trackback_str)
+ )
+ );
+ }
+
+ if ($w->permalink_str) {
+ $content .= postInfoWidget::li(
+ $w,
+ 'permalink',
+ str_replace(
+ array('%T', '%F'),
+ array(
+ sprintf(
+ $link,
+ $_ctx->posts->getURL(),
+ __('Permalink')),
+ $_ctx->posts->getURL()
+ ),
+ html::escapeHTML($w->permalink_str)
+ )
+ );
+ }
+
+ if ($w->feed && $_ctx->posts->commentsActive()) {
+ $content .= postInfoWidget::li(
+ $w,
+ 'feed',
+ sprintf(
+ $link,
+ $core->blog->url.
+ $core->url->getBase('feed').
+ '/atom/comments/'.
+ $_ctx->posts->post_id,
+ __("This post's comments feed"),
+ html::escapeHTML($w->tag_str)
+ )
+ );
+ }
+
+ if ($w->navprevpost) {
+ $npp = postInfoWidget::nav(
+ $_ctx->posts,
+ -1,
+ false,
+ __('Previous entry'),
+ $w->navprevpost
+ );
+ if ($npp) {
+ $content .= postInfoWidget::li(
+ $w,
+ 'previous',
+ $npp
+ );
+ }
+ }
+ if ($w->navnextpost) {
+ $nnp = postInfoWidget::nav(
+ $_ctx->posts,
+ 1,
+ false,
+ __('Next entry'),
+ $w->navnextpost
+ );
+ if ($nnp) {
+ $content .= postInfoWidget::li(
+ $w,
+ 'next',
+ $nnp
+ );
+ }
+ }
+
+ if ($w->navprevcat) {
+ $npc = postInfoWidget::nav(
+ $_ctx->posts,
+ -1,
+ true,
+ __('Previous entry of this category'),
+ $w->navprevcat
+ );
+ if ($npc) {
+ $content .= postInfoWidget::li(
+ $w,
+ 'previous',
+ $npc
+ );
+ }
+ }
+
+ if ($w->navnextcat) {
+ $nnc = postInfoWidget::nav(
+ $_ctx->posts,
+ 1,
+ true,
+ __('Next entry of this category'),
+ $w->navnextcat
+ );
+ if ($nnc) {
+ $content .= postInfoWidget::li(
+ $w,
+ 'next',
+ $nnc
+ );
+ }
+ }
+
+ # --BEHAVIOR-- postInfoWidgetPublic
+ $content .= $core->callBehavior('postInfoWidgetPublic', $w);
+
+ if (empty($content)) {
+
+ return null;
+ }
+
+ $rmv = '';
+ if ($w->rmvinfo || $w->rmvtags || $w->rmvnav) {
+ $rmv .=
+ '\n";
+ }
+
+ $rmv =
+ ($w->title ? $w->renderTitle(html::escapeHTML($w->title)) : '').
+ '';
+
+ return $w->renderDiv($w->content_only,'postinfowidget '.$w->class,'',$rmv);
+ }
+
+ public static function li($w, $i, $c)
+ {
+ $s = ' style="padding-left:%spx;background: transparent url(\''.$GLOBALS['core']->blog->getQmarkURL().'pf=postInfoWidget/img/%s%s.png\') no-repeat left center;"';
+ if ($w->style == 'small') {
+ $s = sprintf($s, 16, $i, '-small');
+ }
+ elseif($w->style == 'normal') {
+ $s = sprintf($s, 20, $i, '');
+ }
+ else {
+ $s = '';
+ }
+ $l = '%s';
+
+ return sprintf($l, $i, $s, $c);
+ }
+
+ public static function nav($p, $d, $r, $t, $c)
+ {
+ global $core;
+
+ $rs = $core->blog->getNextPost($p, $d, $r);
+ if ($rs !== null) {
+ $l = '%s';
+ $u = $rs->getURL();
+ $e = html::escapeHTML($rs->post_title);
+
+ return str_replace(
+ array('%T', '%F'),
+ array(sprintf($l, $u, $e, $t), sprintf($l, $u, $t, $e)),
+ $c
+ );
+ }
+
+ return '';
+ }
+}
\ No newline at end of file
diff --git a/img/attachment-small.png b/img/attachment-small.png
new file mode 100644
index 0000000..81bb54b
Binary files /dev/null and b/img/attachment-small.png differ
diff --git a/img/attachment.png b/img/attachment.png
new file mode 100644
index 0000000..6d818eb
Binary files /dev/null and b/img/attachment.png differ
diff --git a/img/author-small.png b/img/author-small.png
new file mode 100644
index 0000000..57fc528
Binary files /dev/null and b/img/author-small.png differ
diff --git a/img/author.png b/img/author.png
new file mode 100644
index 0000000..2d44726
Binary files /dev/null and b/img/author.png differ
diff --git a/img/category-small.png b/img/category-small.png
new file mode 100644
index 0000000..c721691
Binary files /dev/null and b/img/category-small.png differ
diff --git a/img/category.png b/img/category.png
new file mode 100644
index 0000000..260b415
Binary files /dev/null and b/img/category.png differ
diff --git a/img/comment-small.png b/img/comment-small.png
new file mode 100644
index 0000000..3b538de
Binary files /dev/null and b/img/comment-small.png differ
diff --git a/img/comment.png b/img/comment.png
new file mode 100644
index 0000000..1af3064
Binary files /dev/null and b/img/comment.png differ
diff --git a/img/create-small.png b/img/create-small.png
new file mode 100644
index 0000000..a6c33c4
Binary files /dev/null and b/img/create-small.png differ
diff --git a/img/create.png b/img/create.png
new file mode 100644
index 0000000..2c024e4
Binary files /dev/null and b/img/create.png differ
diff --git a/img/date-small.png b/img/date-small.png
new file mode 100644
index 0000000..a7782c7
Binary files /dev/null and b/img/date-small.png differ
diff --git a/img/date.png b/img/date.png
new file mode 100644
index 0000000..092cc0a
Binary files /dev/null and b/img/date.png differ
diff --git a/img/feed-small.png b/img/feed-small.png
new file mode 100644
index 0000000..6be57b1
Binary files /dev/null and b/img/feed-small.png differ
diff --git a/img/feed.png b/img/feed.png
new file mode 100644
index 0000000..cdf4e8f
Binary files /dev/null and b/img/feed.png differ
diff --git a/img/flags/ad.png b/img/flags/ad.png
new file mode 100644
index 0000000..625ca84
Binary files /dev/null and b/img/flags/ad.png differ
diff --git a/img/flags/ae.png b/img/flags/ae.png
new file mode 100644
index 0000000..ef3a1ec
Binary files /dev/null and b/img/flags/ae.png differ
diff --git a/img/flags/af.png b/img/flags/af.png
new file mode 100644
index 0000000..a4742e2
Binary files /dev/null and b/img/flags/af.png differ
diff --git a/img/flags/ag.png b/img/flags/ag.png
new file mode 100644
index 0000000..556d550
Binary files /dev/null and b/img/flags/ag.png differ
diff --git a/img/flags/ai.png b/img/flags/ai.png
new file mode 100644
index 0000000..74ed29d
Binary files /dev/null and b/img/flags/ai.png differ
diff --git a/img/flags/al.png b/img/flags/al.png
new file mode 100644
index 0000000..92354cb
Binary files /dev/null and b/img/flags/al.png differ
diff --git a/img/flags/am.png b/img/flags/am.png
new file mode 100644
index 0000000..344a2a8
Binary files /dev/null and b/img/flags/am.png differ
diff --git a/img/flags/an.png b/img/flags/an.png
new file mode 100644
index 0000000..633e4b8
Binary files /dev/null and b/img/flags/an.png differ
diff --git a/img/flags/ao.png b/img/flags/ao.png
new file mode 100644
index 0000000..bcbd1d6
Binary files /dev/null and b/img/flags/ao.png differ
diff --git a/img/flags/ar.png b/img/flags/ar.png
new file mode 100644
index 0000000..e5ef8f1
Binary files /dev/null and b/img/flags/ar.png differ
diff --git a/img/flags/as.png b/img/flags/as.png
new file mode 100644
index 0000000..32f30e4
Binary files /dev/null and b/img/flags/as.png differ
diff --git a/img/flags/at.png b/img/flags/at.png
new file mode 100644
index 0000000..0f15f34
Binary files /dev/null and b/img/flags/at.png differ
diff --git a/img/flags/au.png b/img/flags/au.png
new file mode 100644
index 0000000..a01389a
Binary files /dev/null and b/img/flags/au.png differ
diff --git a/img/flags/aw.png b/img/flags/aw.png
new file mode 100644
index 0000000..a3579c2
Binary files /dev/null and b/img/flags/aw.png differ
diff --git a/img/flags/ax.png b/img/flags/ax.png
new file mode 100644
index 0000000..1eea80a
Binary files /dev/null and b/img/flags/ax.png differ
diff --git a/img/flags/az.png b/img/flags/az.png
new file mode 100644
index 0000000..4ee9fe5
Binary files /dev/null and b/img/flags/az.png differ
diff --git a/img/flags/ba.png b/img/flags/ba.png
new file mode 100644
index 0000000..c774992
Binary files /dev/null and b/img/flags/ba.png differ
diff --git a/img/flags/bb.png b/img/flags/bb.png
new file mode 100644
index 0000000..0df19c7
Binary files /dev/null and b/img/flags/bb.png differ
diff --git a/img/flags/bd.png b/img/flags/bd.png
new file mode 100644
index 0000000..076a8bf
Binary files /dev/null and b/img/flags/bd.png differ
diff --git a/img/flags/be.png b/img/flags/be.png
new file mode 100644
index 0000000..d86ebc8
Binary files /dev/null and b/img/flags/be.png differ
diff --git a/img/flags/bf.png b/img/flags/bf.png
new file mode 100644
index 0000000..ab5ce8f
Binary files /dev/null and b/img/flags/bf.png differ
diff --git a/img/flags/bg.png b/img/flags/bg.png
new file mode 100644
index 0000000..0469f06
Binary files /dev/null and b/img/flags/bg.png differ
diff --git a/img/flags/bh.png b/img/flags/bh.png
new file mode 100644
index 0000000..ea8ce68
Binary files /dev/null and b/img/flags/bh.png differ
diff --git a/img/flags/bi.png b/img/flags/bi.png
new file mode 100644
index 0000000..5cc2e30
Binary files /dev/null and b/img/flags/bi.png differ
diff --git a/img/flags/bj.png b/img/flags/bj.png
new file mode 100644
index 0000000..1cc8b45
Binary files /dev/null and b/img/flags/bj.png differ
diff --git a/img/flags/bm.png b/img/flags/bm.png
new file mode 100644
index 0000000..c0c7aea
Binary files /dev/null and b/img/flags/bm.png differ
diff --git a/img/flags/bn.png b/img/flags/bn.png
new file mode 100644
index 0000000..8fb0984
Binary files /dev/null and b/img/flags/bn.png differ
diff --git a/img/flags/bo.png b/img/flags/bo.png
new file mode 100644
index 0000000..ce7ba52
Binary files /dev/null and b/img/flags/bo.png differ
diff --git a/img/flags/br.png b/img/flags/br.png
new file mode 100644
index 0000000..9b1a553
Binary files /dev/null and b/img/flags/br.png differ
diff --git a/img/flags/bs.png b/img/flags/bs.png
new file mode 100644
index 0000000..639fa6c
Binary files /dev/null and b/img/flags/bs.png differ
diff --git a/img/flags/bt.png b/img/flags/bt.png
new file mode 100644
index 0000000..1d512df
Binary files /dev/null and b/img/flags/bt.png differ
diff --git a/img/flags/bv.png b/img/flags/bv.png
new file mode 100644
index 0000000..160b6b5
Binary files /dev/null and b/img/flags/bv.png differ
diff --git a/img/flags/bw.png b/img/flags/bw.png
new file mode 100644
index 0000000..fcb1039
Binary files /dev/null and b/img/flags/bw.png differ
diff --git a/img/flags/by.png b/img/flags/by.png
new file mode 100644
index 0000000..504774e
Binary files /dev/null and b/img/flags/by.png differ
diff --git a/img/flags/bz.png b/img/flags/bz.png
new file mode 100644
index 0000000..be63ee1
Binary files /dev/null and b/img/flags/bz.png differ
diff --git a/img/flags/ca.png b/img/flags/ca.png
new file mode 100644
index 0000000..1f20419
Binary files /dev/null and b/img/flags/ca.png differ
diff --git a/img/flags/catalonia.png b/img/flags/catalonia.png
new file mode 100644
index 0000000..5041e30
Binary files /dev/null and b/img/flags/catalonia.png differ
diff --git a/img/flags/cc.png b/img/flags/cc.png
new file mode 100644
index 0000000..aed3d3b
Binary files /dev/null and b/img/flags/cc.png differ
diff --git a/img/flags/cd.png b/img/flags/cd.png
new file mode 100644
index 0000000..5e48942
Binary files /dev/null and b/img/flags/cd.png differ
diff --git a/img/flags/cf.png b/img/flags/cf.png
new file mode 100644
index 0000000..da687bd
Binary files /dev/null and b/img/flags/cf.png differ
diff --git a/img/flags/cg.png b/img/flags/cg.png
new file mode 100644
index 0000000..a859792
Binary files /dev/null and b/img/flags/cg.png differ
diff --git a/img/flags/ch.png b/img/flags/ch.png
new file mode 100644
index 0000000..242ec01
Binary files /dev/null and b/img/flags/ch.png differ
diff --git a/img/flags/ci.png b/img/flags/ci.png
new file mode 100644
index 0000000..3f2c62e
Binary files /dev/null and b/img/flags/ci.png differ
diff --git a/img/flags/ck.png b/img/flags/ck.png
new file mode 100644
index 0000000..746d3d6
Binary files /dev/null and b/img/flags/ck.png differ
diff --git a/img/flags/cl.png b/img/flags/cl.png
new file mode 100644
index 0000000..29c6d61
Binary files /dev/null and b/img/flags/cl.png differ
diff --git a/img/flags/cm.png b/img/flags/cm.png
new file mode 100644
index 0000000..f65c5bd
Binary files /dev/null and b/img/flags/cm.png differ
diff --git a/img/flags/cn.png b/img/flags/cn.png
new file mode 100644
index 0000000..8914414
Binary files /dev/null and b/img/flags/cn.png differ
diff --git a/img/flags/co.png b/img/flags/co.png
new file mode 100644
index 0000000..a118ff4
Binary files /dev/null and b/img/flags/co.png differ
diff --git a/img/flags/cr.png b/img/flags/cr.png
new file mode 100644
index 0000000..c7a3731
Binary files /dev/null and b/img/flags/cr.png differ
diff --git a/img/flags/cs.png b/img/flags/cs.png
new file mode 100644
index 0000000..8254790
Binary files /dev/null and b/img/flags/cs.png differ
diff --git a/img/flags/cu.png b/img/flags/cu.png
new file mode 100644
index 0000000..083f1d6
Binary files /dev/null and b/img/flags/cu.png differ
diff --git a/img/flags/cv.png b/img/flags/cv.png
new file mode 100644
index 0000000..a63f7ea
Binary files /dev/null and b/img/flags/cv.png differ
diff --git a/img/flags/cx.png b/img/flags/cx.png
new file mode 100644
index 0000000..48e31ad
Binary files /dev/null and b/img/flags/cx.png differ
diff --git a/img/flags/cy.png b/img/flags/cy.png
new file mode 100644
index 0000000..5b1ad6c
Binary files /dev/null and b/img/flags/cy.png differ
diff --git a/img/flags/cz.png b/img/flags/cz.png
new file mode 100644
index 0000000..c8403dd
Binary files /dev/null and b/img/flags/cz.png differ
diff --git a/img/flags/de.png b/img/flags/de.png
new file mode 100644
index 0000000..ac4a977
Binary files /dev/null and b/img/flags/de.png differ
diff --git a/img/flags/dj.png b/img/flags/dj.png
new file mode 100644
index 0000000..582af36
Binary files /dev/null and b/img/flags/dj.png differ
diff --git a/img/flags/dk.png b/img/flags/dk.png
new file mode 100644
index 0000000..e2993d3
Binary files /dev/null and b/img/flags/dk.png differ
diff --git a/img/flags/dm.png b/img/flags/dm.png
new file mode 100644
index 0000000..5fbffcb
Binary files /dev/null and b/img/flags/dm.png differ
diff --git a/img/flags/do.png b/img/flags/do.png
new file mode 100644
index 0000000..5a04932
Binary files /dev/null and b/img/flags/do.png differ
diff --git a/img/flags/dz.png b/img/flags/dz.png
new file mode 100644
index 0000000..335c239
Binary files /dev/null and b/img/flags/dz.png differ
diff --git a/img/flags/ec.png b/img/flags/ec.png
new file mode 100644
index 0000000..0caa0b1
Binary files /dev/null and b/img/flags/ec.png differ
diff --git a/img/flags/ee.png b/img/flags/ee.png
new file mode 100644
index 0000000..0c82efb
Binary files /dev/null and b/img/flags/ee.png differ
diff --git a/img/flags/eg.png b/img/flags/eg.png
new file mode 100644
index 0000000..8a3f7a1
Binary files /dev/null and b/img/flags/eg.png differ
diff --git a/img/flags/eh.png b/img/flags/eh.png
new file mode 100644
index 0000000..90a1195
Binary files /dev/null and b/img/flags/eh.png differ
diff --git a/img/flags/england.png b/img/flags/england.png
new file mode 100644
index 0000000..3a7311d
Binary files /dev/null and b/img/flags/england.png differ
diff --git a/img/flags/er.png b/img/flags/er.png
new file mode 100644
index 0000000..13065ae
Binary files /dev/null and b/img/flags/er.png differ
diff --git a/img/flags/es.png b/img/flags/es.png
new file mode 100644
index 0000000..c2de2d7
Binary files /dev/null and b/img/flags/es.png differ
diff --git a/img/flags/et.png b/img/flags/et.png
new file mode 100644
index 0000000..2e893fa
Binary files /dev/null and b/img/flags/et.png differ
diff --git a/img/flags/europeanunion.png b/img/flags/europeanunion.png
new file mode 100644
index 0000000..d6d8711
Binary files /dev/null and b/img/flags/europeanunion.png differ
diff --git a/img/flags/fam.png b/img/flags/fam.png
new file mode 100644
index 0000000..cf50c75
Binary files /dev/null and b/img/flags/fam.png differ
diff --git a/img/flags/fi.png b/img/flags/fi.png
new file mode 100644
index 0000000..14ec091
Binary files /dev/null and b/img/flags/fi.png differ
diff --git a/img/flags/fj.png b/img/flags/fj.png
new file mode 100644
index 0000000..cee9988
Binary files /dev/null and b/img/flags/fj.png differ
diff --git a/img/flags/fk.png b/img/flags/fk.png
new file mode 100644
index 0000000..ceaeb27
Binary files /dev/null and b/img/flags/fk.png differ
diff --git a/img/flags/fm.png b/img/flags/fm.png
new file mode 100644
index 0000000..066bb24
Binary files /dev/null and b/img/flags/fm.png differ
diff --git a/img/flags/fo.png b/img/flags/fo.png
new file mode 100644
index 0000000..cbceb80
Binary files /dev/null and b/img/flags/fo.png differ
diff --git a/img/flags/fr.png b/img/flags/fr.png
new file mode 100644
index 0000000..8332c4e
Binary files /dev/null and b/img/flags/fr.png differ
diff --git a/img/flags/ga.png b/img/flags/ga.png
new file mode 100644
index 0000000..0e0d434
Binary files /dev/null and b/img/flags/ga.png differ
diff --git a/img/flags/gb.png b/img/flags/gb.png
new file mode 100644
index 0000000..ff701e1
Binary files /dev/null and b/img/flags/gb.png differ
diff --git a/img/flags/gd.png b/img/flags/gd.png
new file mode 100644
index 0000000..9ab57f5
Binary files /dev/null and b/img/flags/gd.png differ
diff --git a/img/flags/ge.png b/img/flags/ge.png
new file mode 100644
index 0000000..728d970
Binary files /dev/null and b/img/flags/ge.png differ
diff --git a/img/flags/gf.png b/img/flags/gf.png
new file mode 100644
index 0000000..8332c4e
Binary files /dev/null and b/img/flags/gf.png differ
diff --git a/img/flags/gh.png b/img/flags/gh.png
new file mode 100644
index 0000000..4e2f896
Binary files /dev/null and b/img/flags/gh.png differ
diff --git a/img/flags/gi.png b/img/flags/gi.png
new file mode 100644
index 0000000..e76797f
Binary files /dev/null and b/img/flags/gi.png differ
diff --git a/img/flags/gl.png b/img/flags/gl.png
new file mode 100644
index 0000000..ef12a73
Binary files /dev/null and b/img/flags/gl.png differ
diff --git a/img/flags/gm.png b/img/flags/gm.png
new file mode 100644
index 0000000..0720b66
Binary files /dev/null and b/img/flags/gm.png differ
diff --git a/img/flags/gn.png b/img/flags/gn.png
new file mode 100644
index 0000000..ea660b0
Binary files /dev/null and b/img/flags/gn.png differ
diff --git a/img/flags/gp.png b/img/flags/gp.png
new file mode 100644
index 0000000..dbb086d
Binary files /dev/null and b/img/flags/gp.png differ
diff --git a/img/flags/gq.png b/img/flags/gq.png
new file mode 100644
index 0000000..ebe20a2
Binary files /dev/null and b/img/flags/gq.png differ
diff --git a/img/flags/gr.png b/img/flags/gr.png
new file mode 100644
index 0000000..8651ade
Binary files /dev/null and b/img/flags/gr.png differ
diff --git a/img/flags/gs.png b/img/flags/gs.png
new file mode 100644
index 0000000..7ef0bf5
Binary files /dev/null and b/img/flags/gs.png differ
diff --git a/img/flags/gt.png b/img/flags/gt.png
new file mode 100644
index 0000000..c43a70d
Binary files /dev/null and b/img/flags/gt.png differ
diff --git a/img/flags/gu.png b/img/flags/gu.png
new file mode 100644
index 0000000..92f37c0
Binary files /dev/null and b/img/flags/gu.png differ
diff --git a/img/flags/gw.png b/img/flags/gw.png
new file mode 100644
index 0000000..b37bcf0
Binary files /dev/null and b/img/flags/gw.png differ
diff --git a/img/flags/gy.png b/img/flags/gy.png
new file mode 100644
index 0000000..22cbe2f
Binary files /dev/null and b/img/flags/gy.png differ
diff --git a/img/flags/hk.png b/img/flags/hk.png
new file mode 100644
index 0000000..d5c380c
Binary files /dev/null and b/img/flags/hk.png differ
diff --git a/img/flags/hm.png b/img/flags/hm.png
new file mode 100644
index 0000000..a01389a
Binary files /dev/null and b/img/flags/hm.png differ
diff --git a/img/flags/hn.png b/img/flags/hn.png
new file mode 100644
index 0000000..96f8388
Binary files /dev/null and b/img/flags/hn.png differ
diff --git a/img/flags/hr.png b/img/flags/hr.png
new file mode 100644
index 0000000..696b515
Binary files /dev/null and b/img/flags/hr.png differ
diff --git a/img/flags/ht.png b/img/flags/ht.png
new file mode 100644
index 0000000..416052a
Binary files /dev/null and b/img/flags/ht.png differ
diff --git a/img/flags/hu.png b/img/flags/hu.png
new file mode 100644
index 0000000..7baafe4
Binary files /dev/null and b/img/flags/hu.png differ
diff --git a/img/flags/id.png b/img/flags/id.png
new file mode 100644
index 0000000..c6bc0fa
Binary files /dev/null and b/img/flags/id.png differ
diff --git a/img/flags/ie.png b/img/flags/ie.png
new file mode 100644
index 0000000..26baa31
Binary files /dev/null and b/img/flags/ie.png differ
diff --git a/img/flags/il.png b/img/flags/il.png
new file mode 100644
index 0000000..2ca772d
Binary files /dev/null and b/img/flags/il.png differ
diff --git a/img/flags/in.png b/img/flags/in.png
new file mode 100644
index 0000000..e4d7e81
Binary files /dev/null and b/img/flags/in.png differ
diff --git a/img/flags/io.png b/img/flags/io.png
new file mode 100644
index 0000000..3e74b6a
Binary files /dev/null and b/img/flags/io.png differ
diff --git a/img/flags/iq.png b/img/flags/iq.png
new file mode 100644
index 0000000..878a351
Binary files /dev/null and b/img/flags/iq.png differ
diff --git a/img/flags/ir.png b/img/flags/ir.png
new file mode 100644
index 0000000..c5fd136
Binary files /dev/null and b/img/flags/ir.png differ
diff --git a/img/flags/is.png b/img/flags/is.png
new file mode 100644
index 0000000..b8f6d0f
Binary files /dev/null and b/img/flags/is.png differ
diff --git a/img/flags/it.png b/img/flags/it.png
new file mode 100644
index 0000000..89692f7
Binary files /dev/null and b/img/flags/it.png differ
diff --git a/img/flags/jm.png b/img/flags/jm.png
new file mode 100644
index 0000000..7be119e
Binary files /dev/null and b/img/flags/jm.png differ
diff --git a/img/flags/jo.png b/img/flags/jo.png
new file mode 100644
index 0000000..11bd497
Binary files /dev/null and b/img/flags/jo.png differ
diff --git a/img/flags/jp.png b/img/flags/jp.png
new file mode 100644
index 0000000..325fbad
Binary files /dev/null and b/img/flags/jp.png differ
diff --git a/img/flags/ke.png b/img/flags/ke.png
new file mode 100644
index 0000000..51879ad
Binary files /dev/null and b/img/flags/ke.png differ
diff --git a/img/flags/kg.png b/img/flags/kg.png
new file mode 100644
index 0000000..0a818f6
Binary files /dev/null and b/img/flags/kg.png differ
diff --git a/img/flags/kh.png b/img/flags/kh.png
new file mode 100644
index 0000000..30f6bb1
Binary files /dev/null and b/img/flags/kh.png differ
diff --git a/img/flags/ki.png b/img/flags/ki.png
new file mode 100644
index 0000000..2dcce4b
Binary files /dev/null and b/img/flags/ki.png differ
diff --git a/img/flags/km.png b/img/flags/km.png
new file mode 100644
index 0000000..812b2f5
Binary files /dev/null and b/img/flags/km.png differ
diff --git a/img/flags/kn.png b/img/flags/kn.png
new file mode 100644
index 0000000..febd5b4
Binary files /dev/null and b/img/flags/kn.png differ
diff --git a/img/flags/kp.png b/img/flags/kp.png
new file mode 100644
index 0000000..d3d509a
Binary files /dev/null and b/img/flags/kp.png differ
diff --git a/img/flags/kr.png b/img/flags/kr.png
new file mode 100644
index 0000000..9c0a78e
Binary files /dev/null and b/img/flags/kr.png differ
diff --git a/img/flags/kw.png b/img/flags/kw.png
new file mode 100644
index 0000000..96546da
Binary files /dev/null and b/img/flags/kw.png differ
diff --git a/img/flags/ky.png b/img/flags/ky.png
new file mode 100644
index 0000000..15c5f8e
Binary files /dev/null and b/img/flags/ky.png differ
diff --git a/img/flags/kz.png b/img/flags/kz.png
new file mode 100644
index 0000000..45a8c88
Binary files /dev/null and b/img/flags/kz.png differ
diff --git a/img/flags/la.png b/img/flags/la.png
new file mode 100644
index 0000000..e28acd0
Binary files /dev/null and b/img/flags/la.png differ
diff --git a/img/flags/lb.png b/img/flags/lb.png
new file mode 100644
index 0000000..d0d452b
Binary files /dev/null and b/img/flags/lb.png differ
diff --git a/img/flags/lc.png b/img/flags/lc.png
new file mode 100644
index 0000000..a47d065
Binary files /dev/null and b/img/flags/lc.png differ
diff --git a/img/flags/li.png b/img/flags/li.png
new file mode 100644
index 0000000..6469909
Binary files /dev/null and b/img/flags/li.png differ
diff --git a/img/flags/lk.png b/img/flags/lk.png
new file mode 100644
index 0000000..088aad6
Binary files /dev/null and b/img/flags/lk.png differ
diff --git a/img/flags/lr.png b/img/flags/lr.png
new file mode 100644
index 0000000..89a5bc7
Binary files /dev/null and b/img/flags/lr.png differ
diff --git a/img/flags/ls.png b/img/flags/ls.png
new file mode 100644
index 0000000..33fdef1
Binary files /dev/null and b/img/flags/ls.png differ
diff --git a/img/flags/lt.png b/img/flags/lt.png
new file mode 100644
index 0000000..c8ef0da
Binary files /dev/null and b/img/flags/lt.png differ
diff --git a/img/flags/lu.png b/img/flags/lu.png
new file mode 100644
index 0000000..4cabba9
Binary files /dev/null and b/img/flags/lu.png differ
diff --git a/img/flags/lv.png b/img/flags/lv.png
new file mode 100644
index 0000000..49b6998
Binary files /dev/null and b/img/flags/lv.png differ
diff --git a/img/flags/ly.png b/img/flags/ly.png
new file mode 100644
index 0000000..b163a9f
Binary files /dev/null and b/img/flags/ly.png differ
diff --git a/img/flags/ma.png b/img/flags/ma.png
new file mode 100644
index 0000000..f386770
Binary files /dev/null and b/img/flags/ma.png differ
diff --git a/img/flags/mc.png b/img/flags/mc.png
new file mode 100644
index 0000000..1aa830f
Binary files /dev/null and b/img/flags/mc.png differ
diff --git a/img/flags/md.png b/img/flags/md.png
new file mode 100644
index 0000000..4e92c18
Binary files /dev/null and b/img/flags/md.png differ
diff --git a/img/flags/me.png b/img/flags/me.png
new file mode 100644
index 0000000..ac72535
Binary files /dev/null and b/img/flags/me.png differ
diff --git a/img/flags/mg.png b/img/flags/mg.png
new file mode 100644
index 0000000..d2715b3
Binary files /dev/null and b/img/flags/mg.png differ
diff --git a/img/flags/mh.png b/img/flags/mh.png
new file mode 100644
index 0000000..fb523a8
Binary files /dev/null and b/img/flags/mh.png differ
diff --git a/img/flags/mk.png b/img/flags/mk.png
new file mode 100644
index 0000000..db173aa
Binary files /dev/null and b/img/flags/mk.png differ
diff --git a/img/flags/ml.png b/img/flags/ml.png
new file mode 100644
index 0000000..2cec8ba
Binary files /dev/null and b/img/flags/ml.png differ
diff --git a/img/flags/mm.png b/img/flags/mm.png
new file mode 100644
index 0000000..f464f67
Binary files /dev/null and b/img/flags/mm.png differ
diff --git a/img/flags/mn.png b/img/flags/mn.png
new file mode 100644
index 0000000..9396355
Binary files /dev/null and b/img/flags/mn.png differ
diff --git a/img/flags/mo.png b/img/flags/mo.png
new file mode 100644
index 0000000..deb801d
Binary files /dev/null and b/img/flags/mo.png differ
diff --git a/img/flags/mp.png b/img/flags/mp.png
new file mode 100644
index 0000000..298d588
Binary files /dev/null and b/img/flags/mp.png differ
diff --git a/img/flags/mq.png b/img/flags/mq.png
new file mode 100644
index 0000000..010143b
Binary files /dev/null and b/img/flags/mq.png differ
diff --git a/img/flags/mr.png b/img/flags/mr.png
new file mode 100644
index 0000000..319546b
Binary files /dev/null and b/img/flags/mr.png differ
diff --git a/img/flags/ms.png b/img/flags/ms.png
new file mode 100644
index 0000000..d4cbb43
Binary files /dev/null and b/img/flags/ms.png differ
diff --git a/img/flags/mt.png b/img/flags/mt.png
new file mode 100644
index 0000000..00af948
Binary files /dev/null and b/img/flags/mt.png differ
diff --git a/img/flags/mu.png b/img/flags/mu.png
new file mode 100644
index 0000000..b7fdce1
Binary files /dev/null and b/img/flags/mu.png differ
diff --git a/img/flags/mv.png b/img/flags/mv.png
new file mode 100644
index 0000000..5073d9e
Binary files /dev/null and b/img/flags/mv.png differ
diff --git a/img/flags/mw.png b/img/flags/mw.png
new file mode 100644
index 0000000..13886e9
Binary files /dev/null and b/img/flags/mw.png differ
diff --git a/img/flags/mx.png b/img/flags/mx.png
new file mode 100644
index 0000000..5bc58ab
Binary files /dev/null and b/img/flags/mx.png differ
diff --git a/img/flags/my.png b/img/flags/my.png
new file mode 100644
index 0000000..9034cba
Binary files /dev/null and b/img/flags/my.png differ
diff --git a/img/flags/mz.png b/img/flags/mz.png
new file mode 100644
index 0000000..76405e0
Binary files /dev/null and b/img/flags/mz.png differ
diff --git a/img/flags/na.png b/img/flags/na.png
new file mode 100644
index 0000000..63358c6
Binary files /dev/null and b/img/flags/na.png differ
diff --git a/img/flags/nc.png b/img/flags/nc.png
new file mode 100644
index 0000000..2cad283
Binary files /dev/null and b/img/flags/nc.png differ
diff --git a/img/flags/ne.png b/img/flags/ne.png
new file mode 100644
index 0000000..d85f424
Binary files /dev/null and b/img/flags/ne.png differ
diff --git a/img/flags/nf.png b/img/flags/nf.png
new file mode 100644
index 0000000..f9bcdda
Binary files /dev/null and b/img/flags/nf.png differ
diff --git a/img/flags/ng.png b/img/flags/ng.png
new file mode 100644
index 0000000..3eea2e0
Binary files /dev/null and b/img/flags/ng.png differ
diff --git a/img/flags/ni.png b/img/flags/ni.png
new file mode 100644
index 0000000..3969aaa
Binary files /dev/null and b/img/flags/ni.png differ
diff --git a/img/flags/nl.png b/img/flags/nl.png
new file mode 100644
index 0000000..fe44791
Binary files /dev/null and b/img/flags/nl.png differ
diff --git a/img/flags/no.png b/img/flags/no.png
new file mode 100644
index 0000000..160b6b5
Binary files /dev/null and b/img/flags/no.png differ
diff --git a/img/flags/np.png b/img/flags/np.png
new file mode 100644
index 0000000..aeb058b
Binary files /dev/null and b/img/flags/np.png differ
diff --git a/img/flags/nr.png b/img/flags/nr.png
new file mode 100644
index 0000000..705fc33
Binary files /dev/null and b/img/flags/nr.png differ
diff --git a/img/flags/nu.png b/img/flags/nu.png
new file mode 100644
index 0000000..c3ce4ae
Binary files /dev/null and b/img/flags/nu.png differ
diff --git a/img/flags/nz.png b/img/flags/nz.png
new file mode 100644
index 0000000..10d6306
Binary files /dev/null and b/img/flags/nz.png differ
diff --git a/img/flags/om.png b/img/flags/om.png
new file mode 100644
index 0000000..2ffba7e
Binary files /dev/null and b/img/flags/om.png differ
diff --git a/img/flags/pa.png b/img/flags/pa.png
new file mode 100644
index 0000000..9b2ee9a
Binary files /dev/null and b/img/flags/pa.png differ
diff --git a/img/flags/pe.png b/img/flags/pe.png
new file mode 100644
index 0000000..62a0497
Binary files /dev/null and b/img/flags/pe.png differ
diff --git a/img/flags/pf.png b/img/flags/pf.png
new file mode 100644
index 0000000..771a0f6
Binary files /dev/null and b/img/flags/pf.png differ
diff --git a/img/flags/pg.png b/img/flags/pg.png
new file mode 100644
index 0000000..10d6233
Binary files /dev/null and b/img/flags/pg.png differ
diff --git a/img/flags/ph.png b/img/flags/ph.png
new file mode 100644
index 0000000..b89e159
Binary files /dev/null and b/img/flags/ph.png differ
diff --git a/img/flags/pk.png b/img/flags/pk.png
new file mode 100644
index 0000000..e9df70c
Binary files /dev/null and b/img/flags/pk.png differ
diff --git a/img/flags/pl.png b/img/flags/pl.png
new file mode 100644
index 0000000..d413d01
Binary files /dev/null and b/img/flags/pl.png differ
diff --git a/img/flags/pm.png b/img/flags/pm.png
new file mode 100644
index 0000000..ba91d2c
Binary files /dev/null and b/img/flags/pm.png differ
diff --git a/img/flags/pn.png b/img/flags/pn.png
new file mode 100644
index 0000000..aa9344f
Binary files /dev/null and b/img/flags/pn.png differ
diff --git a/img/flags/pr.png b/img/flags/pr.png
new file mode 100644
index 0000000..82d9130
Binary files /dev/null and b/img/flags/pr.png differ
diff --git a/img/flags/ps.png b/img/flags/ps.png
new file mode 100644
index 0000000..f5f5477
Binary files /dev/null and b/img/flags/ps.png differ
diff --git a/img/flags/pt.png b/img/flags/pt.png
new file mode 100644
index 0000000..ece7980
Binary files /dev/null and b/img/flags/pt.png differ
diff --git a/img/flags/pw.png b/img/flags/pw.png
new file mode 100644
index 0000000..6178b25
Binary files /dev/null and b/img/flags/pw.png differ
diff --git a/img/flags/py.png b/img/flags/py.png
new file mode 100644
index 0000000..cb8723c
Binary files /dev/null and b/img/flags/py.png differ
diff --git a/img/flags/qa.png b/img/flags/qa.png
new file mode 100644
index 0000000..ed4c621
Binary files /dev/null and b/img/flags/qa.png differ
diff --git a/img/flags/re.png b/img/flags/re.png
new file mode 100644
index 0000000..8332c4e
Binary files /dev/null and b/img/flags/re.png differ
diff --git a/img/flags/ro.png b/img/flags/ro.png
new file mode 100644
index 0000000..57e74a6
Binary files /dev/null and b/img/flags/ro.png differ
diff --git a/img/flags/rs.png b/img/flags/rs.png
new file mode 100644
index 0000000..9439a5b
Binary files /dev/null and b/img/flags/rs.png differ
diff --git a/img/flags/ru.png b/img/flags/ru.png
new file mode 100644
index 0000000..47da421
Binary files /dev/null and b/img/flags/ru.png differ
diff --git a/img/flags/rw.png b/img/flags/rw.png
new file mode 100644
index 0000000..5356491
Binary files /dev/null and b/img/flags/rw.png differ
diff --git a/img/flags/sa.png b/img/flags/sa.png
new file mode 100644
index 0000000..b4641c7
Binary files /dev/null and b/img/flags/sa.png differ
diff --git a/img/flags/sb.png b/img/flags/sb.png
new file mode 100644
index 0000000..a9937cc
Binary files /dev/null and b/img/flags/sb.png differ
diff --git a/img/flags/sc.png b/img/flags/sc.png
new file mode 100644
index 0000000..39ee371
Binary files /dev/null and b/img/flags/sc.png differ
diff --git a/img/flags/scotland.png b/img/flags/scotland.png
new file mode 100644
index 0000000..a0e57b4
Binary files /dev/null and b/img/flags/scotland.png differ
diff --git a/img/flags/sd.png b/img/flags/sd.png
new file mode 100644
index 0000000..eaab69e
Binary files /dev/null and b/img/flags/sd.png differ
diff --git a/img/flags/se.png b/img/flags/se.png
new file mode 100644
index 0000000..1994653
Binary files /dev/null and b/img/flags/se.png differ
diff --git a/img/flags/sg.png b/img/flags/sg.png
new file mode 100644
index 0000000..dd34d61
Binary files /dev/null and b/img/flags/sg.png differ
diff --git a/img/flags/sh.png b/img/flags/sh.png
new file mode 100644
index 0000000..4b1d2a2
Binary files /dev/null and b/img/flags/sh.png differ
diff --git a/img/flags/si.png b/img/flags/si.png
new file mode 100644
index 0000000..bb1476f
Binary files /dev/null and b/img/flags/si.png differ
diff --git a/img/flags/sj.png b/img/flags/sj.png
new file mode 100644
index 0000000..160b6b5
Binary files /dev/null and b/img/flags/sj.png differ
diff --git a/img/flags/sk.png b/img/flags/sk.png
new file mode 100644
index 0000000..7ccbc82
Binary files /dev/null and b/img/flags/sk.png differ
diff --git a/img/flags/sl.png b/img/flags/sl.png
new file mode 100644
index 0000000..12d812d
Binary files /dev/null and b/img/flags/sl.png differ
diff --git a/img/flags/sm.png b/img/flags/sm.png
new file mode 100644
index 0000000..3df2fdc
Binary files /dev/null and b/img/flags/sm.png differ
diff --git a/img/flags/sn.png b/img/flags/sn.png
new file mode 100644
index 0000000..eabb71d
Binary files /dev/null and b/img/flags/sn.png differ
diff --git a/img/flags/so.png b/img/flags/so.png
new file mode 100644
index 0000000..4a1ea4b
Binary files /dev/null and b/img/flags/so.png differ
diff --git a/img/flags/sr.png b/img/flags/sr.png
new file mode 100644
index 0000000..5eff927
Binary files /dev/null and b/img/flags/sr.png differ
diff --git a/img/flags/st.png b/img/flags/st.png
new file mode 100644
index 0000000..2978557
Binary files /dev/null and b/img/flags/st.png differ
diff --git a/img/flags/sv.png b/img/flags/sv.png
new file mode 100644
index 0000000..2498799
Binary files /dev/null and b/img/flags/sv.png differ
diff --git a/img/flags/sy.png b/img/flags/sy.png
new file mode 100644
index 0000000..f5ce30d
Binary files /dev/null and b/img/flags/sy.png differ
diff --git a/img/flags/sz.png b/img/flags/sz.png
new file mode 100644
index 0000000..914ee86
Binary files /dev/null and b/img/flags/sz.png differ
diff --git a/img/flags/tc.png b/img/flags/tc.png
new file mode 100644
index 0000000..8fc1156
Binary files /dev/null and b/img/flags/tc.png differ
diff --git a/img/flags/td.png b/img/flags/td.png
new file mode 100644
index 0000000..667f21f
Binary files /dev/null and b/img/flags/td.png differ
diff --git a/img/flags/tf.png b/img/flags/tf.png
new file mode 100644
index 0000000..80529a4
Binary files /dev/null and b/img/flags/tf.png differ
diff --git a/img/flags/tg.png b/img/flags/tg.png
new file mode 100644
index 0000000..3aa00ad
Binary files /dev/null and b/img/flags/tg.png differ
diff --git a/img/flags/th.png b/img/flags/th.png
new file mode 100644
index 0000000..dd8ba91
Binary files /dev/null and b/img/flags/th.png differ
diff --git a/img/flags/tj.png b/img/flags/tj.png
new file mode 100644
index 0000000..617bf64
Binary files /dev/null and b/img/flags/tj.png differ
diff --git a/img/flags/tk.png b/img/flags/tk.png
new file mode 100644
index 0000000..67b8c8c
Binary files /dev/null and b/img/flags/tk.png differ
diff --git a/img/flags/tl.png b/img/flags/tl.png
new file mode 100644
index 0000000..77da181
Binary files /dev/null and b/img/flags/tl.png differ
diff --git a/img/flags/tm.png b/img/flags/tm.png
new file mode 100644
index 0000000..828020e
Binary files /dev/null and b/img/flags/tm.png differ
diff --git a/img/flags/tn.png b/img/flags/tn.png
new file mode 100644
index 0000000..183cdd3
Binary files /dev/null and b/img/flags/tn.png differ
diff --git a/img/flags/to.png b/img/flags/to.png
new file mode 100644
index 0000000..f89b8ba
Binary files /dev/null and b/img/flags/to.png differ
diff --git a/img/flags/tr.png b/img/flags/tr.png
new file mode 100644
index 0000000..be32f77
Binary files /dev/null and b/img/flags/tr.png differ
diff --git a/img/flags/tt.png b/img/flags/tt.png
new file mode 100644
index 0000000..2a11c1e
Binary files /dev/null and b/img/flags/tt.png differ
diff --git a/img/flags/tv.png b/img/flags/tv.png
new file mode 100644
index 0000000..28274c5
Binary files /dev/null and b/img/flags/tv.png differ
diff --git a/img/flags/tw.png b/img/flags/tw.png
new file mode 100644
index 0000000..f31c654
Binary files /dev/null and b/img/flags/tw.png differ
diff --git a/img/flags/tz.png b/img/flags/tz.png
new file mode 100644
index 0000000..c00ff79
Binary files /dev/null and b/img/flags/tz.png differ
diff --git a/img/flags/ua.png b/img/flags/ua.png
new file mode 100644
index 0000000..09563a2
Binary files /dev/null and b/img/flags/ua.png differ
diff --git a/img/flags/ug.png b/img/flags/ug.png
new file mode 100644
index 0000000..33f4aff
Binary files /dev/null and b/img/flags/ug.png differ
diff --git a/img/flags/um.png b/img/flags/um.png
new file mode 100644
index 0000000..c1dd965
Binary files /dev/null and b/img/flags/um.png differ
diff --git a/img/flags/us.png b/img/flags/us.png
new file mode 100644
index 0000000..10f451f
Binary files /dev/null and b/img/flags/us.png differ
diff --git a/img/flags/uy.png b/img/flags/uy.png
new file mode 100644
index 0000000..31d948a
Binary files /dev/null and b/img/flags/uy.png differ
diff --git a/img/flags/uz.png b/img/flags/uz.png
new file mode 100644
index 0000000..fef5dc1
Binary files /dev/null and b/img/flags/uz.png differ
diff --git a/img/flags/va.png b/img/flags/va.png
new file mode 100644
index 0000000..b31eaf2
Binary files /dev/null and b/img/flags/va.png differ
diff --git a/img/flags/vc.png b/img/flags/vc.png
new file mode 100644
index 0000000..8fa17b0
Binary files /dev/null and b/img/flags/vc.png differ
diff --git a/img/flags/ve.png b/img/flags/ve.png
new file mode 100644
index 0000000..00c90f9
Binary files /dev/null and b/img/flags/ve.png differ
diff --git a/img/flags/vg.png b/img/flags/vg.png
new file mode 100644
index 0000000..4156907
Binary files /dev/null and b/img/flags/vg.png differ
diff --git a/img/flags/vi.png b/img/flags/vi.png
new file mode 100644
index 0000000..ed26915
Binary files /dev/null and b/img/flags/vi.png differ
diff --git a/img/flags/vn.png b/img/flags/vn.png
new file mode 100644
index 0000000..ec7cd48
Binary files /dev/null and b/img/flags/vn.png differ
diff --git a/img/flags/vu.png b/img/flags/vu.png
new file mode 100644
index 0000000..b3397bc
Binary files /dev/null and b/img/flags/vu.png differ
diff --git a/img/flags/wales.png b/img/flags/wales.png
new file mode 100644
index 0000000..e0d7cee
Binary files /dev/null and b/img/flags/wales.png differ
diff --git a/img/flags/wf.png b/img/flags/wf.png
new file mode 100644
index 0000000..9f95587
Binary files /dev/null and b/img/flags/wf.png differ
diff --git a/img/flags/ws.png b/img/flags/ws.png
new file mode 100644
index 0000000..c169508
Binary files /dev/null and b/img/flags/ws.png differ
diff --git a/img/flags/ye.png b/img/flags/ye.png
new file mode 100644
index 0000000..468dfad
Binary files /dev/null and b/img/flags/ye.png differ
diff --git a/img/flags/yt.png b/img/flags/yt.png
new file mode 100644
index 0000000..c298f37
Binary files /dev/null and b/img/flags/yt.png differ
diff --git a/img/flags/za.png b/img/flags/za.png
new file mode 100644
index 0000000..57c58e2
Binary files /dev/null and b/img/flags/za.png differ
diff --git a/img/flags/zm.png b/img/flags/zm.png
new file mode 100644
index 0000000..c25b07b
Binary files /dev/null and b/img/flags/zm.png differ
diff --git a/img/flags/zw.png b/img/flags/zw.png
new file mode 100644
index 0000000..53c9725
Binary files /dev/null and b/img/flags/zw.png differ
diff --git a/img/lang-small.png b/img/lang-small.png
new file mode 100644
index 0000000..c75fa33
Binary files /dev/null and b/img/lang-small.png differ
diff --git a/img/lang.png b/img/lang.png
new file mode 100644
index 0000000..5c008b0
Binary files /dev/null and b/img/lang.png differ
diff --git a/img/next-small.png b/img/next-small.png
new file mode 100644
index 0000000..cfc2e24
Binary files /dev/null and b/img/next-small.png differ
diff --git a/img/next.png b/img/next.png
new file mode 100644
index 0000000..977b9e5
Binary files /dev/null and b/img/next.png differ
diff --git a/img/permalink-small.png b/img/permalink-small.png
new file mode 100644
index 0000000..3f399eb
Binary files /dev/null and b/img/permalink-small.png differ
diff --git a/img/permalink.png b/img/permalink.png
new file mode 100644
index 0000000..ce79979
Binary files /dev/null and b/img/permalink.png differ
diff --git a/img/previous-small.png b/img/previous-small.png
new file mode 100644
index 0000000..5c12961
Binary files /dev/null and b/img/previous-small.png differ
diff --git a/img/previous.png b/img/previous.png
new file mode 100644
index 0000000..fc13555
Binary files /dev/null and b/img/previous.png differ
diff --git a/img/tag-small.png b/img/tag-small.png
new file mode 100644
index 0000000..7e42b30
Binary files /dev/null and b/img/tag-small.png differ
diff --git a/img/tag.png b/img/tag.png
new file mode 100644
index 0000000..ace6c62
Binary files /dev/null and b/img/tag.png differ
diff --git a/img/trackback-small.png b/img/trackback-small.png
new file mode 100644
index 0000000..e843b38
Binary files /dev/null and b/img/trackback-small.png differ
diff --git a/img/trackback.png b/img/trackback.png
new file mode 100644
index 0000000..9bfcabb
Binary files /dev/null and b/img/trackback.png differ
diff --git a/img/update-small.png b/img/update-small.png
new file mode 100644
index 0000000..668161a
Binary files /dev/null and b/img/update-small.png differ
diff --git a/img/update.png b/img/update.png
new file mode 100644
index 0000000..6178478
Binary files /dev/null and b/img/update.png differ
diff --git a/locales/fr/main.po b/locales/fr/main.po
new file mode 100644
index 0000000..8db9ad7
--- /dev/null
+++ b/locales/fr/main.po
@@ -0,0 +1,214 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Project-Id-Version: postInfoWidget 0.5\n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: 2013-11-12T15:08:48+00:00\n"
+"Last-Translator: Jean-Christian Denis\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: _widgets.php:31
+msgid "PostInfoWidget: entry information list"
+msgstr "PostInfoWidget : liste d'information du billet"
+
+#: _widgets.php:34
+msgid "Show Entry informations on a widget"
+msgstr "Afficher les informations d'un billet dans un widget"
+
+#: _widgets.php:39
+msgid "About this entry"
+msgstr "Á propos de ce billet"
+
+#: _widgets.php:44
+msgid "Publish date text:"
+msgstr "Texte pour la date de publication :"
+
+#: _widgets.php:45
+msgid "Publish on %Y-%m-%d %H:%M"
+msgstr "Publié le %d/%m/%Y à %H:%M"
+
+#: _widgets.php:50
+msgid "Create date text:"
+msgstr "Texte pour la date de création :"
+
+#: _widgets.php:51
+msgid "Create on %Y-%m-%d %H:%M"
+msgstr "Créé le %d/%m/%Y à %H:%M"
+
+#: _widgets.php:56
+msgid "Update date text:"
+msgstr "Texte pour la date de dernière mise à jour :"
+
+#: _widgets.php:57
+msgid "Update on %Y-%m-%d %H:%M"
+msgstr "Mis à jour le %d/%m/%Y à %H:%M"
+
+#: _widgets.php:62
+msgid "Language (%T = name, %C = code, %F = flag):"
+msgstr "Texte pour la langue (%T = nom, %C = code, %F = drapeau) :"
+
+#: _widgets.php:63
+msgid "Language: %T %F"
+msgstr "Langue : %T %F"
+
+#: _widgets.php:68
+msgid "Author text (%T = author):"
+msgstr "Texte pour l'auteur (%T = auteur) :"
+
+#: _widgets.php:69
+msgid "Author: %T"
+msgstr "Auteur : %T"
+
+#: _widgets.php:74
+msgid "Category text (%T = category):"
+msgstr "Texte pour la catégorie (%T = catégorie) :"
+
+#: _widgets.php:75
+msgid "Category: %T"
+msgstr "Catégorie : %T"
+
+#: _widgets.php:81
+msgid "Tags text (%T = tags list):"
+msgstr "Texte pour les mots-clés (%T = liste des mots-clés) :"
+
+#: _widgets.php:82
+msgid "Tags: %T"
+msgstr "Mots-clés : %T"
+
+#: _widgets.php:88
+msgid "Attachments text (%T = text, %D = numeric):"
+msgstr "Texte pour le nombre d'annexes (%T = texte, %D = nombre) :"
+
+#: _widgets.php:89
+msgid "Attachments: %T"
+msgstr "Annexes : %T"
+
+#: _widgets.php:94
+msgid "Comments text (%T = text, %D = numeric):"
+msgstr "Texte pour le nombre de commentaires (%T = texte, %D = nombre) :"
+
+#: _widgets.php:95
+msgid "Comments: %T"
+msgstr "Commentaires : %T"
+
+#: _widgets.php:100
+msgid "Trackbacks text (%T = text, %D = numeric):"
+msgstr "Texte pour le nombre de rétroliens (%T = texte, %D = nombre) :"
+
+#: _widgets.php:101
+msgid "Trackbacks: %T"
+msgstr "Rétroliens : %T"
+
+#: _widgets.php:106
+msgid "Permalink text (%T = text link, %F = full link):"
+msgstr "Texte pour le lien pemanent (%T = texte, %F = complet) :"
+
+#: _widgets.php:107
+#: _widgets.php:119
+#: _widgets.php:125
+#: _widgets.php:131
+#: _widgets.php:137
+msgid "%T"
+msgstr "%T"
+
+#: _widgets.php:112
+msgid "Show comment feed url"
+msgstr "Afficher l'URL du flux des commentaires"
+
+#: _widgets.php:118
+msgid "Link to previous entry (%T = navigation text, %F = entry title):"
+msgstr "Lien vers le billet précédent (%T = texte de navigation, %F = titre du billet) :"
+
+#: _widgets.php:124
+msgid "Link to next entry (%T = navigation text, %F = entry title):"
+msgstr "Lien vers le billet suivant (%T = texte de navigation, %F = titre du billet) :"
+
+#: _widgets.php:130
+msgid "Link to previous entry of this category (%T = navigation text, %F = entry title):"
+msgstr "Lien vers le billet précédent de la catégorie (%T = texte de navigation, %F = titre du billet) :"
+
+#: _widgets.php:136
+msgid "Link to next entry of this category (%T = navigation text, %F = entry title):"
+msgstr "Lien vers le billet suivant de la catégorie (%T = texte de navigation, %F = titre du billet) :"
+
+#: _widgets.php:142
+msgid "Try to adapt style:"
+msgstr "Essayer d'adapter le style :"
+
+#: _widgets.php:146
+msgid "No style"
+msgstr "sans style"
+
+#: _widgets.php:147
+msgid "Small icon"
+msgstr "petite icône"
+
+#: _widgets.php:148
+msgid "Normal icon"
+msgstr "icône normale"
+
+#: _widgets.php:153
+msgid "Try to remove entry information"
+msgstr "Essayer de cacher les informations du billet"
+
+#: _widgets.php:159
+msgid "Try to remove entry tags"
+msgstr "Essayer de cacher la liste des mots-clés du billet"
+
+#: _widgets.php:165
+msgid "Try to remove entry navigation"
+msgstr "Essayer de cacher les liens de navigation"
+
+#: _widgets.php:333
+msgid "no attachment"
+msgstr "aucune annexe"
+
+#: _widgets.php:344
+msgid "one attachment"
+msgstr "une annexe"
+
+#: _widgets.php:356
+msgid "%d attachments"
+msgstr "%d annexes"
+
+#: _widgets.php:375
+msgid "no comment"
+msgstr "aucun commentaire"
+
+#: _widgets.php:386
+msgid "one comment"
+msgstr "un commentaire"
+
+#: _widgets.php:398
+msgid "%d comments"
+msgstr "%d commentaires"
+
+#: _widgets.php:417
+msgid "no trackback"
+msgstr "aucun rétrolien"
+
+#: _widgets.php:428
+msgid "one trackback"
+msgstr "un rétrolien"
+
+#: _widgets.php:440
+msgid "%d trackbacks"
+msgstr "%d rétroliens"
+
+#: _widgets.php:494
+msgid "Previous entry"
+msgstr "Billet précédent"
+
+#: _widgets.php:510
+msgid "Next entry"
+msgstr "Billet suivant"
+
+#: _widgets.php:527
+msgid "Previous entry of this category"
+msgstr "Billet précédent de cette catégorie"
+
+#: _widgets.php:544
+msgid "Next entry of this category"
+msgstr "Billet suivant de cette catégorie"
\ No newline at end of file