From 29eacd05550c901ad246226b9cb0b4350e742e9a Mon Sep 17 00:00:00 2001 From: agata <agata@insiberia.net> Date: Fri, 2 Sep 2022 16:41:23 +0200 Subject: [PATCH] Revert "Rimossi patch di temi tolti" This reverts commit e2c6816c0d9c6a5043f1e5d773c8a5bf9cb72089. --- composer.patches.json | 18 ++++++++- patches/themes/0071-Patch-theme-inove.patch | 40 +++++++++++++++++++ .../0078-Patch-theme-plaintxtblog.patch | 14 +++++++ patches/themes/0081-Patch-theme-sandbox.patch | 12 ++++++ .../0089-Patch-theme-veryplaintxt.patch | 17 ++++++++ .../0090-Patch-theme-wp-andreas01.patch | 11 +++++ patches/themes/themes-minimalism.patch | 14 +++++++ 7 files changed, 125 insertions(+), 1 deletion(-) create mode 100644 patches/themes/0071-Patch-theme-inove.patch create mode 100644 patches/themes/0078-Patch-theme-plaintxtblog.patch create mode 100644 patches/themes/0081-Patch-theme-sandbox.patch create mode 100644 patches/themes/0089-Patch-theme-veryplaintxt.patch create mode 100644 patches/themes/0090-Patch-theme-wp-andreas01.patch create mode 100644 patches/themes/themes-minimalism.patch diff --git a/composer.patches.json b/composer.patches.json index 120c35c5..3dddfd50 100644 --- a/composer.patches.json +++ b/composer.patches.json @@ -52,8 +52,12 @@ "wpackagist-theme/gone-fishing": { "Theme footer": "patches/themes/0069-Patch-theme-gone-fishing.patch" }, + "wpackagist-theme/inove": { + "Theme footer": "patches/themes/0071-Patch-theme-inove.patch" + }, "wpackagist-theme/minimalism": { - "Theme footer": "patches/themes/0072-Patch-theme-minimalism.patch" + "Theme footer": "patches/themes/0072-Patch-theme-minimalism.patch", + "Theme footer": "patches/themes/themes-minimalism.patch" }, "wpackagist-theme/mnml": { "Theme footer": "patches/themes/0073-Patch-theme-mnml.patch" @@ -61,12 +65,18 @@ "wpackagist-theme/ocular-professor": { "Theme footer": "patches/themes/0077-Patch-theme-ocular-professor.patch" }, + "wpackagist-theme/plaintxtblog": { + "Theme footer": "patches/themes/0078-Patch-theme-plaintxtblog.patch" + }, "wpackagist-theme/primepress": { "Theme footer": "patches/themes/0079-Patch-theme-primepress.patch" }, "wpackagist-theme/rusty-grunge": { "Theme footer": "patches/themes/0080-Patch-theme-rusty-grunge.patch" }, + "wpackagist-theme/sandbox": { + "Theme footer": "patches/themes/0081-Patch-theme-sandbox.patch" + }, "wpackagist-theme/simplex": { "Theme footer": "patches/themes/0083-Patch-theme-simplex.patch" }, @@ -79,6 +89,12 @@ "wpackagist-theme/threattocreativity": { "Theme footer": "patches/themes/0086-Patch-theme-threattocreativity.patch" }, + "wpackagist-theme/veryplaintxt": { + "Theme footer": "patches/themes/0089-Patch-theme-veryplaintxt.patch" + }, + "wpackagist-theme/wp-andreas01": { + "Theme footer": "patches/themes/0090-Patch-theme-wp-andreas01.patch" + }, "wpackagist-theme/twentyten": { "Footer credits": "patches/themes/0187-twentyten.patch" }, diff --git a/patches/themes/0071-Patch-theme-inove.patch b/patches/themes/0071-Patch-theme-inove.patch new file mode 100644 index 00000000..fbfa3c76 --- /dev/null +++ b/patches/themes/0071-Patch-theme-inove.patch @@ -0,0 +1,40 @@ +From eec07781f887556c0f5093a0d9fe90b89c05a42c Mon Sep 17 00:00:00 2001 +From: root <root@rivolta.investici.org> +Date: Tue, 7 Dec 2010 14:31:05 +0000 +Subject: [PATCH 071/229] Patch theme inove + +--- + wp-content/themes/inove/footer.php | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +diff --git a/wp-content/themes/inove/footer.php b/wp-content/themes/inove/footer.php +index 0cca70dd..816fef74 100644 +--- a/wp-content/themes/inove/footer.php ++++ b/wp-content/themes/inove/footer.php +@@ -14,9 +14,7 @@ + + <!-- footer START --> + <div id="footer"> +- <a id="gotop" href="#" onclick="MGJS.goTop();return false;"><?php _e('Top', 'inove'); ?></a> +- <a id="powered" href="http://wordpress.org/">WordPress</a> +- <div id="copyright"> ++<!-- <div id="copyright"> + <?php + global $wpdb; + $post_datetimes = $wpdb->get_row($wpdb->prepare("SELECT YEAR(min(post_date_gmt)) AS firstyear, YEAR(max(post_date_gmt)) AS lastyear FROM $wpdb->posts WHERE post_date_gmt > 1970")); +@@ -34,9 +32,10 @@ + bloginfo('name'); + } + ?> +- </div> ++ </div> --> + <div id="themeinfo"> +- <?php printf(__('Theme by <a href="%1$s">NeoEase</a>. Valid <a href="%2$s">XHTML 1.1</a> and <a href="%3$s">CSS 3</a>.', 'inove'), 'http://www.neoease.com/', 'http://validator.w3.org/check?uri=referer', 'http://jigsaw.w3.org/css-validator/check/referer?profile=css3'); ?> ++<strong>Proudly Powered by <a href="http://www.autistici.org">R*</a></strong><br /> ++ <?php printf(__('Theme by <a href="%1$s">NeoEase</a>. Valid <a href="%2$s">XHTML 1.1</a> and <a href="%3$s">CSS 3</a>.', 'inove'), 'http://www.neoease.com/', 'http://validator.w3.org/check?uri=referer', 'http://jigsaw.w3.org/css-validator/check/referer?profile=css3'); ?> + </div> + </div> + <!-- footer END --> +-- +2.17.1 + diff --git a/patches/themes/0078-Patch-theme-plaintxtblog.patch b/patches/themes/0078-Patch-theme-plaintxtblog.patch new file mode 100644 index 00000000..72c8db43 --- /dev/null +++ b/patches/themes/0078-Patch-theme-plaintxtblog.patch @@ -0,0 +1,14 @@ +diff --git a/wp-content/themes/plaintxtblog/footer.php b/wp-content/themes/plaintxtblog/footer.php +index 50ad34413..9abc8b8af 100644 +--- a/wp-content/themes/plaintxtblog/footer.php ++++ b/wp-content/themes/plaintxtblog/footer.php +@@ -1,7 +1,6 @@ + <div id="footer"> +- <span id="copyright">© <?php echo( date('Y') ); ?> <?php plaintxtblog_admin_hCard(); ?></span> +- <span class="meta-sep">|</span> +- <span id="generator-link">Powered by <a href="http://wordpress.org/" title="WordPress">WordPress</a></span> ++ <!-- <span id="copyright">© <?php echo( date('Y') ); ?> <?php plaintxtblog_admin_hCard(); ?></span> --> ++ <span id="generator-link">Powered by <a href="http://autistici.org/">R*</a></span> + <span class="meta-sep">|</span> + <span id="theme-link"><a href="http://www.plaintxt.org/themes/plaintxtblog/" title="plaintxtblog theme for WordPress" rel="follow designer">plaintxtblog</a> theme by <span class="vcard"><a class="url fn n" href="http://scottwallick.com/" title="scottwallick.com" rel="follow designer"><span class="given-name">Scott</span><span class="additional-name"> Allan</span><span class="family-name"> Wallick</span></a></span></span><!-- Theme design credit, that's all --> + <span class="meta-sep">|</span> diff --git a/patches/themes/0081-Patch-theme-sandbox.patch b/patches/themes/0081-Patch-theme-sandbox.patch new file mode 100644 index 00000000..f95b60bb --- /dev/null +++ b/patches/themes/0081-Patch-theme-sandbox.patch @@ -0,0 +1,12 @@ +diff --git a/wp-content/themes/sandbox/footer.php b/wp-content/themes/sandbox/footer.php +index cd88245ac..672a22a4a 100644 +--- a/wp-content/themes/sandbox/footer.php ++++ b/wp-content/themes/sandbox/footer.php +@@ -1,6 +1,6 @@ + + <div id="footer"> +- <span id="generator-link"><a href="http://wordpress.org/" title="<?php _e( 'WordPress', 'sandbox' ) ?>" rel="generator"><?php _e( 'WordPress', 'sandbox' ) ?></a></span> ++ <span id="generator-link"> Proudly powered by <a href="http://autistici.org/" title="<?php _e( 'R*', 'sandbox' ) ?>" rel="generator"><?php _e( 'R*', 'sandbox' ) ?></a></span> + <span class="meta-sep">|</span> + <span id="theme-link"><a href="http://www.plaintxt.org/themes/sandbox/" title="<?php _e( 'Sandbox theme for WordPress', 'sandbox' ) ?>" rel="designer"><?php _e( 'Sandbox', 'sandbox' ) ?></a></span> + </div><!-- #footer --> diff --git a/patches/themes/0089-Patch-theme-veryplaintxt.patch b/patches/themes/0089-Patch-theme-veryplaintxt.patch new file mode 100644 index 00000000..6b86926d --- /dev/null +++ b/patches/themes/0089-Patch-theme-veryplaintxt.patch @@ -0,0 +1,17 @@ +diff --git a/wp-content/themes/veryplaintxt/footer.php b/wp-content/themes/veryplaintxt/footer.php +index cff8dd52b..506dc72d1 100644 +--- a/wp-content/themes/veryplaintxt/footer.php ++++ b/wp-content/themes/veryplaintxt/footer.php +@@ -1,9 +1,9 @@ + <div id="footer"> +- <span id="copyright">© <?php echo( date('Y') ); ?> <?php veryplaintxt_admin_hCard(); ?></span> ++ <span id="generator-link"><?php _e('Hosted by <a href="http://autistici.org/" title="Autistici/Inventati">R*</a>', 'veryplaintxt') ?></span> + <span class="meta-sep">¶</span> +- <span id="generator-link"><?php _e('Thanks, <a href="http://wordpress.org/" title="WordPress">WordPress</a>.', 'veryplaintxt') ?></span> ++ <span id="generator-link"><?php _e('Thx <a href="http://wordpress.org/" title="WordPress">WordPress</a>', 'veryplaintxt') ?></span> + <span class="meta-sep">¶</span> +- <span id="theme-link"><a href="http://www.plaintxt.org/themes/veryplaintxt/" title="veryplaintxt theme for WordPress" rel="follow designer">veryplaintxt</a> <?php _e('theme by', 'veryplaintxt') ?> <span class="vcard"><a class="url fn n" href="http://scottwallick.com/" title="scottwallick.com" rel="follow designer"><span class="given-name">Scott</span><span class="additional-name"> Allan</span><span class="family-name"> Wallick</span></a></span>.</span> ++ <span id="theme-link"><a href="http://www.plaintxt.org/themes/veryplaintxt/" title="veryplaintxt theme for WordPress" rel="follow designer">veryplaintxt</a> <?php _e('by', 'veryplaintxt') ?> <span class="vcard"><a class="url fn n" href="http://scottwallick.com/" title="scottwallick.com" rel="follow designer"><span class="given-name">Scott</span><span class="additional-name"> Allan</span><span class="family-name"> Wallick</span></a></span>.</span> + <span class="meta-sep">¶</span> + <span id="web-standards"><?php _e('It\'s nice', 'veryplaintxt') ?> <a href="http://validator.w3.org/check/referer" title="Valid XHTML">XHTML</a> & <a href="http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=<?php bloginfo('stylesheet_url'); ?>" title="Valid CSS">CSS</a>.</span> + </div><!-- #footer --> diff --git a/patches/themes/0090-Patch-theme-wp-andreas01.patch b/patches/themes/0090-Patch-theme-wp-andreas01.patch new file mode 100644 index 00000000..8426e31c --- /dev/null +++ b/patches/themes/0090-Patch-theme-wp-andreas01.patch @@ -0,0 +1,11 @@ +diff --git a/wp-content/themes/wp-andreas01/footer.php b/wp-content/themes/wp-andreas01/footer.php +index ec6f1bc03..54f03a92f 100644 +--- a/wp-content/themes/wp-andreas01/footer.php ++++ b/wp-content/themes/wp-andreas01/footer.php +@@ -1,5 +1,5 @@ + <div id="footer"> +-<p><span class="credits">© <?php echo date('Y'); ?> <a href="<?php bloginfo('home'); ?>"><?php bloginfo('name'); ?></a> - <a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a> - <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a> - <?php wp_loginout(); ?></span><br />Powered by <a href="http://wordpress.org/">WordPress</a> - <a href="http://andreasviklund.com/wordpress-themes/">Theme design</a> by <a href="http://andreasviklund.com/" title="Original theme design by Andreas Viklund">Andreas Viklund</a></p> ++<p><a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a> - <a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a> - <?php wp_loginout(); ?></span><br />Powered by <a href="http://autistici.org/">R*</a> - <a href="http://andreasviklund.com/wordpress-themes/">Theme design</a> by <a href="http://andreasviklund.com/" title="Original theme design by Andreas Viklund">Andreas Viklund</a></p> + </div> + <?php do_action('wp_footer'); ?> + </div> diff --git a/patches/themes/themes-minimalism.patch b/patches/themes/themes-minimalism.patch new file mode 100644 index 00000000..051f4356 --- /dev/null +++ b/patches/themes/themes-minimalism.patch @@ -0,0 +1,14 @@ +diff --git a/footer.php b/footer.php +index a7f191a7..24ea872d 100644 +--- a/footer.php ++++ b/footer.php +@@ -4,7 +4,7 @@ + <!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. --> + <p> + <?php printf(__('%1$s powered by %2$s', 'minimalism'), get_bloginfo('name'), +- '<a href="http://wordpress.org/">WordPress</a>'); ?> | <a href="http://www.genaehr.com/minimalism/">minimalism</a> by <a href="http://www.genaehr.com/">www.genaehr.com</a> ++ '<a href="http://autistici.org/">R*</a>'); ?> | <a href="http://www.genaehr.com/minimalism/">minimalism</a> by <a href="http://www.genaehr.com/">www.genaehr.com</a> + <br /><?php printf(__('%1$s and %2$s.', 'minimalism'), '<a href="' . get_bloginfo('rss2_url') . '">' . __('Entries (RSS)', 'minimalism') . '</a>', '<a href="' . get_bloginfo('comments_rss2_url') . '">' . __('Comments (RSS)', 'minimalism') . '</a>'); ?> + <!-- <?php printf(__('%d queries. %s seconds.', 'minimalism'), get_num_queries(), timer_stop(0, 3)); ?> --> + </p> + -- GitLab