diff --git a/base.php b/base.php index 96e074d..c958dfe 100644 --- a/base.php +++ b/base.php @@ -78,7 +78,7 @@ function getCurrentCss () { } function getCurrentTemplate () { - return "default"; + return "bootstrap"; } function getUrlWithVersion ($url) { diff --git a/templates/bootstrap/bookdetail.html b/templates/bootstrap/bookdetail.html index b9ed403..e2d53a4 100644 --- a/templates/bootstrap/bookdetail.html +++ b/templates/bootstrap/bookdetail.html @@ -1,56 +1,63 @@ -
- +
+
{{? it.book.hasCover == 1}} - {{=it.c.i18n.coverAlt}} + {{=it.c.i18n.coverAlt}} {{?}} - -

- {{~it.book.datas:data:i}} - {{=data.format}} - {{? data.mail == 1}} - - {{?}} - {{? data.readerUrl != ""}} - - {{?}} -
- {{~}} -

-

{{=htmlspecialchars (it.title)}}

-

-

{{=it.c.i18n.authorsTitle}}:

- {{~it.book.authors:author:i}} - {{? i > 0}}, {{?}}{{=htmlspecialchars (author.name)}} - {{~}} -

+
+
+

+ {{=htmlspecialchars (it.title)}} +

+

{{=it.c.i18n.authorsTitle}}: + {{~it.book.authors:author:i}} + {{? i > 0}}, {{?}}{{=htmlspecialchars (author.name)}} + {{~}} +

{{? it.book.tagsName != ""}} -

-

{{=it.c.i18n.tagsTitle}}:

+

{{=it.c.i18n.tagsTitle}}: {{~it.book.tags:tag:i}} {{? i > 0}}, {{?}}{{=htmlspecialchars (tag.name)}} {{~}} -

+

{{?}} {{? it.book.seriesName != ""}} -

-

{{=it.c.i18n.seriesTitle}} :

{{=htmlspecialchars (it.book.seriesCompleteName)}} -

+

{{=it.c.i18n.seriesTitle}} : {{=htmlspecialchars (it.book.seriesCompleteName)}}

{{?}} +
+
+
+ {{~it.book.datas:data:i}} + {{=data.format}} + {{? data.mail == 1}} + + + {{?}} + {{? data.readerUrl != ""}} + + + {{?}} + {{~}} +
+
+
+ +
+
{{? it.book.publisherName != ""}} -

-

{{=it.c.i18n.publisherName}}:

{{=htmlspecialchars (it.book.publisherName)}} +

+

{{=it.c.i18n.publisherName}}:

{{=htmlspecialchars (it.book.publisherName)}}

{{?}} {{? it.book.pubDate != ""}} -

-

{{=it.c.i18n.pubdateTitle}}:

{{=it.book.pubDate}} +

+

{{=it.c.i18n.pubdateTitle}}:

{{=it.book.pubDate}}

{{?}} {{? it.book.languagesName != ""}} -

-

{{=it.c.i18n.languagesTitle}}:

{{=it.book.languagesName}} +

+

{{=it.c.i18n.languagesTitle}}:

{{=it.book.languagesName}}

{{?}} {{? it.book.content != ""}} @@ -58,4 +65,5 @@

{{=it.c.i18n.contentTitle}}

{{=it.book.content}}
{{?}} -
\ No newline at end of file + + \ No newline at end of file