From 8c0b216ffd0d0d7a28177b0140da73a667868896 Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 28 Sep 2021 09:21:49 -0700 Subject: [PATCH] Linkwords upgrade should now complete correctly. --- e107_plugins/linkwords/admin_config.php | 2 +- e107_plugins/linkwords/linkwords_setup.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/e107_plugins/linkwords/admin_config.php b/e107_plugins/linkwords/admin_config.php index 0f7baa8ea..4dc64b297 100644 --- a/e107_plugins/linkwords/admin_config.php +++ b/e107_plugins/linkwords/admin_config.php @@ -72,7 +72,7 @@ class linkwords_ui extends e_admin_ui protected $fields = array ( 'checkboxes' => array ( 'title' => '', 'type' => null, 'data' => null, 'width' => '5%', 'thclass' => 'center', 'forced' => '1', 'class' => 'center', 'toggle' => 'e-multiselect', ), - 'linkword_id' => array ( 'title' => LAN_ID, 'data' => 'int', 'width' => '5%', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ), + 'linkword_id' => array ( 'title' => LAN_ID, 'type'=>'number', 'data' => 'int', 'width' => '5%', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ), 'linkword_word' => array ( 'title' => LWLAN_21, 'type' => 'tags', 'data' => 'str', 'width' => 'auto', 'inline' => true, 'validate' => true, 'help' => LAN_LW_HELP_11, 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ), 'linkword_link' => array ( 'title' => LWLAN_6, 'type' => 'text', 'data' => 'str', 'width' => 'auto', 'inline' => true, 'validate' => true, 'help' => LAN_LW_HELP_12, 'readParms' => '', 'writeParms' => 'size=xxlarge', 'class' => 'left', 'thclass' => 'left', ), 'linkword_active' => array ( 'title' => LAN_ACTIVE, 'type' => 'dropdown', 'data' => 'int', 'width' => 'auto', 'batch' => true, 'filter' => true, 'inline' => true, 'help' => LAN_LW_HELP_13, 'readParms' => '', 'writeParms' => array(), 'left' => 'center', 'thclass' => 'left', ), diff --git a/e107_plugins/linkwords/linkwords_setup.php b/e107_plugins/linkwords/linkwords_setup.php index ea1978c53..4376b8554 100644 --- a/e107_plugins/linkwords/linkwords_setup.php +++ b/e107_plugins/linkwords/linkwords_setup.php @@ -68,6 +68,8 @@ if(!class_exists("linkwords_setup")) 'lw_notsamepage' => 'lw_notsamepage', 'linkword_omit_pages' => 'linkword_omit_pages', 'lw_custom_class' => 'lw_custom_class', + 'lw_max_per_word' => 'lw_max_per_word', + 'lw_page_visibility' => 'lw_page_visibility', ); if($saveData = e107::getConfig()->migrateData($plugPrefs, true))