From 71451c9640dc585b8159fbbb0e67d8f429d42ad5 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 5 Feb 2015 12:00:54 -0800 Subject: [PATCH] New link_owner field added for improved tracking of plugin-related links. --- e107_admin/links.php | 2 +- e107_core/sql/core_sql.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/e107_admin/links.php b/e107_admin/links.php index 0013c68cd..4c9c79448 100644 --- a/e107_admin/links.php +++ b/e107_admin/links.php @@ -91,7 +91,7 @@ class links_admin_ui extends e_admin_ui 'link_order' => array('title'=> LAN_ORDER, 'type' => 'number', 'width' => 'auto', 'nolist'=>false, 'inline' => true), 'link_open' => array('title'=> LCLAN_19, 'type' => 'dropdown', 'inline'=>true, 'width' => 'auto', 'batch'=>true, 'filter'=>true, 'thclass' => 'left first'), 'link_function' => array('title'=> 'Function', 'type' => 'method', 'data'=>'str', 'width' => 'auto', 'thclass' => 'left first'), - + 'link_owner' => array('title'=> 'Owned by', 'type' => 'hidden', 'data'=>'str'), 'options' => array('title'=> LAN_OPTIONS, 'type' => null, 'forced'=>TRUE, 'width' => '10%', 'thclass' => 'center last', 'class'=>'center','readParms'=>'sort=1') // quick workaround ); diff --git a/e107_core/sql/core_sql.php b/e107_core/sql/core_sql.php index 2ed42e058..138b35c13 100644 --- a/e107_core/sql/core_sql.php +++ b/e107_core/sql/core_sql.php @@ -228,6 +228,7 @@ CREATE TABLE links ( link_class varchar(255) NOT NULL default '0', link_function varchar(100) NOT NULL default '', link_sefurl varchar(255) NOT NULL, + link_owner varchar(50) NOT NULL default '', PRIMARY KEY (link_id) ) ENGINE=MyISAM;