From 1db331c2334df45d3b1e69112be406884849f483 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Sat, 4 Jan 2025 03:48:34 +0100 Subject: [PATCH] Rename --- README.md | 2 +- meta.json | 8 ++++---- styles/colors.less | 2 +- styles/dark.less | 2 +- styles/embed.less | 2 +- styles/global.less | 2 +- styles/layout.less | 2 +- styles/mixins.less | 2 +- styles/print.less | 2 +- styles/styles.less | 2 +- styles/variables.less | 2 +- styles/widgets/buttons.less | 2 +- styles/widgets/common.less | 2 +- styles/widgets/dialogs.less | 2 +- styles/widgets/editor.less | 2 +- styles/widgets/forms.less | 2 +- styles/widgets/jqueryui.less | 2 +- styles/widgets/lists.less | 2 +- styles/widgets/menu.less | 2 +- styles/widgets/messages.less | 2 +- ui.js | 26 +++++++++++++------------- 21 files changed, 36 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 5f45bc3..eb92a8f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # euphlastic -Euph Elastic Theme for Rroundcube \ No newline at end of file +Euph Euphlastic Theme for Rroundcube \ No newline at end of file diff --git a/meta.json b/meta.json index 4b3f003..92dd4b2 100644 --- a/meta.json +++ b/meta.json @@ -1,8 +1,8 @@ { - "name": "Elastic", - "author": "Aleksander Machniak", - "license": "Creative Commons Attribution-ShareAlike", - "license-url": "http://creativecommons.org/licenses/by-sa/3.0/", + "name": "Euphlastic", + "author": "Snoweuphk", + "license": "MIT", + "license-url": "..", "config": { "supported_layouts": ["widescreen"], "jquery_ui_colors_theme": "bootstrap", diff --git a/styles/colors.less b/styles/colors.less index 9e80c16..f74d287 100644 --- a/styles/colors.less +++ b/styles/colors.less @@ -1,5 +1,5 @@ /** - * Roundcube Webmail styles for the Elastic skin + * Roundcube Webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/styles/dark.less b/styles/dark.less index 6c78e96..201bbd1 100644 --- a/styles/dark.less +++ b/styles/dark.less @@ -1,5 +1,5 @@ /** - * Roundcube webmail styles for the Elastic skin + * Roundcube webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/styles/embed.less b/styles/embed.less index 8414779..c4a9315 100644 --- a/styles/embed.less +++ b/styles/embed.less @@ -1,5 +1,5 @@ /** - * Roundcube Webmail styles for the Elastic skin + * Roundcube Webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/styles/global.less b/styles/global.less index 0982107..d416a1b 100644 --- a/styles/global.less +++ b/styles/global.less @@ -1,5 +1,5 @@ /** - * Roundcube Webmail styles for the Elastic skin + * Roundcube Webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/styles/layout.less b/styles/layout.less index 912d314..54b7e1b 100644 --- a/styles/layout.less +++ b/styles/layout.less @@ -1,5 +1,5 @@ /** - * Roundcube Webmail styles for the Elastic skin + * Roundcube Webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/styles/mixins.less b/styles/mixins.less index 7e4fabe..66a4c6b 100644 --- a/styles/mixins.less +++ b/styles/mixins.less @@ -1,5 +1,5 @@ /** - * Roundcube Webmail styles for the Elastic skin + * Roundcube Webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/styles/print.less b/styles/print.less index 2f06232..fdc6bc6 100644 --- a/styles/print.less +++ b/styles/print.less @@ -1,5 +1,5 @@ /** - * Roundcube Webmail styles for the Elastic skin + * Roundcube Webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/styles/styles.less b/styles/styles.less index b6932ed..d1ce233 100644 --- a/styles/styles.less +++ b/styles/styles.less @@ -1,5 +1,5 @@ /** - * Roundcube Webmail styles for the Elastic skin + * Roundcube Webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/styles/variables.less b/styles/variables.less index 6d3c90c..d714d01 100644 --- a/styles/variables.less +++ b/styles/variables.less @@ -1,5 +1,5 @@ /** - * Roundcube Webmail styles for the Elastic skin + * Roundcube Webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/styles/widgets/buttons.less b/styles/widgets/buttons.less index b4c02e4..62feb69 100644 --- a/styles/widgets/buttons.less +++ b/styles/widgets/buttons.less @@ -1,5 +1,5 @@ /** - * Roundcube Webmail styles for the Elastic skin + * Roundcube Webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/styles/widgets/common.less b/styles/widgets/common.less index 87a16ff..31813cf 100644 --- a/styles/widgets/common.less +++ b/styles/widgets/common.less @@ -1,5 +1,5 @@ /** - * Roundcube Webmail styles for the Elastic skin + * Roundcube Webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/styles/widgets/dialogs.less b/styles/widgets/dialogs.less index 3cae8a3..30483ff 100644 --- a/styles/widgets/dialogs.less +++ b/styles/widgets/dialogs.less @@ -1,5 +1,5 @@ /** - * Roundcube Webmail styles for the Elastic skin + * Roundcube Webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/styles/widgets/editor.less b/styles/widgets/editor.less index a71860f..82dbf9d 100644 --- a/styles/widgets/editor.less +++ b/styles/widgets/editor.less @@ -1,5 +1,5 @@ /** - * Roundcube Webmail styles for the Elastic skin + * Roundcube Webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/styles/widgets/forms.less b/styles/widgets/forms.less index 876bebd..eb7257f 100644 --- a/styles/widgets/forms.less +++ b/styles/widgets/forms.less @@ -1,5 +1,5 @@ /** - * Roundcube Webmail styles for the Elastic skin + * Roundcube Webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/styles/widgets/jqueryui.less b/styles/widgets/jqueryui.less index cd11bbb..b724c28 100644 --- a/styles/widgets/jqueryui.less +++ b/styles/widgets/jqueryui.less @@ -1,5 +1,5 @@ /** - * Roundcube Webmail styles for the Elastic skin + * Roundcube Webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/styles/widgets/lists.less b/styles/widgets/lists.less index b0e35dd..a5a37a0 100644 --- a/styles/widgets/lists.less +++ b/styles/widgets/lists.less @@ -1,5 +1,5 @@ /** - * Roundcube Webmail styles for the Elastic skin + * Roundcube Webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/styles/widgets/menu.less b/styles/widgets/menu.less index d15ccff..32c9a44 100644 --- a/styles/widgets/menu.less +++ b/styles/widgets/menu.less @@ -1,5 +1,5 @@ /** - * Roundcube Webmail styles for the Elastic skin + * Roundcube Webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/styles/widgets/messages.less b/styles/widgets/messages.less index f81ac54..a3031d5 100644 --- a/styles/widgets/messages.less +++ b/styles/widgets/messages.less @@ -1,5 +1,5 @@ /** - * Roundcube Webmail styles for the Elastic skin + * Roundcube Webmail styles for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * diff --git a/ui.js b/ui.js index 152dee0..1865955 100644 --- a/ui.js +++ b/ui.js @@ -1,5 +1,5 @@ /** - * Roundcube webmail functions for the Elastic skin + * Roundcube webmail functions for the Euphlastic skin * * Copyright (c) The Roundcube Dev Team * @@ -13,7 +13,7 @@ 'use strict'; -function rcube_elastic_ui() { +function rcube_euphlastic_ui() { var prefs, ref = this, mode = 'normal', // one of: large, normal, small, phone color_mode = 'light', // 'light' or 'dark' @@ -262,7 +262,7 @@ function rcube_elastic_ui() { rcmail.gui_object('dragmenu', this.id); }); - // Taskmenu items added by plugins do not use elastic classes (e.g help plugin) + // Taskmenu items added by plugins do not use euphlastic classes (e.g help plugin) // it's for larry skin compat. We'll assign 'selected' and icon-specific class. $('#taskmenu > a').each(function () { if (/button-([a-z]+)/.test(this.className)) { @@ -608,7 +608,7 @@ function rcube_elastic_ui() { message_list_hover_menu_init(table.parent()); } - // https://github.com/roundcube/elastic/issues/45 + // https://github.com/roundcube/euphlastic/issues/45 // Draggable blocks scrolling on touch devices, we'll disable it there if (touch && rcmail[list]) { if (typeof rcmail[list].draggable === 'function') { @@ -888,7 +888,7 @@ function rcube_elastic_ui() { id = input.attr('id'); if (!id) { - input.attr('id', id = 'dialog-input-elastic'); + input.attr('id', id = 'dialog-input-euphlastic'); } $('.popup', context).addClass('formcontent').append( @@ -4391,7 +4391,7 @@ function rcube_elastic_ui() { */ function get_pref(key) { if (!prefs) { - prefs = rcmail.local_storage_get_item('prefs.elastic', {}); + prefs = rcmail.local_storage_get_item('prefs.euphlastic', {}); } // fall-back to cookies @@ -4401,7 +4401,7 @@ function rcube_elastic_ui() { prefs[key] = cookie; // copy value to local storage and remove cookie (if localStorage is supported) - if (rcmail.local_storage_set_item('prefs.elastic', prefs)) { + if (rcmail.local_storage_set_item('prefs.euphlastic', prefs)) { rcmail.set_cookie(key, cookie, new Date()); // expire cookie } } @@ -4417,7 +4417,7 @@ function rcube_elastic_ui() { prefs[key] = val; // write prefs to local storage (if supported) - if (!rcmail.local_storage_set_item('prefs.elastic', prefs)) { + if (!rcmail.local_storage_set_item('prefs.euphlastic', prefs)) { // store value in cookie rcmail.set_cookie(key, val, false); } @@ -4426,7 +4426,7 @@ function rcube_elastic_ui() { if (window.rcmail) { /** - * Elastic version of show_menu as we don't need e.g. menu positioning from core + * Euphlastic version of show_menu as we don't need e.g. menu positioning from core * TODO: keyboard navigation in menus */ rcmail.show_menu = function (prop, show, event) { @@ -4437,17 +4437,17 @@ if (window.rcmail) { prop = { menu: name }; } - // just delegate the action to rcube_elastic_ui + // just delegate the action to rcube_euphlastic_ui return rcmail.triggerEvent(show === false ? 'menu-close' : 'menu-open', { name: name, obj: obj, props: prop, originalEvent: event, }); }; /** - * Elastic version of hide_menu as we don't need e.g. menus stack handling + * Euphlastic version of hide_menu as we don't need e.g. menus stack handling */ rcmail.hide_menu = function (name, event) { - // delegate to rcube_elastic_ui + // delegate to rcube_euphlastic_ui return rcmail.triggerEvent('menu-close', { name: name, props: { menu: name }, originalEvent: event }); }; } else { @@ -4458,7 +4458,7 @@ if (window.rcmail) { bw = {}; } -var UI = new rcube_elastic_ui(); +var UI = new rcube_euphlastic_ui(); // Improve non-inline datepickers if ($ && $.datepicker) {