Show full filename on mouseover.

This commit is contained in:
Savetheinternet 2011-10-01 22:12:31 +10:00
parent d62f0ee046
commit 339853e5de
6 changed files with 32 additions and 9 deletions

View file

@ -1,6 +1,6 @@
<?php
// Installation/upgrade file
define('VERSION', 'v0.9.3-dev-7');
define('VERSION', 'v0.9.3-dev-8');
require 'inc/functions.php';
require 'inc/display.php';
@ -102,8 +102,13 @@
}
foreach($tables as &$table) {
query("ALTER TABLE `{$table}` ENGINE = MYISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci");
}
query("ALTER TABLE `{$table}` ENGINE = MYISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci") or error(db_error());
}
case 'v0.9.3-dev-7':
$boards = listBoards();
foreach($boards as &$board) {
query(sprintf("ALTER TABLE `posts_%s` CHANGE `filename` `filename` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL", $board['uri'])) or error(db_error());
}
case false:
// Update version number
file_write($config['has_installed'], VERSION);