This are just a couple of handy, opinionated visual fixes that I personally use in my self-hosted instance of Miniflux.
You're more than welcome to grab a copy and use with your own instance, or modify to suit your needs.
This are just a couple of handy, opinionated visual fixes that I personally use in my self-hosted instance of Miniflux.
You're more than welcome to grab a copy and use with your own instance, or modify to suit your needs.
#!/bin/bash | |
### Description: \*Arr .NET Debian install | |
### Originally written for Radarr by: DoctorArr - [email protected] on 2021-10-01 v1.0 | |
### Version v1.1 2021-10-02 - Bakerboy448 (Made more generic and conformant) | |
### Version v1.1.1 2021-10-02 - DoctorArr (Spellcheck and boilerplate update) | |
### Version v2.0.0 2021-10-09 - Bakerboy448 (Refactored and ensured script is generic. Added more variables.) | |
### Version v2.0.1 2021-11-23 - brightghost (Fixed datadir step to use correct variables.) | |
### Version v3.0.0 2022-02-03 - Bakerboy448 (Rewrote script to prompt for user/group and made generic for all \*Arrs) | |
### Version v3.0.1 2022-02-05 - aeramor (typo fix line 179: 'chown "$app_uid":"$app_uid" -R "$bindir"' -> 'chown "$app_uid":"$app_guid" -R "$bindir"') | |
### Version v3.0.3 2022-02-06 - Bakerboy448 fixup ownership |
<?php | |
// Add from here | |
function ele_update_sku() { | |
?> | |
<script type="text/javascript"> | |
jQuery( document ).ready( function($) { |
/*! block-builder - v1.0.1 - 06-11-2018 */ | |
/* Limit of 100 removed */ | |
!function(t,e){for(var n in e)t[n]=e[n]}(this,function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n |
/* flatpickr v4.1.4,, @license MIT */ | |
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.flatpickr=t()}(this,function(){"use strict";function e(e,t,n){return!1!==n?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime()}function t(e,t,n){void 0===n&&(n=!1);var a;return function(){var i=this,o=arguments;null!==a&&clearTimeout(a),a=window.setTimeout(function(){a=null,n||e.apply(i,o)},t),n&&!a&&e.apply(i,o)}}function n(e,t,n){if(!0===n)return e.classList.add(t);e.classList.remove(t)}function a(e,t,n){var a=window.document.createElement(e);return t=t||"",n=n||"",a.className=t,void 0!==n&&(a.textContent=n),a}function i(e,t){return t(e)?e:e.parentNode?i(e.parentNode,t):void 0}function o(e){var t=a("div","numInputWrapper"),n=a("input","numInput "+e),i=a("span","arrowUp"),o=a("span","arrowDown");return n.type="text",n.pattern="\\d*",t.appendChild(n),t.appendChild(i),t.appendChild(o),t} |
<?php | |
public function yotpo_bottomline( $args ) { | |
if ( ! class_exists( 'YRFW_API_Wrapper' ) ) { | |
require_once YRFW_PLUGIN_PATH . 'inc/Helpers/class-yrfw-api-wrapper.php'; | |
} | |
if ( ! array_key_exists( 'settings_instance', $GLOBALS ) ) { | |
$settings_instance = ( YRFW_Settings_File::get_instance() )->get_settings(); | |
} else { | |
global $settings_instance; | |
} |
<?php | |
/* | |
Plugin Name: Yotpo Social Reviews for Woocommerce | |
Description: Yotpo Social Reviews helps Woocommerce store owners generate a ton of reviews for their products. Yotpo is the only solution which makes it easy to share your reviews automatically to your social networks to gain a boost in traffic and an increase in sales. | |
Author: Yotpo | |
Version: 1.1.8 | |
Author URI: http://www.yotpo.com?utm_source=yotpo_plugin_woocommerce&utm_medium=plugin_page_link&utm_campaign=woocommerce_plugin_page_link | |
Plugin URI: http://www.yotpo.com?utm_source=yotpo_plugin_woocommerce&utm_medium=plugin_page_link&utm_campaign=woocommerce_plugin_page_link | |
*/ | |
register_activation_hook( __FILE__, 'wc_yotpo_activation' ); |
jQuery(".yotpo-bottomline").click(function() { | |
jQuery("body,html").animate({scrollTop: jQuery(".yotpo-main-widget").offset().top }, 800); | |
}) |
<? | |
// Main function | |
// has to be added to wc-yotpo-settings.php | |
function wc_yotpo_get_orderstatus($setting) { | |
// $setting is current order status as saved in the settings | |
$statuses = wc_get_order_statuses(); | |
if (!array_key_exists($setting,$statuses)) { | |
wc_yotpo_display_message('Warning - The current Custom Order Status setting ('.$setting.') does <strong>NOT</strong> exist in your WooCommerce instance. <br>It is recommended that you update your settings to avoid missing orders!', true); | |
} elseif (is_null($setting) || empty($setting)) { |
// Use | |
$data['order_date'] = date('Y-m-d H:i:s', strtotime($order->get_date_created())); | |
// instead of | |
$data['order_date'] = $order->get_date_created(); |