Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
This commit is contained in:
commit
fd4509894f
@ -21,6 +21,7 @@ VALUES
|
|||||||
('identichat','identichat','http://identichat.prosody.im/', now()),
|
('identichat','identichat','http://identichat.prosody.im/', now()),
|
||||||
('IdentiFox','IdentiFox','http://www.bitbucket.org/uncryptic/identifox/', now()),
|
('IdentiFox','IdentiFox','http://www.bitbucket.org/uncryptic/identifox/', now()),
|
||||||
('identitwitch','IdentiTwitch','http://richfish.org/identitwitch/', now()),
|
('identitwitch','IdentiTwitch','http://richfish.org/identitwitch/', now()),
|
||||||
|
('Jiminy','Jiminy','http://code.google.com/p/jiminy/', now()),
|
||||||
('LaTwit','LaTwit','http://latwit.mac65.com/', now()),
|
('LaTwit','LaTwit','http://latwit.mac65.com/', now()),
|
||||||
('LiveTweeter', 'LiveTweeter', 'http://addons.songbirdnest.com/addon/1204', now()),
|
('LiveTweeter', 'LiveTweeter', 'http://addons.songbirdnest.com/addon/1204', now()),
|
||||||
('livetweeter', 'livetweeter', 'http://addons.songbirdnest.com/addon/1204', now()),
|
('livetweeter', 'livetweeter', 'http://addons.songbirdnest.com/addon/1204', now()),
|
||||||
|
20
install.php
20
install.php
@ -223,7 +223,7 @@ function main()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($_GET['checklibs']) {
|
if (!empty($_GET['checklibs'])) {
|
||||||
showLibs();
|
showLibs();
|
||||||
} else {
|
} else {
|
||||||
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
|
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
|
||||||
@ -243,7 +243,7 @@ function main()
|
|||||||
*/
|
*/
|
||||||
function haveExternalLibrary($external_library)
|
function haveExternalLibrary($external_library)
|
||||||
{
|
{
|
||||||
if (isset($external_library['include']) && ! include_once $external_library['include'] ) {
|
if (isset($external_library['include']) && ! @include_once $external_library['include'] ) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (isset($external_library['check_function']) && ! function_exists($external_library['check_function'])) {
|
if (isset($external_library['check_function']) && ! function_exists($external_library['check_function'])) {
|
||||||
@ -294,7 +294,7 @@ function checkPrereqs()
|
|||||||
|
|
||||||
if (count($missingExtensions) == count($dbModules)) {
|
if (count($missingExtensions) == count($dbModules)) {
|
||||||
$req = implode(', ', $missingExtensions);
|
$req = implode(', ', $missingExtensions);
|
||||||
printf('<p class="error">Cannot find mysql or pgsql extension. You need one or the other: <code>%s</code></p>', $req);
|
printf('<p class="error">Cannot find mysql or pgsql extension. You need one or the other.');
|
||||||
$pass = false;
|
$pass = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -365,19 +365,19 @@ function showLibs()
|
|||||||
E_O_T;
|
E_O_T;
|
||||||
foreach ($absent_libraries as $library) {
|
foreach ($absent_libraries as $library) {
|
||||||
echo '<li>';
|
echo '<li>';
|
||||||
if ($library['url']) {
|
if (isset($library['url'])) {
|
||||||
echo '<a href=">'.$library['url'].'">'.htmlentities($library['name']).'</a>';
|
echo '<a href=">'.$library['url'].'">'.htmlentities($library['name']).'</a>';
|
||||||
} else {
|
} else {
|
||||||
echo htmlentities($library['name']);
|
echo htmlentities($library['name']);
|
||||||
}
|
}
|
||||||
echo '<ul>';
|
echo '<ul>';
|
||||||
if ($library['deb']) {
|
if (isset($library['deb'])) {
|
||||||
echo '<li class="deb package">deb: <a href="apt:' . urlencode($library['deb']) . '">' . htmlentities($library['deb']) . '</a></li>';
|
echo '<li class="deb package">deb: <a href="apt:' . urlencode($library['deb']) . '">' . htmlentities($library['deb']) . '</a></li>';
|
||||||
}
|
}
|
||||||
if ($library['rpm']) {
|
if (isset($library['rpm'])) {
|
||||||
echo '<li class="rpm package">rpm: ' . htmlentities($library['rpm']) . '</li>';
|
echo '<li class="rpm package">rpm: ' . htmlentities($library['rpm']) . '</li>';
|
||||||
}
|
}
|
||||||
if ($library['pear']) {
|
if (isset($library['pear'])) {
|
||||||
echo '<li class="pear package">pear: ' . htmlentities($library['pear']) . '</li>';
|
echo '<li class="pear package">pear: ' . htmlentities($library['pear']) . '</li>';
|
||||||
}
|
}
|
||||||
echo '</ul>';
|
echo '</ul>';
|
||||||
@ -477,7 +477,11 @@ E_O_T;
|
|||||||
|
|
||||||
function updateStatus($status, $error=false)
|
function updateStatus($status, $error=false)
|
||||||
{
|
{
|
||||||
echo '<li ' . ($error) ? 'class="error"': '';
|
echo '<li';
|
||||||
|
|
||||||
|
if ($error) {
|
||||||
|
echo ' class="error"';
|
||||||
|
}
|
||||||
echo ">$status</li>";
|
echo ">$status</li>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user