install script, changed main text, look & feel
This commit is contained in:
parent
d01ace5d1b
commit
db5ae7742d
@ -4,5 +4,5 @@
|
|||||||
require_once dirname(__FILE__).'/path/autoload.inc';
|
require_once dirname(__FILE__).'/path/autoload.inc';
|
||||||
require_once dirname(__FILE__).'/page/autoload.inc';
|
require_once dirname(__FILE__).'/page/autoload.inc';
|
||||||
require_once dirname(__FILE__).'/files/autoload.inc';
|
require_once dirname(__FILE__).'/files/autoload.inc';
|
||||||
require_once dirname(__FILE__).'/dbd/autoload.inc';
|
require_once dirname(__FILE__).'/sql/autoload.inc';
|
||||||
require_once dirname(__FILE__).'/api/autoload.inc';
|
require_once dirname(__FILE__).'/api/autoload.inc';
|
||||||
@ -1,2 +0,0 @@
|
|||||||
<?php
|
|
||||||
\SYSTEM\autoload::registerFolder(dirname(__FILE__).'/tbl/','DBD');
|
|
||||||
@ -1,10 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
namespace DBD;
|
|
||||||
|
|
||||||
class locale_string extends \SYSTEM\DBD\system_locale_string {
|
|
||||||
|
|
||||||
const VALUE_CATEGORY_MAINPAGE = 100;
|
|
||||||
const VALUE_CATEGORY_TEXT = 110;
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -27,11 +27,12 @@
|
|||||||
font-size: 8pt;
|
font-size: 8pt;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
width: 62%;
|
width: 62%;
|
||||||
|
border: 1px dashed background;
|
||||||
}
|
}
|
||||||
|
|
||||||
#link_container tr{
|
#link_container tr{
|
||||||
height: 40px;
|
height: 40px;
|
||||||
background: white;
|
background: white;
|
||||||
border: solid 2px background;
|
border: 1px dashed background;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -69,7 +69,7 @@ function log_file_add(torrent){
|
|||||||
progress + '%' +
|
progress + '%' +
|
||||||
'</td>' +
|
'</td>' +
|
||||||
'<td>' +
|
'<td>' +
|
||||||
'speed: ' + torrent.swarm.downloadSpeed() + '/s' +
|
'speed: ' + Math.round(torrent.swarm.downloadSpeed() * 100) / 100 + ' kb/s' +
|
||||||
'</td>' +
|
'</td>' +
|
||||||
'<td>' +
|
'<td>' +
|
||||||
'<a href="http://www.slingit.org/#!start;hash.' + torrent.infoHash + '"' +
|
'<a href="http://www.slingit.org/#!start;hash.' + torrent.infoHash + '"' +
|
||||||
@ -93,7 +93,7 @@ function log_file_upd(torrent){
|
|||||||
progress + '%' +
|
progress + '%' +
|
||||||
'</td>' +
|
'</td>' +
|
||||||
'<td>' +
|
'<td>' +
|
||||||
'speed: ' + torrent.swarm.downloadSpeed() + '/s / ' + torrent.swarm.uploadSpeed() + '/s' +
|
'speed: ' + Math.round(torrent.swarm.downloadSpeed() * 100) / 100 + ' / ' + Math.round(torrent.swarm.uploadSpeed() * 100) / 100 + ' kb/s' +
|
||||||
'</td>' +
|
'</td>' +
|
||||||
'<td>' +
|
'<td>' +
|
||||||
'<a href="http://www.slingit.org/#!start;hash.' + torrent.infoHash + '"' +
|
'<a href="http://www.slingit.org/#!start;hash.' + torrent.infoHash + '"' +
|
||||||
|
|||||||
5
slingit/path/PSQL.php
Normal file
5
slingit/path/PSQL.php
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?php
|
||||||
|
class PSQL extends \SYSTEM\PATH {
|
||||||
|
public static function getPath(){
|
||||||
|
return \SYSTEM\C_ROOT.'slingit/sql/'.\SYSTEM\C_SUBPATH;}
|
||||||
|
}
|
||||||
10
slingit/sql/DATA_SLINGIT.php
Normal file
10
slingit/sql/DATA_SLINGIT.php
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
namespace SQL;
|
||||||
|
class DATA_SLINGIT extends \SYSTEM\DB\QI {
|
||||||
|
public static function get_class(){return \get_class();}
|
||||||
|
public static function files_mysql(){
|
||||||
|
return array( \SYSTEM\SERVERPATH(new \PSQL(),'/mysql/system_page.sql'),
|
||||||
|
\SYSTEM\SERVERPATH(new \PSQL(),'/mysql/system_text.sql'),
|
||||||
|
\SYSTEM\SERVERPATH(new \PSQL(),'/mysql/system_api.sql'));
|
||||||
|
}
|
||||||
|
}
|
||||||
4
slingit/sql/autoload.inc
Normal file
4
slingit/sql/autoload.inc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?php
|
||||||
|
\SYSTEM\autoload::registerFolder(dirname(__FILE__),'SQL');
|
||||||
|
|
||||||
|
\SYSTEM\SQL\setup::register('SQL\\DATA_SLINGIT');
|
||||||
2
slingit/sql/mysql/system_api.sql
Normal file
2
slingit/sql/mysql/system_api.sql
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (90, 1, 4, -1, NULL, '_lang', 'LANG');
|
||||||
|
INSERT INTO `system_api` (`ID`, `group`, `type`, `parentID`, `parentValue`, `name`, `verify`) VALUES (124, 1, 3, 1, 'start', 'hash', 'STRING');
|
||||||
42
slingit/sql/mysql/system_text.sql
Normal file
42
slingit/sql/mysql/system_text.sql
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user