From a7fb3dffac9cdb0c92ade7245a1a65c624cefaa8 Mon Sep 17 00:00:00 2001 From: William Daniau Date: Sat, 12 Oct 2019 13:37:51 +0200 Subject: [PATCH] =?UTF-8?q?+=20On=20renomme=20Wize=5FPrint=5FTemplate.html?= =?UTF-8?q?=20avec=20l'extension=20tpl=20pour=20qu'il=20n'apparaisse=20pas?= =?UTF-8?q?=20dans=20la=20liste=20des=20exports=20possibles.=20+=20On=20re?= =?UTF-8?q?mplace=20le=20Wize=5FPrint.html=20original=20par=20un=20message?= =?UTF-8?q?=20indiquant=20d'=C3=A9x=C3=A9cuter=20wize.rb=20-i=20+=20correc?= =?UTF-8?q?tion=20du=20wize.rb=20pour=20tenir=20compte=20du=20changement?= =?UTF-8?q?=20de=20nom=20du=20template=20print?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/html/Wize_Print.html | 76 +++------------------- ...Print_Template.html => Wize_Print_Template.tpl} | 0 wize.rb | 2 +- 3 files changed, 9 insertions(+), 69 deletions(-) rename templates/html/{Wize_Print_Template.html => Wize_Print_Template.tpl} (100%) diff --git a/templates/html/Wize_Print.html b/templates/html/Wize_Print.html index 2ba23fd..6c083a1 100644 --- a/templates/html/Wize_Print.html +++ b/templates/html/Wize_Print.html @@ -2,78 +2,18 @@ - [% title %] + Need install - - - - - - - - - - - - - - - - - - - -[% options.empty_lines = "default" %] - - - -
- -
- - -[% FOR page IN pages %] - [% page.content %] -[% END %] - - - -
- - - - + +

Need install

+

You need to run first (better quit zim before)

+
+	wize.rb -i
+	
diff --git a/templates/html/Wize_Print_Template.html b/templates/html/Wize_Print_Template.tpl similarity index 100% rename from templates/html/Wize_Print_Template.html rename to templates/html/Wize_Print_Template.tpl diff --git a/wize.rb b/wize.rb index 58b87ef..038d058 100755 --- a/wize.rb +++ b/wize.rb @@ -121,7 +121,7 @@ end def installWize Dir.chdir($zimHtmlTemplateDir) begin - printTemplate = File.new("Wize_Print_Template.html", "r") + printTemplate = File.new("Wize_Print_Template.tpl", "r") rescue puts "cannot open print file for reading" exit -- 2.16.4