Skip to content

Commit

Permalink
@websoudan に引き継ぎ
Browse files Browse the repository at this point in the history
  • Loading branch information
inc2734 committed Sep 20, 2023
1 parent 4dae8bb commit 4267053
Show file tree
Hide file tree
Showing 131 changed files with 143 additions and 191 deletions.
2 changes: 1 addition & 1 deletion classes/abstract/class.controller.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/abstract/class.form-field.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/abstract/class.validation-rule.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/config.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
21 changes: 1 addition & 20 deletions classes/controllers/class.admin-list.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand All @@ -15,29 +15,10 @@ class MW_WP_Form_Admin_List_Controller extends MW_WP_Form_Controller {
*/
public function __construct() {
$screen = get_current_screen();
add_filter( 'views_' . $screen->id, array( $this, '_donate_link' ) );
add_action( 'admin_head', array( $this, '_add_columns' ) );
add_action( 'admin_enqueue_scripts', array( $this, '_admin_enqueue_scripts' ) );
}

/**
* Return Donate link html.
*
* @param array $views An array of available list table views.
* @return array
*/
public function _donate_link( $views ) {
$donation = array(
'donation' =>
'<div class="donation"><p>' .
__( 'Your contribution is needed for making this plugin better.', 'mw-wp-form' ) .
' <a href="https://www.amazon.co.jp/registry/wishlist/39ANKRNSTNW40" class="button">' .
__( 'Donate', 'mw-wp-form' ) . '</a></p></div>',
);
$views = array_merge( $donation, $views );
return $views;
}

/**
* Hooked for adding columns.
*/
Expand Down
17 changes: 1 addition & 16 deletions classes/controllers/class.admin.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down Expand Up @@ -64,14 +64,6 @@ public function _add_meta_boxes() {
'normal'
);

add_meta_box(
MWF_Config::NAME . '_addon',
__( 'Add-ons', 'mw-wp-form' ),
array( $this, '_add_ons' ),
MWF_Config::NAME,
'side'
);

add_meta_box(
MWF_Config::NAME . '_formkey',
__( 'Form Key', 'mw-wp-form' ),
Expand Down Expand Up @@ -367,13 +359,6 @@ public function _validation_rule() {
);
}

/**
* Render add-on meta box.
*/
public function _add_ons() {
$this->_render( 'admin/add-ons' );
}

/**
* Render form key meta box.
*/
Expand Down
2 changes: 1 addition & 1 deletion classes/controllers/class.chart.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/controllers/class.contact-data-list.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/controllers/class.contact-data.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/controllers/class.main.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/deprecated.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.akismet_error.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.back-button.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.button-back.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.button-button.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.button-confirm.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.button-submit.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.button.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.checkbox.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.confirm-button.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.custom-mail-tag.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.datepicker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.email.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.error.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.file.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.hidden.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.image.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.monthpicker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.number.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.password.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.radio.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.range.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.select.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.submit-button.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.submit.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/form-fields/class.tel.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @package mw-wp-form
* @author inc2734
* @author websoudan
* @license GPL-2.0+
*/

Expand Down
Loading

0 comments on commit 4267053

Please sign in to comment.