29 | * @version Revision: 1.13
30 | * @since PHP 4.2.0
31 | * @require PHP 4.0.0 (is_subclass_of)
32 | */
33 | if (!function_exists('is_a'))
34 | {
35 | function is_a($object, $class)
36 | {
37 | if (get_class($object) == strtolower($class)) {
38 | return true;
39 | }
40 |
41 | else {
42 | return is_subclass_of($object, $class);
43 | }
44 | }
45 | }
46 |
47 | ?>
--------------------------------------------------------------------------------
/languages/.htaccess:
--------------------------------------------------------------------------------
1 | Order Deny,Allow
2 | Deny from all
--------------------------------------------------------------------------------
/languages/old/README:
--------------------------------------------------------------------------------
1 | The language files in this directory were made obsolete by changes in the
2 | handling of transations as of version 0.9.0. They are here to serve as a
3 | starting point for anyone interested in updating them.
--------------------------------------------------------------------------------
/languages/old/es.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/a-v-k/phpBugTracker/f58c812b1357e15cc79df8df8c4d09f425538c83/languages/old/es.php
--------------------------------------------------------------------------------
/languages/old/et.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/a-v-k/phpBugTracker/f58c812b1357e15cc79df8df8c4d09f425538c83/languages/old/et.php
--------------------------------------------------------------------------------
/languages/old/gb2312.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/a-v-k/phpBugTracker/f58c812b1357e15cc79df8df8c4d09f425538c83/languages/old/gb2312.php
--------------------------------------------------------------------------------
/languages/old/no.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/a-v-k/phpBugTracker/f58c812b1357e15cc79df8df8c4d09f425538c83/languages/old/no.php
--------------------------------------------------------------------------------
/languages/old/pl_iso-8859-2.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/a-v-k/phpBugTracker/f58c812b1357e15cc79df8df8c4d09f425538c83/languages/old/pl_iso-8859-2.php
--------------------------------------------------------------------------------
/languages/old/ru_koi8-r.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/a-v-k/phpBugTracker/f58c812b1357e15cc79df8df8c4d09f425538c83/languages/old/ru_koi8-r.php
--------------------------------------------------------------------------------
/languages/old/ru_windows-1251.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/a-v-k/phpBugTracker/f58c812b1357e15cc79df8df8c4d09f425538c83/languages/old/ru_windows-1251.php
--------------------------------------------------------------------------------
/languages/old/se.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/a-v-k/phpBugTracker/f58c812b1357e15cc79df8df8c4d09f425538c83/languages/old/se.php
--------------------------------------------------------------------------------
/languages/old/sl.php:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/a-v-k/phpBugTracker/f58c812b1357e15cc79df8df8c4d09f425538c83/languages/old/sl.php
--------------------------------------------------------------------------------
/logo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/a-v-k/phpBugTracker/f58c812b1357e15cc79df8df8c4d09f425538c83/logo.jpg
--------------------------------------------------------------------------------
/logout.php:
--------------------------------------------------------------------------------
1 | unauth();
27 |
28 | include 'templates/' . THEME . '/logout.html';
29 |
30 | //
31 |
--------------------------------------------------------------------------------
/schemas/.htaccess:
--------------------------------------------------------------------------------
1 | Order Deny,Allow
2 | Deny from all
--------------------------------------------------------------------------------
/schemas/common.in:
--------------------------------------------------------------------------------
1 | # Default Capabilities for Groups
2 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (1, 1);
3 |
4 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (3, 2);
5 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (3, 3);
6 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (3, 4);
7 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (3, 5);
8 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (3, 6);
9 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (3, 7);
10 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (3, 8);
11 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (3, 9);
12 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (3, 10);
13 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (3, 11);
14 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (3, 12);
15 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (3, 13);
16 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (3, 14);
17 |
18 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (4, 3);
19 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (4, 6);
20 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (4, 7);
21 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (4, 12);
22 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (4, 13);
23 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (4, 14);
24 |
25 | # Default Capabilities for Roles
26 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (7, 5);
27 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (7, 7);
28 |
29 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (8, 7);
30 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (8, 8);
31 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (8, 9);
32 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (8, 11);
33 |
34 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (9, 6);
35 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (9, 7);
36 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (9, 8);
37 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (9, 9);
38 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (9, 10);
39 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (9, 11);
40 | INSERT INTO TBL_GROUP_PERM (group_id, perm_id) VALUES (9, 13);
41 |
42 |
--------------------------------------------------------------------------------
/schemas/old/table_rename.sql:
--------------------------------------------------------------------------------
1 | alter table attachment rename phpbt_attachment;
2 | alter table bug rename phpbt_bug;
3 | alter table bug_history rename phpbt_bug_history;
4 | alter table comment rename phpbt_comment;
5 | alter table component rename phpbt_component;
6 | alter table os rename phpbt_os;
7 | alter table project rename phpbt_project;
8 | alter table resolution rename phpbt_resolution;
9 | alter table saved_query rename phpbt_saved_query;
10 | alter table severity rename phpbt_severity;
11 | alter table status rename phpbt_status;
12 | alter table auth_user rename phpbt_auth_user;
13 | alter table version rename phpbt_version;
14 | alter table auth_group rename phpbt_auth_group;
15 | alter table auth_perm rename phpbt_auth_perm;
16 | alter table user_group rename phpbt_user_group;
17 | alter table user_perm rename phpbt_user_perm;
18 | alter table group_perm rename phpbt_group_perm;
19 | alter table bug_group rename phpbt_bug_group;
20 | alter table project_group rename phpbt_project_group;
21 |
--------------------------------------------------------------------------------
/templates/.htaccess:
--------------------------------------------------------------------------------
1 | Order Deny,Allow
2 | Deny from all
--------------------------------------------------------------------------------
/templates/default/.htaccess:
--------------------------------------------------------------------------------
1 | Order Deny,Allow
2 | Deny from all
--------------------------------------------------------------------------------
/templates/default/admin/.htaccess:
--------------------------------------------------------------------------------
1 | Order Deny,Allow
2 | Deny from all
--------------------------------------------------------------------------------
/templates/default/admin/badperm.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/templates/default/admin/configure.html:
--------------------------------------------------------------------------------
1 |
46 |
--------------------------------------------------------------------------------
/templates/default/admin/database-edit.html.php:
--------------------------------------------------------------------------------
1 |
12 |
24 |
25 |
26 |
27 |
65 |
--------------------------------------------------------------------------------
/templates/default/admin/databaselist.html.php:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 | -
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
26 |
27 |
28 |
29 | ')">
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/templates/default/admin/edit-submit.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/templates/default/admin/error.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $text";
6 | else echo $text;
7 | ?>
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/templates/default/admin/group-edit.html.php:
--------------------------------------------------------------------------------
1 |
9 |
21 |
22 |
23 |
69 |
70 |
--------------------------------------------------------------------------------
/templates/default/admin/pagination.html:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/templates/default/admin/site-edit.html.php:
--------------------------------------------------------------------------------
1 |
12 |
24 |
25 |
26 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/templates/default/admin/version-edit.html:
--------------------------------------------------------------------------------
1 |
3 |
15 |
16 |
17 |
18 |
58 |
59 |
--------------------------------------------------------------------------------
/templates/default/admin/wrap-popup.php:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 | phpBugTracker Admin -
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/templates/default/badgroup.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | You must be a member of the group to use this page.
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/templates/default/badperm.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | You must first login before using this page.
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/templates/default/base/removetemplates.html:
--------------------------------------------------------------------------------
1 |
2 | The compiled templates have been removed, so you can now uninstall
3 | phpBugTracker by closing this browser window and removing the installation
4 | directory. If you don't wish to uninstall phpBugTracker, then simply browse
5 | through the site and the templates will be recompiled.
6 |
7 |
--------------------------------------------------------------------------------
/templates/default/base/smartymissing.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Smarty Templates Missing
4 |
5 |
6 |
7 | An error has occurred
8 |
9 |
10 | The Smarty templates class is not in your include path. Either specify
11 | the location of smarty via the SMARTY_PATH define in config.php
12 | (and don't forget the trailing slash) or install smarty in your include path.
13 |
14 | The Smarty templates class could not be found at .
15 |
16 | Without this class being available, phpBugTracker will not be able to work.
17 | Smarty can be downloaded from
the smarty
18 | website . Please reload this page when smarty has been installed.
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/templates/default/base/templatesperm.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Compiled Templates Directory Not Writeable
4 |
5 |
8 |
9 |
10 | An error has occurred
11 |
12 | The "c_templates" subdirectory is not writeable by the
13 | web process. This needs to be corrected before the installation can proceed
14 | so the templates can be compiled by smarty. Please reload this page when
15 | this has been corrected.
16 |
17 |
18 | On a unix system such as linux, this can either be accomplished by
19 | making the directory writeable by everyone...
20 |
21 | $ chmod a+w c_templates
22 |
23 |
24 | ... or by changing the ownership of the directory to the webserver.
25 | For example, if your web server is running as the user www-data, you
26 | can change the ownership as follows (you must become root first):
27 |
28 | $ chown www-data c_templates
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/templates/default/bugattachmentform.html:
--------------------------------------------------------------------------------
1 |
42 |
--------------------------------------------------------------------------------
/templates/default/bugemail-newbug.txt:
--------------------------------------------------------------------------------
1 | ============================================================================
2 | THIS MESSAGE WAS GENERATED BY THE BUGTRACKER SOFTWARE PLEASE DO NOT REPLY
3 |
4 | INSTEAD FOLLOW BUG'S URL BELOW IN ORDER TO DETAIL BUG:
5 | ============================================================================
6 | Bug #: ()
7 | Reported By:
8 | ----------------------------------------------------------------------------
9 | Summary:
10 | URL:
11 | Product:
12 | Version:
13 | Component:
14 | Site:
15 | Status:
16 | Resolution:
17 | Severity:
18 | OS/Version:
19 | Database:
20 | Priority:
21 | Assigned To:
22 | ============================================================================
23 |
24 | COMMENTS
25 |
26 | ----- Posted by at -----
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/templates/default/bugemail.txt:
--------------------------------------------------------------------------------
1 | ============================================================================
2 | THIS MESSAGE WAS GENERATED BY THE BUGTRACKER SOFTWARE
3 | PLEASE REPLY ONLINE, NOT BY EMAIL
4 | FOR MORE DETAILS CLICK ON THE LINK BELOW
5 | ============================================================================
6 | Bug #:
7 | Reported By:
8 | ----------------------------------------------------------------------------
9 | Summary:
10 | Priority:
11 | Severity:
12 | Resolution:
13 | Assigned To:
14 | Status:
15 | URL:
16 | Product:
17 | Component:
18 | Version:
19 | Site(s):
20 | To be Closed in Version:
21 | Closed in Version:
22 | OS/Version:
23 | Database:
24 |
25 |
26 | ----- Prior comment by at -----
27 |
28 |
29 | ----- New comment by at -----
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/templates/default/bughistory.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | >
12 |
13 |
14 |
19 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/templates/default/bugvotes.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | >
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/templates/default/changessaved.html:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/templates/default/editComment.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | :
6 |
7 |
8 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/templates/default/error.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $text";
6 | else echo $text;
7 | ?>
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/templates/default/images/spacer.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/a-v-k/phpBugTracker/f58c812b1357e15cc79df8df8c4d09f425538c83/templates/default/images/spacer.gif
--------------------------------------------------------------------------------
/templates/default/images/title.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/a-v-k/phpBugTracker/f58c812b1357e15cc79df8df8c4d09f425538c83/templates/default/images/title.gif
--------------------------------------------------------------------------------
/templates/default/install-dbfailure.html.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | The installation script could not connect to the database
%s on the host
%s using the specified username and password.
Please check these details are correct and that the database already exists then retry. "), $params['db_database'], $params['db_host']); ?>
14 |
15 |
16 | ' . $error_info . "\n";
18 | if ($testonly) {
19 | echo '
' . translate("Close window") . ' ';
20 | }
21 | ?>
22 |
23 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/templates/default/install-dbsuccess.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | %s on the host
%s using the specified username and password.
Congratulations!"), $params['db_database'], $params['db_host']); ?>
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/templates/default/install-failure.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 | Error log
37 |
38 |
39 |
40 | Please feel welcome to subscribe the phpbt-users mailing list by
41 | visiting the mailing list
42 | web page.
43 |
44 |
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/templates/default/login.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
61 |
62 | After login, you will be redirected to:
63 |
64 |
65 |
66 |
67 |
68 |
77 |
78 |
--------------------------------------------------------------------------------
/templates/default/logout.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | phpBugTracker
4 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/templates/default/newaccount-disabled.html:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/templates/default/newaccount.tpl:
--------------------------------------------------------------------------------
1 |
2 | {$txtTitle}
3 |
4 |
5 |
6 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/templates/default/newaccountsuccess.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/templates/default/newbugform.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Bug Form
4 |
5 |
6 |
7 |
8 |
9 |
80 |
81 |
82 |
83 |
84 |
--------------------------------------------------------------------------------
/templates/default/projectlist.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | %s:', $projects[$i]['project_id'], htmlspecialchars($projects[$i]['project_name'])); ?>
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/templates/default/report.html.php:
--------------------------------------------------------------------------------
1 |
2 | :
3 |
4 |
5 |
6 |
7 | ">
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | $val) { ?>
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/templates/default/upgrade-finished.html.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Upgrade phpBugTracker
8 |
9 |
10 |
11 | 0) { ?>
12 |
13 | Error log
14 |
15 |
16 |
17 |
18 |
22 |
23 |
24 |
25 |
28 |
29 |
30 |
31 |
35 |
36 | Continue update to next version
37 |
38 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/templates/default/upgrade.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/templates/default/wrap-popup.php:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 | phpBugTracker -
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | smarty->display($content_template);
19 | } else {
20 | include($content_template);
21 | }
22 | ?>
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/tmp/.htaccess:
--------------------------------------------------------------------------------
1 | Order Deny,Allow
2 | Deny from all
--------------------------------------------------------------------------------
/tmp/README:
--------------------------------------------------------------------------------
1 | this dir must be write accessible
--------------------------------------------------------------------------------
/tmp/sm_cache/null:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/a-v-k/phpBugTracker/f58c812b1357e15cc79df8df8c4d09f425538c83/tmp/sm_cache/null
--------------------------------------------------------------------------------
/tmp/templates_c/null:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/a-v-k/phpBugTracker/f58c812b1357e15cc79df8df8c4d09f425538c83/tmp/templates_c/null
--------------------------------------------------------------------------------