Changeset 3263025
- Timestamp:
- 03/27/2025 04:40:40 PM (12 months ago)
- Location:
- alternative-site-settings
- Files:
-
- 9 edited
-
assets/screenshot-2.png (modified) (previous)
-
trunk/altss.php (modified) (3 diffs)
-
trunk/classes/class.Installer.php (modified) (1 diff)
-
trunk/classes/class.Reviews_List_Table.php (modified) (1 diff)
-
trunk/includes/admin-plugin-functions.php (modified) (2 diffs)
-
trunk/includes/sub-includes/cforms-settings-tab-1.php (modified) (2 diffs)
-
trunk/includes/sub-includes/start-page-tab-0.php (modified) (1 diff)
-
trunk/languages/altss-ru_RU.po (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
alternative-site-settings/trunk/altss.php
r3144173 r3263025 4 4 * Plugin URI: https://github.com/tmutstudio/alternative-site-settings 5 5 * Description: Plugin for managing site settings, including feedback forms, photo gallery, reviews and contacts. 6 * Version: 1. 0.16 * Version: 1.1.0 7 7 * Author: tmutarakan-dev 8 8 * Author URI: https://github.com/tmutstudio … … 25 25 define( 'ALTSITESET_LANG_DIR' , ALTSITESET_DIR . "/languages" ); 26 26 27 define( 'ALTSITESET__VERSION', '1. 0.1' );27 define( 'ALTSITESET__VERSION', '1.1.0' ); 28 28 29 29 define( 'ALTSITESET_CFORMS_AMOUNT', 10 ); … … 150 150 $altss_settings_options = get_option( "altss_settings_options" ); 151 151 152 if( isset( $altss_settings_options['disable_all_comments'] ) ){ 153 $disable_all_comments = new ALTSS_Disable_ALL_Comments(); 154 } 152 155 153 156 -
alternative-site-settings/trunk/classes/class.Installer.php
r3144173 r3263025 1 1 <?php 2 /* WPSite Settings Plugin2 /* Alternative Site Settings Plugin 3 3 * Installer class 4 4 * -
alternative-site-settings/trunk/classes/class.Reviews_List_Table.php
r3144173 r3263025 1 1 <?php 2 /* WPSite Settings Plugin2 /* Alternative Site Settings Plugin 3 3 * Reviews Table class 4 4 * -
alternative-site-settings/trunk/includes/admin-plugin-functions.php
r3144173 r3263025 2 2 if ( ! defined( 'ABSPATH' ) ) exit; 3 3 4 function altss_add_editior_field( $textarea_name, $content='', $rows=20, $mode='full', $body_class='' ){4 function altss_add_editior_field( $textarea_name, $content='', $rows=20, $mode='full', $body_class='', $media_buttons = 1 ){ 5 5 $editor_id = preg_replace( "/[\[\]]/", "_", $textarea_name ); 6 6 if( 'full' === $mode ){ … … 20 20 ]; 21 21 22 $media_buttons = 1;22 23 23 $quicktags = 1; 24 24 } -
alternative-site-settings/trunk/includes/sub-includes/cforms-settings-tab-1.php
r3144173 r3263025 82 82 </div> 83 83 <div class="site-settings-cform-setfield"> 84 <label for=" name="<?php echo esc_attr( $formTitleShow );?>"">84 <label for="<?php echo esc_attr( $formTitleShow );?>"> 85 85 <input type="checkbox" value="1" id="<?php echo esc_attr( $formTitleShow );?>" name="<?php echo esc_attr( $formTitleShow );?>"<?php checked($$formTitleShow, 1);?> /> 86 86 - <?php esc_html_e( "display form title", "altss" );?> … … 88 88 </div> 89 89 <div class="site-settings-cform-setfield"> 90 <label for=" name="<?php echo esc_attr( $formDescShow );?>"">90 <label for="<?php echo esc_attr( $formDescShow );?>"> 91 91 <input type="checkbox" value="1" id="<?php echo esc_attr( $formDescShow );?>" name="<?php echo esc_attr( $formDescShow );?>"<?php checked($$formDescShow, 1);?> /> 92 92 - <?php esc_html_e( "display form description", "altss" );?> -
alternative-site-settings/trunk/includes/sub-includes/start-page-tab-0.php
r3144173 r3263025 74 74 </div> 75 75 <label class="onoffswitch-label-text" for="altss_settings_options_collapse_admin_bar">- <?php esc_html_e( "check the box to collapse the admin bar on the front end to the upper left corner", "altss" ); ?></label> 76 </div> 77 </dd> 78 <dt><p><?php esc_html_e( "Disable absolutely all comments on the site", "altss" ); ?>:</p></dt> 79 <dd> 80 <div class="onoffswitch-over"> 81 <div class="onoffswitch-left"> 82 <input type="checkbox" id="altss_settings_options_disable_all_comments" name="altss_settings_options[disable_all_comments]" class="onoffswitch-checkbox" value="1"<?php checked( ( isset( $altss_settings_options['disable_all_comments'] ) ? 1 : 0 ), 1); ?> /> 83 <label class="onoffswitch-label" for="altss_settings_options_disable_all_comments"></label> 84 </div> 85 <label class="onoffswitch-label-text" for="altss_settings_options_disable_all_comments">- <?php esc_html_e( "check the box to disable absolutely all comments on the site", "altss" ); ?></label> 76 86 </div> 77 87 </dd> -
alternative-site-settings/trunk/languages/altss-ru_RU.po
r3144173 r3263025 224 224 msgstr "установите флажок, чтобы свернуть панель администратора на фронтэнде в левый верхний угол" 225 225 226 msgid "check the box to disable absolutely all comments on the site" 227 msgstr "установите флажок, чтобы отключить абсолютно все комментарии на сайте" 228 226 229 msgid "City" 227 230 msgstr "Город" … … 308 311 msgstr "Поле для тега Description" 309 312 313 msgid "Disable absolutely all comments on the site" 314 msgstr "Отключить абсолютно все комментарии на сайте" 315 310 316 msgid "disable comments for this post type" 311 317 msgstr "отключить комментарии для этого типа записей" -
alternative-site-settings/trunk/readme.txt
r3144200 r3263025 2 2 Tags: settings, custom records, reviews, contact forms 3 3 Requires at least: 5.9 4 Tested up to: 6. 5.35 Stable tag: 1. 0.14 Tested up to: 6.7.2 5 Stable tag: 1.1.0 6 6 Requires PHP: 7.2 7 7 License: GPLv2 or later … … 22 22 * Contact forms with a minimum set of seven fields. They satisfy the basic needs when using pop-up feedback forms. 23 23 * The "Reviews" section allows you to organize moderated reviews from site visitors. 24 * It is possible to collapse the top admin panel on the frontend to the upper left corner. 25 * Version 1.1.0 adds the ability to completely disable comments on the site. 24 26 25 27 Attention! The plugin is focused on working with classic themes. … … 27 29 == Changelog == 28 30 31 = 1.1.0 = 32 * Added a PHP class, which allows you to disable all the comments on the site. The class is activated if the corresponding Chekbox is checked in the Admin panel. 33 * Minor changes have been made to the altss_add_editior_field() function, allowing for more flexible control over the connection of the classic editor. 34 * Fixed errors in HTML code on the Form Sets page in the admin panel. 35 29 36 = 1.0.1 = 30 Initial release.37 * Initial release. 31 38 32 39 == Frequently Asked Questions ==
Note: See TracChangeset
for help on using the changeset viewer.