├── phpinfo.php
├── application
├── views
│ ├── contacts
│ │ ├── index.php
│ │ └── del_contact.php
│ ├── notifier
│ │ ├── error_log
│ │ ├── forgot_password.php
│ │ ├── new_account.php
│ │ ├── updated_account.php
│ │ ├── new_comment.php
│ │ ├── complete_task.php
│ │ ├── detach_files_ticket.php
│ │ ├── new_file.php
│ │ ├── new_task.php
│ │ ├── new_message.php
│ │ ├── task_assigned.php
│ │ ├── milestone_assigned.php
│ │ ├── select_receivers.php
│ │ └── attach_files_ticket.php
│ ├── user
│ │ ├── index.php
│ │ ├── card.php
│ │ ├── del_user.php
│ │ └── radio.php
│ ├── feed
│ │ ├── recent_activities.php
│ │ ├── render_file.php
│ │ ├── render_object.php
│ │ ├── render_task_list.php
│ │ ├── render_tasks.php
│ │ ├── render_comment.php
│ │ └── render_message.php
│ ├── page_attachment
│ │ ├── view_DefaultObject.php
│ │ ├── view_EmptyAttachment.php
│ │ ├── view_Users.php
│ │ ├── view_ProjectTasks.php
│ │ └── view_ProjectTickets.php
│ ├── application
│ │ ├── object_options.php
│ │ └── system_notices.php
│ ├── error
│ │ ├── error_message.php
│ │ └── db_connect.php
│ ├── textile_help_sidebar.php
│ ├── administration
│ │ ├── system_info.php
│ │ ├── members.php
│ │ ├── tools.php
│ │ ├── configuration.php
│ │ ├── browse_log.php
│ │ ├── upgrade.php
│ │ └── tool_test_email.php
│ ├── access
│ │ ├── login.php
│ │ └── forgot_password.php
│ ├── form_errors.php
│ ├── config
│ │ └── update_category_sidebar.php
│ ├── task
│ │ ├── view_list.php
│ │ ├── index.php
│ │ ├── del_list.php
│ │ ├── move_list.php
│ │ ├── del_task.php
│ │ ├── reorder_tasks.php
│ │ ├── view_progressbar.php
│ │ └── copy_list.php
│ ├── project_settings
│ │ └── index.php
│ ├── project
│ │ ├── search_sidebar.php
│ │ ├── tags.php
│ │ ├── del_project.php
│ │ ├── pageactions.php
│ │ ├── edit_logo.php
│ │ └── view_progressbar.php
│ ├── account
│ │ ├── index.php
│ │ └── radio.php
│ ├── message
│ │ ├── index_sidebar.php
│ │ ├── del_message.php
│ │ ├── move_message.php
│ │ ├── view_message_short.php
│ │ ├── index.old.php
│ │ └── add_comment.php
│ ├── dashboard
│ │ ├── my_tasks_sidebar.php
│ │ ├── contacts_sidebar.php
│ │ └── my_projects_sidebar.php
│ ├── milestone
│ │ ├── view.php
│ │ ├── del_milestone.php
│ │ ├── view_progressbar.php
│ │ └── index_sidebar.php
│ ├── company
│ │ ├── del_company.php
│ │ ├── card.php
│ │ └── view_client_sidebar.php
│ └── comment
│ │ └── post_status_update_form.php
├── layouts
│ ├── ical.php
│ ├── xml.php
│ ├── memo.php
│ ├── minimal.php
│ ├── complete_install.php
│ └── dialog.php
├── models
│ ├── plugins
│ │ └── Plugin.class.php
│ ├── project_task_lists
│ │ └── ProjectTaskLists.class.php
│ ├── project_tasks
│ │ └── ProjectTasks.class.php
│ ├── permissions
│ │ └── Permission.class.php
│ ├── searchable_objects
│ │ └── SearchableObject.class.php
│ ├── project_user_permissions
│ │ ├── ProjectUserPermission.class.php
│ │ └── ProjectUserPermissions.class.php
│ ├── config_handlers
│ │ ├── general
│ │ │ ├── TextConfigHandler.class.php
│ │ │ ├── PasswordConfigHandler.class.php
│ │ │ ├── StringConfigHandler.class.php
│ │ │ ├── BoolConfigHandler.class.php
│ │ │ ├── FloatConfigHandler.class.php
│ │ │ ├── IntegerConfigHandler.class.php
│ │ │ └── DateTimeConfigHandler.class.php
│ │ └── complex
│ │ │ ├── DayOfWeekConfigHandler.class.php
│ │ │ ├── SecureLDAPConnectionConfigHandler.class.php
│ │ │ ├── MailTransportConfigHandler.class.php
│ │ │ ├── FileStorageConfigHandler.class.php
│ │ │ ├── DefaultDashboardActionConfigHandler.class.php
│ │ │ └── SecureSmtpConnectionConfigHandler.class.php
│ ├── project_users
│ │ └── ProjectUser.class.php
│ ├── notifier
│ │ └── NotifierConnectionError.class.php
│ ├── errors
│ │ ├── OwnerCompanyDnxError.class.php
│ │ └── AdministratorDnxError.class.php
│ ├── contacts
│ │ └── ContactImValue.class.php
│ ├── user_im_values
│ │ └── UserImValue.class.php
│ ├── administration_tools
│ │ ├── AdministrationTools.class.php
│ │ └── AdministrationTool.class.php
│ ├── config_categories
│ │ └── ConfigCategories.class.php
│ └── message_subscriptions
│ │ └── MessageSubscription.class.php
├── plugins
│ └── plugins.txt
├── helpers
│ └── textile.php
├── permissions.php
└── controllers
│ └── ApplicationController.class.php
├── public
├── patch
│ ├── xxxx-test.sql
│ ├── parse_error.php
│ ├── xxxx-projectnote.sql
│ ├── xxxx-parent-project.sql
│ ├── xxxx-parent-folder.sql
│ ├── xxxx-ticket-milestone.sql
│ ├── xxxx-user-locale.sql
│ ├── xxxx-i18n-url.sql
│ ├── 3121-parent-page.sql
│ ├── 3134-dashboard-logs-count.sql
│ ├── xxxx-logon_show_options.sql
│ ├── 2300-disable-application-logs.sql
│ ├── xxxx-start-date-task.sql
│ ├── xxxx-send-notification-default.sql
│ ├── xxxx-administration-tool.sql
│ ├── xxxx-projectlinks.sql
│ ├── xxxx-wiki.sql
│ ├── xxxx-config_ldap_domain.sql
│ ├── xxxx-page_attachments.sql
│ ├── xxxx-more_permissions.sql
│ ├── 3051-db-auth.sql
│ └── error_log
├── wiki
│ ├── index.php
│ ├── list.gif
│ ├── error_log
│ └── wwww.css
├── install
│ ├── favicon.ico
│ ├── installation
│ │ ├── templates
│ │ │ ├── config_file.php
│ │ │ ├── __step_errors.php
│ │ │ ├── checks.php
│ │ │ ├── finish.php
│ │ │ ├── __step_controls.php
│ │ │ └── welcome.php
│ │ ├── steps
│ │ │ └── WelcomeStep.class.php
│ │ └── installation.php
│ ├── index.php
│ ├── library
│ │ ├── constants.php
│ │ └── classes
│ │ │ ├── Output.class.php
│ │ │ ├── Output_Console.class.php
│ │ │ └── Output_Html.class.php
│ └── console.php
├── assets
│ ├── javascript
│ │ ├── mediaplayer.swf
│ │ ├── jplayer
│ │ │ └── Jplayer.swf
│ │ ├── nativeradio
│ │ │ ├── license.txt
│ │ │ ├── nativeradio2small.swf
│ │ │ └── readme.txt
│ │ ├── jquery.lavalamp.min.js
│ │ └── pp.js
│ └── themes
│ │ └── themes.txt
├── upgrade
│ ├── templates
│ │ ├── config_file.php
│ │ ├── checklist.php
│ │ └── db_migration
│ │ │ └── addressbook_dbalteration.php
│ ├── library
│ │ └── classes
│ │ │ ├── Output.class.php
│ │ │ ├── Output_Console.class.php
│ │ │ └── Output_Html.class.php
│ ├── index.php
│ └── console.php
└── index.php
├── php.ini
├── favicon.ico
├── environment
├── library
│ └── database
│ │ └── database.php
├── templates
│ └── benchmark_timer_brief.php
├── classes
│ ├── container
│ │ └── IContainer.class.php
│ ├── UndefinedMethodException.class.php
│ ├── authentication
│ │ └── Authenticator.class.php
│ ├── logger
│ │ └── Logger_Backend.class.php
│ ├── Timezones.class.php
│ ├── flash
│ │ └── flash.php
│ ├── Error.class.php
│ └── datetimevalue
│ │ └── DateTimeValueLib.class.php
└── functions
│ └── utf.php
├── library
├── fpdf
│ ├── tutorial
│ │ ├── logo.png
│ │ ├── 20k_c1.txt
│ │ ├── calligra.ttf
│ │ ├── calligra.z
│ │ ├── makefont.php
│ │ ├── tuto1.php
│ │ ├── tuto7.php
│ │ ├── countries.txt
│ │ ├── index.htm
│ │ └── tuto2.php
│ ├── font
│ │ ├── courier.php
│ │ ├── courierb.php
│ │ ├── courieri.php
│ │ └── courierbi.php
│ ├── license.txt
│ ├── doc
│ │ ├── pageno.htm
│ │ ├── getx.htm
│ │ ├── gety.htm
│ │ ├── setfontsize.htm
│ │ ├── getstringwidth.htm
│ │ ├── close.htm
│ │ ├── ln.htm
│ │ ├── error.htm
│ │ ├── setx.htm
│ │ ├── sety.htm
│ │ ├── settopmargin.htm
│ │ ├── setrightmargin.htm
│ │ ├── addlink.htm
│ │ ├── setxy.htm
│ │ ├── setlinewidth.htm
│ │ ├── setleftmargin.htm
│ │ ├── line.htm
│ │ ├── setcompression.htm
│ │ ├── settitle.htm
│ │ ├── setsubject.htm
│ │ ├── setauthor.htm
│ │ ├── setlink.htm
│ │ ├── setkeywords.htm
│ │ ├── setmargins.htm
│ │ ├── setcreator.htm
│ │ ├── setautopagebreak.htm
│ │ ├── footer.htm
│ │ ├── header.htm
│ │ ├── text.htm
│ │ ├── aliasnbpages.htm
│ │ ├── settextcolor.htm
│ │ ├── link.htm
│ │ ├── setfillcolor.htm
│ │ ├── rect.htm
│ │ └── setdrawcolor.htm
│ ├── install.txt
│ └── fpdf.css
├── swift
│ ├── swift.php
│ └── lib
│ │ └── Swift
│ │ └── Authenticator
│ │ └── README
├── feed
│ └── Angie_Feed_Renderer.class.php
└── icalendar
│ ├── iCalendar.class.php
│ └── components
│ ├── iCalendar_Calendar.class.php
│ ├── iCalendar_Alarm.class.php
│ └── iCalendar_Todo.class.php
├── .htaccess
├── language
└── language.txt
├── index.php
├── version.php
├── config
└── empty.config.php
├── utf8bom.php
├── find.php
└── endings.php
/phpinfo.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/application/views/contacts/index.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/application/views/notifier/error_log:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/application/views/user/index.php:
--------------------------------------------------------------------------------
1 | Hahaha!
--------------------------------------------------------------------------------
/public/patch/xxxx-test.sql:
--------------------------------------------------------------------------------
1 | SHOW VARIABLES;
--------------------------------------------------------------------------------
/application/views/feed/recent_activities.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/wiki/index.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/application/views/feed/render_file.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/php.ini:
--------------------------------------------------------------------------------
1 | upload_limit = 8M
2 | upload_max_filesize = 20M
3 |
--------------------------------------------------------------------------------
/application/views/feed/render_object.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/application/views/feed/render_task_list.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/application/views/feed/render_tasks.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Project-Pier/ProjectPier-Core/HEAD/favicon.ico
--------------------------------------------------------------------------------
/application/views/page_attachment/view_DefaultObject.php:
--------------------------------------------------------------------------------
1 | getText();
3 | ?>
--------------------------------------------------------------------------------
/public/wiki/list.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Project-Pier/ProjectPier-Core/HEAD/public/wiki/list.gif
--------------------------------------------------------------------------------
/application/layouts/ical.php:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/environment/library/database/database.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/install/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Project-Pier/ProjectPier-Core/HEAD/public/install/favicon.ico
--------------------------------------------------------------------------------
/application/views/application/object_options.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/library/fpdf/tutorial/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Project-Pier/ProjectPier-Core/HEAD/library/fpdf/tutorial/logo.png
--------------------------------------------------------------------------------
/application/views/error/error_message.php:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/library/fpdf/tutorial/20k_c1.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Project-Pier/ProjectPier-Core/HEAD/library/fpdf/tutorial/20k_c1.txt
--------------------------------------------------------------------------------
/library/fpdf/tutorial/calligra.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Project-Pier/ProjectPier-Core/HEAD/library/fpdf/tutorial/calligra.ttf
--------------------------------------------------------------------------------
/library/fpdf/tutorial/calligra.z:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Project-Pier/ProjectPier-Core/HEAD/library/fpdf/tutorial/calligra.z
--------------------------------------------------------------------------------
/public/patch/parse_error.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/patch/xxxx-projectnote.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE `project_users` ADD `note` TEXT DEFAULT '' AFTER `user_id`;
2 |
--------------------------------------------------------------------------------
/public/assets/javascript/mediaplayer.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Project-Pier/ProjectPier-Core/HEAD/public/assets/javascript/mediaplayer.swf
--------------------------------------------------------------------------------
/public/patch/xxxx-parent-project.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE `projects` ADD `parent_id` INT( 10 ) NOT NULL DEFAULT 0 AFTER `name`;
--------------------------------------------------------------------------------
/application/views/textile_help_sidebar.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/assets/javascript/jplayer/Jplayer.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Project-Pier/ProjectPier-Core/HEAD/public/assets/javascript/jplayer/Jplayer.swf
--------------------------------------------------------------------------------
/public/patch/xxxx-parent-folder.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE `project_folders` ADD `parent_id` INT( 10 ) NOT NULL DEFAULT 0 AFTER `name`;
--------------------------------------------------------------------------------
/public/assets/javascript/nativeradio/license.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Project-Pier/ProjectPier-Core/HEAD/public/assets/javascript/nativeradio/license.txt
--------------------------------------------------------------------------------
/public/patch/xxxx-ticket-milestone.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE `project_tickets` ADD `milestone_id` INT( 10 ) NOT NULL DEFAULT 0 AFTER `project_id`;
--------------------------------------------------------------------------------
/library/fpdf/font/courier.php:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/library/fpdf/font/courierb.php:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/.htaccess:
--------------------------------------------------------------------------------
1 | AddDefaultCharset utf-8
2 | # Uncommenting the following lines may generare an Internal Server Error
3 | # php_value upload_max_filesize 16M
4 | # php_value post_max_size 16M
--------------------------------------------------------------------------------
/application/layouts/xml.php:
--------------------------------------------------------------------------------
1 |
2 | ' ?>
3 |
--------------------------------------------------------------------------------
/library/fpdf/font/courieri.php:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/public/assets/javascript/nativeradio/nativeradio2small.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Project-Pier/ProjectPier-Core/HEAD/public/assets/javascript/nativeradio/nativeradio2small.swf
--------------------------------------------------------------------------------
/library/fpdf/font/courierbi.php:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/application/views/feed/render_comment.php:
--------------------------------------------------------------------------------
1 | isPrivate()) {
3 | echo "".lang('private comment')." ";
4 | } // if
5 | echo do_textile($object->getText());
6 | ?>
--------------------------------------------------------------------------------
/application/views/feed/render_message.php:
--------------------------------------------------------------------------------
1 | isPrivate()) {
3 | echo "".lang('private message')." ";
4 | } // if
5 | echo do_textile($object->getText());
6 | ?>
--------------------------------------------------------------------------------
/library/fpdf/tutorial/makefont.php:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/public/patch/xxxx-user-locale.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE `users` ADD `locale` varchar( 50 ) default 'en_us' AFTER twister;
--------------------------------------------------------------------------------
/application/views/page_attachment/view_EmptyAttachment.php:
--------------------------------------------------------------------------------
1 |
2 | apply_filters('pageattachment_text', do_textile($attachment->getText())); ?>
3 |
--------------------------------------------------------------------------------
/public/patch/xxxx-i18n-url.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE `i18n_locales` ADD `translation_url` varchar( 255 ) default '' AFTER editor_id;
--------------------------------------------------------------------------------
/application/views/notifier/forgot_password.php:
--------------------------------------------------------------------------------
1 | getDisplayName()) ?>,
2 |
3 |
4 |
5 | --
6 |
--------------------------------------------------------------------------------
/language/language.txt:
--------------------------------------------------------------------------------
1 | Copy a translation here to make it available for use.
2 |
3 | Example directory structures:
4 | /language/en_us
5 | /language/es_es
6 |
7 | Note: Plugins are maintained in their own repositories.
--------------------------------------------------------------------------------
/library/fpdf/tutorial/tuto1.php:
--------------------------------------------------------------------------------
1 | AddPage();
6 | $pdf->SetFont('Arial','B',16);
7 | $pdf->Cell(40,10,'Hello World!');
8 | $pdf->Output();
9 | ?>
10 |
--------------------------------------------------------------------------------
/application/models/plugins/Plugin.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/wiki/error_log:
--------------------------------------------------------------------------------
1 | [27-Feb-2011 15:35:03] PHP Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/sharec/public_html/pp086/public/wiki/wwww.php on line 43
2 |
--------------------------------------------------------------------------------
/application/views/error/db_connect.php:
--------------------------------------------------------------------------------
1 |
4 | We are sorry, but ProjectPier failed to connect to the database. Error report has been sent to the administrator so problem should be resolved soon.
--------------------------------------------------------------------------------
/public/patch/3121-parent-page.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE `wiki_pages` ADD `parent_id` INT( 10 ) NOT NULL DEFAULT 0 AFTER `id`;
2 | CREATE UNIQUE INDEX `subpages` ON `wiki_pages` ( `parent_id`, `id` );
--------------------------------------------------------------------------------
/environment/templates/benchmark_timer_brief.php:
--------------------------------------------------------------------------------
1 |
6 | TimeElapsed(), 3) ?>s
--------------------------------------------------------------------------------
/application/models/project_task_lists/ProjectTaskLists.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/patch/3134-dashboard-logs-count.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO `config_options` (`category_name`, `name`, `value`, `config_handler_class`, `is_system`, `option_order`, `dev_comment`) VALUES ('general', 'dashboard_logs_count', '50', 'IntegerConfigHandler', 0, 27, NULL);
--------------------------------------------------------------------------------
/public/patch/xxxx-logon_show_options.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO `config_options` (`category_name`, `name`, `value`, `config_handler_class`, `is_system`, `option_order`, `dev_comment`) VALUES ('features', 'login_show_options', '1', 'BoolConfigHandler', 0, 0, 'Show options on the login page');
--------------------------------------------------------------------------------
/public/patch/2300-disable-application-logs.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO `config_options` (`category_name`, `name`, `value`, `config_handler_class`, `is_system`, `option_order`, `dev_comment`) VALUES ('features', 'display_application_logs', '0', 'BoolConfigHandler', 0, 0, 'Display application logs');
2 |
--------------------------------------------------------------------------------
/library/swift/swift.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/patch/xxxx-start-date-task.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE `project_task_lists` ADD `start_date` datetime NOT NULL default '0000-00-00 00:00:00' after `priority`;
2 | ALTER TABLE `project_tasks` ADD `start_date` datetime NOT NULL default '0000-00-00 00:00:00' after `text`;
3 |
--------------------------------------------------------------------------------
/application/plugins/plugins.txt:
--------------------------------------------------------------------------------
1 | Copy a plugin here to make it available to be enabled.
2 |
3 | Enable plugins via the administrator menu (Administration > Plugins).
4 |
5 | Example directory structures:
6 | application/plugins/files/
7 | application/plugins/forms/
8 |
9 | Note: Plugins are maintained in their own repositories.
--------------------------------------------------------------------------------
/library/fpdf/tutorial/tuto7.php:
--------------------------------------------------------------------------------
1 | AddFont('Calligrapher','','calligra.php');
7 | $pdf->AddPage();
8 | $pdf->SetFont('Calligrapher','',35);
9 | $pdf->Cell(0,10,'Enjoy new fonts with FPDF!');
10 | $pdf->Output();
11 | ?>
12 |
--------------------------------------------------------------------------------
/public/patch/xxxx-send-notification-default.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO `config_options` (`category_name`, `name`, `value`, `config_handler_class`, `is_system`, `option_order`, `dev_comment`) VALUES ('features', 'send_notification_default', '0', 'BoolConfigHandler', 0, 0, 'Default setting for Send notification option');
--------------------------------------------------------------------------------
/application/models/project_tasks/ProjectTasks.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/application/models/permissions/Permission.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/upgrade/templates/config_file.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | $config_file_constant_value) { ?>
4 | define('', );
5 |
6 | return true;
7 | ' ?>
--------------------------------------------------------------------------------
/application/views/administration/system_info.php:
--------------------------------------------------------------------------------
1 | getDisplayName());
3 | administration_tabbed_navigation(ADMINISTRATION_TAB_TOOLS);
4 | administration_crumbs(array(
5 | array(lang('administration tools'), get_url('administration', 'tools')),
6 | array($tool->getDisplayName())
7 | ));
8 | ?>
9 |
--------------------------------------------------------------------------------
/application/views/access/login.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/assets/themes/themes.txt:
--------------------------------------------------------------------------------
1 | Copy a theme here to make it available for use.
2 |
3 | Switch themes via the administrator menu (Administration >
4 | Configuration > General).
5 |
6 | Example directory structures:
7 | public/assets/themes/marine/
8 | public/assets/themes/kampPro2
9 |
10 | Note: Themes are maintained in their own repositories.
--------------------------------------------------------------------------------
/public/install/installation/templates/config_file.php:
--------------------------------------------------------------------------------
1 |
2 | $config_file_constant_value) { ?>
3 | define('', );
4 |
5 | return true;
6 | ' ?>
--------------------------------------------------------------------------------
/application/models/searchable_objects/SearchableObject.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/library/fpdf/license.txt:
--------------------------------------------------------------------------------
1 | Permission is hereby granted, free of charge, to any person obtaining a copy
2 | of this software to use, copy, modify, distribute, sublicense, and/or sell
3 | copies of the software, and to permit persons to whom the software is furnished
4 | to do so.
5 |
6 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.
--------------------------------------------------------------------------------
/library/swift/lib/Swift/Authenticator/README:
--------------------------------------------------------------------------------
1 | The file POP3SMTP_.php deliberately ends with
2 | the underscore character so that Swift does not auto-load it.
3 | POP3 Before SMTP Authentication is not advertised by the SMTP server
4 | and the authenticator also needs constructor parameters.
5 |
6 | Load this file manually if you need POP Before SMTP authentication.
7 |
--------------------------------------------------------------------------------
/public/patch/xxxx-administration-tool.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO `administration_tools` (`name`, `controller`, `action`, `order`) VALUES ('browse_log', 'administration', 'browse_log', 4);
2 | INSERT INTO `administration_tools` (`name`, `controller`, `action`, `order`) VALUES ('system_info', 'administration', 'system_info', 3);
3 |
4 |
--------------------------------------------------------------------------------
/public/patch/xxxx-projectlinks.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE `project_links` ADD `description` TEXT DEFAULT '' AFTER `url`;
2 | ALTER TABLE `project_links` ADD `folder_id` INT( 10 ) NOT NULL DEFAULT 0 AFTER `project_id`;
3 | ALTER TABLE `project_links` ADD `logo_file` VARCHAR( 50 ) DEFAULT '' AFTER `description`;
--------------------------------------------------------------------------------
/public/index.php:
--------------------------------------------------------------------------------
1 | =')) {
4 | die('Installation error: in order to run ProjectPier you need PHP5. Your current PHP version is: ' . phpversion());
5 | } // if
6 | if (!defined('PUBLIC_FOLDER')) {
7 | define('PUBLIC_FOLDER', '');
8 | } // if
9 | require '../index.php';
10 |
11 | ?>
--------------------------------------------------------------------------------
/application/models/project_user_permissions/ProjectUserPermission.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/install/index.php:
--------------------------------------------------------------------------------
1 | executeStep(array_var($_GET, 'step', 1))
13 |
14 | ?>
--------------------------------------------------------------------------------
/application/views/application/system_notices.php:
--------------------------------------------------------------------------------
1 |
2 |
11 |
--------------------------------------------------------------------------------
/public/patch/xxxx-wiki.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE `wiki_pages` ADD `publish` tinyint(1) unsigned default 0;
2 | ALTER TABLE `wiki_pages` ADD `locked` tinyint(1) unsigned default 0;
3 | ALTER TABLE `wiki_pages` ADD `locked_by_id` int(10) unsigned default null;
4 | ALTER TABLE `wiki_pages` ADD `locked_on` datetime default '0000-00-00 00:00:00';
--------------------------------------------------------------------------------
/public/install/library/constants.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/application/helpers/textile.php:
--------------------------------------------------------------------------------
1 | TextileRestricted($text, false, false);
13 | $text = $textile->TextileThis($text, false, false);
14 | return add_links($text);
15 | } // do_textile
16 |
17 | ?>
--------------------------------------------------------------------------------
/public/install/library/classes/Output.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/upgrade/library/classes/Output.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/patch/xxxx-config_ldap_domain.sql:
--------------------------------------------------------------------------------
1 | DELETE FROM `config_options` where `category_name`= 'general' AND `name` = 'ldap_domain';
2 | INSERT INTO `config_options` (`category_name`, `name`, `value`, `config_handler_class`, `is_system`, `option_order`, `dev_comment`) VALUES ('general', 'ldap_domain', '', 'StringConfigHandler', 0, 0, 'Note: %s is replaced with user name. Example 1. %s@example.com . Example 2. uid=%s,dc=example,dc=com');
3 |
--------------------------------------------------------------------------------
/application/views/administration/members.php:
--------------------------------------------------------------------------------
1 | owner_company()->getAddUserUrl()
9 | ));
10 | } // if
11 |
12 | ?>
13 | includeTemplate(get_template_path('list_users', 'administration')) ?>
14 |
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 | =')) {
8 | die('Installation error: in order to run ProjectPier you need PHP5. Your current PHP version is: ' . phpversion());
9 | } // if
10 | define('PUBLIC_FOLDER', 'public');
11 | require 'init.php';
12 | ?>
--------------------------------------------------------------------------------
/environment/classes/container/IContainer.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/install/installation/templates/__step_errors.php:
--------------------------------------------------------------------------------
1 | hasErrors()) { ?>
2 | getErrors() ?>
3 |
4 | 1) { ?>
5 |
Errors:
6 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/application/layouts/memo.php:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/library/fpdf/tutorial/countries.txt:
--------------------------------------------------------------------------------
1 | Austria;Vienna;83859;8075
2 | Belgium;Brussels;30518;10192
3 | Denmark;Copenhagen;43094;5295
4 | Finland;Helsinki;304529;5147
5 | France;Paris;543965;58728
6 | Germany;Berlin;357022;82057
7 | Greece;Athens;131625;10511
8 | Ireland;Dublin;70723;3694
9 | Italy;Roma;301316;57563
10 | Luxembourg;Luxembourg;2586;424
11 | Netherlands;Amsterdam;41526;15654
12 | Portugal;Lisbon;91906;9957
13 | Spain;Madrid;504790;39348
14 | Sweden;Stockholm;410934;8839
15 | United Kingdom;London;243820;58862
16 |
--------------------------------------------------------------------------------
/public/upgrade/templates/checklist.php:
--------------------------------------------------------------------------------
1 | Upgrade process log
2 |
3 | getChecklistItems() as $group_name => $checklist_items) { ?>
4 |
5 |
6 | : getText()) ?>
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/application/models/config_handlers/general/TextConfigHandler.class.php:
--------------------------------------------------------------------------------
1 | getValue());
19 | } // render
20 |
21 | } // TextConfigHandler
22 |
23 | ?>
--------------------------------------------------------------------------------
/application/views/form_errors.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
15 |
--------------------------------------------------------------------------------
/application/views/notifier/new_account.php:
--------------------------------------------------------------------------------
1 | getContact()->getDisplayName()) ?>,
2 |
3 | getCreatedBy()->getContact()->getDisplayName()) ?>.
4 | :
5 |
6 | : getUsername() ?>
7 |
8 | :
9 |
10 |
--------------------------------------------------------------------------------
/library/feed/Angie_Feed_Renderer.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/application/models/project_users/ProjectUser.class.php:
--------------------------------------------------------------------------------
1 | permissions) == 0) {
15 | $this->permissions = ProjectUserPermissions::getPermissionsForProjectUser($this);
16 | }
17 | return $this->permissions;
18 | } // getPermissions
19 |
20 | } // ProjectUser
21 | ?>
--------------------------------------------------------------------------------
/application/models/config_handlers/general/PasswordConfigHandler.class.php:
--------------------------------------------------------------------------------
1 | getValue(), array('class' => 'middle'));
19 | } // render
20 |
21 | } // PasswordConfigHandler
22 |
23 | ?>
--------------------------------------------------------------------------------
/application/views/config/update_category_sidebar.php:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/public/install/library/classes/Output_Console.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/upgrade/library/classes/Output_Console.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/application/views/task/view_list.php:
--------------------------------------------------------------------------------
1 | getName());
4 | project_tabbed_navigation('tasks');
5 | project_crumbs(array(
6 | array(lang('tasks'), get_url('task')),
7 | array($task_list->getName())
8 | ));
9 | if (ProjectTaskList::canAdd(logged_user(), active_project())) {
10 | add_page_action(lang('add task list'), get_url('task', 'add_list'));
11 | } // if
12 | ?>
13 | assign('on_list_page', true); ?>
14 | includeTemplate(get_template_path('task_list', 'task')); ?>
15 | getViewUrl()) ?>
--------------------------------------------------------------------------------
/library/fpdf/doc/pageno.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PageNo
6 |
7 |
8 |
9 | PageNo
10 | int PageNo()
11 | Description
12 | Returns the current page number.
13 | See also
14 | AliasNbPages() .
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/library/fpdf/install.txt:
--------------------------------------------------------------------------------
1 | The FPDF library is made up of the following elements:
2 |
3 | - the main file, fpdf.php, which contains the class
4 | - the font definition files located in the font directory
5 |
6 | The font definition files are necessary as soon as you want to output some text in a document.
7 | If they are not accessible, the SetFont() method will produce the following error:
8 |
9 | FPDF error: Could not include font definition file
10 |
11 |
12 | Remarks:
13 |
14 | - Only the files corresponding to the fonts actually used are necessary
15 | - The tutorials provided in this package are ready to be executed
16 |
--------------------------------------------------------------------------------
/application/models/config_handlers/general/StringConfigHandler.class.php:
--------------------------------------------------------------------------------
1 | getValue(), array('class' => 'middle'));
19 | } // render
20 |
21 | } // StringConfigHandler
22 |
23 | ?>
--------------------------------------------------------------------------------
/public/install/installation/templates/checks.php:
--------------------------------------------------------------------------------
1 | Step getStepNumber() ?>: Server check
2 | getCheckList() ?>
3 |
4 |
5 |
6 | getChecked()) { ?>
7 | OK: getMessage()) ?>
8 |
9 | getMessage()) ?>
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/version.php:
--------------------------------------------------------------------------------
1 |
19 |
--------------------------------------------------------------------------------
/application/views/project_settings/index.php:
--------------------------------------------------------------------------------
1 |
7 |
8 | isAdministrator() || active_project()->canEdit(logged_user())) { ?>
9 |
10 |
11 | isAdministrator() || active_project()->canChangePermissions(logged_user())) { ?>
12 |
13 |
14 |
--------------------------------------------------------------------------------
/application/models/notifier/NotifierConnectionError.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/application/views/notifier/updated_account.php:
--------------------------------------------------------------------------------
1 | getContact()->getDisplayName()) ?>,
2 |
3 |
4 | getUpdatedBy()->getContact()->getDisplayName()) ?>.
5 | :
6 |
7 |
8 | : getUsername() ?>
9 |
10 |
11 | :
12 |
13 |
14 |
15 |
16 |
17 | --
18 |
--------------------------------------------------------------------------------
/library/fpdf/doc/getx.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | GetX
6 |
7 |
8 |
9 | GetX
10 | float GetX()
11 | Description
12 | Returns the abscissa of the current position.
13 | See also
14 | SetX() ,
15 | GetY() ,
16 | SetY() .
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/library/fpdf/doc/gety.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | GetY
6 |
7 |
8 |
9 | GetY
10 | float GetY()
11 | Description
12 | Returns the ordinate of the current position.
13 | See also
14 | SetY() ,
15 | GetX() ,
16 | SetX() .
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/application/models/errors/OwnerCompanyDnxError.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/environment/classes/UndefinedMethodException.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/application/views/project/search_sidebar.php:
--------------------------------------------------------------------------------
1 |
2 |
13 |
--------------------------------------------------------------------------------
/public/upgrade/index.php:
--------------------------------------------------------------------------------
1 | executeScript(trim(array_var($form_data, 'script_class')));
13 | $status_messages = explode("\n", trim(ob_get_clean()));
14 |
15 | tpl_assign('status_messages', $status_messages);
16 | } // if
17 |
18 | tpl_display(get_template_path('layout'));
19 |
20 | ?>
--------------------------------------------------------------------------------
/application/models/errors/AdministratorDnxError.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/application/views/page_attachment/view_Users.php:
--------------------------------------------------------------------------------
1 | getObject();
3 | if (!$user) {
4 | ?>
5 |
6 |
7 | getText();?>
8 |
9 |
10 |
15 |
16 |
17 |
18 | includeTemplate(get_template_path('user_card', 'user'));
22 | } // if ?>
--------------------------------------------------------------------------------
/public/wiki/wwww.css:
--------------------------------------------------------------------------------
1 | @import '../assets/themes/redbase/stylesheets/project_website.css';
2 |
3 | xul {
4 | float: left;
5 | filter:alpha(opacity=90);
6 | -moz-opacity:.90;
7 | opacity:.90;
8 | list-style: none;
9 | margin: 0;
10 | padding: 0;
11 | position: absolute;
12 | z-index: 3000 !important;
13 | width: 240px;
14 | }
15 |
16 | xul#index li {
17 | text-align: left;
18 | float: left;
19 | list-style: none;
20 | padding: 3px 10px 3px 25px;
21 | margin: 5px;
22 | background: url(list.gif) 5px 5px no-repeat;
23 | }
24 |
25 | xli .project_name {
26 | margin-left: 10px;
27 | color: #ccc;
28 | }
29 |
30 | x#content {
31 | xfloat: right;
32 | position: absolute;
33 | left: 250px;
34 | }
--------------------------------------------------------------------------------
/application/views/account/index.php:
--------------------------------------------------------------------------------
1 | getDisplayName());
5 | account_tabbed_navigation();
6 | account_crumbs(lang('index'));
7 | add_page_action(array(
8 | lang('update profile') => logged_user()->getEditProfileUrl(),
9 | lang('change password') => logged_user()->getEditPasswordUrl()
10 | ));
11 |
12 | if ($user->canUpdatePermissions(logged_user())) {
13 | add_page_action(array(
14 | lang('permissions') => $user->getUpdatePermissionsUrl()
15 | ));
16 | } // if
17 |
18 | ?>
19 | assign('user', logged_user());
21 | $this->includeTemplate(get_template_path('contact_card', 'contacts'));
22 | ?>
--------------------------------------------------------------------------------
/application/views/message/index_sidebar.php:
--------------------------------------------------------------------------------
1 |
2 |
13 |
--------------------------------------------------------------------------------
/public/install/library/classes/Output_Html.class.php:
--------------------------------------------------------------------------------
1 | $print_message\n";
21 | } else {
22 | print "$print_message \n";
23 | } // if
24 | } // printMessage
25 |
26 | } // Output_Html
27 |
28 | ?>
--------------------------------------------------------------------------------
/public/upgrade/library/classes/Output_Html.class.php:
--------------------------------------------------------------------------------
1 | $print_message\n";
21 | } else {
22 | print "$print_message \n";
23 | } // if
24 | } // printMessage
25 |
26 | } // Output_Html
27 |
28 | ?>
--------------------------------------------------------------------------------
/public/assets/javascript/jquery.lavalamp.min.js:
--------------------------------------------------------------------------------
1 | (function($){$.fn.lavaLamp=function(o){o=$.extend({fx:"linear",speed:500,click:function(){}},o||{});return this.each(function(){var b=$(this),noop=function(){},$back=$('
').appendTo(b),$li=$("li",this),curr=$("li.current",this)[0]||$($li[0]).addClass("current")[0];$li.not(".back").hover(function(){move(this)},noop);$(this).hover(noop,function(){move(curr)});$li.click(function(e){setCurr(this);return o.click.apply(this,[e,this])});setCurr(curr);function setCurr(a){$back.css({"left":a.offsetLeft+"px","width":a.offsetWidth+"px"});curr=a};function move(a){$back.each(function(){$.dequeue(this,"fx")}).animate({width:a.offsetWidth,left:a.offsetLeft},o.speed,o.fx)}})}})(jQuery);
--------------------------------------------------------------------------------
/application/views/dashboard/my_tasks_sidebar.php:
--------------------------------------------------------------------------------
1 |
9 |
10 |
--------------------------------------------------------------------------------
/application/layouts/minimal.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | "image/x-icon")) ?>
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/application/models/contacts/ContactImValue.class.php:
--------------------------------------------------------------------------------
1 | getImTypeId());
19 | } // getImType
20 |
21 | /**
22 | * Return contact
23 | *
24 | * @access public
25 | * @param void
26 | * @return Contact
27 | */
28 | function getContact() {
29 | return Contacts::findById($this->getContactId());
30 | } // getContact
31 |
32 | } // ContactImValue
33 |
34 | ?>
--------------------------------------------------------------------------------
/application/views/dashboard/contacts_sidebar.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
10 |
11 |
16 |
--------------------------------------------------------------------------------
/application/views/notifier/new_comment.php:
--------------------------------------------------------------------------------
1 | getObject()->getObjectName());
4 | if ((!defined('SHOW_COMMENT_BODY')) or (SHOW_COMMENT_BODY == true)) {
5 | echo "\n----------------\n";
6 | echo $new_comment->getText();
7 | echo "\n----------------\n";
8 | }
9 | echo lang('view new comment').":\n";
10 | echo str_replace('&', '&', externalUrl($new_comment->getViewUrl()))."\n";
11 | echo lang('company') ?>: getName()."\n";
12 | echo lang('project') ?>: getProject()->getName()."\n";
13 | echo lang('author') ?>: getCreatedByDisplayName()."\n";
14 | echo lang('login').': '.externalUrl(ROOT_URL);
15 | ?>
--------------------------------------------------------------------------------
/application/views/user/card.php:
--------------------------------------------------------------------------------
1 | getDisplayName()));
5 | dashboard_tabbed_navigation();
6 | dashboard_crumbs($user->getDisplayName());
7 | if ($user->canUpdateProfile(logged_user())) {
8 | add_page_action(array(
9 | lang('update profile') => $user->getEditProfileUrl(),
10 | lang('change password') => $user->getEditPasswordUrl()
11 | ));
12 | } // if
13 |
14 | if ($user->canUpdatePermissions(logged_user())) {
15 | add_page_action(array(
16 | lang('permissions') => $user->getUpdatePermissionsUrl()
17 | ));
18 | } // if
19 |
20 | ?>
21 | includeTemplate(get_template_path('user_card', 'user'))
23 | ?>
--------------------------------------------------------------------------------
/library/icalendar/iCalendar.class.php:
--------------------------------------------------------------------------------
1 | render();
23 | } // render
24 |
25 | } // iCalendar
26 |
27 | ?>
--------------------------------------------------------------------------------
/public/upgrade/console.php:
--------------------------------------------------------------------------------
1 | upgrade($from_version, $to_version);
23 |
24 | ?>
--------------------------------------------------------------------------------
/library/fpdf/doc/setfontsize.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetFontSize
6 |
7 |
8 |
9 | SetFontSize
10 | SetFontSize(float size)
11 | Description
12 | Defines the size of the current font.
13 | Parameters
14 |
15 | size
16 |
17 | The size (in points).
18 |
19 |
20 | See also
21 | SetFont() .
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/library/icalendar/components/iCalendar_Calendar.class.php:
--------------------------------------------------------------------------------
1 | setName('VCALENDAR');
20 | $this->setValidComponents('VEVENT', 'VTODO', 'VJOURNAL', 'VFREEBUSY', 'VTIMEZONE', 'VALARM');
21 | $this->setValidProperties('CALSCALE', 'METHOD', 'PRODID', 'VERSION');
22 | } // __construct
23 |
24 | } // iCalendar_Calendar
25 |
26 | ?>
--------------------------------------------------------------------------------
/library/fpdf/doc/getstringwidth.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | GetStringWidth
6 |
7 |
8 |
9 | GetStringWidth
10 | float GetStringWidth(string s)
11 | Description
12 | Returns the length of a string in user unit. A font must be selected.
13 | Parameters
14 |
15 | s
16 |
17 | The string whose length is to be computed.
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/config/empty.config.php:
--------------------------------------------------------------------------------
1 |
24 |
--------------------------------------------------------------------------------
/library/fpdf/doc/close.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Close
6 |
7 |
8 |
9 | Close
10 | Close()
11 | Description
12 | Terminates the PDF document. It is not necessary to call this method explicitly because Output()
13 | does it automatically.
14 |
15 | If the document contains no page, AddPage() is called to prevent from getting an invalid document.
16 | See also
17 | Output() .
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/public/install/console.php:
--------------------------------------------------------------------------------
1 | setDatabaseType((string) trim(array_var($argv, 1)));
11 | $installation->setDatabaseHost((string) trim(array_var($argv, 2)));
12 | $installation->setDatabaseUsername((string) trim(array_var($argv, 3)));
13 | $installation->setDatabasePassword((string) array_var($argv, 4));
14 | $installation->setDatabaseName((string) trim(array_var($argv, 5)));
15 | $installation->setTablePrefix((string) trim(array_var($argv, 6)));
16 |
17 | $installation->execute();
18 |
19 | ?>
--------------------------------------------------------------------------------
/public/upgrade/templates/db_migration/addressbook_dbalteration.php:
--------------------------------------------------------------------------------
1 | ALTER TABLE `users`
2 | DROP `company_id`,
3 | DROP `display_name`,
4 | DROP `title`,
5 | DROP `avatar_file`,
6 | DROP `office_number`,
7 | DROP `fax_number`,
8 | DROP `mobile_number`,
9 | DROP `home_number`;
10 |
11 | ALTER TABLE `users` ADD `updated_by_id` INT(10) UNSIGNED NULL AFTER `updated_on`;
12 | ALTER TABLE `companies` ADD `is_favorite` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' AFTER `logo_file`;
13 | RENAME TABLE `user_im_values` TO `contact_im_values`;
14 | ALTER TABLE `contact_im_values` CHANGE `user_id` `contact_id` INT(10) UNSIGNED NOT NULL DEFAULT '0';
--------------------------------------------------------------------------------
/application/views/access/forgot_password.php:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/environment/classes/authentication/Authenticator.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/application/views/administration/tools.php:
--------------------------------------------------------------------------------
1 |
6 |
7 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/public/install/installation/templates/finish.php:
--------------------------------------------------------------------------------
1 | Step getStepNumber() ?>: Finish
2 | Installation process:
3 |
4 |
9 |
10 |
11 |
12 | Success!
13 | You have installed ProjectPier successfully . Press Finish and start managing your projects. ProjectPier will ask you to create an administrator and provide some details about your company first.
14 | Visit www.ProjectPier.org for news and updates. .
15 |
--------------------------------------------------------------------------------
/public/patch/xxxx-page_attachments.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE `page_attachments` (
2 | `id` int(10) unsigned NOT NULL auto_increment,
3 | `rel_object_id` int(10) unsigned NULL,
4 | `rel_object_manager` varchar(50) NULL,
5 | `project_id` int(10) unsigned NOT NULL ,
6 | `page_name` varchar(50) NOT NULL default '',
7 | `text` text NOT NULL,
8 | `order` tinyint(3) NOT NULL default '0',
9 | `created_on` datetime NOT NULL default '0000-00-00 00:00:00',
10 | `created_by_id` int(10) unsigned default NULL,
11 | `updated_on` datetime NOT NULL default '0000-00-00 00:00:00',
12 | `updated_by_id` int(10) unsigned default NULL,
13 | PRIMARY KEY (`id`)
14 | ) ENGINE=InnoDB ;
--------------------------------------------------------------------------------
/application/views/milestone/view.php:
--------------------------------------------------------------------------------
1 | getName());
4 | project_tabbed_navigation('milestones');
5 | project_crumbs(array(
6 | array(lang('milestones'), get_url('milestone', 'index')),
7 | array($milestone->getName())
8 | ));
9 |
10 | if (!$milestone->isCompleted()) {
11 | if (ProjectMessage::canAdd(logged_user(), $milestone->getProject())) {
12 | add_page_action(lang('add message'), $milestone->getAddMessageUrl());
13 | } // if
14 | if (ProjectTaskList::canAdd(logged_user(), $milestone->getProject())) {
15 | add_page_action(lang('add task list'), $milestone->getAddTaskListUrl());
16 | } //if
17 | } // if
18 |
19 | ?>
20 |
21 | includeTemplate(get_template_path('view_milestone', 'milestone')) ?>
22 |
--------------------------------------------------------------------------------
/application/models/user_im_values/UserImValue.class.php:
--------------------------------------------------------------------------------
1 | getImTypeId());
20 | } // getImType
21 |
22 | /**
23 | * Return user
24 | *
25 | * @access public
26 | * @param void
27 | * @return User
28 | */
29 | function getUser() {
30 | return Users::findById($this->getUserId());
31 | } // getUser
32 |
33 | } // UserImValue
34 |
35 | ?>
--------------------------------------------------------------------------------
/application/views/project/tags.php:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 | :
11 |
12 |
13 | - countObjectsByTag($tag_name)) ?>
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/public/assets/javascript/nativeradio/readme.txt:
--------------------------------------------------------------------------------
1 | Installation:
2 |
3 | - extrakt the download zip archiv in a folder
4 | - upload all files to your webserver
5 | - use the embeded code from example.html and customized the parameters
6 |
7 | variables: swfcolor, swfpause, swfstreamurl
8 | swfstreamurl - direct stream url (no support for container formate: pls, asx, etc.)
9 | swfcolor - the RGB hex value for colorized radio player
10 | swfwidth - width of swf
11 | swfpause - direct start the radio stream after loading the player (=0) or pause (=1)
12 | swfradiochannel - radio channel name is displayed on top from the player
13 |
14 | optionales variables: swfbuffer, swfradiochannel, swfinformations
15 | swfbuffer - browser buffer for reconnect, default value is 50 (MB)
16 |
17 |
18 | deutsche Informationen unter: http://blog.codingexpert.de/?p=66
--------------------------------------------------------------------------------
/environment/classes/logger/Logger_Backend.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/library/icalendar/components/iCalendar_Alarm.class.php:
--------------------------------------------------------------------------------
1 | setName('VALARM');
20 | $this->setValidProperties(
21 | 'ACTION',
22 | 'ATTACH',
23 | 'ATTENDEE',
24 | 'DESCRIPTION',
25 | 'DURATION',
26 | 'REPEAT',
27 | 'SUMMARY',
28 | 'TRIGGER',
29 | 'X-PROP'
30 | ); // setValidProperties
31 | } // __construct
32 |
33 | } // iCalendar_Alarm
34 |
35 | ?>
--------------------------------------------------------------------------------
/application/models/config_handlers/complex/DayOfWeekConfigHandler.class.php:
--------------------------------------------------------------------------------
1 | getValue() == "$dow" ? array('selected' => 'selected') : null;
22 | $options[] = option_tag(lang('weekday full '.$dow), "$dow", $option_attributes);
23 | } // for
24 |
25 | return select_box($control_name, $options);
26 | } // render
27 |
28 | } // DayOfWeekConfigHandler
29 |
30 | ?>
--------------------------------------------------------------------------------
/application/models/administration_tools/AdministrationTools.class.php:
--------------------------------------------------------------------------------
1 | '`order`'
19 | )); // findAll
20 | } // getAll
21 |
22 | /**
23 | * Return tool by name
24 | *
25 | * @param string $name
26 | * @return AdministrationTool
27 | */
28 | function getByName($name) {
29 | return self::findOne(array(
30 | 'conditions' => array('`name` = ?', $name),
31 | )); // findOne
32 | } // getByName
33 |
34 | } // AdministrationTools
35 |
36 | ?>
--------------------------------------------------------------------------------
/application/views/task/index.php:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 | assign('task_list', $task_list);
17 | $this->assign('on_list_page', false);
18 | $this->includeTemplate(get_template_path('task_list', 'task'));
19 | } // foreach
20 | ?>
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/application/models/config_categories/ConfigCategories.class.php:
--------------------------------------------------------------------------------
1 | $conditions,
21 | 'order' => '`category_order`'
22 | )); // array
23 | } // getAll
24 |
25 | } // ConfigCategories
26 |
27 | ?>
--------------------------------------------------------------------------------
/library/fpdf/doc/ln.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Ln
6 |
7 |
8 |
9 | Ln
10 | Ln([float h])
11 | Description
12 | Performs a line break. The current abscissa goes back to the left margin and the ordinate
13 | increases by the amount passed in parameter.
14 | Parameters
15 |
16 | h
17 |
18 | The height of the break.
19 |
20 | By default, the value equals the height of the last printed cell.
21 |
22 |
23 | See also
24 | Cell() .
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/library/fpdf/doc/error.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Error
6 |
7 |
8 |
9 | Error
10 | Error(string msg)
11 | Description
12 | This method is automatically called in case of fatal error; it simply outputs the message
13 | and halts the execution. An inherited class may override it to customize the error handling
14 | but should always halt the script, or the resulting document would probably be invalid.
15 | Parameters
16 |
17 | msg
18 |
19 | The error message.
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/public/install/installation/steps/WelcomeStep.class.php:
--------------------------------------------------------------------------------
1 | setName('Welcome');
21 | } // __construct
22 |
23 | /**
24 | * Show welcome message
25 | *
26 | * @access public
27 | * @param void
28 | * @return boolean
29 | */
30 | function execute() {
31 | $this->setContentFromTemplate('welcome.php');
32 | return array_var($_POST, 'submitted') == 'submitted';
33 | } // execute
34 |
35 | } // WelcomeStep
36 |
37 | ?>
--------------------------------------------------------------------------------
/library/fpdf/tutorial/index.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Tutorials
6 |
7 |
8 |
9 | Tutorials
10 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/utf8bom.php:
--------------------------------------------------------------------------------
1 | #!/usr/bin/php
2 | ';
7 | $rit = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($directory), RecursiveIteratorIterator::CHILD_FIRST);
8 | try {
9 | $count = 0;
10 | foreach ($rit as $file) {
11 | if ($file->isFile()) {
12 | $path_parts = pathinfo($file->getRealPath());
13 |
14 | if ('php' == $path_parts['extension']) {
15 | $object = new SplFileObject($file->getRealPath());
16 |
17 | if (false !== strpos($object->getCurrentLine(), STR_BOM)) {
18 | $count++;
19 | print $file->getRealPath()."\n";
20 | }
21 | }
22 | } else {
23 | print 'processing ' . $file->getRealPath()."\n";
24 | flush();
25 | }
26 |
27 | }
28 | echo 'done ' . $count . ' files found with BOM mark';
29 | } catch (Exception $e) {
30 | die ('Exception caught: '. $e->getMessage());
31 | }
32 |
33 | ?>
--------------------------------------------------------------------------------
/library/fpdf/doc/setx.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetX
6 |
7 |
8 |
9 | SetX
10 | SetX(float x)
11 | Description
12 | Defines the abscissa of the current position. If the passed value is negative, it is relative
13 | to the right of the page.
14 | Parameters
15 |
16 | x
17 |
18 | The value of the abscissa.
19 |
20 |
21 | See also
22 | GetX() ,
23 | GetY() ,
24 | SetY() ,
25 | SetXY() .
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/public/install/installation/templates/__step_controls.php:
--------------------------------------------------------------------------------
1 |
2 | hasNextStep()) { ?>
3 | hasPreviousStep()) { ?>
4 | Back
5 |
6 |
7 | getNextDisabled()) { ?>
8 | Try Again
9 |
10 | Next
11 |
12 |
13 |
14 |
15 |
16 |
17 | Finish
18 |
19 |
--------------------------------------------------------------------------------
/library/fpdf/tutorial/tuto2.php:
--------------------------------------------------------------------------------
1 | Image('logo.png',10,6,30);
11 | // Arial bold 15
12 | $this->SetFont('Arial','B',15);
13 | // Move to the right
14 | $this->Cell(80);
15 | // Title
16 | $this->Cell(30,10,'Title',1,0,'C');
17 | // Line break
18 | $this->Ln(20);
19 | }
20 |
21 | // Page footer
22 | function Footer()
23 | {
24 | // Position at 1.5 cm from bottom
25 | $this->SetY(-15);
26 | // Arial italic 8
27 | $this->SetFont('Arial','I',8);
28 | // Page number
29 | $this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C');
30 | }
31 | }
32 |
33 | // Instanciation of inherited class
34 | $pdf = new PDF();
35 | $pdf->AliasNbPages();
36 | $pdf->AddPage();
37 | $pdf->SetFont('Times','',12);
38 | for($i=1;$i<=40;$i++)
39 | $pdf->Cell(0,10,'Printing line number '.$i,0,1);
40 | $pdf->Output();
41 | ?>
42 |
--------------------------------------------------------------------------------
/application/layouts/complete_install.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/library/fpdf/doc/sety.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetY
6 |
7 |
8 |
9 | SetY
10 | SetY(float y)
11 | Description
12 | Moves the current abscissa back to the left margin and sets the ordinate. If the passed value
13 | is negative, it is relative to the bottom of the page.
14 | Parameters
15 |
16 | y
17 |
18 | The value of the ordinate.
19 |
20 |
21 | See also
22 | GetX() ,
23 | GetY() ,
24 | SetX() ,
25 | SetXY() .
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/application/models/project_user_permissions/ProjectUserPermissions.class.php:
--------------------------------------------------------------------------------
1 | '`project_id` = '.$project_user->getProjectId().' and `user_id` = '.$project_user->getUserId()
16 | )
17 | );
18 | if (is_array($pups)) {
19 | foreach ($pups as $pup) {
20 | $permissions[] = Permissions::getPermissionString($pup->getPermissionId());
21 | }
22 | } //if
23 | return $permissions;
24 | } //getPermissionsForProjectUser
25 | } // ProjectUserPermissions
26 | ?>
--------------------------------------------------------------------------------
/library/fpdf/doc/settopmargin.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetTopMargin
6 |
7 |
8 |
9 | SetTopMargin
10 | SetTopMargin(float margin)
11 | Description
12 | Defines the top margin. The method can be called before creating the first page.
13 | Parameters
14 |
15 | margin
16 |
17 | The margin.
18 |
19 |
20 | See also
21 | SetLeftMargin() ,
22 | SetRightMargin() ,
23 | SetAutoPageBreak() ,
24 | SetMargins() .
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/library/fpdf/doc/setrightmargin.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetRightMargin
6 |
7 |
8 |
9 | SetRightMargin
10 | SetRightMargin(float margin)
11 | Description
12 | Defines the right margin. The method can be called before creating the first page.
13 | Parameters
14 |
15 | margin
16 |
17 | The margin.
18 |
19 |
20 | See also
21 | SetLeftMargin() ,
22 | SetTopMargin() ,
23 | SetAutoPageBreak() ,
24 | SetMargins() .
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/application/models/config_handlers/complex/SecureLDAPConnectionConfigHandler.class.php:
--------------------------------------------------------------------------------
1 | getValue() == 'no' ? array('selected' => 'selected') : null;
19 | $options[] = option_tag(lang('secure ldap connection no'), 'no', $option_attributes);
20 |
21 | $option_attributes = $this->getValue() == 'tls' ? array('selected' => 'selected') : null;
22 | $options[] = option_tag(lang('secure ldap connection tls'), 'tls', $option_attributes);
23 |
24 | return select_box($control_name, $options);
25 | } // render
26 |
27 | } // SecureLDAPConnectionConfigHandler
28 |
29 | ?>
--------------------------------------------------------------------------------
/application/models/config_handlers/general/BoolConfigHandler.class.php:
--------------------------------------------------------------------------------
1 | getConfigOption()->getName(), $this->getValue(), lang('yes'), lang('no'));
13 | } // render
14 |
15 | /**
16 | * Conver $value to raw value
17 | *
18 | * @param mixed $value
19 | * @return null
20 | */
21 | protected function phpToRaw($value) {
22 | return $value ? '1' : '0';
23 | } // phpToRaw
24 |
25 | /**
26 | * Convert raw value to php
27 | *
28 | * @param string $value
29 | * @return mixed
30 | */
31 | protected function rawToPhp($value) {
32 | return (integer) $value ? true : false;
33 | } // rawToPhp
34 |
35 | } // BoolConfigHandler
36 |
37 | ?>
--------------------------------------------------------------------------------
/library/fpdf/doc/addlink.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | AddLink
6 |
7 |
8 |
9 | AddLink
10 | int AddLink()
11 | Description
12 | Creates a new internal link and returns its identifier. An internal link is a clickable area
13 | which directs to another place within the document.
14 |
15 | The identifier can then be passed to Cell(), Write(), Image() or Link(). The destination is
16 | defined with SetLink().
17 | See also
18 | Cell() ,
19 | Write() ,
20 | Image() ,
21 | Link() ,
22 | SetLink() .
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/library/fpdf/doc/setxy.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetXY
6 |
7 |
8 |
9 | SetXY
10 | SetXY(float x, float y)
11 | Description
12 | Defines the abscissa and ordinate of the current position. If the passed values are negative,
13 | they are relative respectively to the right and bottom of the page.
14 | Parameters
15 |
16 | x
17 |
18 | The value of the abscissa.
19 |
20 | y
21 |
22 | The value of the ordinate.
23 |
24 |
25 | See also
26 | SetX() ,
27 | SetY() .
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/library/fpdf/doc/setlinewidth.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetLineWidth
6 |
7 |
8 |
9 | SetLineWidth
10 | SetLineWidth(float width)
11 | Description
12 | Defines the line width. By default, the value equals 0.2 mm. The method can be called before
13 | the first page is created and the value is retained from page to page.
14 | Parameters
15 |
16 | width
17 |
18 | The width.
19 |
20 |
21 | See also
22 | Line() ,
23 | Rect() ,
24 | Cell() ,
25 | MultiCell() .
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/public/install/installation/templates/welcome.php:
--------------------------------------------------------------------------------
1 | Step getStepNumber() ?>: Welcome
2 | ProjectPier is an open source collaboration and project management system. Please make sure
3 | you meet the minimum system requirements and have the database login information below before
4 | proceeding.
5 | System Requirements:
6 |
7 | At least PHP 5.2 (MySQL required, GD and SimpleXML optional)
8 | At least MySQL 4.1 (InnoDB support preferred)
9 | At least Apache 2.0 or IIS 5.0
10 |
11 |
12 | Information you need to supply:
13 |
14 | Database Host
15 | Database User
16 | Database Password
17 | Database Name
18 | Table Prefix
19 |
20 |
21 | Installation steps:
22 |
23 | getSteps() as $this_step) { ?>
24 | getName()) ?>
25 |
26 |
--------------------------------------------------------------------------------
/application/views/administration/configuration.php:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 | isEmpty()) { ?>
10 |
11 |
12 |
13 | getDisplayDescription())) { ?>
14 |
getDisplayDescription()) ?>
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/application/views/user/del_user.php:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/application/views/message/del_message.php:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/application/views/project/del_project.php:
--------------------------------------------------------------------------------
1 | includeTemplate(get_template_path('project/pageactions'));
6 | ?>
7 |
--------------------------------------------------------------------------------
/application/models/config_handlers/complex/MailTransportConfigHandler.class.php:
--------------------------------------------------------------------------------
1 | getValue() == 'mail()' ? array('selected' => 'selected') : null;
21 | $options[] = option_tag(lang('mail transport mail()'), 'mail()', $option_attributes);
22 |
23 | $option_attributes = $this->getValue() == 'smtp' ? array('selected' => 'selected') : null;
24 | $options[] = option_tag(lang('mail transport smtp'), 'smtp', $option_attributes);
25 |
26 | return select_box($control_name, $options);
27 | } // render
28 |
29 | } // MailTransportConfigHandler
30 |
31 | ?>
--------------------------------------------------------------------------------
/application/views/company/del_company.php:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/application/views/task/del_list.php:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/public/assets/javascript/pp.js:
--------------------------------------------------------------------------------
1 | function ie_menu_fix() {
2 | var sfEls = document.getElementById("account_more_menu").getElementsByTagName("LI");
3 | for (var i=0; i0? " ": "") + "sfhover";
6 | }
7 | // event added to keep menu items from disappearing
8 | sfEls[i].onMouseDown=function() {
9 | this.className+=(this.className.length>0? " ": "") + "sfhover";
10 | }
11 | // event added to keep menu items from disappearing
12 | sfEls[i].onMouseUp=function() {
13 | this.className+=(this.className.length>0? " ": "") + "sfhover";
14 | }
15 | sfEls[i].onmouseout=function() {
16 | this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"), "");
17 | }
18 | }
19 | }
20 | //onload call
21 | if (document.all) { // Load sfHover only in IE; other browsers don't need it
22 | if (window.attachEvent) window.attachEvent("onload", ie_menu_fix);
23 | else window.onload = ie_menu_fix; // Mac IE5 needs this
24 | }
25 |
--------------------------------------------------------------------------------
/application/views/notifier/complete_task.php:
--------------------------------------------------------------------------------
1 | ------------------------------------------------------------
2 |
3 | ------------------------------------------------------------
4 |
5 | getObjectName(), $task->getProject()->getName()) ?>.
6 |
7 | getText();
15 | echo "\n----------------\n\n";
16 | }
17 | ?>
18 |
19 | :
20 |
21 | - getViewUrl())) ?>
22 |
23 | Company: getName() ?>
24 | Project: getProject()->getName() ?>
25 |
26 | --
27 |
28 |
--------------------------------------------------------------------------------
/application/models/config_handlers/general/FloatConfigHandler.class.php:
--------------------------------------------------------------------------------
1 | getValue(), array('class' => 'short'));
19 | } // render
20 |
21 | /**
22 | * Conver $value to raw value
23 | *
24 | * @param mixed $value
25 | * @return null
26 | */
27 | protected function phpToRaw($value) {
28 | return (string) $value;
29 | } // phpToRaw
30 |
31 | /**
32 | * Convert raw value to php
33 | *
34 | * @param string $value
35 | * @return mixed
36 | */
37 | protected function rawToPhp($value) {
38 | return (float) $value;
39 | } // rawToPhp
40 |
41 | } // FloatConfigHandler
42 |
43 | ?>
--------------------------------------------------------------------------------
/application/views/milestone/del_milestone.php:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/application/views/task/move_list.php:
--------------------------------------------------------------------------------
1 |
9 |
22 |
--------------------------------------------------------------------------------
/library/fpdf/doc/setleftmargin.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetLeftMargin
6 |
7 |
8 |
9 | SetLeftMargin
10 | SetLeftMargin(float margin)
11 | Description
12 | Defines the left margin. The method can be called before creating the first page.
13 |
14 | If the current abscissa gets out of page, it is brought back to the margin.
15 | Parameters
16 |
17 | margin
18 |
19 | The margin.
20 |
21 |
22 | See also
23 | SetTopMargin() ,
24 | SetRightMargin() ,
25 | SetAutoPageBreak() ,
26 | SetMargins() .
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/application/models/config_handlers/complex/FileStorageConfigHandler.class.php:
--------------------------------------------------------------------------------
1 | getValue() == FILE_STORAGE_FILE_SYSTEM ? array('selected' => 'selected') : null;
20 | $options[] = option_tag(lang('file storage file system'), FILE_STORAGE_FILE_SYSTEM, $option_attributes);
21 |
22 | $option_attributes = $this->getValue() == FILE_STORAGE_MYSQL ? array('selected' => 'selected') : null;
23 | $options[] = option_tag(lang('file storage mysql'), FILE_STORAGE_MYSQL, $option_attributes);
24 |
25 | return select_box($control_name, $options);
26 | } // render
27 |
28 | } // FileStorageConfigHandler
29 |
30 | ?>
--------------------------------------------------------------------------------
/application/models/config_handlers/general/IntegerConfigHandler.class.php:
--------------------------------------------------------------------------------
1 | getValue(), array('class' => 'short'));
19 | } // render
20 |
21 | /**
22 | * Conver $value to raw value
23 | *
24 | * @param mixed $value
25 | * @return null
26 | */
27 | protected function phpToRaw($value) {
28 | return (string) $value;
29 | } // phpToRaw
30 |
31 | /**
32 | * Convert raw value to php
33 | *
34 | * @param string $value
35 | * @return mixed
36 | */
37 | protected function rawToPhp($value) {
38 | return (integer) $value;
39 | } // rawToPhp
40 |
41 | } // IntegerConfigHandler
42 |
43 | ?>
--------------------------------------------------------------------------------
/application/models/administration_tools/AdministrationTool.class.php:
--------------------------------------------------------------------------------
1 | getName());
18 | } // getDisplayName
19 |
20 | /**
21 | * Return full application tool description
22 | *
23 | * @param void
24 | * @return string
25 | */
26 | function getDisplayDescription() {
27 | return lang('administration tool desc ' . $this->getName());
28 | } // getDisplayDescription
29 |
30 | /**
31 | * Return tool URL
32 | *
33 | * @param void
34 | * @return string
35 | */
36 | function getToolUrl() {
37 | return get_url($this->getController(), $this->getAction());
38 | } // getToolUrl
39 |
40 | } // AdministrationTool
41 |
42 | ?>
--------------------------------------------------------------------------------
/application/views/message/move_message.php:
--------------------------------------------------------------------------------
1 |
9 |
22 |
--------------------------------------------------------------------------------
/library/fpdf/doc/line.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Line
6 |
7 |
8 |
9 | Line
10 | Line(float x1, float y1, float x2, float y2)
11 | Description
12 | Draws a line between two points.
13 | Parameters
14 |
15 | x1
16 |
17 | Abscissa of first point.
18 |
19 | y1
20 |
21 | Ordinate of first point.
22 |
23 | x2
24 |
25 | Abscissa of second point.
26 |
27 | y2
28 |
29 | Ordinate of second point.
30 |
31 |
32 | See also
33 | SetLineWidth() ,
34 | SetDrawColor() .
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/application/models/config_handlers/complex/DefaultDashboardActionConfigHandler.class.php:
--------------------------------------------------------------------------------
1 | getValue() == $action_name ? array('selected' => 'selected') : null;
23 | $options[] = option_tag(lang("config option name dashboard action $action_name"), $action_name, $option_attributes);
24 | }
25 | return select_box($control_name, $options);
26 | } // render
27 | } // DefaultDashboardActionConfigHandler
28 | ?>
--------------------------------------------------------------------------------
/application/views/task/del_task.php:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/library/fpdf/doc/setcompression.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetCompression
6 |
7 |
8 |
9 | SetCompression
10 | SetCompression(boolean compress)
11 | Description
12 | Activates or deactivates page compression. When activated, the internal representation of
13 | each page is compressed, which leads to a compression ratio of about 2 for the resulting
14 | document.
15 |
16 | Compression is on by default.
17 |
18 |
19 | Note: the Zlib extension is required for this feature. If not present, compression
20 | will be turned off.
21 | Parameters
22 |
23 | compress
24 |
25 | Boolean indicating if compression must be enabled.
26 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/application/views/task/reorder_tasks.php:
--------------------------------------------------------------------------------
1 | getName(), $task_list->getViewUrl()),
8 | array(lang('reorder tasks'))
9 | ));
10 |
11 | add_stylesheet_to_page('project/reorder_tasks.css');
12 |
13 | ?>
14 |
--------------------------------------------------------------------------------
/library/fpdf/doc/settitle.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetTitle
6 |
7 |
8 |
9 | SetTitle
10 | SetTitle(string title [, boolean isUTF8])
11 | Description
12 | Defines the title of the document.
13 | Parameters
14 |
15 | title
16 |
17 | The title.
18 |
19 | isUTF8
20 |
21 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
22 | Default value: false.
23 |
24 |
25 | See also
26 | SetAuthor() ,
27 | SetCreator() ,
28 | SetKeywords() ,
29 | SetSubject() .
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/library/fpdf/doc/setsubject.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetSubject
6 |
7 |
8 |
9 | SetSubject
10 | SetSubject(string subject [, boolean isUTF8])
11 | Description
12 | Defines the subject of the document.
13 | Parameters
14 |
15 | subject
16 |
17 | The subject.
18 |
19 | isUTF8
20 |
21 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
22 | Default value: false.
23 |
24 |
25 | See also
26 | SetAuthor() ,
27 | SetCreator() ,
28 | SetKeywords() ,
29 | SetTitle() .
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/application/views/company/card.php:
--------------------------------------------------------------------------------
1 | getName()));
5 | dashboard_tabbed_navigation();
6 | if (logged_user()->isMemberOfOwnerCompany()) {
7 | dashboard_crumbs(array(
8 | array(lang('contacts'), get_url('dashboard', 'contacts')),
9 | array($company->getName())));
10 | } else {
11 | dashboard_crumbs(array(
12 | array($company->getName())));
13 | } // if
14 | if ($company->canEdit(logged_user())) {
15 | add_page_action(lang('edit company'), $company->getEditUrl());
16 | add_page_action(lang('edit company logo'), $company->getEditLogoUrl());
17 | if (!$company->isOwner()) {
18 | add_page_action(lang('update permissions'), $company->getUpdatePermissionsUrl());
19 | } // if
20 | } // if
21 | if (Contact::canAdd(logged_user(), $company)) {
22 | add_page_action(lang('add contact'), $company->getAddContactUrl());
23 | } // if
24 |
25 | ?>
26 |
27 | includeTemplate(get_template_path('company_card', 'company')) ?>
--------------------------------------------------------------------------------
/library/fpdf/doc/setauthor.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetAuthor
6 |
7 |
8 |
9 | SetAuthor
10 | SetAuthor(string author [, boolean isUTF8])
11 | Description
12 | Defines the author of the document.
13 | Parameters
14 |
15 | author
16 |
17 | The name of the author.
18 |
19 | isUTF8
20 |
21 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
22 | Default value: false.
23 |
24 |
25 | See also
26 | SetCreator() ,
27 | SetKeywords() ,
28 | SetSubject() ,
29 | SetTitle() .
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/application/views/notifier/detach_files_ticket.php:
--------------------------------------------------------------------------------
1 | ------------------------------------------------------------
2 |
3 | ------------------------------------------------------------
4 |
5 | getSummary(), $ticket->getProject()->getName()) ?>.
6 |
7 | getFilename()."\n";
16 | }
17 | echo "\n----------------\n\n";
18 | }
19 | ?>
20 |
21 | :
22 |
23 | - getViewUrl()) ?>
24 |
25 | Company: getName() ?>
26 | Project: getProject()->getName() ?>
27 |
28 | --
29 |
--------------------------------------------------------------------------------
/public/install/installation/installation.php:
--------------------------------------------------------------------------------
1 | addStep(new WelcomeStep()));
23 | define('INSTALL_CHECKS', $installer->addStep(new ChecksStep()));
24 | define('INSTALL_SYSTEM_CONFIG', $installer->addStep(new SystemConfigStep()));
25 | define('INSTALL_FINISH', $installer->addStep(new FinishStep()));
26 |
27 | ?>
--------------------------------------------------------------------------------
/application/views/administration/browse_log.php:
--------------------------------------------------------------------------------
1 | getDisplayName());
3 | administration_tabbed_navigation(ADMINISTRATION_TAB_TOOLS);
4 | administration_crumbs(array(
5 | array(lang('administration tools'), get_url('administration', 'tools')),
6 | array($tool->getDisplayName())
7 | ));
8 | ?>
9 |
15 | ";
19 | }
20 | }
21 | ?>
--------------------------------------------------------------------------------
/application/views/message/view_message_short.php:
--------------------------------------------------------------------------------
1 |
4 | getCreatedOn()->isYesterday()) { echo "msgYesterday"; } else { echo "msgOlder"; }?>">
5 |
6 | isPrivate()) { ?>
7 |
8 |
9 |
10 |
11 | getCreatedOn(), "m/d/Y, h:ia"); ?>
12 |
13 |
14 | getTitle()) ?>
15 |
16 |
17 | getCreatedBy()->getDisplayName()) ?>
18 |
19 |
20 | countComments() ?>
21 |
22 |
23 | getAttachedFiles()) ?>
24 |
25 |
--------------------------------------------------------------------------------
/library/fpdf/doc/setlink.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetLink
6 |
7 |
8 |
9 | SetLink
10 | SetLink(int link [, float y [, int page]])
11 | Description
12 | Defines the page and position a link points to.
13 | Parameters
14 |
15 | link
16 |
17 | The link identifier returned by AddLink().
18 |
19 | y
20 |
21 | Ordinate of target position; -1 indicates the current position.
22 | The default value is 0 (top of page).
23 |
24 | page
25 |
26 | Number of target page; -1 indicates the current page. This is the default value.
27 |
28 |
29 | See also
30 | AddLink() .
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/environment/classes/Timezones.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/application/layouts/dialog.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | "image/x-icon")) ?>
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/application/views/account/radio.php:
--------------------------------------------------------------------------------
1 |
7 |
8 | No flash, no radio
9 |
Download Flash
10 |
11 |
32 |
33 |
--------------------------------------------------------------------------------
/library/fpdf/doc/setkeywords.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetKeywords
6 |
7 |
8 |
9 | SetKeywords
10 | SetKeywords(string keywords [, boolean isUTF8])
11 | Description
12 | Associates keywords with the document, generally in the form 'keyword1 keyword2 ...'.
13 | Parameters
14 |
15 | keywords
16 |
17 | The list of keywords.
18 |
19 | isUTF8
20 |
21 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
22 | Default value: false.
23 |
24 |
25 | See also
26 | SetAuthor() ,
27 | SetCreator() ,
28 | SetSubject() ,
29 | SetTitle() .
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/application/views/notifier/new_file.php:
--------------------------------------------------------------------------------
1 | ------------------------------------------------------------
2 |
3 | ------------------------------------------------------------
4 |
5 | getFilename(), $new_file->getProject()->getName()) ?>.
6 |
7 | getDescription();
15 | echo "\n----------------\n\n";
16 | }
17 | ?>
18 |
19 | :
20 |
21 | - getViewUrl())) ?>
22 |
23 | : getName() ?>
24 | : getProject()->getName() ?>
25 | : getCreatedByDisplayName() ?>
26 |
27 | --
28 |
--------------------------------------------------------------------------------
/application/views/notifier/new_task.php:
--------------------------------------------------------------------------------
1 | ------------------------------------------------------------
2 |
3 | ------------------------------------------------------------
4 |
5 | getObjectName(), $new_task->getProject()->getName()) ?>.
6 |
7 | getText();
15 | echo "\n----------------\n\n";
16 | }
17 | ?>
18 |
19 | :
20 |
21 | - getViewUrl())) ?>
22 |
23 | : getName() ?>
24 | : getProject()->getName() ?>
25 | : getCreatedByDisplayName() ?>
26 |
27 | --
28 |
--------------------------------------------------------------------------------
/find.php:
--------------------------------------------------------------------------------
1 | #!/usr/bin/php
2 | ';
8 | $rit = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($directory), RecursiveIteratorIterator::CHILD_FIRST);
9 | try {
10 | $count = 0;
11 | foreach ($rit as $file) {
12 | //print 'processing ' . $file->getRealPath()."\n";
13 | if ($file->isFile()) {
14 | $path_parts = pathinfo($file->getRealPath());
15 | if ('php' == $path_parts['extension']) {
16 | $object = new SplFileObject($file->getRealPath());
17 | while (!$object->eof()) {
18 | $line = $object->getCurrentLine();
19 | if (false !== ($pos = strpos($line, $str))) {
20 | $count++;
21 | print $file->getRealPath()."\n";
22 | print $line;
23 | print substr($line, $pos);
24 | break;
25 | }
26 | }
27 | }
28 | } else {
29 | //print 'processing ' . $file->getRealPath()."\n";
30 | flush();
31 | }
32 | }
33 | echo 'done ' . $count . ' files found with ' . $str;
34 | } catch (Exception $e) {
35 | die ('Exception caught: '. $e->getMessage());
36 | }
37 | ?>
--------------------------------------------------------------------------------
/application/views/message/index.old.php:
--------------------------------------------------------------------------------
1 |
14 |
15 |
16 |
17 |
18 | assign('message', $message);
20 | $this->assign('on_message_page', false);
21 | $this->includeTemplate(get_template_path('view_message', 'message'));
22 | ?>
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/library/fpdf/doc/setmargins.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetMargins
6 |
7 |
8 |
9 | SetMargins
10 | SetMargins(float left, float top [, float right])
11 | Description
12 | Defines the left, top and right margins. By default, they equal 1 cm. Call this method to change
13 | them.
14 | Parameters
15 |
16 | left
17 |
18 | Left margin.
19 |
20 | top
21 |
22 | Top margin.
23 |
24 | right
25 |
26 | Right margin. Default value is the left one.
27 |
28 |
29 | See also
30 | SetLeftMargin() ,
31 | SetTopMargin() ,
32 | SetRightMargin() ,
33 | SetAutoPageBreak() .
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/application/views/notifier/new_message.php:
--------------------------------------------------------------------------------
1 | ------------------------------------------------------------
2 |
3 | ------------------------------------------------------------
4 |
5 | getTitle(), $new_message->getProject()->getName()) ?>.
6 |
7 | getText();
15 | echo "\n----------------\n\n";
16 | }
17 | ?>
18 |
19 | :
20 |
21 | - getViewUrl())) ?>
22 |
23 | : getName() ?>
24 | : getProject()->getName() ?>
25 | : getCreatedByDisplayName() ?>
26 |
27 | --
28 |
--------------------------------------------------------------------------------
/library/fpdf/doc/setcreator.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetCreator
6 |
7 |
8 |
9 | SetCreator
10 | SetCreator(string creator [, boolean isUTF8])
11 | Description
12 | Defines the creator of the document. This is typically the name of the application that
13 | generates the PDF.
14 | Parameters
15 |
16 | creator
17 |
18 | The name of the creator.
19 |
20 | isUTF8
21 |
22 | Indicates if the string is encoded in ISO-8859-1 (false) or UTF-8 (true).
23 | Default value: false.
24 |
25 |
26 | See also
27 | SetAuthor() ,
28 | SetKeywords() ,
29 | SetSubject() ,
30 | SetTitle() .
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/library/fpdf/doc/setautopagebreak.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetAutoPageBreak
6 |
7 |
8 |
9 | SetAutoPageBreak
10 | SetAutoPageBreak(boolean auto [, float margin])
11 | Description
12 | Enables or disables the automatic page breaking mode. When enabling, the second parameter is
13 | the distance from the bottom of the page that defines the triggering limit. By default, the
14 | mode is on and the margin is 2 cm.
15 | Parameters
16 |
17 | auto
18 |
19 | Boolean indicating if mode should be on or off.
20 |
21 | margin
22 |
23 | Distance from the bottom of the page.
24 |
25 |
26 | See also
27 | Cell() ,
28 | MultiCell() ,
29 | AcceptPageBreak() .
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/application/views/notifier/task_assigned.php:
--------------------------------------------------------------------------------
1 |
2 | ------------------------------------------------------------
3 |
4 | ------------------------------------------------------------
5 | getObjectName()) ?>.
6 | getId() . '] ' .$task->getText();
14 | echo "\n----------------\n\n";
15 | }
16 | ?>
17 | :
18 | getViewUrl())) ?>
19 |
20 | : getName() ?>
21 | : getProject()->getName() ?>
22 | : getCreatedByDisplayName() ?>
23 |
24 | --
25 |
--------------------------------------------------------------------------------
/environment/functions/utf.php:
--------------------------------------------------------------------------------
1 | = 0 ? (integer) $start : 0;
16 | if (is_null($length)) {
17 | $length = strlen_utf($string) - $start;
18 | } // if
19 |
20 | if (function_exists('mb_substr')) {
21 | return mb_substr($string, $start, $length);
22 | } else {
23 | return substr($string, $start, $length);
24 | } // if
25 |
26 | } // substr_utf
27 |
28 | /**
29 | * Return UTF safe string lenght
30 | *
31 | * @access public
32 | * @param strign $string
33 | * @return integer
34 | */
35 | function strlen_utf($string) {
36 | if (function_exists('mb_strlen')) {
37 | return mb_strlen($string);
38 | } else {
39 | return strlen($string);
40 | } // if
41 | } // strlen_utf
42 |
43 | ?>
--------------------------------------------------------------------------------
/application/views/notifier/milestone_assigned.php:
--------------------------------------------------------------------------------
1 | ------------------------------------------------------------
2 |
3 | ------------------------------------------------------------
4 |
5 | getName()) ?>.
6 |
7 | getDescription();
15 | echo "\n----------------\n\n";
16 | }
17 | ?>
18 |
19 | :
20 |
21 | - getViewUrl())) ?>
22 |
23 | : getName() ?>
24 | : getProject()->getName() ?>
25 | : getCreatedByDisplayName() ?>
26 |
27 | --
28 |
--------------------------------------------------------------------------------
/environment/classes/flash/flash.php:
--------------------------------------------------------------------------------
1 | addVariable($name, $value);
13 | } // flash_add
14 |
15 | /**
16 | * Shortcut method for adding success var to flash
17 | *
18 | * @access public
19 | * @param string $message Success message
20 | * @return null
21 | */
22 | function flash_success($message) {
23 | flash_add('success', $message);
24 | } // flash_success
25 |
26 | /**
27 | * Shortcut method for adding error var to flash
28 | *
29 | * @access public
30 | * @param string $message Error message
31 | * @return null
32 | */
33 | function flash_error($message) {
34 | flash_add('error', $message);
35 | } // flash_error
36 |
37 | /**
38 | * Return variable from flash. If variable DNX NULL is returned
39 | *
40 | * @access public
41 | * @param string $name Variable name
42 | * @return mixed
43 | */
44 | function flash_get($name) {
45 | return Flash::instance()->getVariable($name);
46 | } // flash_get
47 |
48 | ?>
--------------------------------------------------------------------------------
/library/fpdf/doc/footer.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Footer
6 |
7 |
8 |
9 | Footer
10 | Footer()
11 | Description
12 | This method is used to render the page footer. It is automatically called by AddPage() and
13 | Close() and should not be called directly by the application. The implementation in FPDF is
14 | empty, so you have to subclass it and override the method if you want a specific processing.
15 | Example
16 |
17 |
class PDF extends FPDF
18 | {
19 | function Footer()
20 | {
21 | // Go to 1.5 cm from bottom
22 | $this->SetY(-15);
23 | // Select Arial italic 8
24 | $this->SetFont('Arial','I',8);
25 | // Print centered page number
26 | $this->Cell(0,10,'Page '.$this->PageNo(),0,0,'C');
27 | }
28 | }
29 |
30 | See also
31 | Header() .
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/library/fpdf/doc/header.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Header
6 |
7 |
8 |
9 | Header
10 | Header()
11 | Description
12 | This method is used to render the page header. It is automatically called by AddPage() and
13 | should not be called directly by the application. The implementation in FPDF is empty, so
14 | you have to subclass it and override the method if you want a specific processing.
15 | Example
16 |
17 |
class PDF extends FPDF
18 | {
19 | function Header()
20 | {
21 | // Select Arial bold 15
22 | $this->SetFont('Arial','B',15);
23 | // Move to the right
24 | $this->Cell(80);
25 | // Framed title
26 | $this->Cell(30,10,'Title',1,0,'C');
27 | // Line break
28 | $this->Ln(20);
29 | }
30 | }
31 |
32 | See also
33 | Footer() .
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/application/models/config_handlers/complex/SecureSmtpConnectionConfigHandler.class.php:
--------------------------------------------------------------------------------
1 | getValue() == 'no' ? array('selected' => 'selected') : null;
21 | $options[] = option_tag(lang('secure smtp connection no'), 'no', $option_attributes);
22 |
23 | $option_attributes = $this->getValue() == 'ssl' ? array('selected' => 'selected') : null;
24 | $options[] = option_tag(lang('secure smtp connection ssl'), 'ssl', $option_attributes);
25 |
26 | $option_attributes = $this->getValue() == 'tls' ? array('selected' => 'selected') : null;
27 | $options[] = option_tag(lang('secure smtp connection tls'), 'tls', $option_attributes);
28 |
29 | return select_box($control_name, $options);
30 | } // render
31 |
32 | } // SecureSmtpConnectionConfigHandler
33 |
34 | ?>
--------------------------------------------------------------------------------
/application/models/config_handlers/general/DateTimeConfigHandler.class.php:
--------------------------------------------------------------------------------
1 | getValue(), $year - 10, $year + 10);
20 | } // render
21 |
22 | /**
23 | * Conver $value to raw value
24 | *
25 | * @param DateTimeValue $value
26 | * @return null
27 | */
28 | protected function phpToRaw($value) {
29 | return $value instanceof DateTimeValue ? $value->toMySQL() : EMPTY_DATETIME;
30 | } // phpToRaw
31 |
32 | /**
33 | * Convert raw value to php
34 | *
35 | * @param string $value
36 | * @return mixed
37 | */
38 | protected function rawToPhp($value) {
39 | $from_value = trim($value) ? $value : EMPTY_DATETIME;
40 | return DateTimeValueLib::makeFromString($from_value);
41 | } // rawToPhp
42 |
43 | } // DateTimeConfigHandler
44 |
45 | ?>
--------------------------------------------------------------------------------
/application/views/administration/upgrade.php:
--------------------------------------------------------------------------------
1 |
9 | getNewVersions(product_version())) && count($versions)) { ?>
10 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/application/models/message_subscriptions/MessageSubscription.class.php:
--------------------------------------------------------------------------------
1 | user)) {
33 | $this->user = Users::findById($this->getUserId());
34 | }
35 | return $this->user;
36 | } // getUser
37 |
38 | /**
39 | * Return message object
40 | *
41 | * @param void
42 | * @return ProjectMessage
43 | */
44 | function getMessage() {
45 | if (is_null($this->message)) {
46 | $this->message = ProjectMessages::findById($this->getMessageId());
47 | }
48 | return $this->message;
49 | } // getMessage
50 |
51 | } // MessageSubscription
52 |
53 | ?>
--------------------------------------------------------------------------------
/application/views/company/view_client_sidebar.php:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
14 |
15 |
28 |
--------------------------------------------------------------------------------
/endings.php:
--------------------------------------------------------------------------------
1 | #!/usr/bin/php
2 | ';
6 | $rit = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($directory), RecursiveIteratorIterator::CHILD_FIRST);
7 | try {
8 | $count = 0;
9 | foreach ($rit as $file) {
10 | if ($file->isFile()) {
11 | $path_parts = pathinfo($file->getRealPath());
12 | if (('php' == $path_parts['extension']) && (0 == preg_match('/views|templates|layouts/',$file->getRealPath()))) {
13 | $contents = file_get_contents($file->getRealPath());
14 | $reversed = strrev($contents);
15 | if (substr($reversed, 0, 2) != '>?') {
16 | $count++;
17 | print strpos($reversed, '>?') . '|' . substr($reversed, 0, 3) . '|' . $file->getRealPath();
18 | $contents = trim($contents);
19 | if (file_put_contents( $file->getRealPath(), $contents )) {
20 | print '|fixed';
21 | }
22 | print "\n";
23 | //if ($count>2) die();
24 | }
25 | }
26 | } else {
27 | //print 'processing ' . $file->getRealPath()."\n";
28 | flush();
29 | }
30 | }
31 | echo 'done ' . $count . ' files found with text after last ?>';
32 | } catch (Exception $e) {
33 | die ('Exception caught: '. $e->getMessage());
34 | }
35 |
36 | ?>
--------------------------------------------------------------------------------
/application/views/project/pageactions.php:
--------------------------------------------------------------------------------
1 | canChangePermissions(logged_user())) {
18 | // add_page_action(lang('permissions'), get_url('project', 'permissions'));
19 | //} // if
20 | trace(__FILE__,'plugin hook');
21 | // PLUGIN HOOK
22 | plugin_manager()->do_action('project_overview_page_actions');
23 | // PLUGIN HOOK
24 | if (use_permitted(logged_user(), active_project(), 'tasks')) {
25 | add_page_action(lang('download task lists'), get_url('project', 'download_task_lists'));
26 | }
27 | ?>
--------------------------------------------------------------------------------
/application/views/milestone/view_progressbar.php:
--------------------------------------------------------------------------------
1 | getTaskLists();
7 | if (is_array($task_lists)) {
8 | foreach($task_lists as $task_list) {
9 | $open += count($task_list->getOpenTasks());
10 | $done += count($task_list->getCompletedTasks());
11 | $total += $task_list->countAllTasks();
12 | }
13 | } // if
14 | if ($total>0) {
15 | $percent = round($done * 100 / $total);
16 | } else {
17 | $percent = 0;
18 | } // if
19 | $completed = $milestone->getCompletedOn();
20 | ?>
21 |
22 | 0) { ?>
23 |
24 |
25 |
26 |
:
27 | 0) { ?>
28 |
29 |
: % ( of )
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/application/views/notifier/select_receivers.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | getCompanies() as $company) { ?>
5 | getUsersOnProject($project)) && count($users)) { ?>
6 |
7 |
8 |
9 |
10 |
11 | getId() . ']', array_var($post_data, 'notify_user_' . $user->getId()), array('id' => 'notifyUser' . $user->getId() )) ?> getDisplayName()) ?>
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/library/fpdf/doc/text.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Text
6 |
7 |
8 |
9 | Text
10 | Text(float x, float y, string txt)
11 | Description
12 | Prints a character string. The origin is on the left of the first character, on the baseline.
13 | This method allows to place a string precisely on the page, but it is usually easier to use
14 | Cell(), MultiCell() or Write() which are the standard methods to print text.
15 | Parameters
16 |
17 | x
18 |
19 | Abscissa of the origin.
20 |
21 | y
22 |
23 | Ordinate of the origin.
24 |
25 | txt
26 |
27 | String to print.
28 |
29 |
30 | See also
31 | SetFont() ,
32 | SetTextColor() ,
33 | Cell() ,
34 | MultiCell() ,
35 | Write() .
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/application/views/page_attachment/view_ProjectTasks.php:
--------------------------------------------------------------------------------
1 | getObject();
3 | if (!$task) {
4 | ?>
5 |
6 |
7 | getText() ?>:
8 |
9 |
10 |
11 |
12 | canView(logged_user())) {
14 | ?>
15 |
16 | isPrivate()) { ?>
17 |
18 |
19 |
20 |
getText() ?>:
21 |
22 | isCompleted()) { ?>
23 |
24 |
25 |
26 |
27 | getText()) ?>
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/application/views/user/radio.php:
--------------------------------------------------------------------------------
1 | isNew() ? lang('add user') : lang('edit user'));
4 | //add_stylesheet_to_page('radio.css');
5 |
6 | ?>
7 |
8 |
9 |
10 | Sorry this site have a flash based native radio and needed adobe flash 10+ support.
11 | Download Flash here.
12 |
13 |
14 |
15 |
36 |
--------------------------------------------------------------------------------
/application/views/milestone/index_sidebar.php:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
24 |
--------------------------------------------------------------------------------
/application/views/notifier/attach_files_ticket.php:
--------------------------------------------------------------------------------
1 | ------------------------------------------------------------
2 |
3 | ------------------------------------------------------------
4 |
5 | getSummary(), $ticket->getProject()->getName()) ?>.
6 |
7 | getFilename()."\n";
16 | }
17 | echo "\n----------------\n\n";
18 | }
19 | ?>
20 |
21 | :
22 |
23 | - getViewUrl())) ?>
24 |
25 | : getName() ?>
26 | : getProject()->getName() ?>
27 | : getCreatedByDisplayName() ?>
28 |
29 | --
30 |
31 | --
32 |
--------------------------------------------------------------------------------
/application/views/project/edit_logo.php:
--------------------------------------------------------------------------------
1 |
5 | includeTemplate(get_template_path('project/pageactions')); ?>
6 |
7 |
--------------------------------------------------------------------------------
/library/fpdf/fpdf.css:
--------------------------------------------------------------------------------
1 | body {font-family:"Times New Roman",serif}
2 | h1 {font:bold 135% Arial,sans-serif; color:#4000A0; margin-bottom:0.9em}
3 | h2 {font:bold 100% Arial,sans-serif; color:#900000; margin-top:1.5em}
4 | dl.param dt {text-decoration:underline}
5 | dl.param dd {margin-top:1em; margin-bottom:1em}
6 | dl.param ul {margin-top:1em; margin-bottom:1em}
7 | tt, code, kbd {font-family:"Courier New",Courier,monospace; font-size:82%}
8 | div.source {margin-top:1.4em; margin-bottom:1.3em}
9 | div.source pre {display:table; border:1px solid #24246A; width:100%; margin:0em; font-family:inherit; font-size:100%}
10 | div.source code {display:block; border:1px solid #C5C5EC; background-color:#F0F5FF; padding:6px; color:#000000}
11 | div.doc-source {margin-top:1.4em; margin-bottom:1.3em}
12 | div.doc-source pre {display:table; width:100%; margin:0em; font-family:inherit; font-size:100%}
13 | div.doc-source code {display:block; background-color:#E0E0E0; padding:4px}
14 | .kw {color:#000080; font-weight:bold}
15 | .str {color:#CC0000}
16 | .cmt {color:#008000}
17 | p.demo {text-align:center; margin-top:-0.9em}
18 | a.demo {text-decoration:none; font-weight:bold; color:#0000CC}
19 | a.demo:link {text-decoration:none; font-weight:bold; color:#0000CC}
20 | a.demo:hover {text-decoration:none; font-weight:bold; color:#0000FF}
21 | a.demo:active {text-decoration:none; font-weight:bold; color:#0000FF}
22 |
--------------------------------------------------------------------------------
/application/views/task/view_progressbar.php:
--------------------------------------------------------------------------------
1 | getOpenTasks())) {
4 | $openTasks = count($task_list->getOpenTasks());
5 | } else {
6 | $openTasks = 0;
7 | } // if
8 | if (is_array($task_list->getOpenTasks())) {
9 | $completedTasks = count($task_list->getCompletedTasks());
10 | } else {
11 | $completedTasks = 0;
12 | } // if
13 | $totalTasks = $task_list->countAllTasks();
14 | if ($totalTasks>0) {
15 | $percentTasks = round($completedTasks / $totalTasks * 100);
16 | } else {
17 | $percentTasks = 0;
18 | } // if
19 | $completed = $task_list->getCompletedOn();
20 | ?>
21 |
22 |
26 | 0) { ?>
27 |
28 |
29 |
: % ( of )
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/library/fpdf/doc/aliasnbpages.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | AliasNbPages
6 |
7 |
8 |
9 | AliasNbPages
10 | AliasNbPages([string alias])
11 | Description
12 | Defines an alias for the total number of pages. It will be substituted as the document is
13 | closed.
14 | Parameters
15 |
16 | alias
17 |
18 | The alias. Default value: {nb}.
19 |
20 |
21 | Example
22 |
23 |
class PDF extends FPDF
24 | {
25 | function Footer()
26 | {
27 | // Go to 1.5 cm from bottom
28 | $this->SetY(-15);
29 | // Select Arial italic 8
30 | $this->SetFont('Arial','I',8);
31 | // Print current and total page numbers
32 | $this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C');
33 | }
34 | }
35 |
36 | $pdf = new PDF();
37 | $pdf->AliasNbPages();
38 |
39 | See also
40 | PageNo() ,
41 | Footer() .
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/application/views/administration/tool_test_email.php:
--------------------------------------------------------------------------------
1 | getDisplayName());
3 | administration_tabbed_navigation(ADMINISTRATION_TAB_TOOLS);
4 | administration_crumbs(array(
5 | array(lang('administration tools'), get_url('administration', 'tools')),
6 | array($tool->getDisplayName())
7 | ));
8 | ?>
9 |
24 |
25 |
26 | Socket functions are available so mailing is possible from PHP level
27 |
28 | Socket functions are NOT available. Mailing is not possible from PHP level
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/application/views/page_attachment/view_ProjectTickets.php:
--------------------------------------------------------------------------------
1 | getObject();
4 | if (!$ticket) {
5 | ?>
6 |
7 |
8 | getText() ?>:
9 |
10 |
11 |
12 |
13 | canView(logged_user())) {
15 | ?>
16 |
17 | isPrivate()) { ?>
18 |
19 |
20 |
21 |
getText() ?>:
22 |
23 | isClosed()) { ?>
24 |
25 |
26 |
27 |
28 | getSummary()) ?>
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/library/fpdf/doc/settextcolor.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetTextColor
6 |
7 |
8 |
9 | SetTextColor
10 | SetTextColor(int r [, int g, int b])
11 | Description
12 | Defines the color used for text. It can be expressed in RGB components or gray scale. The
13 | method can be called before the first page is created and the value is retained from page to
14 | page.
15 | Parameters
16 |
17 | r
18 |
19 | If g et b are given, red component; if not, indicates the gray level.
20 | Value between 0 and 255.
21 |
22 | g
23 |
24 | Green component (between 0 and 255).
25 |
26 | b
27 |
28 | Blue component (between 0 and 255).
29 |
30 |
31 | See also
32 | SetDrawColor() ,
33 | SetFillColor() ,
34 | Text() ,
35 | Cell() ,
36 | MultiCell() .
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/application/views/contacts/del_contact.php:
--------------------------------------------------------------------------------
1 | isMemberOfOwnerCompany()) {
5 | administration_tabbed_navigation(ADMINISTRATION_TAB_COMPANY);
6 | } else {
7 | administration_tabbed_navigation(ADMINISTRATION_TAB_CLIENTS);
8 | }
9 | administration_crumbs(lang('contacts'));
10 |
11 | ?>
12 |
--------------------------------------------------------------------------------
/environment/classes/Error.class.php:
--------------------------------------------------------------------------------
1 | value pairs). General params are file and line
18 | * and any specific error have their own params...
19 | *
20 | * @access public
21 | * @param void
22 | * @return array
23 | */
24 | function getParams() {
25 |
26 | // Prepare base params...
27 | $base = array(
28 | 'file' => $this->getFile(),
29 | 'line' => $this->getLine()
30 | ); // array
31 |
32 | // Get additional params...
33 | $additional = $this->getAdditionalParams();
34 |
35 | // And return (join if we have additional params)
36 | return is_array($additional) ? array_merge($base, $additional) : $base;
37 |
38 | } // getParams
39 |
40 | /**
41 | * Return additional error params
42 | *
43 | * @access public
44 | * @param void
45 | * @return array
46 | */
47 | function getAdditionalParams() {
48 | return null;
49 | } // getAdditionalParams
50 |
51 | } // Error
52 |
53 | ?>
--------------------------------------------------------------------------------
/public/patch/xxxx-more_permissions.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO `permissions` (`id`, `source`, `permission`) VALUES (14, 'messages', 'access');
2 | INSERT INTO `permissions` (`id`, `source`, `permission`) VALUES (15, 'tasks', 'access');
3 | INSERT INTO `permissions` (`id`, `source`, `permission`) VALUES (16, 'files', 'access');
4 | INSERT INTO `permissions` (`id`, `source`, `permission`) VALUES (17, 'forms', 'access');
5 | INSERT INTO `permissions` (`id`, `source`, `permission`) VALUES (18, 'wiki', 'access');
6 | INSERT INTO `permissions` (`id`, `source`, `permission`) VALUES (19, 'wiki', 'manage');
7 | INSERT INTO `permissions` (`id`, `source`, `permission`) VALUES (20, 'projects', 'access');
8 | INSERT INTO `permissions` (`id`, `source`, `permission`) VALUES (21, 'contacts', 'access');
9 | INSERT INTO `permissions` (`id`, `source`, `permission`) VALUES (22, 'contacts', 'manage');
10 | INSERT INTO `permissions` (`id`, `source`, `permission`) VALUES (23, 'reports', 'access');
11 | INSERT INTO `permissions` (`id`, `source`, `permission`) VALUES (24, 'search', 'access');
12 | INSERT INTO `permissions` (`id`, `source`, `permission`) VALUES (25, 'tags', 'access');
--------------------------------------------------------------------------------
/application/views/comment/post_status_update_form.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
29 |
--------------------------------------------------------------------------------
/library/icalendar/components/iCalendar_Todo.class.php:
--------------------------------------------------------------------------------
1 | setName('VTODO');
20 | $this->setValidComponents('VALARM');
21 | $this->setValidProperties(
22 | 'CLASS',
23 | 'COMPLETED',
24 | 'CREATED',
25 | 'DESCRIPTION',
26 | 'DTSTAMP',
27 | 'DTSTART',
28 | 'GEO',
29 | 'LAST-MOD',
30 | 'LOCATION',
31 | 'ORGANIZER',
32 | 'PERCENT',
33 | 'PRIORITY',
34 | 'RECURID',
35 | 'SEQ',
36 | 'STATUS',
37 | 'SUMMARY',
38 | 'UID',
39 | 'URL',
40 | 'DUE',
41 | 'DURATION',
42 | 'ATTACH',
43 | 'ATTENDEE',
44 | 'CATEGORIES',
45 | 'COMMENT',
46 | 'CONTACT',
47 | 'EXDATE',
48 | 'EXRULE',
49 | 'RSTATUS',
50 | 'RELATED',
51 | 'RESOURCES',
52 | 'RDATE',
53 | 'RRULE',
54 | 'X-PROP'
55 | ); // setValidProperties
56 | } // __construct
57 |
58 | } // iCalendar_Todo
59 |
60 | ?>
--------------------------------------------------------------------------------
/application/permissions.php:
--------------------------------------------------------------------------------
1 | init();
13 | /*
14 | * Convenience function for instance of PermissionManager used by hooks throughout
15 | */
16 | function permission_manager() {
17 | return PermissionManager::instance();
18 | }
19 |
20 | function add_permission($source, $permission_to_add) {
21 | permission_manager()->addPermission($source,$permission_to_add);
22 | }
23 |
24 | function remove_permission($source, $permission_to_remove) {
25 | permission_manager()->removePermission($source,$permission_to_add);
26 | }
27 |
28 | function remove_permission_source($source) {
29 | permission_manager()->removeSource($source);
30 | }
31 |
32 | function use_permitted($user, $project, $source) {
33 | if (!($project instanceof Project)) return false;
34 | if ($user->isAdministrator()) return true;
35 | if ($user->getProjectPermission($project, $source . '-access')) {
36 | return true;
37 | }
38 | return $user->getProjectPermission($project, $source . '-manage');
39 | }
40 | trace(__FILE__,'end');
41 | ?>
--------------------------------------------------------------------------------
/application/views/project/view_progressbar.php:
--------------------------------------------------------------------------------
1 | getMilestones();
7 | if (is_array($milestones)) {
8 | foreach($milestones as $milestone) {
9 | $task_lists = $milestone->getTaskLists();
10 | if (is_array($task_lists)) {
11 | foreach($task_lists as $task_list) {
12 | $open += count($task_list->getOpenTasks());
13 | $done += count($task_list->getCompletedTasks());
14 | $total += $task_list->countAllTasks();
15 | }
16 | }
17 | }
18 | } // if
19 | if ($total>0) {
20 | $percent = round($done * 100 / $total);
21 | } else {
22 | $percent = 0;
23 | } // if
24 | $completed = $project->getCompletedOn();
25 | ?>
26 | 0) { ?>
27 |
28 |
29 |
30 |
:
31 | 0) { ?>
32 |
33 |
: % ( of )
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/library/fpdf/doc/link.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Link
6 |
7 |
8 |
9 | Link
10 | Link(float x, float y, float w, float h, mixed link)
11 | Description
12 | Puts a link on a rectangular area of the page. Text or image links are generally put via Cell(),
13 | Write() or Image(), but this method can be useful for instance to define a clickable area inside
14 | an image.
15 | Parameters
16 |
17 | x
18 |
19 | Abscissa of the upper-left corner of the rectangle.
20 |
21 | y
22 |
23 | Ordinate of the upper-left corner of the rectangle.
24 |
25 | w
26 |
27 | Width of the rectangle.
28 |
29 | h
30 |
31 | Height of the rectangle.
32 |
33 | link
34 |
35 | URL or identifier returned by AddLink().
36 |
37 |
38 | See also
39 | AddLink() ,
40 | Cell() ,
41 | Write() ,
42 | Image() .
43 |
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/library/fpdf/doc/setfillcolor.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetFillColor
6 |
7 |
8 |
9 | SetFillColor
10 | SetFillColor(int r [, int g, int b])
11 | Description
12 | Defines the color used for all filling operations (filled rectangles and cell backgrounds).
13 | It can be expressed in RGB components or gray scale. The method can be called before the first
14 | page is created and the value is retained from page to page.
15 | Parameters
16 |
17 | r
18 |
19 | If g and b are given, red component; if not, indicates the gray level.
20 | Value between 0 and 255.
21 |
22 | g
23 |
24 | Green component (between 0 and 255).
25 |
26 | b
27 |
28 | Blue component (between 0 and 255).
29 |
30 |
31 | See also
32 | SetDrawColor() ,
33 | SetTextColor() ,
34 | Rect() ,
35 | Cell() ,
36 | MultiCell() .
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/library/fpdf/doc/rect.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Rect
6 |
7 |
8 |
9 | Rect
10 | Rect(float x, float y, float w, float h [, string style])
11 | Description
12 | Outputs a rectangle. It can be drawn (border only), filled (with no border) or both.
13 | Parameters
14 |
15 | x
16 |
17 | Abscissa of upper-left corner.
18 |
19 | y
20 |
21 | Ordinate of upper-left corner.
22 |
23 | w
24 |
25 | Width.
26 |
27 | h
28 |
29 | Height.
30 |
31 | style
32 |
33 | Style of rendering. Possible values are:
34 |
35 | D or empty string: draw. This is the default value.
36 | F: fill
37 | DF or FD: draw and fill
38 |
39 |
40 |
41 | See also
42 | SetLineWidth() ,
43 | SetDrawColor() ,
44 | SetFillColor() .
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/public/patch/3051-db-auth.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO `config_categories` (`name`, `is_system`, `category_order`) VALUES ('authentication', 0, 8);
2 | INSERT INTO `config_options` (`category_name`, `name`, `value`, `config_handler_class`, `is_system`, `option_order`, `dev_comment`) VALUES ('authentication', 'authdb server', 'localhost', 'StringConfigHandler', 0, 1, NULL);
3 | INSERT INTO `config_options` (`category_name`, `name`, `value`, `config_handler_class`, `is_system`, `option_order`, `dev_comment`) VALUES ('authentication', 'authdb username', 'root', 'StringConfigHandler', 0, 2, NULL);
4 | INSERT INTO `config_options` (`category_name`, `name`, `value`, `config_handler_class`, `is_system`, `option_order`, `dev_comment`) VALUES ('authentication', 'authdb password', '', 'PasswordConfigHandler', 0, 3, NULL);
5 | INSERT INTO `config_options` (`category_name`, `name`, `value`, `config_handler_class`, `is_system`, `option_order`, `dev_comment`) VALUES ('authentication', 'authdb database', '', 'StringConfigHandler', 0, 3, NULL);
6 | INSERT INTO `config_options` (`category_name`, `name`, `value`, `config_handler_class`, `is_system`, `option_order`, `dev_comment`) VALUES ('authentication', 'authdb sql', "select `user_email` as email from `wp_users` where `user_login` = '$username' and user_pass = md5('$password') limit 1", 'StringConfigHandler', 0, 4, NULL);
--------------------------------------------------------------------------------
/application/controllers/ApplicationController.class.php:
--------------------------------------------------------------------------------
1 | addHelper('application');
21 | } // __construct
22 |
23 | /**
24 | * Set page sidebar
25 | *
26 | * @access public
27 | * @param string $template Path of sidebar template
28 | * @return null
29 | * @throws FileDnxError if $template file does not exists
30 | */
31 | protected function setSidebar($template) {
32 | tpl_assign('content_for_sidebar', tpl_fetch($template));
33 | } // setSidebar
34 |
35 | /**
36 | * Determine if a user canGoOn to deny access to files in projects
37 | * to which the user has not been assigned.
38 | *
39 | * @access public
40 | * @return null
41 | */
42 | function canGoOn()
43 | {
44 | if(active_project() == null || !logged_user()->isProjectUser(active_project()))
45 | {
46 | flash_error(lang('no access permissions'));
47 | $this->redirectTo('dashboard', 'index');
48 | } // if
49 | }// end canGoOn
50 |
51 | } // ApplicationController
52 |
53 | ?>
--------------------------------------------------------------------------------
/library/fpdf/doc/setdrawcolor.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetDrawColor
6 |
7 |
8 |
9 | SetDrawColor
10 | SetDrawColor(int r [, int g, int b])
11 | Description
12 | Defines the color used for all drawing operations (lines, rectangles and cell borders). It
13 | can be expressed in RGB components or gray scale. The method can be called before the first
14 | page is created and the value is retained from page to page.
15 | Parameters
16 |
17 | r
18 |
19 | If g et b are given, red component; if not, indicates the gray level.
20 | Value between 0 and 255.
21 |
22 | g
23 |
24 | Green component (between 0 and 255).
25 |
26 | b
27 |
28 | Blue component (between 0 and 255).
29 |
30 |
31 | See also
32 | SetFillColor() ,
33 | SetTextColor() ,
34 | Line() ,
35 | Rect() ,
36 | Cell() ,
37 | MultiCell() .
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/public/patch/error_log:
--------------------------------------------------------------------------------
1 | [18-Jul-2011 21:06:41] PHP Warning: file_get_contents() [function.file-get-contents ]: Unable to access xxxx_projectnote.sql in /home/sharec/public_html/pp088/public/patch/patch.php on line 15
2 | [18-Jul-2011 21:06:41] PHP Warning: file_get_contents(xxxx_projectnote.sql) [function.file-get-contents ]: failed to open stream: No such file or directory in /home/sharec/public_html/pp088/public/patch/patch.php on line 15
3 | [18-Jul-2011 21:16:37] PHP Warning: file_get_contents() [function.file-get-contents ]: Unable to access xxxx-page_attachment.sql in /home/sharec/public_html/pp088/public/patch/patch.php on line 15
4 | [18-Jul-2011 21:16:37] PHP Warning: file_get_contents(xxxx-page_attachment.sql) [function.file-get-contents ]: failed to open stream: No such file or directory in /home/sharec/public_html/pp088/public/patch/patch.php on line 15
5 | [18-Jul-2011 23:09:11] PHP Warning: file_get_contents() [function.file-get-contents ]: Unable to access xxxx-parent_folder.sql in /home/sharec/public_html/pp088/public/patch/patch.php on line 15
6 | [18-Jul-2011 23:09:11] PHP Warning: file_get_contents(xxxx-parent_folder.sql) [function.file-get-contents ]: failed to open stream: No such file or directory in /home/sharec/public_html/pp088/public/patch/patch.php on line 15
7 |
--------------------------------------------------------------------------------
/application/views/dashboard/my_projects_sidebar.php:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
14 |
15 |
31 |
--------------------------------------------------------------------------------
/application/views/message/add_comment.php:
--------------------------------------------------------------------------------
1 | isNew() ? lang('add comment') : lang('edit comment'));
4 | project_tabbed_navigation(PROJECT_TAB_MESSAGES);
5 | project_crumbs(array(
6 | array(lang('messages'), get_url('message', 'index')),
7 | array($message->getTitle(), $message->getViewUrl()),
8 | array($comment->isNew() ? lang('add comment') : lang('edit comment'))
9 | ));
10 |
11 | ?>
12 | isNew()) { ?>
13 |
34 |
--------------------------------------------------------------------------------
/environment/classes/datetimevalue/DateTimeValueLib.class.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/application/views/task/copy_list.php:
--------------------------------------------------------------------------------
1 |
8 |
30 |
--------------------------------------------------------------------------------