From 9aa05eb911aca6311dab451bc80b88e0c035c9f2 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 4 Nov 2022 12:28:21 -0400 Subject: [PATCH] Deprecate themes duepuntozero, quattro and smoothly --- doc/Text_comment.md | 10 -- doc/Text_editor.md | 9 - doc/de/Text_comment.md | 10 -- doc/de/Text_editor.md | 22 +-- doc/img/darkbubble.png | Bin 2162 -> 0 bytes doc/img/darkzero.png | Bin 2751 -> 0 bytes doc/img/dispy.png | Bin 3208 -> 0 bytes doc/img/editor_darkbubble.png | Bin 2462 -> 0 bytes doc/img/editor_dpzero.png | Bin 5599 -> 0 bytes doc/img/editor_zero.png | Bin 2477 -> 0 bytes doc/themes.md | 170 ++---------------- static/settings.config.php | 2 +- tests/datasets/config/.htconfig.php | 2 +- .../Config/Cache/ConfigFileLoaderTest.php | 2 +- view/theme/duepuntozero/unsupported | 0 view/theme/frio/js/jquery.tools.min.js | 14 ++ view/theme/frio/templates/theme_settings.tpl | 2 +- view/theme/quattro/unsupported | 0 view/theme/smoothly/unsupported | 0 19 files changed, 40 insertions(+), 203 deletions(-) delete mode 100644 doc/img/darkbubble.png delete mode 100644 doc/img/darkzero.png delete mode 100644 doc/img/dispy.png delete mode 100644 doc/img/editor_darkbubble.png delete mode 100644 doc/img/editor_dpzero.png delete mode 100644 doc/img/editor_zero.png create mode 100644 view/theme/duepuntozero/unsupported create mode 100644 view/theme/frio/js/jquery.tools.min.js create mode 100644 view/theme/quattro/unsupported create mode 100644 view/theme/smoothly/unsupported diff --git a/doc/Text_comment.md b/doc/Text_comment.md index 7cd26d55f..37a91a7da 100644 --- a/doc/Text_comment.md +++ b/doc/Text_comment.md @@ -30,13 +30,3 @@ Here you can find an overview of the different ways to comment and sort existing

post_choose.png This symbol is used to choose more than one post to delete in a single step. After selecting all posts, go to the end of the page and click "Delete Selected Items".

- -**Symbols of other themes** - -Darkbubble darkbubble.png - -Darkzero darkzero.png - -(incl. more "zero"-themes, slackr, comix, easterbunny, facepark) - -Dispy dispy.png (incl. smoothly, testbubble) diff --git a/doc/Text_editor.md b/doc/Text_editor.md index ebbaf2254..b7d0937aa 100644 --- a/doc/Text_editor.md +++ b/doc/Text_editor.md @@ -24,10 +24,6 @@ Below are examples of the post editor in 3 of Friendica's common themes:
Post editor, with the Vier theme.

