Permalink
Browse files

Small repairs

changed updater (deleted 2.2.5 everywhere).
  • Loading branch information...
Halamix2 committed Aug 3, 2014
1 parent 43a5a4f commit 4ac13682de583f0a12b1f25cb8f4b9e2ead3ac24
Showing with 7 additions and 9 deletions.
  1. +1 −1 install.php
  2. +6 −8 update.php
View
@@ -507,9 +507,9 @@ function license_agree(theForm) {
$tdb->add('smilies',array("bbcode"=>" (E)","replace"=> " <img src='./smilies/rolleyes.gif' border='0' alt='(E)'> ","type" => "main"));
$tdb->add('smilies',array("bbcode"=>" (wallbash)","replace"=> " <img src='./smilies/wallbash.gif' border='0' alt='(wallbash)'> ","type" => "main"));
$tdb->add('smilies',array("bbcode"=>" (noteeth)","replace"=> " <img src='./smilies/noteeth.gif' border='0' alt='(noteeth)'> ","type" => "main"));
+ $tdb->add('smilies',array("bbcode"=>" LOL","replace"=> " <img src='./smilies/lol.gif' border='0' alt='LOL'> ","type" => "main"));
//MORE SMILIES (more smilies page)
- $tdb->add('smilies',array("bbcode"=>" LOL","replace"=> " <img src='./smilies/lol.gif' border='0' alt='LOL'> ","type" => "main"));
$tdb->add("smilies",array("bbcode"=>"[img]smilies/action-smiley-035.gif[/img]","replace"=>"<img src='./smilies/action-smiley-035.gif' border='0' alt='action-smiley-035.gif'>","type"=>"more"));
$tdb->add("smilies",array("bbcode"=>"[img]smilies/action-smiley-073.gif[/img]","replace"=>"<img src='./smilies/action-smiley-073.gif' border='0' alt='action-smiley-073.gif'>","type"=>"more"));
$tdb->add("smilies",array("bbcode"=>"[img]smilies/anti-old.gif[/img]","replace"=>"<img src='./smilies/anti-old.gif' border='0' alt='anti-old.gif'>","type"=>"more"));
View
@@ -1,10 +1,8 @@
<?php
if (TRUE !== is_writable('./config.php')) die('Unable to continue with the installation process. "config.php" in the root upb directory MUST exist and MUST BE writable.');
-if (filesize('./config.php') > 0) {
- require_once('./config.php');
-}
+if (filesize('./config.php') > 0) { require_once('./config.php');}
-$current_update = '2.2.6';
+$current_update = '2.2.8';
if (substr(UPB_VERSION,0,1) == 1)
{
@@ -41,7 +39,7 @@ function get_updates()
?>
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
-<title>UPB v2.2.5 Updater</title>
+<title>UPB Updater</title>
<link rel='stylesheet' type='text/css'
href='skins/default/css/style.css' />
</head>
@@ -63,7 +61,7 @@ function get_updates()
?>
<form action='<?php print $_SERVER['PHP_SELF']; ?>' method='post'>
<div class='main_cat_wrapper'>
-<div class='cat_area_1'>myUPB v2.2.5 Updater</div>
+<div class='cat_area_1'>myUPB Updater</div>
<table class='main_table'>
<tr>
<th style='text-align: center;'>&nbsp;</th>
@@ -115,7 +113,7 @@ function get_updates()
{
?>
<div class='main_cat_wrapper'>
-<div class='cat_area_1'>myUPB v2.2.5 Updater</div>
+<div class='cat_area_1'>myUPB Updater</div>
<table class='main_table'>
<tr>
<th style='text-align: center;'>&nbsp;</th>
@@ -177,7 +175,7 @@ function get_updates()
{
?>
<div class='main_cat_wrapper'>
-<div class='cat_area_1'>myUPB v2.2.5 Updater</div>
+<div class='cat_area_1'>myUPB Updater</div>
<table class='main_table'>
<tr>
<th style='text-align: center;'>&nbsp;</th>

0 comments on commit 4ac1368

Please sign in to comment.