diff --git a/templates/standard/update.tpl b/templates/standard/update.tpl index 89de7e6e..2909c3e1 100644 --- a/templates/standard/update.tpl +++ b/templates/standard/update.tpl @@ -1,10 +1,107 @@ - {include file="header.tpl" title="Update" showheader="no"} +{config_load file='lng.conf' section = "strings" scope="global" } + + + + +{$title} @ {$settings.name} + +{if $stage != "project" and $loggedin|default} + +{elseif $stage == "project" and $loggedin} + + + +{/if} +{if $loggedin} + + +{/if} +{if $jsload|default == "ajax"} +{literal} + + + + + + + +{/literal} +{/if} +{if $jsload2 == "chat"} +{literal} + +{/literal} +{/if} + +{if $jsload3 == "lightbox"} + + +{/if} + + + +{if $jsload1 == "tinymce"} +{literal} + + + +{/literal} +{/if} + + + + + +{if $showheader != "no"} + {include file="header_main.tpl"} +{/if}

Update Status

- +

Update successfully completed

Congratulations! The latest version of Collabtive is now running on your server.

As a next step, you could extend the functionality of your installation with plugins.
@@ -17,7 +114,7 @@
- +
diff --git a/update.php b/update.php index cb9f26eb..dd210554 100644 --- a/update.php +++ b/update.php @@ -1,8 +1,8 @@ query("CREATE TABLE IF NOT EXISTS `customers_assigned` ( `ID` int(10) NOT NULL AUTO_INCREMENT, `customer` int(10) NOT NULL, @@ -26,7 +27,7 @@ function randomPassword() { UNIQUE KEY `ID` (`ID`) )"); $oldTemplate = $settings["template"]; - +$template->assign("theme",$oldTemplate); $conn->query("INSERT INTO `settings` (`ID` ,`settingsKey` ,`settingsValue`) VALUES (NULL , 'theme', '$oldTemplate')"); $conn->query("UPDATE `settings` SET `template`='standard'");