-
-duepuntozero editor -
Post editor, with the Duepuntozero theme.
-
Post title is optional, you can set it by clicking on "Set title". @@ -73,11 +69,6 @@ These icons can change depending on the theme. Some examples: vier.png   - - Smoothly: - darkbubble.png -   - * how to [upload](help/FAQ#upload) files

 

diff --git a/doc/de/Text_comment.md b/doc/de/Text_comment.md index 6dc47a524..c9203dfd4 100644 --- a/doc/de/Text_comment.md +++ b/doc/de/Text_comment.md @@ -47,13 +47,3 @@ Wähle eine vorhandene Gruppe oder gib einen neuen Namen ein. Die erstellten Gru post_choose.png Mit diesem Symbol kannst du mehrere Beiträge auswählen und gesammelt löschen. Hierfür gehst du nach dem Markieren aller gewünschten Beiträge auf "Lösche die markierten Beiträge" am Ende der Seite mit allen Beiträgen.

- -**Im Folgenden findest du Symbole weiterer Themen** - -Darkbubble darkbubble.png - -Darkzero darkzero.png - -(inkl. weiterer "zero"-Themen, slackr, comix, easterbunny, facepark) - -Dispy dispy.png (inkl. smoothly, testbubble) diff --git a/doc/de/Text_editor.md b/doc/de/Text_editor.md index 5f90f3b91..4c71ae559 100644 --- a/doc/de/Text_editor.md +++ b/doc/de/Text_editor.md @@ -9,35 +9,35 @@ Achtung: für dieses Beispiel wurde das Thema "Diabook" genutzt. Wenn du ein anderes Design benutzt, wirst du manche dieser Symbole gar nicht oder in anderer Form vorfinden. -editor +editor Die einzelnen Symbole -editor Wenn du auf dieses Symbol klickst, dann kannst du ein Bild von deinem Computer hinzufügen. +editor Wenn du auf dieses Symbol klickst, dann kannst du ein Bild von deinem Computer hinzufügen. Wenn du eine Internetadresse (URL) eingeben willst, dann kannst du das "Baum"-Symbol im oberen Teil des Editors nutzen. Wenn du ein Bild ausgewählt hast, dann erscheint eine Miniaturdarstellung des Bildes im Editor.*

-paper_clip Wenn du dieses Symbol anklickst, dann kannst du weitere Dateien von deinem Computer einfügen. Eine Vorschau des Dateiinhalts erfolgt nicht.* +paper_clip Wenn du dieses Symbol anklickst, dann kannst du weitere Dateien von deinem Computer einfügen. Eine Vorschau des Dateiinhalts erfolgt nicht.*

-chain Wenn du die Kette anklickst, dann kannst du eine Internetadresse (URL) einfügen. +chain Wenn du die Kette anklickst, dann kannst du eine Internetadresse (URL) einfügen. Im Editor erscheint automatisch eine kurze Information zum eingefügten Link.*

-video Mit dieser Funktion kannst du die Internetadresse (URL) einer Videodatei einfügen. +video Mit dieser Funktion kannst du die Internetadresse (URL) einer Videodatei einfügen. Das Video erscheint dann mit einem Player in deinem Beitrag. Da Friendica zur Einbindung [HTML5](http://en.wikipedia.org/wiki/HTML5_video) verwendet, werden je nach Browser verschiedene Videoformate unterstützt (z.B. WebM oder MP4). Außerdem kannst du hier die URLs von Videos auf Youtube, Vimeo und manchen anderen Videohostern eingeben. Die Videos werden dann mit Vorschaubild angezeigt, nach einem Klick öffnet sich ein eingebetteter Player.*

-mic Mit dieser Funktion kannst du die Internetadresse (URL) einer Sound-Datei einfügen. +mic Mit dieser Funktion kannst du die Internetadresse (URL) einer Sound-Datei einfügen. Da Friendica zur Einbindung [HTML5](http://en.wikipedia.org/wiki/HTML5_video) verwendet, werden je nach Browser und Betriebssystem MP3, Ogg oder AAC unterstützt. Außerdem kannst du hier auch URLs von manchen Audiohostern wie Soundcloud eingeben, um eine dort gespeicherte Audiodatei mit Player in deinem Beitrag anzuzeigen.*

-globe Wenn du dieses Symbol wählst, dann kannst du deinen Standort festlegen. +globe Wenn du dieses Symbol wählst, dann kannst du deinen Standort festlegen. Hier reicht schon eine Angabe wie "Berlin" oder "10775". Dieser Eintrag führt anschließend zu einer Suchanfrage bei Google Maps.

@@ -46,12 +46,6 @@ Dieser Eintrag führt anschließend zu einer Suchanfrage bei Google Maps. **Im Folgenden findest du Symbole weiterer Themen** -Cleanzero cleanzero.png - -(inkl. weiterer "zero"-Themen, comix, easterbunny, facepark, slackr - -Darkbubble darkbubble.png (inkl. smoothly, testbubble) - Frio frio.png -Vier vier.png (inkl. dispy) +Vier vier.png diff --git a/doc/img/darkbubble.png b/doc/img/darkbubble.png deleted file mode 100644 index 08c7a93ee91ffd49e707aefc9f08cac6339f3663..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2162 zcmZ`*c{J2*8~(k88Ozv3WGWd;ngv6eNMzq>Eafxyea(`|o+YU)S+ayMWQK->NF@7K zmJczMwHiBPYwYj5=R4mY-yh$3&i!2XbKU1&{cS=ZI%I8NlSKW~c@LRmtp!_RNg;1xFn-LjVYo0D!1i0N7_xQ40VNgaUviI{?6B z0f3-iZiA^ZBf#RIudM-`{BsJLO4Aq&tDnxD003a;`^WwQa&m^$g$j zbJXm2j0zxoT@5uXequG}=r&(4w99td=_)IwRAc1D{9BKf_@$pKvZFZX#>G3-E2F#H z7;LHQEytgxsKibo5rL<|v&2qQo|+NNa6sdh@`WSNdOSQkWd*@%S}cE%KY*mHuLY}m z;llD2XL>VaEGz!?!QZ@YGd9zEZTJAvoovF*rmjhRJQh7x{o5uWQ=8iFTvkH~+?6J; z1zT23&mPGiuj=>SQOKCtg_ZlpI}6U~(Pu7iuH^0UPou!sE_ZsdXE?&ksKLMj^0C z32J?otIli6t4=)D$_BqGnWAyP0#C3Qj`N-ADJUJ9lTslH4z}&6`K90FAw{H<;=j$)tXH!om4hDy21#_?ypRGFx}qGBs**N{t@R4Bah%61zFb+{ zIS4Cft~5FY0t16F?RFH|hg%42jyRI}08=to@sA6n-nUw{3%?iK#A z7F~R_yrvT1z8O+c@`2*dXEU4>7D7Zqm)Eb|aS5l5Pv1}}cAwBs!b!kxxxFkmdd?;m zGxbTR03{ZEPHifQUk%zpoPr>W(xS5Yvo2Qa7!AU53t91ANO!D*YEmC}mew*yFLHKrcTb)EFl}e2y4IUmI zw$sO-4{$c4g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L6PL8r3@)!x-=P?)aBvqd7qwpu+7l7U;h=l|2P)v zCm=`E)_nWw2{%K3VS$=ffll^;&KO63X9fUrC|M;q>MC4T9xIE+$SYvvugaiM7!=A# iHTCF!61;t#++800{{&Ts%Z$$h0O)EOX;i4&MgI-uZV280 diff --git a/doc/img/darkzero.png b/doc/img/darkzero.png deleted file mode 100644 index 00dc3ee4f36fb9d08b49a9a749bd416257f67293..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2751 zcmZ`*c{J307yqRxgUU>jr6(p^DrGdbrjoHMj100S#+rR7OHob4SR*M@vesk>V;CNl z!q_#Iq>QnJY-1Udv4v-z_rLd?_dWOC^ZDL;&pr2i|G4*l2$mMc`-P>20RY%Zf(4SwkUGyvR!1HkMJ z06;zm0EwWNwO23j6MNmR7#jdP|4Qyh(h~p>sx>u0S%)*{iT0Kldzt1aVo?#1oE7oB zh$u}GDyA`qz#dwgbyeD-`ts*vVJG2uhm)gtf&DQ6^nt<+SVghWE(6=$Y3A-|nC_1T zVmS!xyY$E@{k&+fo3uZ8m*4x@=#`7^f3MF5b(L*T-D6BbKqCD#Bxppy4lY-I!{A1J z{AWD$!5(=55hKvyB(REPT9*+b#IKRrr8!NUu(q93`lE+Z;n=s^!R5#7wcEI zSip{svryICGTK`3!sz1OG}yDy-PQXDTiw4q!)qr(X5vt1W|m3WxHe4hrc|D6)I#)^ zV3L{mxPkZ!>zL?J+u+6eq4-6XmCntkUbh?$t89fWD{FR5w*6+P#-woPden~S8AVu6SQOr<&{HVi>2X?m{J=kxp-h-PFv7# zWseZUirXut!7HV%A%-b3uLpNtGO5$a*mfi-`d4Fzu;WxpxVv}FMJo_g=&ziEX^(C* zo*h_I4PDF$ir$CnM#9u}(AH`MeM!S1baY6rNb=+gk&)&hWso4QPuId@y6(O(bmr_E z#++Y{*QJIXqbfD6WW)S}o@ksHcDp07%o7^c_PpM>FUs$!4vnc(!EAQm(BWKZniY<||k(y=W*JzY0yerK=nPg>Vy??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g6lTnlikt@_4%2ud}v3vp+nK85`w%okAS z;jAIEgxp>(=Gxz>%5OhUYbW?9;ba!EL cWdKuXb#!!Pa$|zf2><{907*qoM6N<$g0KOaTmS$7 diff --git a/doc/img/editor_dpzero.png b/doc/img/editor_dpzero.png deleted file mode 100644 index 79f0cb35d0f8fb8a34e0186ea4daa6d6e4297138..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5599 zcmds5c{tST+n;izNUrJ(N$6BkCQBqj)QNCpDUFde$OZ@=|bWjNdI&k~&L4dO;{`xS`{9<=o_cjPrgyq?`;sox`T5CPf1%Z4n zfUK%h;46*vt7dCGu5jK?65QUVAh;Fe6juL1}TJ<-ur2kq^D)2P`o0OyFC)*}Q6 z#B*~0cL0=_dcixQ2c?b%ay?;yn~F>aT6u>bD6kdB3j z0u&;HelNoKxRuoLXr6m1(S|z0F8Us+4|8W0jPSh~S?Q%_1uU&+S0RrL4{PcNjlWiZ zrCxBrx9AtNcIFq}YB}Smj|+}n33m+|hDG^aT%aVyiygVGitBHDWv9?i+)^3aV6xDu zt!bA)N4=lt9|TQs?-S`@AmR!vROk1%F2R2sTl*%L!(ETFd^ZDXfZAy|=+@^VgYiDf z8ZOz*V9?DbsI#KpA$;?j1~6#n4W6KBIL`-8y?1Xg%-sa#=;QR}gf8ppalmx$LpGG+ zmU6VQ(P3Vqv-AGLcLAv4!=Q=0WjH5W@kUnZdSWd6OOr zDVzduBu=}oBYpfjFTxf>m8gl3jLRSrm^nZmoImMr@}I(gmw&p|0);9P z3k({^p0WQ3qW3!K&$?+}k^??wlc>x9F_T4?a@Y1UPw72d5XTLeIO@0T-DccoS+oDf z4NAsgi}ahcN8TJADQ0Zs%ysc(X;S!*VKOZnS<0aZLrm_h(;=|BCb!gyyk=pI(C;tA zMSUHQ_AKhcX*FTeS(!D%7{2%yvT}FQzvku&r`mkB@icz$@uu+{4}9&+04;iy z1PzuOR4H$1G0=v#G)=czpCAnC-ThQl2&vBdlh|~!s(4j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zr`rmJ{O{ zu|Mrbe)orWW4G^Iua`7GKY#!JeStv0<#Kg8oj;$wMUeTcat&M9h00>)He9mVy33+Jicdu-XvhmIHpSi#`DJ~7koH9pX)ZXIvxBc#k&0X z7!+;|I9!T4RsJQ}s - - - -defines a formular consisting of a [select](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select) pull-down which contains all aviable variants and s submit button. -See the documentation about [SMARTY3 templates](/help/snarty3-templates.md) for a summary of friendica specific blocks other than the select element. -But we don't really need to change anything at the template itself. - -The template alone wont work though. -You make friendica aware of its existance and tell it how to use the template file, by defining a config.php file. -It needs to define at least the following functions - -* theme_content -* theme_post - -and may also define functions for the admin interface - -* theme_admin -* theme_admin_post. - -theme_content and theme_admin are used to make the form available in the settings, repectively the admin panel. -The _post functions handle the processing of the send form, in this case they save to selected variand in friendicas database. - -To make your own variation appear in the menu, all you need to do is to create a new CSS file in the deriv directoy and include it in the array in the config.php: - - $colorset = array( - 'default'=>DI::l10n()->t('default'), - 'greenzero'=>DI::l10n()->t('greenzero'), - 'purplezero'=>DI::l10n()->t('purplezero'), - 'easterbunny'=>DI::l10n()->t('easterbunny'), - 'darkzero'=>DI::l10n()->t('darkzero'), - 'comix'=>DI::l10n()->t('comix'), - 'slackr'=>DI::l10n()->t('slackr'), - ); - -the 1st part of the line is the name of the CSS file (without the .css) the 2nd part is the common name of the variant. -Calling the DI::l10n()->t() function with the common name makes the string translateable. -The selected 1st part will be saved in the database by the theme_post function. - - function theme_post(App $a){ - // non local users shall not pass - if (!Session::getLocalUser()) { - return; - } - // if the one specific submit button was pressed then proceed - if (isset($_POST['duepuntozero-settings-submit'])){ - // and save the selection key into the personal config of the user - DI::pConfig()->set(Session::getLocalUser(), 'duepuntozero', 'colorset', $_POST['duepuntozero_colorset']); - } - } - -Now that this information is set in the database, what should friendica do with it? -For this, have a look at the theme.php file of the *duepunto zero*. -There you'll find somethink alike - - $colorset = DI::pConfig()->get(Session::getLocalUser(), 'duepuntozero','colorset'); - if (!$colorset) - $colorset = DI::config()->get('duepuntozero', 'colorset'); - if ($colorset) { - if ($colorset == 'greenzero') - DI::page()['htmlhead'] .= ''."\n"; - /* some more variants */ - } - -which tells friendica to get the personal config of a user. -Check if it is set and if not look for the global config. -And finally if a config for the colorset was found, apply it by adding a link to the CSS file into the HTML header of the page. -So you'll just need to add a if selection, fitting your variant keyword and link to the CSS file of it. - -Done. -Now you can use the variant on your system. -But remember once the theme.php or the config.php you have to readd your variant to them. -If you think your color variation could be benifical for other friendica users as well, feel free to generate a pull request at github so we can include your work into the repository. - -### Inheritation - -Say, you like the duepuntozero but you want to have the content of the outer columns left and right exchanged. -That would be not a color variation as shown above. -Instead we will create a new theme, duepuntozero_lr, inherit the properties of duepuntozero and make small changes to the underlying php files. - -So create a directory called duepunto_lr and create a file called theme.php with your favorite text editor. -The content of this file should be something like - - setThemeInfoValue('extends', 'duepuntozero'); - - $a->set_template_engine('smarty3'); - /* and more stuff e.g. the JavaScript function for the header */ - } - -Next take the default.php file found in the /view direcotry and exchange the aside and right_aside elements. -So the central part of the file now looks like this: - - - - -
- -
- -
- - -Finally we need a style.css file, inheriting the definitions from the parent theme and containing out changes for the new theme. -***Note***:You need to create the style.css and at lest import the base CSS file from the parent theme. - - @import url('../duepuntozero/style.css'); - -Done. -But I agree it is not really useful at this state. -Nevertheless, to use it, you just need to activate in the admin panel. -That done, you can select it in the settings like any other activated theme. - ## Creating a Theme from Scratch Keep patient. @@ -231,15 +92,19 @@ Supported formats are PNG and JPEG. This is the main definition file of the theme. In the header of that file, some meta information is stored. -For example, have a look at the theme.php of the *quattro* theme: +For example, have a look at the theme.php of the *vier* theme: - * Maintainer: Fabio - * Maintainer: Tobias + * Author: Ike + * Author: Beanow + * Maintainer: Ike + * Description: "Vier" is a very compact and modern theme. It uses the font awesome font library: http://fortawesome.github.com/Font-Awesome/ */ You see the definition of the theme's name, it's version and the initial author of the theme. @@ -255,11 +120,11 @@ This will make our job a little easier, as we don't have to specify the full nam The next crucial part of the theme.php file is a definition of an init function. The name of the function is _init. -So in the case of quattro it is +So in the case of vier it is - function quattro_init(App $a) { - $a->theme_info = array(); - $a->set_template_engine('smarty3'); + function vier_init(App $a) { + $a->theme_info = array(); + $a->set_template_engine('smarty3'); } Here we have set the basic theme information, in this case they are empty. @@ -269,12 +134,6 @@ At the moment you should use the *smarty3* engine. There once was a friendica specific templating engine as well but that is not used anymore. If you like to use another templating engine, please implement it. -When you want to inherit stuff from another theme you have to *announce* this in the theme_info: - - $a->setThemeInfoValue('extends', 'duepuntozero'); - -which declares *duepuntozero* as parent of the theme. - If you want to add something to the HTML header of the theme, one way to do so is by adding it to the theme.php file. To do so, add something alike @@ -282,7 +141,6 @@ To do so, add something alike /* stuff you want to add to the header */ EOT; -The $a variable holds the friendica application. So you can access the properties of this friendica session from the theme.php file as well. ### default.php diff --git a/static/settings.config.php b/static/settings.config.php index 89f87fee6..3ec7fef9b 100644 --- a/static/settings.config.php +++ b/static/settings.config.php @@ -62,7 +62,7 @@ return [ // allowed_themes (Comma-separated list) // Themes users can change to in their settings. - 'allowed_themes' => 'frio,quattro,vier,duepuntozero,smoothly', + 'allowed_themes' => 'frio,vier', // cache_contact_avatar (Boolean) // Cache versions of the contact avatars. Uses a lot of storage space diff --git a/tests/datasets/config/.htconfig.php b/tests/datasets/config/.htconfig.php index 696ca5a03..3fa3d37a5 100644 --- a/tests/datasets/config/.htconfig.php +++ b/tests/datasets/config/.htconfig.php @@ -49,7 +49,7 @@ $a->config['php_path'] = '/another/php'; $a->config['system']['huburl'] = '[internal]'; // allowed themes (change this from admin panel after installation) -$a->config['system']['allowed_themes'] = 'frio,quattro,vier,duepuntozero'; +$a->config['system']['allowed_themes'] = 'frio,vier'; // default system theme $a->config['system']['theme'] = 'frio'; diff --git a/tests/src/Core/Config/Cache/ConfigFileLoaderTest.php b/tests/src/Core/Config/Cache/ConfigFileLoaderTest.php index 43decf105..892450b0f 100644 --- a/tests/src/Core/Config/Cache/ConfigFileLoaderTest.php +++ b/tests/src/Core/Config/Cache/ConfigFileLoaderTest.php @@ -200,7 +200,7 @@ class ConfigFileLoaderTest extends MockedTest self::assertEquals('999', $configCache->get('config', 'max_import_size')); self::assertEquals('666', $configCache->get('system', 'maximagesize')); - self::assertEquals('frio,quattro,vier,duepuntozero', $configCache->get('system', 'allowed_themes')); + self::assertEquals('frio,vier', $configCache->get('system', 'allowed_themes')); self::assertEquals('1', $configCache->get('system', 'no_regfullname')); } diff --git a/view/theme/duepuntozero/unsupported b/view/theme/duepuntozero/unsupported new file mode 100644 index 000000000..e69de29bb diff --git a/view/theme/frio/js/jquery.tools.min.js b/view/theme/frio/js/jquery.tools.min.js new file mode 100644 index 000000000..4a44fb7c4 --- /dev/null +++ b/view/theme/frio/js/jquery.tools.min.js @@ -0,0 +1,14 @@ +// @license magnet:?xt=urn:btih:e95b018ef3580986a04669f1b5879592219e2a7a&dn=public-domain.txt Public Domains +/*! + * jQuery Tools v1.2.7 - The missing UI library for the Web + * + * rangeinput/rangeinput.js + * + * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE. + * + * http://flowplayer.org/tools/ + * + */ +(function(a){a.tools=a.tools||{version:"v1.2.7"};var b;b=a.tools.rangeinput={conf:{min:0,max:100,step:"any",steps:0,value:0,precision:undefined,vertical:0,keyboard:!0,progress:!1,speed:100,css:{input:"range",slider:"slider",progress:"progress",handle:"handle"}}};var c,d;a.fn.drag=function(b){document.ondragstart=function(){return!1},b=a.extend({x:!0,y:!0,drag:!0},b),c=c||a(document).on("mousedown mouseup",function(e){var f=a(e.target);if(e.type=="mousedown"&&f.data("drag")){var g=f.position(),h=e.pageX-g.left,i=e.pageY-g.top,j=!0;c.on("mousemove.drag",function(a){var c=a.pageX-h,e=a.pageY-i,g={};b.x&&(g.left=c),b.y&&(g.top=e),j&&(f.trigger("dragStart"),j=!1),b.drag&&f.css(g),f.trigger("drag",[e,c]),d=f}),e.preventDefault()}else try{d&&d.trigger("dragEnd")}finally{c.off("mousemove.drag"),d=null}});return this.data("drag",!0)};function e(a,b){var c=Math.pow(10,b);return Math.round(a*c)/c}function f(a,b){var c=parseInt(a.css(b),10);if(c)return c;var d=a[0].currentStyle;return d&&d.width&&parseInt(d.width,10)}function g(a){var b=a.data("events");return b&&b.onSlide}function h(b,c){var d=this,h=c.css,i=a("
").data("rangeinput",d),j,k,l,m,n;b.before(i);var o=i.addClass(h.slider).find("a").addClass(h.handle),p=i.find("div").addClass(h.progress);a.each("min,max,step,value".split(","),function(a,d){var e=b.attr(d);parseFloat(e)&&(c[d]=parseFloat(e,10))});var q=c.max-c.min,r=c.step=="any"?0:c.step,s=c.precision;s===undefined&&(s=r.toString().split("."),s=s.length===2?s[1].length:0);if(b.attr("type")=="range"){var t=b.clone().wrap("
").parent().html(),u=a(t.replace(/type/i,"type=text data-orig-type"));u.val(c.value),b.replaceWith(u),b=u}b.addClass(h.input);var v=a(d).add(b),w=!0;function x(a,f,g,h){g===undefined?g=f/m*q:h&&(g-=c.min),r&&(g=Math.round(g/r)*r);if(f===undefined||r)f=g*m/q;if(isNaN(g))return d;f=Math.max(0,Math.min(f,m)),g=f/m*q;if(h||!j)g+=c.min;j&&(h?f=m-f:g=c.max-g),g=e(g,s);var i=a.type=="click";if(w&&k!==undefined&&!i){a.type="onSlide",v.trigger(a,[g,f]);if(a.isDefaultPrevented())return d}var l=i?c.speed:0,t=i?function(){a.type="change",v.trigger(a,[g])}:null;j?(o.animate({top:f},l,t),c.progress&&p.animate({height:m-f+o.height()/2},l)):(o.animate({left:f},l,t),c.progress&&p.animate({width:f+o.width()/2},l)),k=g,n=f,b.val(g);return d}a.extend(d,{getValue:function(){return k},setValue:function(b,c){y();return x(c||a.Event("api"),undefined,b,!0)},getConf:function(){return c},getProgress:function(){return p},getHandle:function(){return o},getInput:function(){return b},step:function(b,e){e=e||a.Event();var f=c.step=="any"?1:c.step;d.setValue(k+f*(b||1),e)},stepUp:function(a){return d.step(a||1)},stepDown:function(a){return d.step(-a||-1)}}),a.each("onSlide,change".split(","),function(b,e){a.isFunction(c[e])&&a(d).on(e,c[e]),d[e]=function(b){b&&a(d).on(e,b);return d}}),o.drag({drag:!1}).on("dragStart",function(){y(),w=g(a(d))||g(b)}).on("drag",function(a,c,d){if(b.is(":disabled"))return!1;x(a,j?c:d)}).on("dragEnd",function(a){a.isDefaultPrevented()||(a.type="change",v.trigger(a,[k]))}).click(function(a){return a.preventDefault()}),i.click(function(a){if(b.is(":disabled")||a.target==o[0])return a.preventDefault();y();var c=j?o.height()/2:o.width()/2;x(a,j?m-l-c+a.pageY:a.pageX-l-c)}),c.keyboard&&b.keydown(function(c){if(!b.attr("readonly")){var e=c.keyCode,f=a([75,76,38,33,39]).index(e)!=-1,g=a([74,72,40,34,37]).index(e)!=-1;if((f||g)&&!(c.shiftKey||c.altKey||c.ctrlKey)){f?d.step(e==33?10:1,c):g&&d.step(e==34?-10:-1,c);return c.preventDefault()}}}),b.blur(function(b){var c=a(this).val();c!==k&&d.setValue(c,b)}),a.extend(b[0],{stepUp:d.stepUp,stepDown:d.stepDown});function y(){j=c.vertical||f(i,"height")>f(i,"width"),j?(m=f(i,"height")-f(o,"height"),l=i.offset().top+m):(m=f(i,"width")-f(o,"width"),l=i.offset().left)}function z(){y(),d.setValue(c.value!==undefined?c.value:c.min)}z(),m||a(window).load(z)}a.expr[":"].range=function(b){var c=b.getAttribute("type");return c&&c=="range"||a(b).filter("input").data("rangeinput")},a.fn.rangeinput=function(c){if(this.data("rangeinput"))return this;c=a.extend(!0,{},b.conf,c);var d;this.each(function(){var b=new h(a(this),a.extend(!0,{},c)),e=b.getInput().data("rangeinput",b);d=d?d.add(e):e});return d?d:this}})(jQuery); + +// @license-end diff --git a/view/theme/frio/templates/theme_settings.tpl b/view/theme/frio/templates/theme_settings.tpl index 3c3c9cc2e..7175d9779 100644 --- a/view/theme/frio/templates/theme_settings.tpl +++ b/view/theme/frio/templates/theme_settings.tpl @@ -1,4 +1,4 @@ - +
diff --git a/view/theme/quattro/unsupported b/view/theme/quattro/unsupported new file mode 100644 index 000000000..e69de29bb diff --git a/view/theme/smoothly/unsupported b/view/theme/smoothly/unsupported new file mode 100644 index 000000000..e69de29bb