diff --git a/config/config.ini b/config/config.ini index 2ea7ab5..3168122 100644 --- a/config/config.ini +++ b/config/config.ini @@ -86,6 +86,8 @@ manager = default ;mainLogoWidth = 219px ; ALT text - for accessibility purposes. ;mainLogoTitle = ACME Knowledge Management Systems +; URL on the main logo +;mainLogoUrl = ${rootUrl} ; powered by kt logo ;powerLogo = ${rootUrl}/resources/powered-by-kt.png ; the logo's width in pixels diff --git a/sql/mysql/install/data.sql b/sql/mysql/install/data.sql index 2264fe6..b9e8ce9 100644 --- a/sql/mysql/install/data.sql +++ b/sql/mysql/install/data.sql @@ -285,7 +285,8 @@ INSERT INTO `config_settings` VALUES (110, 'server', 'External Server port', 'The external port for the server.', 'server_port', 'default', '', 'numeric_string', NULL, 1), (111, 'KnowledgeTree', 'Root Url', 'The path to the web application from the root of the web server. For example, if KT is at http://example.org/foo/, then the root directory should be \'/foo\'.', 'rootUrl', '', '', 'string', NULL, 1), (112, 'urls', 'Var Directory', 'The path to the var directory.', 'varDirectory', 'default', '${fileSystemRoot}/var', 'string', NULL, 1), -(113, 'tweaks','Increment version on rename','Defines whether to update the version number if a document filename is changed/renamed.','incrementVersionOnRename','default','true','boolean',NULL,1); +(113, 'tweaks','Increment version on rename','Defines whether to update the version number if a document filename is changed/renamed.','incrementVersionOnRename','default','true','boolean',NULL,1), +(114, 'ui', 'System URL', 'The system url, used in the main logo.', 'systemUrl', 'default', 'http://www.knowledgetree.com', 'string', '', 1); /*!40000 ALTER TABLE `config_settings` ENABLE KEYS */; UNLOCK TABLES; diff --git a/sql/mysql/upgrade/3.5.5/config_systemurl.sql b/sql/mysql/upgrade/3.5.5/config_systemurl.sql new file mode 100644 index 0000000..b51c440 --- /dev/null +++ b/sql/mysql/upgrade/3.5.5/config_systemurl.sql @@ -0,0 +1,2 @@ +INSERT INTO config_settings (group_name, display_name, description, item, value, default_value, type, options, can_edit) +VALUES('ui', 'System URL', 'The system url, used in the main logo.', 'systemUrl', 'default', 'http://www.knowledgetree.com', 'string', '', 1); \ No newline at end of file diff --git a/templates/kt3/standard_page.smarty b/templates/kt3/standard_page.smarty index 58a8f26..7338eeb 100644 --- a/templates/kt3/standard_page.smarty +++ b/templates/kt3/standard_page.smarty @@ -71,7 +71,7 @@
{if $config->get("ui/mainLogo") != ''} - {$config->get( + {$config->get( {else} {/if}