diff --git a/admin/panels/config/admin.config.tpl b/admin/panels/config/admin.config.tpl
index fc0e57a..7762322 100755
--- a/admin/panels/config/admin.config.tpl
+++ b/admin/panels/config/admin.config.tpl
@@ -44,18 +44,18 @@
- - {$panelstrings.utctime}
+
{assign var=temp_time value="%b %d %Y %H:%M:%S"}
-
{"r"|date:$smarty.now}
@@ -102,21 +102,21 @@
{assign var=class value=""}
{/if}
- {$panelstrings.hours}
+ class="smalltextinput{$class}"
+ value="{$fp_config.locale.timeoffset}" />
{$panelstrings.hours}
{if isset($error) && isset($error.dateformat) && !empty($error.dateformat)}
- {assign var=class value=" field-error"}
+ {assign var=class value="field-error"}
{else}
{assign var=class value=""}
{/if}
-
- {$panelstrings.output}: {$smarty.now|date_format:$fp_config.locale.dateformat}
+ {$panelstrings.output}: {$smarty.now|date_format:$fp_config.locale.dateformat}
@@ -126,24 +126,24 @@
{assign var=class value=""}
{/if}
-
- {$panelstrings.output}: {$smarty.now|date_format:$fp_config.locale.dateformatshort}
+ {$panelstrings.output}: {$smarty.now|date_format:$fp_config.locale.dateformatshort}
{if isset($error) && isset($error.timeformat) && !empty($error.timeformat)}
- {assign var=class value=" field-error"}
+ {assign var=class value="field-error"}
{else}
{assign var=class value=""}
{/if}
-
{assign var=currentTime value=$smarty.now}
{assign var=timeDiff value=$fp_config.locale.timeoffset}
{assign var=TimeDiffUTC value=$currentTime+$timeDiff*3600}
- {$panelstrings.output}: {$TimeDiffUTC|date_format:$fp_config.locale.timeformat}
+ {$panelstrings.output}: {$TimeDiffUTC|date_format:$fp_config.locale.timeformat}
@@ -161,14 +161,14 @@
-
{if isset($error) && isset($error.charset) && !empty($error.charset)}
- {assign var=class value=" field-error"}
+ {assign var=class value="field-error"}
{else}
{assign var=class value=""}
{/if}
-
-
{$panelstrings.charsettip}
+ {$panelstrings.charsettip}
diff --git a/fp-interface/lang/cs-cz/lang.admin.config.php b/fp-interface/lang/cs-cz/lang.admin.config.php
index a7c6d9f..f517be2 100644
--- a/fp-interface/lang/cs-cz/lang.admin.config.php
+++ b/fp-interface/lang/cs-cz/lang.admin.config.php
@@ -31,7 +31,7 @@
'langchoice' => 'Jazyk',
'intsetts' => 'Mezinárodní nastavení',
- 'utctime' => 'UTC čas je',
+ 'utctime' => 'UTC čas je',
'timeoffset' => 'Čas bude oddělený: ',
'hours' => 'hodiny',
'timeformat' => 'Přednastavený formát času',
diff --git a/fp-interface/lang/de-de/lang.admin.config.php b/fp-interface/lang/de-de/lang.admin.config.php
index 8364ab2..5c33050 100644
--- a/fp-interface/lang/de-de/lang.admin.config.php
+++ b/fp-interface/lang/de-de/lang.admin.config.php
@@ -32,7 +32,7 @@
'langchoice' => 'Sprache',
'intsetts' => 'Internationale Einstellungen',
- 'utctime' => 'UTC Zeitzone',
+ 'utctime' => 'UTC Zeitzone',
'timeoffset' => 'Uhrzeit soll korrigiert werden um',
'hours' => 'Stunden',
'timeformat' => 'Standard Zeitformat',
diff --git a/fp-interface/lang/el-gr/lang.admin.config.php b/fp-interface/lang/el-gr/lang.admin.config.php
index 57c163f..9fd60dd 100644
--- a/fp-interface/lang/el-gr/lang.admin.config.php
+++ b/fp-interface/lang/el-gr/lang.admin.config.php
@@ -31,7 +31,7 @@
'langchoice' => 'Γλώσσα',
'intsetts' => 'Ρυθμίσεις εντοπιότητας',
- 'utctime' => 'Η UTC ώρα είναι',
+ 'utctime' => 'Η UTC ώρα είναι',
'timeoffset' => 'Ο χρόνος θα πρέπει να διαφέρει κατά',
'hours' => 'ώρες',
'timeformat' => 'Προεπιλεγμένη μορφή ώρας',
diff --git a/fp-interface/lang/en-us/lang.admin.config.php b/fp-interface/lang/en-us/lang.admin.config.php
index 1bf4813..e7156c7 100755
--- a/fp-interface/lang/en-us/lang.admin.config.php
+++ b/fp-interface/lang/en-us/lang.admin.config.php
@@ -34,7 +34,7 @@
'langchoice' => 'Language',
'intsetts' => 'International settings',
- 'utctime' => 'UTC time is',
+ 'utctime' => 'UTC time is',
'timeoffset' => 'Time should differ by',
'hours' => 'hours',
'timeformat' => 'Default format for time',
diff --git a/fp-interface/lang/es-es/lang.admin.config.php b/fp-interface/lang/es-es/lang.admin.config.php
index 5ca4466..b7393ca 100644
--- a/fp-interface/lang/es-es/lang.admin.config.php
+++ b/fp-interface/lang/es-es/lang.admin.config.php
@@ -34,7 +34,7 @@ subdirectorios.
'langchoice' => 'Idioma',
'intsetts' => 'Configuración internacional',
- 'utctime' => 'UTC la hora es',
+ 'utctime' => 'UTC la hora es',
'timeoffset' => 'La diferencia de hora es',
'hours' => 'hours',
'timeformat' => 'Formato inicial para la hora',
diff --git a/fp-interface/lang/fr-fr/lang.admin.config.php b/fp-interface/lang/fr-fr/lang.admin.config.php
index db365e3..e159da9 100644
--- a/fp-interface/lang/fr-fr/lang.admin.config.php
+++ b/fp-interface/lang/fr-fr/lang.admin.config.php
@@ -32,7 +32,7 @@
'langchoice' => 'Langage',
'intsetts' => 'Réglages Internationaux',
- 'utctime' => 'L\'heure (UTC) actuelle est',
+ 'utctime' => 'L\'heure (UTC) actuelle est',
'timeoffset' => 'Fuseau horaire (GMT+)',
'hours' => 'heures',
'timeformat' => 'Format par défaut pour l\'heure',
diff --git a/fp-interface/lang/it-it/lang.admin.config.php b/fp-interface/lang/it-it/lang.admin.config.php
index c3c0b13..2389645 100644
--- a/fp-interface/lang/it-it/lang.admin.config.php
+++ b/fp-interface/lang/it-it/lang.admin.config.php
@@ -34,7 +34,7 @@
'langchoice' => 'Lingua',
'intsetts' => 'Impostazioni internazionali',
- 'utctime' => 'L\'orario UTC è',
+ 'utctime' => 'L\'orario UTC è',
'timeoffset' => 'Le ore dovrebbero differire di',
'hours' => 'ore',
'timeformat' => 'Formato predefinito per l\'orario',
diff --git a/fp-interface/lang/ja-jp/lang.admin.config.php b/fp-interface/lang/ja-jp/lang.admin.config.php
index 9c101bb..64dad05 100644
--- a/fp-interface/lang/ja-jp/lang.admin.config.php
+++ b/fp-interface/lang/ja-jp/lang.admin.config.php
@@ -30,7 +30,7 @@
'langchoice' => '言語の選択',
'intsetts' => 'ローカルの設定',
- 'utctime' => 'UTCの時刻:',
+ 'utctime' => 'UTCの時刻:',
'timeoffset' => '投稿時に加算する時間',
'hours' => '時間',
'timeformat' => '時刻表示のデフォルト形式',
diff --git a/fp-interface/lang/nl-nl/lang.admin.config.php b/fp-interface/lang/nl-nl/lang.admin.config.php
index 2b83d95..9a9d620 100644
--- a/fp-interface/lang/nl-nl/lang.admin.config.php
+++ b/fp-interface/lang/nl-nl/lang.admin.config.php
@@ -34,7 +34,7 @@
'langchoice' => 'Taal',
'intsetts' => 'Internationale instellingen',
- 'utctime' => 'UTC time is',
+ 'utctime' => 'UTC time is',
'timeoffset' => 'De tijd moet verschuiven per',
'hours' => 'uren',
'timeformat' => 'Default format voor tijd',
diff --git a/fp-interface/lang/pt-br/lang.admin.config.php b/fp-interface/lang/pt-br/lang.admin.config.php
index f6af18d..97ce053 100644
--- a/fp-interface/lang/pt-br/lang.admin.config.php
+++ b/fp-interface/lang/pt-br/lang.admin.config.php
@@ -29,7 +29,7 @@
'langchoice' => 'Idioma',
'intsetts' => 'Configurações internacionais',
- 'utctime' => 'UTC hora é:',
+ 'utctime' => 'UTC hora é:',
'timeoffset' => 'Diferença em horas com relação ao UTC:',
'hours' => 'horas',
'timeformat' => 'Formato padrão para a hora',
diff --git a/fp-interface/themes/leggero/leggero-v2/res/admin.css b/fp-interface/themes/leggero/leggero-v2/res/admin.css
index 7b53de1..ecea688 100755
--- a/fp-interface/themes/leggero/leggero-v2/res/admin.css
+++ b/fp-interface/themes/leggero/leggero-v2/res/admin.css
@@ -6,70 +6,77 @@ Leggero CSS Styles
mod by liquibyte
Name: Leggero v2
Author: NoWhereMan, drudo & Marc Thibeault
-Version: 0.1
+Version: 1.0
Module: admin.css
*/
-@import url(common.css);
-@import url(globals.css);
+@import url("common.css");
+@import url("globals.css");
/* ===== VARIOUS ===== */
+@viewport { width: device-width }
+
.buttonbar input {
- padding: .3em;
- background: #bdbdbd url(../imgs/buttonsh.png) repeat-x;
+ box-shadow: none !IMPORTANT;
+ background: #bdbdbd url("../imgs/buttonsh.png") repeat-x
}
+
.buttonbar input:hover {
- padding: .3em;
- background: #d3d3d3 url(../imgs/buttonsh2.png) repeat-x;
+ background: #d3d3d3 url("../imgs/buttonsh2.png") repeat-x
}
+
/* ===== HEADERS TAGS ===== */
h1,
-h2 {
- font-family: 'book antiqua', georgia, garamond, times, 'times new roman', serif;
- margin: auto;
-}
+h2 { margin: auto }
-h2 {
- border-bottom: 1px solid #ddd;
-}
+h2 { border-bottom: 1px solid #ddd; margin: 0.5em 0 }
-.head-link {
- font-size: 0.83em;
-}
+h3 { margin: 0.5em 0 0 0 }
+
+.head-link { font-size: 0.83em }
-body { background: #eee; }
/* === Redefines some stuff in inline mode === */
-body#inline-body {
- background: white;
-}
-
-body#inline-body input {
-
-}
+body#inline-body { background: white }
#body-container {
text-align: left;
font-size: 0.85em;
- width: 80% !important;
- min-width: 1000px;
margin: 0 auto 0 auto;
- padding: 5px;
background-color: rgba(255,255,255,1);
- border-radius: 3px;
+ border-radius: 12px
}
+
+/* ===== Smartphone and Tablet ===== */
+@media (max-width: 1920px) { /* prevents too large font size on mobile devices */
+ #body-container {
+ -webkit-text-size-adjust: none;
+ -moz-text-size-adjust: none;
+ text-size-adjust: none
+ }
+
+ @media (max-width: 768px) { /* and stretch to the complete width on small devices */
+ body { margin: 0 0 0 0; background: #eee }
+
+ #body-container {
+ padding: unset;
+ padding-top: 5px;
+ min-width: 100%;
+ border-radius: unset
+ }
+ }
+}
+
+
/* === Conflict with inner h1 === */
#admin-content h1 { color: black }
-
-
/* DIV CONTAINER ALL ADMIN DIV BLOCK */
#cpmain { padding: 10px }
-
/* ===== SMALL NAVBAR (home and logout links) ===== */
ul#admin-small-nav {
font-size: 80%;
@@ -80,14 +87,12 @@ ul#admin-small-nav {
ul#admin-small-nav li { display: inline; margin: 5px }
-
/* ===== TAB MENU ===== */
ul#admin-tabmenu {
margin: 1em 0 0 0;
padding: .5em;
background: #000;
- -moz-border-radius-topleft:3px;
- -moz-border-radius-topright:3px;
+ border-radius: 5px
}
ul#admin-tabmenu li {
@@ -103,7 +108,7 @@ ul#admin-tabmenu li a {
font-weight: normal;
text-decoration: none;
padding: 0.5em;
- margin: .1em;
+ margin: .1em
}
ul#admin-tabmenu li a.admin-tab-current,
@@ -112,46 +117,45 @@ ul#admin-tabmenu li a:hover {
font-weight: normal;
background-color: #ddd;
-moz-border-radius: 2px;
+ border-radius: 2px
}
-ul#admin-tabmenu li a.admin-tab-current {
- font-weight: bold;
-}
+ul#admin-tabmenu li a.admin-tab-current { font-weight: bold }
+
/* ===== submenu ====== */
-
#admin-submenu {
- background: #eee;
- padding: .5em;
- border: 1px solid #ccc;
+ background: #e6e6e6;
+ padding: 0.5em;
+ width: 95%;
+ max-width: fit-content;
+ display: inline-block;
+ border-radius: 0 0 5px 5px;
+ position: relative;
+ left: 5px
}
-#admin-submenu li {
- display:inline;
- font-size: 80%;
-}
+#admin-submenu li { display: inline; font-size: 80% }
#admin-submenu li a {
padding: 0 1em ;
color: #000;
border-left: 1px solid #eee;
- border-right: 1px solid #eee;
- font-weight: normal;
+ border-right: 1px solid #eee;
+ font-weight: normal
}
#admin-submenu li a:hover,
#admin-submenu li a.active {
color: #eee;
background: #555;
- padding: .1em 1em .3em;
+ padding: .3em 1em .3em;
-moz-border-radius: 3px;
- text-decoration: none;
-}
-
-#admin-submenu li a.active {
- font-weight: bold;
+ border-radius: 3px;
+ text-decoration: none
}
+#admin-submenu li a.active { font-weight: bold }
/* ===== MAIN MENU ITEM ===== */
@@ -165,11 +169,7 @@ ul#admin-tabmenu li a.admin-tab-current {
.admin-mainmenu-item img { padding-right: 1em }
-.admin-mainmenu-item .admin-icon-descr {
- font-size: 80%;
- font-style: italic
-}
-
+.admin-mainmenu-item .admin-icon-descr { font-size: 80%; font-style: italic }
/* ===== ADMIN ENTRY ===== */
@@ -180,11 +180,6 @@ input#subject {
font-weight: bold
}
-textarea.code {
- font-family: Lucida Console, Monaco, monospace;
- font-size: 90%
-}
-
#admin-entry-categories ul {
display:block;
list-style-type: none;
@@ -192,13 +187,19 @@ textarea.code {
padding-left: 1em
}
-#admin-bbcode-toolbar p { display: inline }
+#admin-bbcode-toolbar { display: table }
+
+#admin-bbcode-toolbar p {
+ display: table-cell;
+ vertical-align: middle;
+ line-height: 1em
+}
+
+#admin-bbcode-toolbar p img { vertical-align: middle; cursor: pointer }
#admin-bbcode-toolbar select { width: 10em }
-
-
-#admin-content table { width: 100%; }
+#admin-content table { width: 100%; margin-bottom: 2em }
#admin-content td {
font-size: 0.8em;
@@ -207,17 +208,12 @@ textarea.code {
padding: .9em;
*/
background: #e6e6e6;
- text-align: center;
+ text-align: center
}
-#admin-content .enabled td {
- background: inherit;
-}
+#admin-content .enabled td { background: inherit }
-#admin-content td.main-cell {
- width: 30%;
- text-align: left;
-}
+#admin-content td.main-cell { width: 30%; text-align: left }
#admin-content th {
font-size: 0.75em;
@@ -227,8 +223,15 @@ textarea.code {
padding: 8px
}
-input.maxsize, select.maxsize { width: 99% }
+#admin-content tr:first-child th:last-child { border-top-right-radius: 5px }
+#admin-content tr:first-child th:first-child { border-top-left-radius: 5px }
+
+#admin-content tr:last-child td:last-child { border-bottom-right-radius: 5px }
+
+#admin-content tr:last-child td:first-child { border-bottom-left-radius: 5px }
+
+input.maxsize, select.maxsize { width: 99% }
#admin-bbcode-toolbar {
margin: 0;
@@ -246,120 +249,97 @@ input.maxsize, select.maxsize { width: 99% }
border: none;
width: 99%;
margin: auto;
- height: 11em;
+ height: 11em
}
-
.admin-entry-commentlist td ,
.admin-widgets-blockparser td ,
-.admin-plugin-default td {
- padding: 1em .6em;
-}
+.admin-plugin-default td { padding: 1em .6em }
#admin-drafts {
- border-top: 1px solid #bbb;
- border-bottom: 1px solid #bbb;
+ border-radius: 5px;
+ margin-top: 0.5em;
padding: .4em;
color: #555;
background-color: #ddd;
- overflow: auto;
+ overflow: auto
}
#admin-drafts p {
font-weight: bold;
float: left;
padding: 0;
- margin: 0;
+ margin: 0
}
-#admin-content #admin-drafts ul {
- margin: 0; padding: 0;
-}
+#admin-content #admin-drafts ul { margin: 0; padding: 0 }
#admin-drafts li {
float:left;
list-style-position: inside;
- margin: 0; padding-left: 1em;
+ margin: 0; padding-left: 1em
}
/* ===== PREVIEW SETTINGS ===== */
-#post-preview {
- min-width: 68em
-}
+#post-preview { min-width: 28em }
#post-preview .entry { padding: 2em; max-height: 20em; overflow: auto }
#post-preview div.entry h2 {
font-family: sans-serif;
border-bottom: none;
- margin: 0.83em 0;
+ margin: 0.83em 0
}
-#post-preview div.entry h4 {
- margin: 2em 0 0 0;
-}
+#post-preview div.entry h4 { margin: 2em 0 0 0 }
+
+.entry-footer { margin: 2em 0 0.5em 0; text-align: right }
-.entry-footer {
- margin: 2em 0 0.5em 0;
- text-align: right;
-}
/* ===== UPLOAD PANEL ===== */
-#admin-uploader-filelist {
- margin: 1em auto;
-}
+#admin-uploader-filelist { margin: 1em auto }
-#admin-uploader-thumbs {
- list-style-type: none;
-}
+#admin-uploader-thumbs { list-style-type: none }
#admin-uploader-thumbs li.thumb {
float:left;
width: 110px;
height: 110px;
padding: 1em 4px;
- margin: 1em;
+ margin: 1em
}
+input[type=file]::file-selector-button { cursor: pointer }
+
+table.plugin_gallerycaptions_captionstable tr:first-child td:first-child { border-top-left-radius: 5px }
+
+table.plugin_gallerycaptions_captionstable tr:first-child td:last-child { border-top-right-radius: 5px }
+
+table.plugin_gallerycaptions_captionstable img { border-radius: 3px }
/* (applies only to the inline version */
-#upload {
- margin-top: .5em
-}
+#upload { margin-top: .5em }
/* ===== THEME PANEL ===== */
-
#current-theme h5,
-#available-themes h5 {
- font-size: 1em;
-}
-
-#current-theme {
- margin-bottom: 4em;
- overflow:hidden;
-}
+#available-themes h5 { font-size: 1em }
+#current-theme { margin-bottom: 4em; overflow:hidden }
#current-theme img {
float:left;
border: 1px solid #ddd;
margin-right: 2em;
+ border-radius: 3px
}
-#available-themes {
- clear: both;
-}
+#available-themes { clear: both }
+#available-themes img { border: 1px solid #eee; border-radius: 3px }
-#available-themes img {
- border: 1px solid #eee
-}
-
-#available-themes ul {
- list-style-type: none;
-}
+#available-themes ul { list-style-type: none }
#available-themes ul li {
float:left;
@@ -367,45 +347,49 @@ input.maxsize, select.maxsize { width: 99% }
border: 1px solid #fff;
text-align: center;
width: 300px;
+ border-radius: 3px
}
#available-themes ul li:hover {
background: #eee;
- border: 1px solid #ddd;
+ border: 1px solid #ddd
}
+
/* ===== WIDGET PANEL ====== */
-
-#admin-widgetset-list {
- width: 30em;
-}
+#admin-widgetset-list { width: 30em; max-width: 55% }
#admin-widgetset-list ul {
list-style-type: none;
margin: 0;
margin-bottom: 2em;
- text-align: left;
+ text-align: left
}
li.admin-widgetset {
padding: .5em;
margin-bottom: 2em;
border: 1px solid #ddd;
+ border-radius: 3px
}
#available-widgets {
font-size: 80%;
- float:right;
+ float: right;
border: 1px solid #ddd;
background: #eee;
padding: 1em;
width: 30%;
+ min-width: 20em;
z-index: 1000;
position: relative;
text-align: left;
+ border-radius: 3px
}
-#widget-trashcan { /*colors for trashcan/uninstall widgets while dragging*/
+.widgetset-name { border-radius: 2px }
+
+#widget-trashcan { /* colors for trashcan/uninstall widgets while dragging */
background-color: rgba(170, 34, 34, 0.7);
color: #ddd;
font-size: 120%;
@@ -414,29 +398,27 @@ li.admin-widgetset {
text-align: center;
border: 2px solid #f00;
margin: 2em;
+ border-radius: 2px
}
-.widget-available { /*colors for available widgets while dragging*/
+.widget-available { /* colors for available widgets while dragging */
cursor: move;
color: #fff;
background-color: rgba(34, 102, 0, 0.7);
border: 2px solid #2f0;
- z-index: 2000;
+ z-index: 2000
}
-.widget-installed { /*colors for installed widgets while dragging*/
+.widget-installed { /* colors for installed widgets while dragging */
cursor: move;
color: #fff;
background-color: rgba(0, 34, 102, 0.7);
border: 2px solid #00f;
- z-index: 2000;
-}
-
-#available-widgets ul, .admin-widgetset ul {
- padding-left: 0;
- margin-left: 0;
+ z-index: 2000
}
+#available-widgets ul,
+.admin-widgetset ul { padding-left: 0; margin-left: 0 }
li.widget-instance,
li.widget-class {
@@ -447,14 +429,14 @@ li.widget-class {
height: 30px;
background-color: white;
list-style-type: none;
+ border-radius: 2px
}
-
.admin-widgetset h3 {
margin-bottom: 1em;
padding: .3em;
background: #eee;
- border: 1px solid #ddd;
+ border: 1px solid #ddd
}
#available-widgets h2 {
@@ -464,6 +446,7 @@ li.widget-class {
padding: .3em;
border: 1px solid #eee;
background: #999;
+ border-radius: 2px
}
.widget-instance .textinput {
@@ -473,149 +456,127 @@ li.widget-class {
font-style: oblique;
color: blue;
border: #fff 2px solid;
- text-align: right;
+ text-align: right
}
.widget-instance .textinput:hover {
border: #d00 2px solid;
- background-color:white;
+ background-color:white
}
-
.widget-instance .textinput:focus {
font-style: normal;
border: #f00 2px solid;
background-color:white;
- text-align: left;
+ text-align: left
}
-
.widgetname a,
.widgetname a:link,
-.widgetname a:visited {
- color: #ddd;
-}
+.widgetname a:visited { color: #ddd }
.widget-placeholder {
padding: .5em;
font-style: oblique;
text-align: center;
- border: 1px dashed #ddd;
+ border: 1px dashed #ddd
}
.widget-dragger {
text-align: left;
z-index: 1000;
padding: .5em;
- height: 30px !important;
+ height: 30px !important
}
/* ===== CONFIG PANEL ===== */
-
-.option-set .option-list {
- margin-bottom: 4em;
-}
-
-.option-set dt {
- width: 33%;
- text-align:right;
- margin-top: 1.8em;
- line-height: 1.5em;
- font-weight: bold;
-}
-
-.option-set dt label {
- padding-top: .2em;
-}
+.option-set,
+.option-list { margin-bottom: 3em }
.option-set dd {
- margin-left: 35%;
- margin-top: -1.7em;
+ margin-left: 38%;
+ bottom: 1.75em;
line-height: 1.5em;
+ position: relative
}
+.option-set dd p { margin: 0 }
-.option-set dd p {
- margin: 0;
+.option-set dd p.text { display: inline; vertical-align: middle }
+
+.option-list dd label {
+ position: relative;
+ vertical-align: middle;
+ display: flex
}
+.option-list dd code { position: relative; font-size: 0.85em }
-.option-set dd input{
- margin-bottom: .2em;
+.option-set dt {
+ width: 36%;
+ text-align:right;
+ margin-top: 0.5em;
+ line-height: 1.5em;
+ font-weight: bold
}
-.textinput, .bigtextinput, .smalltextinput {
- padding: .5em;
-}
+.option-set dt label { bottom: 0.25em; position: relative }
-.textinput:focus, .bigtextinput:focus, .smalltextinput:focus {
- font-weight: bold;
-}
+.textinput,
+.bigtextinput,
+.smalltextinput { padding: 0.2em }
+
+.textinput:focus,
+.bigtextinput:focus,
+.smalltextinput:focus { font-weight: bold }
.widetextinput {
width: 99%;
font-size: 1.3em;
- color: #333333;
+ color: #333333
}
.option-set input.textinput ,
-.option-set select.textinput {
- width: 20em;
-}
+.option-set select.textinput { width: 20em; margin-top: -2px }
+.option-set input.bigtextinput { width: 26em }
-.option-set input.bigtextinput {
- width: 30em;
-}
+.option-set input.smalltextinput { width: 5em }
-.option-set input.smalltextinput {
- width: 5em;
-}
-
/* ===== SPECIAL HOVERS ====== */
a.link-disable,
a.link-delete,
a.link-enable,
-a.link-general {
- padding: .9em;
-}
+a.link-general { padding: .9em; border-radius: 2px }
-td.main-cell a.link-general {display:block}
+td.main-cell a.link-general { display:block }
a.link-disable:hover, a.link-delete:hover {
background-color: red;
- color: white;
+ color: white
}
+
a.link-enable:hover {
background-color: green;
- color: white;
+ color: white
}
a.link-general:hover, .main-cell a:hover {
background-color: #aaa;
- color: black;
+ color: black
}
-
/* ===== NOTIFICATIONS ===== */
-.hint {
- cursor: help;
-}
+.hint { cursor: help }
.draft { background-color: #333 }
/* (already defined in common, here we put just some tuning settings) */
-#admin-content ul.msgs {
- margin:0;
-}
+#admin-content ul.msgs { margin: 0.5em 0 0.5em 0 }
-#footer {
- color: black;
-}
+#footer { color: black }
-form {
- margin: auto;
-}
+form { margin: auto }
diff --git a/fp-interface/themes/leggero/leggero-v2/res/column.css b/fp-interface/themes/leggero/leggero-v2/res/column.css
index 86d3c13..8c1c6ba 100644
--- a/fp-interface/themes/leggero/leggero-v2/res/column.css
+++ b/fp-interface/themes/leggero/leggero-v2/res/column.css
@@ -5,7 +5,7 @@ Leggero CSS Styles
Name: Leggero v2
Author: NoWhereMan, drudo & Marc Thibeault
-Version: 0.1
+Version: 1.0
Module: style.css
*/
@@ -13,40 +13,40 @@ Module: style.css
@media (min-width: 720px) {
/* ===== COLUMN ===== */
#column {
- width: 22%;
+ width: 215px;
+ margin: 0px 20px 0px 0px;
display: inline-block;
font-size: 90%;
- height:1%;
+ height: 1%;
margin-bottom: 5px;
- color: white;
+ color: white
}
}
+
/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 719px) {
/* ===== COLUMN ===== */
#column {
text-align: center;
- float: center;
width: 100%;
display: inline-block;
font-size: 100%;
- height:1%;
+ height: 1%;
margin: 5px auto;
- color: white;
+ color: white
}
}
#column h4 {
/* Titles of the sections */
margin-bottom: .5em;
- color: white;
+ color: white
}
#column p, #column div { margin: 5px 0px }
-
/* === List === */
#column ul li table { font-size: 100% }
diff --git a/fp-interface/themes/leggero/leggero-v2/res/common.css b/fp-interface/themes/leggero/leggero-v2/res/common.css
index 143ecc9..58a4c0d 100644
--- a/fp-interface/themes/leggero/leggero-v2/res/common.css
+++ b/fp-interface/themes/leggero/leggero-v2/res/common.css
@@ -5,7 +5,7 @@ Leggero CSS Styles
Name: Leggero v2
Author: NoWhereMan, drudo & Marc Thibeault
-Version: 0.1
+Version: 1.0
Module: common.css
*/
@@ -13,19 +13,31 @@ Module: common.css
html {
font-size: 100%;
margin: 0;
- padding: 0
+ padding: 0;
+ font-family: sans-serif;
+ text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2)
+}
+
+html::before { /* background-attachment: fix workaround for mobile devices */
+ content: ' ';
+ display: block;
+ background-image: url("../imgs/back.jpg");
+ background-position: center;
+ -webkit-background-size: cover;
+ -moz-background-size: cover;
+ -o-background-size: cover;
+ background-size: cover;
+ height: 100vh; width: 100vw;
+ top: 0; bottom: 0; left: 0; right: 0;
+ position: fixed;
+ z-index: -10
}
body {
font-size: 100%;
color: black;
padding: 0;
- text-align:center;
- background: url('../imgs/back.jpg') no-repeat fixed top center;
- -webkit-background-size: cover;
- -moz-background-size: cover;
- -o-background-size: cover;
- background-size: cover;
+ text-align: center
}
hr { display: none }
@@ -45,23 +57,25 @@ blockquote {
border-right: 1px solid #888;
border-top: 1px solid #888;
border-bottom: 1px solid #888;
+ border-radius: 3px
}
-pre, code {
- font-family: Lucida Console, Monaco, monospace !IMPORTANT;
- font-size: 90%;
-}
+blockquote p { margin: 0.5em 0 0.5em 0 !IMPORTANT }
+
+pre, code { font-family: "Lucida Console", Monaco, monospace !IMPORTANT; font-size: 90% }
pre {
- border: 1px dashed #555;
+ border-left: 5px solid #b83c32;
+ border-right: 1px solid #b83c32;
+ border-top: 1px solid #b83c32;
+ border-bottom: 1px solid #b83c32;
+ border-radius: 3px;
background-color: #efefef;
-
overflow: auto;
- width: 90%;
+ width: auto;
margin: 1em 1em;
padding: 5px 10px;
-
- height: auto !important;
+ height: auto !important
}
ul, li, ol { margin: 0; padding: 0 }
@@ -72,7 +86,8 @@ form { margin: 1em 0 }
fieldset {
margin: 0 0 1em 0;
padding: .5em;
- border: #ddd solid 1px
+ border: #ddd solid 1px;
+ border-radius: 3px
}
legend {
@@ -81,11 +96,19 @@ legend {
font-style: oblique
}
+select,
+input[type=submit],
+input[type=reset],
+input[type=button],
+input[type=radio],
+input[type=checkbox] { cursor: pointer }
+
input, textarea, select {
padding: .2em;
border: 1px solid #999;
color: #222;
background-color: #eee;
+ border-radius: 3px
}
input:hover, input:focus, textarea:hover, textarea:focus {
@@ -94,52 +117,50 @@ input:hover, input:focus, textarea:hover, textarea:focus {
}
textarea {
- font-size: 100%;
width: 99%;
margin-top: .1em;
- margin-bottom: 1em
+ margin-bottom: 1em;
+ font-family: sans-serif
}
-
+input#name, input#email, input#url { /* comment and contact textfield */
+ width: 200px
+}
/* ===== LINKS GENERAL ===== */
a:link, a:visited {
color: #B83C32;
font-weight: bold;
- text-decoration: none;
+ text-decoration: none
}
-a:hover {
- text-decoration: underline;
-}
+a:hover { text-decoration: underline }
/* ===== HEADERS TAGS ===== */
h1 {
/* Title of the blog */
font-size: 2.3em;
letter-spacing: 2px;
- margin: 1em 0 0.5em 0;
+ margin: 1em 0 0.5em 0
}
h2 {
/* Titles of the entry */
font-style: normal;
font-size: 1.6em;
- margin: 0.83em 0;
+ margin: 0.83em 0
}
h2.entry-title,
-h2.title {
- margin: 0 !IMPORTANT;
-}
+h2.title { margin: 0 !IMPORTANT }
h3 {
font-style: normal;
font-size: 1.4em;
- margin: 0;
+ margin: 0
}
-h4 { font-size: 1.2em; }
+h4 { font-size: 1.2em }
/* ===== HEAD ===== */
#head {
@@ -147,7 +168,7 @@ h4 { font-size: 1.2em; }
margin: 5px;
background: rgba(184,60,50,0.7);
border: black 1px solid;
- border-radius: 10px ;
+ border-radius: 10px
}
#head a { color: white; text-decoration: none }
@@ -164,7 +185,7 @@ h4 { font-size: 1.2em; }
position: relative;
height: 1%;
margin: 0px;
- padding: 0px;
+ padding: 0px
}
/* ===== NORMAL DESIGN ===== */
@@ -175,31 +196,109 @@ h4 { font-size: 1.2em; }
/* ===== BODY CONTAINER ===== */
#body-container {
text-align: left;
- max-width: 1000px;
+ max-width: 690px;
width: 100%;
margin: 0 auto 0 auto;
padding: 5px;
background-color: rgba(0,0,0,0.75);
- border-radius: 3px;
+ border-radius: 12px
}
/* ===== MAIN ===== */
- #main h4 { margin: 2em 0 0 0}
+ #main h4 { margin: 2em 0 0 0 }
#main {
float:left;
position: relative;
- width: 65%;
+ width: 365px;
font-size: 100%;
padding: 25px;
margin: 20px;
background-color: rgba(255,255,255,0.9);
- border-radius: 3px;
+ border-radius: 3px
+ }
+
+ div.floatleft { /* PhotoSwipe; normal */
+ margin: 0.5em 1em 1em 0.5em
+ }
+
+ div.floatright {
+ margin: 0.5em 0.5em 1em 1em
+ }
+
+ .bbcode_video.right, .bbcode_video.left { float: unset !IMPORTANT }
+
+ .responsive_bbcode_video { /* BBcode; normal and center BBcode video if screen < 960px */
+ display: block;
+ text-align: center
+ }
+
+ .bbcode_video,
+ .fb_iframe_widget_fluid_desktop iframe {
+ max-width: 320px !IMPORTANT;
+ width: 100%;
+ height: 180px !IMPORTANT
}
}
+@media (min-width: 768px) { /* Smartphone landscape and Tablet */
+
+ #body-container { max-width: 738px }
+
+ #main { width: 413px }
+}
+
+@media (min-width: 820px) { /* Tablet */
+
+ #body-container { max-width: 790px }
+
+ #main { width: 465px }
+}
+
+@media (min-width: 960px) { /* Tablet landscape and Netbook*/
+
+ #body-container { max-width: 930px }
+
+ #main { width: 605px }
+
+ .responsive_bbcode_video { text-align: unset }
+
+ .bbcode_video.right { float: right !IMPORTANT }
+
+ .bbcode_video.left { float: left !IMPORTANT }
+}
+
+@media (min-width: 1024px) { /* Laptop and small Desktop-PC */
+
+ #body-container { max-width: 994px }
+
+ #main { width: 669px }
+
+ .bbcode_video,
+ .fb_iframe_widget_fluid_desktop iframe {
+ max-width: 480px !IMPORTANT;
+ width: 100%;
+ height: 270px !IMPORTANT
+ }
+}
+
+@media (min-width: 1440px) { /* Desktop-PC and TV*/
+
+ #body-container { max-width: 1250px }
+
+ #main { width: 925px }
+
+ .bbcode_video,
+ .fb_iframe_widget_fluid_desktop iframe {
+ max-width: 560px !IMPORTANT;
+ width: 100%;
+ height: 315px !IMPORTANT
+ }
+}
+
+
/* ===== RESPONSIVE DESIGN ===== */
-@media (max-width: 719px) {
+@media (max-width: 719px) { /* Smartphone */
body { margin: 0 0 0 0 }
@@ -209,11 +308,13 @@ h4 { font-size: 1.2em; }
width: 100%;
margin: 0 auto 0 auto;
padding-top: 5px;
- background-color: rgba(0,0,0,0.75);
+ background-color: rgba(0,0,0,0.75)
}
+ #outer-container { margin: 5px }
+
/* ===== MAIN ===== */
- #main h4 { margin: 2em 0 0 0}
+ #main h4 { margin: 2em 0 0 0 }
#main {
width: 90%;
@@ -221,29 +322,51 @@ h4 { font-size: 1.2em; }
padding: 15px;
margin: 10px auto;
background-color: rgba(255,255,255,0.9);
- border-radius: 3px;
+ border-radius: 3px
}
+
+ div.floatright, div.floatleft, div.photoswipe { /* PhotoSwipe; responsive */
+ float: unset;
+ margin-left: auto !IMPORTANT;
+ margin-right: auto !IMPORTANT
+ }
+
+ div.img-gallery { text-align: center }
+
+ .img-gallery div.photoswipe figure { margin: 0.5em 0 0 0 !IMPORTANT }
+
+ .responsive_bbcode_video { /* BBcode; responsive */
+ position: relative;
+ padding-bottom: 56.25%; /* 16:9 */
+ height: 0;
+ overflow: hidden
+ }
+
+ .bbcode_video {
+ float: unset !IMPORTANT;
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%
+ }
+
+ .bbcode_video.nofloat { text-align: center }
}
-#main p { line-height: 1.4em; margin-top: 1em; }
+#main p { line-height: 1.4em; margin-top: 1em }
#main img { margin: .5em }
/* === List === */
-#main ul {
- list-style-type: disc;
- padding: 0 0 0 1.6em
-}
+#main ul { list-style-type: disc; padding: 0 0 0 1.6em }
-#main ol {
- list-style-position: inside;
- padding: 0 1.6em 0 1.6em
-}
+#main ol { list-style-position: inside; padding: 0 1.6em 0 1.6em }
-h4#addcomment {clear:both;}
+h4#addcomment { clear: both }
#commentform fieldset p { margin: 0 0 .5em 0 }
-
+
#comments li {
margin: 0 0 1.5em 0;
padding: 5px;
@@ -251,79 +374,102 @@ h4#addcomment {clear:both;}
border-bottom: 1px solid #ddd;
background: #efefef
}
-
+
/* === Class of main block === */
- h6.date {
- font-size: 0.8em;
- color: #444;
- }
-
+ h6.date { font-size: 0.8em; color: #444 }
+
.date { /* date under titles of the entry */
font-size: 80%;
font-style: oblique;
color: black;
margin: .2em 0 .8em 0
}
-
+
/* .entry class */
.entry {
margin: 0 0 1.5em 0;
padding: 0 0 1.5em 0;
- overflow: auto; /* floating images fix IE<7*/
- border-bottom: solid 1px #999;
+ overflow: auto;
+ border-bottom: solid 1px #999
}
-
+
#main>.entry {
- overflow: hidden; /* rest of the world :) */
+ overflow: hidden /* rest of the world :) */
}
/* end of .entry */
-
+
#main ul.entry-footer { /* entry footer */
clear: both;
font-size: 80%;
color: black;
margin: 2em 0 .5em 0;
- text-align: right;
- }
-
- .entry-footer li {
- display: block;
- }
-
-
- .admincontrols { /* [edit] and [delete] */
- font-size: 80%;
- text-align: right;
- }
-
- .buttonbar { text-align: center }
-
- .buttonbar input {
- text-align: center;
- margin: .1em .5em;
- padding: 0 1em
- }
-
- .navigation { /* next entries & previous entries link */
- font-size: 90%;
- /* margin-bottom: 3em; */
- display: flow-root;
+ text-align: right
}
- form#search ul {
- list-style-type: none;
+ .entry-footer li { display: block }
+
+ .admincontrols { /* [edit] and [delete] */
+ font-size: 80%;
+ text-align: right
}
+ .buttonbar { text-align: center }
+
+ .buttonbar input[type=submit], /* Send-Message-Button */
+ .buttonbar input[type=reset], /* Reset-Message-Button */
+ .buttonbar input[type=button] {
+ box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1);
+ margin: 0.1em 0.5em;
+ padding: 0.2em 1em
+ }
+
+ .buttonbar input[type=submit]:hover,
+ .buttonbar input[type=reset]:hover,
+ .buttonbar input[type=button]:hover {
+ box-shadow: none
+ }
+
+ input[type=radio],
+ input[type=checkbox] {
+ vertical-align: middle;
+ margin-bottom: 0.4em
+ }
+
+ .photoswipe figure img { /* PhotoSwipe */
+ box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1);
+ border-radius: 3px
+ }
+
+ .photoswipe figure img:hover { box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3) }
+
+ .photoswipe figure figcaption { font-size: 12px !IMPORTANT }
+
+ .bbcode_video { /* BBCode [video] */
+ background-color: rgba(0,0,0,0.3);
+ box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.1);
+ border-radius: 3px;
+ margin: 0px 3px 0px 0px
+ }
+
+ .bbcode_video:hover { box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3) }
+
+ .fb_iframe_widget_fluid_desktop iframe { border-radius: 3px }
+
+ .navigation { /* next entries & previous entries link */
+ font-size: 90%;
+ display: flow-root
+ }
+
+ form#search ul { list-style-type: none }
+
/* ===== FOOTER ===== */
#footer {
clear: both;
text-align: center;
font-size: 90%;
color: white;
- padding: 5px;
+ padding: 5px
}
-* {
- font-family: sans-serif;
- text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2);
- }
\ No newline at end of file
+* { font-family: sans-serif; text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2) }
+
diff --git a/fp-interface/themes/leggero/leggero-v2/res/globals.css b/fp-interface/themes/leggero/leggero-v2/res/globals.css
index 6bc6d21..92cb443 100755
--- a/fp-interface/themes/leggero/leggero-v2/res/globals.css
+++ b/fp-interface/themes/leggero/leggero-v2/res/globals.css
@@ -5,7 +5,7 @@ Leggero CSS Styles
Name: Leggero v2
Author: NoWhereMan, drudo & Marc Thibeault
-Version: 0.1
+Version: 1.0
Module: globals.css
*/
@@ -17,13 +17,13 @@ Module: globals.css
#main ul.msgs, ul.msgs {
margin: 0;
padding: 1em 2em;
- list-style-type: none;
+ list-style-type: none
}
.errors {
color: #901d1d;
- border-top: 1px solid;
- border-bottom: 1px solid;
+ border: 1px solid;
+ border-radius: 3px;
border-color: #ffbbbb;
background: #ffdddd
}
@@ -36,18 +36,17 @@ Module: globals.css
.notifications,.enabled {
color : #1d901d;
- border-top: 1px solid #bbffbb;
- border-bottom: 1px solid #bbffbb;
+ border: 1px solid;
+ border-radius: 3px;
background: #ddffdd
}
.warnings {
- color : #8a7802;
- border-top: 1px solid;
- border-bottom: 1px solid;
+ color: #8a7802;
+ border: 1px solid;
+ border-radius: 3px;
border-color: #f8e674;
- background: #fffdd5;
-
+ background: #fffdd5
}
.field-error {
diff --git a/fp-interface/themes/leggero/leggero-v2/res/print.css b/fp-interface/themes/leggero/leggero-v2/res/print.css
index 5800b7a..7dacec7 100644
--- a/fp-interface/themes/leggero/leggero-v2/res/print.css
+++ b/fp-interface/themes/leggero/leggero-v2/res/print.css
@@ -5,61 +5,43 @@ Leggero CSS Styles
Name: Leggero v2
Author: Laborix
-Version: 0.1
+Version: 1.0
Module: print.css
*/
body {
color: #333;
- background-color: transparent;
+ background-color: transparent
}
a {
color: #333;
background-color: transparent;
- text-decoration: none;
+ text-decoration: none
}
-h1 {
- font-size: 130%;
-}
+h1 { font-size: 130% }
-h2 {
- font-size: 130%;
-}
+h2 { font-size: 130% }
-h3 {
- font-size: 100%;
-}
+h3 { font-size: 100% }
-h4 {
- font-size: 100%;
-}
+h4 { font-size: 100% }
-.date {
- font-size: 100%;
-}
+.date { font-size: 100% }
-#column {
- display: none;
-}
+#column { display: none }
-.admincontrols {
- display: none;
-}
+.admincontrols { display: none }
-.readmore {
- display: none;
-}
+.readmore { display: none }
-.navigation {
- display: none;
-}
+.navigation { display: none }
.entry-footer {
clear: both;
font-size: 80%;
- margin: 2em 0 3em 0;
+ margin: 2em 0 3em 0
}
blockquote {
@@ -69,7 +51,7 @@ blockquote {
color: #333;
background-color: transparent;
font-style: italic;
- border-left: 5px solid #bbb;
+ border-left: 5px solid #bbb
}
pre {
@@ -83,21 +65,13 @@ pre {
border: 1px dotted #333;
white-space: pre-line;
overflow: auto;
- text-overflow: ellipsis;
+ text-overflow: ellipsis
}
-.link-comments {
- display: none;
-}
+.link-comments { display: none }
-hr {
- display: none;
-}
+hr { display: none }
-#footer {
- display: none;
-}
+#footer { display: none }
-#commentform {
- display: none;
-}
+#commentform { display: none }
diff --git a/fp-interface/themes/leggero/leggero-v2/res/style.css b/fp-interface/themes/leggero/leggero-v2/res/style.css
index 7fad7cd..721746e 100644
--- a/fp-interface/themes/leggero/leggero-v2/res/style.css
+++ b/fp-interface/themes/leggero/leggero-v2/res/style.css
@@ -5,23 +5,43 @@ Leggero CSS Styles
Name: Leggero v2
Author: NoWhereMan, drudo & Marc Thibeault
-Version: 0.1
+Version: 1.0
Module: style.css
*/
/* imports common style ruleset */
-@import url(common.css);
-@import url(globals.css);
+@import url("common.css");
+@import url("globals.css");
/* imports column (where widgets usually go) rules */
-@import url(column.css);
+@import url("column.css");
#comments li.comment-admin {
- padding:1em
+ padding: 1em
}
-#comments li.comment-admin strong.comment-name { font-size:140% }
-
#widget-searchbox form {
- text-align: center;
+ text-align: center
+}
+
+/* Last Comments-Widget */
+.comment-quote {
+ margin-left: auto;
+ margin-right: auto;
+ border-radius: 3px
+}
+
+@media (min-width: 720px) {
+ .comment-quote { width: auto }
+}
+
+/* Calendar-Widget */
+.calendar {
+ margin-left: auto;
+ margin-right: auto;
+ text-align: center
+}
+
+@media (min-width: 720px) {
+ .calendar { font-size: small !IMPORTANT }
}
diff --git a/fp-plugins/bbcode/lang/lang.cs-cz.php b/fp-plugins/bbcode/lang/lang.cs-cz.php
index ad4e83b..82786b3 100644
--- a/fp-plugins/bbcode/lang/lang.cs-cz.php
+++ b/fp-plugins/bbcode/lang/lang.cs-cz.php
@@ -4,7 +4,7 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'Nastavení BBCode',
'desc1' => 'Tento plugin umožňuje používat BBCode na vašem blogu. ',
+ 'phpBB/faq.php?mode=bbcode">BBCode na vašem blogu.',
'options' => 'Nastavení',
@@ -56,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array(
);
$lang ['plugin'] ['bbcode'] = array (
- 'go_to' => 'Přejít na'
+ 'go_to' => 'Přejít na',
+ // language tag for Facebook Video
+ 'langtag' => 'cs_CZ'
);
?>
diff --git a/fp-plugins/bbcode/lang/lang.de-de.php b/fp-plugins/bbcode/lang/lang.de-de.php
index 84618a3..6a6c631 100644
--- a/fp-plugins/bbcode/lang/lang.de-de.php
+++ b/fp-plugins/bbcode/lang/lang.de-de.php
@@ -4,8 +4,7 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'BBCode Konfiguration',
'desc1' => 'Dieses Plugin erlaubt BBCode Markup zu benutzen und bietet die '.
- 'automatische Integration der Lightbox Funktionalität an (Vorraussetzung ist, dass das Lightbox Plugin aktiviert ist).',
+ 'phpBB/faq.php?mode=bbcode">BBCode Markup zu benutzen.',
'options' => 'Optionen',
@@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array(
);
$lang ['plugin'] ['bbcode'] = array (
- 'go_to' => 'Gehe zu'
+ 'go_to' => 'Gehe zu',
+ // language tag for Facebook Video
+ 'langtag' => 'de_DE'
);
?>
diff --git a/fp-plugins/bbcode/lang/lang.el-gr.php b/fp-plugins/bbcode/lang/lang.el-gr.php
index fe8d6a2..8b7b1d9 100644
--- a/fp-plugins/bbcode/lang/lang.el-gr.php
+++ b/fp-plugins/bbcode/lang/lang.el-gr.php
@@ -4,8 +4,7 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'Ρύθμιση του BBCode',
'desc1' => 'Το πρόσθετο αυτό επιτρέπει τη χρήση σύνταξης BBCode και παρέχει '.
- 'αυτόματη αλληλεπίδραση με το lightbox (όταν είναι κι αυτό ενεργοποιημένο).',
+ 'phpBB/faq.php?mode=bbcode">BBCode.',
'options' => 'Επιλογές',
@@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array(
);
$lang ['plugin'] ['bbcode'] = array (
- 'go_to' => 'Πηγαίνετε στον'
+ 'go_to' => 'Πηγαίνετε στον',
+ // language tag for Facebook Video
+ 'langtag' => 'el_GR'
);
?>
diff --git a/fp-plugins/bbcode/lang/lang.en-us.php b/fp-plugins/bbcode/lang/lang.en-us.php
index 48ab014..27985ff 100644
--- a/fp-plugins/bbcode/lang/lang.en-us.php
+++ b/fp-plugins/bbcode/lang/lang.en-us.php
@@ -4,8 +4,7 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'BBCode Configuration',
'desc1' => 'This plugin allows using BBCode markup and provides '.
- 'automatic integration with lightbox (when also enabled).',
+ 'phpBB/faq.php?mode=bbcode">BBCode markup.',
'options' => 'Options',
@@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array(
);
$lang ['plugin'] ['bbcode'] = array (
- 'go_to' => 'Go to'
+ 'go_to' => 'Go to',
+ // language tag for Facebook Video
+ 'langtag' => 'en_US'
);
?>
diff --git a/fp-plugins/bbcode/lang/lang.es-es.php b/fp-plugins/bbcode/lang/lang.es-es.php
index c1feb62..0acaf34 100644
--- a/fp-plugins/bbcode/lang/lang.es-es.php
+++ b/fp-plugins/bbcode/lang/lang.es-es.php
@@ -4,8 +4,7 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'Configuración de BBCode',
'desc1' => 'Este Plugin permite usar BBCode markup y proporciona '.
- 'integración automática con lightbox (cuando también está habilitado).',
+ 'phpBB/faq.php?mode=bbcode">BBCode markup.',
'options' => 'Opciones',
@@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array(
);
$lang ['plugin'] ['bbcode'] = array (
- 'go_to' => 'Ir a'
+ 'go_to' => 'Ir a',
+ // language tag for Facebook Video
+ 'langtag' => 'es_ES'
);
?>
diff --git a/fp-plugins/bbcode/lang/lang.fr-fr.php b/fp-plugins/bbcode/lang/lang.fr-fr.php
index b40c8c2..fea4173 100644
--- a/fp-plugins/bbcode/lang/lang.fr-fr.php
+++ b/fp-plugins/bbcode/lang/lang.fr-fr.php
@@ -4,8 +4,7 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'Configuration du BBCode',
'desc1' => 'Ce plugin autorise l\'usage du BBCode et permet une intégration '.
- 'automatique avec une lightbox (si disponible).',
+ 'phpBB/faq.php?mode=bbcode">BBCode.',
'options' => 'Options',
@@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array(
);
$lang ['plugin'] ['bbcode'] = array (
- 'go_to' => 'Aller à'
+ 'go_to' => 'Aller à',
+ // language tag for Facebook Video
+ 'langtag' => 'fr_FR'
);
?>
diff --git a/fp-plugins/bbcode/lang/lang.it-it.php b/fp-plugins/bbcode/lang/lang.it-it.php
index db9be3c..be17910 100644
--- a/fp-plugins/bbcode/lang/lang.it-it.php
+++ b/fp-plugins/bbcode/lang/lang.it-it.php
@@ -4,8 +4,7 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'Configurazione BBCode',
'desc1' => 'Questo plugin ti consente di usare BBCode come markup e fornisce '.
- 'un\'integrazione automatica con lightbox (quando è abilitato).',
+ 'phpBB/faq.php?mode=bbcode">BBCode come markup.',
'options' => 'Opzioni',
@@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array(
);
$lang ['plugin'] ['bbcode'] = array (
- 'go_to' => 'Vai a'
+ 'go_to' => 'Vai a',
+ // language tag for Facebook Video
+ 'langtag' => 'it_IT'
);
?>
diff --git a/fp-plugins/bbcode/lang/lang.ja-jp.php b/fp-plugins/bbcode/lang/lang.ja-jp.php
index 613a260..78e925b 100644
--- a/fp-plugins/bbcode/lang/lang.ja-jp.php
+++ b/fp-plugins/bbcode/lang/lang.ja-jp.php
@@ -4,8 +4,7 @@ $lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'BBCodeの設定',
'desc1' => 'このプラグインは BBCode を使用できるようにし、'.
- 'lightbox(プラグインが有効であれば)も自動的に組み込みます。',
+ 'phpBB/faq.php?mode=bbcode">BBCode の使用を可能にします。',
'options' => 'オプション',
@@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array(
);
$lang ['plugin'] ['bbcode'] = array (
- 'go_to' => 'に行く'
+ 'go_to' => 'に行く',
+ // language tag for Facebook Video
+ 'langtag' => 'ja_JP'
);
diff --git a/fp-plugins/bbcode/lang/lang.nl-nl.php b/fp-plugins/bbcode/lang/lang.nl-nl.php
index daa38db..9b9ca31 100644
--- a/fp-plugins/bbcode/lang/lang.nl-nl.php
+++ b/fp-plugins/bbcode/lang/lang.nl-nl.php
@@ -3,9 +3,8 @@
$lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'BBCode Configuratie',
- 'desc1' => 'Deze plugin staat gebruik toe BBCode voor opmaak en biedt '.
- 'automatische integratie met lightbox (wanneer ook ingeschakeld).',
+ 'desc1' => 'Deze plugin maakt het gebruik van BBCode mogelijk.',
'options' => 'Opties',
@@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array(
);
$lang ['plugin'] ['bbcode'] = array (
- 'go_to' => 'Ga naar'
+ 'go_to' => 'Ga naar',
+ // language tag for Facebook Video
+ 'langtag' => 'nl_NL'
);
?>
diff --git a/fp-plugins/bbcode/lang/lang.pt-br.php b/fp-plugins/bbcode/lang/lang.pt-br.php
index 32dbd4f..9476660 100644
--- a/fp-plugins/bbcode/lang/lang.pt-br.php
+++ b/fp-plugins/bbcode/lang/lang.pt-br.php
@@ -3,9 +3,8 @@
$lang ['admin'] ['plugin'] ['submenu'] ['bbcode'] = 'BBCode';
$lang ['admin'] ['plugin'] ['bbcode'] = array(
'head' => 'Configuração do BBCode',
- 'desc1' => 'Este plugin permite o uso de BBCode markup e fornece '.
- 'integração automática com o lightbox (quando também ativado).',
+ 'desc1' => 'Esse plug-in permite o uso de marcação BBCode.',
'options' => 'Opções',
@@ -57,7 +56,9 @@ $lang ['admin'] ['plugin'] ['bbcode'] = array(
);
$lang ['plugin'] ['bbcode'] = array (
- 'go_to' => 'Ir para'
+ 'go_to' => 'Ir para',
+ // language tag for Facebook Video
+ 'langtag' => 'pt_BR'
);
?>
\ No newline at end of file
diff --git a/fp-plugins/bbcode/plugin.bbcode.php b/fp-plugins/bbcode/plugin.bbcode.php
index 25d8e57..54220f8 100644
--- a/fp-plugins/bbcode/plugin.bbcode.php
+++ b/fp-plugins/bbcode/plugin.bbcode.php
@@ -331,6 +331,10 @@ function do_bbcode_mail($action, $attributes, $content, $params, $node_object) {
* @return string
*/
function do_bbcode_video($action, $attr, $content, $params, $node_object) {
+
+ global $lang;
+ lang_load('plugin:bbcode');
+
if ($action == 'validate') {
return true;
}
@@ -365,19 +369,20 @@ function do_bbcode_video($action, $attr, $content, $params, $node_object) {
switch ($type) {
// YouTube
case 'youtube':
- $output = '';
+ $output = '';
break;
// Vimeo
case 'vimeo':
$vid = isset($query ['sec']) ? $query ['sec'] : str_replace('/', '', $vurl ['path']);
- $output = '';
+ $output = '';
break;
// Facebook
case 'facebook':
+ $langtag = $lang ['plugin'] ['bbcode'] ['langtag'];
$vid = isset($query ['sec']) ? $query ['sec'] : str_replace('/video/', '', $vurl ['path']);
$output = '
-
- ';
+
+ ';
break;
// Any video file that can be played with HTML5