From: Florent Bruneau Date: Sun, 9 Jan 2011 12:26:32 +0000 (+0100) Subject: Datepicker translation, minor theming improvements. X-Git-Tag: xorg/1.1.0~204 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=31d63ae190dacb5f9d7b5914065877e43491d615;p=platal.git Datepicker translation, minor theming improvements. Signed-off-by: Florent Bruneau --- diff --git a/Makefile b/Makefile index 2418710..0041ae2 100644 --- a/Makefile +++ b/Makefile @@ -193,7 +193,7 @@ JSTREE_PATH=htdocs/javascript/jquery.jstree.js # TODO: jquery.autocomplete.js should rather be downloaded from an official source. The issue # is that the version we use is not available anymore on the Internet, and the latest version # we could use is not backward compatible with our current code. -jquery: htdocs/javascript/jquery.js $(JQUERY_PLUGINS_PATHES) $(JQUERY_UI_PATHES) $(JQUERY_TMPL_PATH) $(JSTREE_PATH) +jquery: htdocs/javascript/jquery.js $(JQUERY_PLUGINS_PATHES) $(JQUERY_UI_PATHES) $(JQUERY_TMPL_PATH) $(JSTREE_PATH) htdocs/javascript/jquery.ui.datepicker-fr.js htdocs/javascript/jquery-$(JQUERY_VERSION).min.js: DOWNLOAD_SRC = http://jquery.com/src/$(@F) htdocs/javascript/jquery-$(JQUERY_VERSION).min.js: @@ -212,7 +212,11 @@ htdocs/javascript/jquery.ui-$(JQUERY_UI_VERSION).%.js: DOWNLOAD_SRC = http://jqu htdocs/javascript/jquery.ui-$(JQUERY_UI_VERSION).%.js: @$(download) -$(JQUERY_UI_PATHES): htdocs/javascript/jquery.ui.%.js: htdocs/javascript/jquery.ui-$(JQUERY_UI_VERSION).%.js +htdocs/javascript/jquery.ui-$(JQUERY_UI_VERSION).datepicker-fr.js: DOWNLOAD_SRC = http://jquery-ui.googlecode.com/svn/tags/$(JQUERY_UI_VERSION)/ui/minified/i18n/jquery.ui.datepicker-fr.min.js +htdocs/javascript/jquery.ui-$(JQUERY_UI_VERSION).datepicker-fr.js: + @$(download) + +$(JQUERY_UI_PATHES) htdocs/javascript/jquery.ui.datepicker-fr.js: htdocs/javascript/jquery.ui.%.js: htdocs/javascript/jquery.ui-$(JQUERY_UI_VERSION).%.js ln -snf $(addJsLink('jquery.ui.core.js'); $page->addJsLink('jquery.ui.widget.js'); $page->addJsLink('jquery.ui.datepicker.js'); + $page->addJsLink('jquery.ui.datepicker-fr.js'); $page->addJsLink('jquery.tmpl.js'); $page->addJsLink('survey.js'); $page->changeTpl('survey/edit.tpl'); diff --git a/templates/survey/edit.tpl b/templates/survey/edit.tpl index 9c6145d..6a2d274 100644 --- a/templates/survey/edit.tpl +++ b/templates/survey/edit.tpl @@ -28,23 +28,14 @@ Titre :
Nom :
+ Description :
+ +
+ Déroulement du sondage Premier jour :
Dernier jour :
-{literal} - -{/literal} - {* vim:set et sw=2 sts=2 ts=8 enc=utf-8: *} diff --git a/templates/survey/questions.tpl b/templates/survey/vote.questions.tpl similarity index 100% rename from templates/survey/questions.tpl rename to templates/survey/vote.questions.tpl diff --git a/templates/survey/vote.tpl b/templates/survey/vote.tpl index ad20cc7..e76065e 100644 --- a/templates/survey/vote.tpl +++ b/templates/survey/vote.tpl @@ -34,7 +34,7 @@ -{include file="survey/questions.tpl"} +{include file="survey/vote.questions.tpl"}