Index: .htaccess =================================================================== --- .htaccess (revision 146) +++ .htaccess (working copy) @@ -1 +1,12 @@ AddDefaultCharset utf-8 + + + RewriteEngine on + RewriteBase /projectpier + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_URI} !^/index\.php + RewriteRule (.*.gif|.*.png|.*.jpg|.*.pdf|.*.js|.*.css) $1 [L] + RewriteRule ^([0-9]+)/([a-zA-z]+)/([a-zA-z]+)?/?([0-9]+)?/?$ index.php?c=$2&a=$3&active_project=$1&id=$4 [QSA] + RewriteRule ^([a-zA-z]+)/([a-zA-z]+)?/?([0-9]+)?/?$ index.php?c=$1&a=$2&id=$3 [QSA] + Index: application/controllers/AccountController.class.php =================================================================== --- application/controllers/AccountController.class.php (revision 146) +++ application/controllers/AccountController.class.php (working copy) @@ -48,7 +48,7 @@ $company = $user->getCompany(); if (!($company instanceof Company)) { flash_error(lang('company dnx')); - $this->redirectToReferer(get_url('administration')); + $this->redirectToReferer(get_url('administration', null, null, null, false)); } // if if (!$user->canUpdateProfile(logged_user())) { @@ -206,18 +206,18 @@ $user = Users::findById(get_id()); if (!($user instanceof User)) { flash_error(lang('user dnx')); - $this->redirectToReferer(get_url('dashboard')); + $this->redirectToReferer(get_url('dashboard', null, null, null, false)); } // if if (!$user->canUpdatePermissions(logged_user())) { flash_error(lang('no access permissions')); - $this->redirectToReferer(get_url('dashboard')); + $this->redirectToReferer(get_url('dashboard', null, null, null, false)); } // if $company = $user->getCompany(); if (!($company instanceof Company)) { flash_error(lang('company dnx')); - $this->redirectToReferer(get_url('dashboard')); + $this->redirectToReferer(get_url('dashboard', null, null, null, false)); } // if $projects = $company->getProjects(); Index: application/controllers/CommentController.class.php =================================================================== --- application/controllers/CommentController.class.php (revision 146) +++ application/controllers/CommentController.class.php (working copy) @@ -111,7 +111,7 @@ function edit() { $this->setTemplate('add_comment'); - $redirect_to = active_project() instanceof Project ? active_project()->getOverviewUrl() : get_url('dashboard'); + $redirect_to = active_project() instanceof Project ? active_project()->getOverviewUrl() : get_url('dashboard', null, null, null, false); $comment = Comments::findById(get_id()); if (!($comment instanceof Comment)) { @@ -181,7 +181,7 @@ * @return null */ function delete() { - $redirect_to = active_project() instanceof Project ? active_project()->getOverviewUrl() : get_url('dashboard'); + $redirect_to = active_project() instanceof Project ? active_project()->getOverviewUrl() : get_url('dashboard', null, null, null, false); $comment = Comments::findById(get_id()); if (!($comment instanceof Comment)) { Index: application/controllers/CompanyController.class.php =================================================================== --- application/controllers/CompanyController.class.php (revision 146) +++ application/controllers/CompanyController.class.php (working copy) @@ -309,12 +309,12 @@ $company = Companies::findById(get_id()); if (!($company instanceof Company)) { flash_error(lang('company dnx')); - $this->redirectToReferer(get_url('administration')); + $this->redirectToReferer(get_url('administration', null, null, null, false)); } // if if ($company->isOwner()) { flash_error(lang('error owner company has all permissions')); - $this->redirectToReferer(get_url('administration')); + $this->redirectToReferer(get_url('administration', null, null, null, false)); } // if $projects = Projects::getAll(Projects::ORDER_BY_NAME); @@ -379,7 +379,7 @@ $company = Companies::findById(get_id()); if (!($company instanceof Company)) { flash_error(lang('company dnx')); - $this->redirectToReferer(get_url('administration', 'clients')); + $this->redirectToReferer(get_url('administration', 'clients', null, null, false)); } // if tpl_assign('company', $company); @@ -442,7 +442,7 @@ $company = Companies::findById(get_id()); if (!($company instanceof Company)) { flash_error(lang('company dnx')); - $this->redirectToReferer(get_url('administration', 'clients')); + $this->redirectToReferer(get_url('administration', 'clients', null, null, false)); } // if try { Index: application/controllers/ConfigController.class.php =================================================================== --- application/controllers/ConfigController.class.php (revision 146) +++ application/controllers/ConfigController.class.php (working copy) @@ -35,12 +35,12 @@ $category = ConfigCategories::findById(get_id()); if (!($category instanceof ConfigCategory)) { flash_error(lang('config category dnx')); - $this->redirectToReferer(get_url('administration')); + $this->redirectToReferer(get_url('administration', null, null, null, false)); } // if if ($category->isEmpty()) { flash_error(lang('config category is empty')); - $this->redirectToReferer(get_url('administration')); + $this->redirectToReferer(get_url('administration', null, null, null, false)); } // if $options = $category->getOptions(false); Index: application/controllers/FilesController.class.php =================================================================== --- application/controllers/FilesController.class.php (revision 146) +++ application/controllers/FilesController.class.php (working copy) @@ -705,7 +705,7 @@ $object = get_object_by_manager_and_id($object_id, $manager_class); if (!($object instanceof ProjectDataObject)) { flash_error(lang('no access permissions')); - $this->redirectToReferer(get_url('dashboard')); + $this->redirectToReferer(get_url('dashboard', null, null, null, false)); } // if $already_attached_files = $object->getAttachedFiles(); @@ -791,13 +791,13 @@ $object = get_object_by_manager_and_id($object_id, $manager_class); if (!($object instanceof ProjectDataObject)) { flash_error(lang('no access permissions')); - $this->redirectToReferer(get_url('dashboard')); + $this->redirectToReferer(get_url('dashboard', null, null, null, false)); } // if $file = ProjectFiles::findById($file_id); if (!($file instanceof ProjectFile)) { flash_error(lang('file dnx')); - $this->redirectToReferer(get_url('dashboard')); + $this->redirectToReferer(get_url('dashboard', null, null, null, false)); } // if $attached_file = AttachedFiles::findById(array( @@ -808,7 +808,7 @@ if (!($attached_file instanceof AttachedFile)) { flash_error(lang('file not attached to object')); - $this->redirectToReferer(get_url('dashboard')); + $this->redirectToReferer(get_url('dashboard', null, null, null, false)); } // if try { Index: application/controllers/ProjectController.class.php =================================================================== --- application/controllers/ProjectController.class.php (revision 146) +++ application/controllers/ProjectController.class.php (working copy) @@ -233,7 +233,7 @@ if (!Project::canAdd(logged_user())) { flash_error(lang('no access permissions')); - $this->redirectToReferer(get_url('dashboard')); + $this->redirectToReferer(get_url('dashboard', null, null, null, false)); } // if $project = new Project(); @@ -342,7 +342,7 @@ if (!$project->canEdit(logged_user())) { flash_error(lang('no access permissions')); - $this->redirectToReferer(get_url('administration', 'projects')); + $this->redirectToReferer(get_url('administration', 'projects', null, null, false)); } // if $project_data = array_var($_POST, 'project'); @@ -393,7 +393,7 @@ if (!$project->canDelete(logged_user())) { flash_error(lang('no access permissions')); - $this->redirectToReferer(get_url('administration', 'projects')); + $this->redirectToReferer(get_url('administration', 'projects', null, null, false)); } // if $delete_data = array_var($_POST, 'deleteProject'); @@ -454,7 +454,7 @@ if (!$project->canChangeStatus(logged_user())) { flash_error(lang('no access permissions')); - $this->redirectToReferer(get_url('administration', 'projects')); + $this->redirectToReferer(get_url('administration', 'projects', null, null, false)); } // if try { @@ -474,7 +474,7 @@ flash_error(lang('error complete project')); } // try - $this->redirectToReferer(get_url('administration', 'projects')); + $this->redirectToReferer(get_url('administration', 'projects', null, null, false)); } // complete /** @@ -492,7 +492,7 @@ if (!$project->canChangeStatus(logged_user())) { flash_error(lang('no access permissions')); - $this->redirectToReferer(get_url('administration', 'projects')); + $this->redirectToReferer(get_url('administration', 'projects', null, null, false)); } // if try { @@ -512,7 +512,7 @@ flash_error(lang('error open project')); } // try - $this->redirectToReferer(get_url('administration', 'projects')); + $this->redirectToReferer(get_url('administration', 'projects', null, null, false)); } // open /** Index: application/controllers/UserController.class.php =================================================================== --- application/controllers/UserController.class.php (revision 146) +++ application/controllers/UserController.class.php (working copy) @@ -49,7 +49,7 @@ if (!User::canAdd(logged_user(), $company)) { flash_error(lang('no access permissions')); - $this->redirectToReferer(get_url('dashboard')); + $this->redirectToReferer(get_url('dashboard', null, null, null, false)); } // if $user = new User(); @@ -157,7 +157,7 @@ if (!$user->canDelete(logged_user())) { flash_error(lang('no access permissions')); - $this->redirectToReferer(get_url('dashboard')); + $this->redirectToReferer(get_url('dashboard', null, null, null, false)); } // if $delete_data = array_var($_POST, 'deleteUser'); Index: application/functions.php =================================================================== --- application/functions.php (revision 146) +++ application/functions.php (working copy) @@ -96,20 +96,40 @@ function get_url($controller_name = null, $action_name = null, $params = null, $anchor = null, $include_project_id = true) { $controller = trim($controller_name) ? $controller_name : DEFAULT_CONTROLLER; $action = trim($action_name) ? $action_name : DEFAULT_ACTION; - if (!is_array($params) && !is_null($params)) { + if (!is_null($params) && !is_array($params)) { $params = array('id' => $params); } // if - $url_params = array('c=' . $controller, 'a=' . $action); + $url_params = array(); + $clean_url_params = array(); if ($include_project_id) { - if (function_exists('active_project') && (active_project() instanceof Project)) { - if (!(is_array($params) && isset($params['active_project']))) { - $url_params[] = 'active_project=' . active_project()->getId(); - } // if - } // if - } // if + if (is_array($params) && isset($params['active_project'])) { + $active_project = $params['active_project']; + unset($params['active_project']); + } elseif (function_exists('active_project') && (active_project() instanceof Project)) { + $active_project = active_project()->getId(); + } + if (trim($active_project) <> '') { + if (!CLEAN_URL) { + $url_params[] = 'active_project=' . $active_project; + } else { + $clean_url_params[] = $active_project; + } + } + } + if (!CLEAN_URL) { + array_push($url_params, 'c=' . $controller, 'a=' . $action); + } else { + array_push($clean_url_params, $controller, $action); + if (isset($params['id']) && trim($params['id'] <> '')) { + $id = $params['id']; + unset($params['id']); + $clean_url_params[] = $id; + } + } + if (is_array($params)) { foreach ($params as $param_name => $param_value) { if (is_bool($param_value)) { @@ -124,7 +144,11 @@ $anchor = '#' . $anchor; } // if - return with_slash(ROOT_URL) . 'index.php?' . implode('&', $url_params) . $anchor; + if (!CLEAN_URL) { + return with_slash(ROOT_URL).'index.php?'.implode('&', $url_params).$anchor; + } else { + return with_slash(ROOT_URL).implode('/', $clean_url_params).'/'.(count($url_params) ? '?'.implode('&', $url_params) : '').$anchor; + } } // get_url // --------------------------------------------------- Index: application/helpers/application.php =================================================================== --- application/helpers/application.php (revision 146) +++ application/helpers/application.php (working copy) @@ -33,7 +33,7 @@ $system_notices = array(); if (config_option('upgrade_check_enabled', false) && config_option('upgrade_last_check_new_version', false)) { - $system_notices[] = lang('new ProjectPier version available', get_url('administration', 'upgrade')); + $system_notices[] = lang('new ProjectPier version available', get_url('administration', 'upgrade', null, null, false)); } if (count($system_notices)) { Index: application/helpers/company_website.php =================================================================== --- application/helpers/company_website.php (revision 146) +++ application/helpers/company_website.php (working copy) @@ -12,7 +12,7 @@ * @return null */ function dashboard_crumbs() { - add_bread_crumb(lang('dashboard'), get_url('dashboard')); + add_bread_crumb(lang('dashboard'), get_url('dashboard', null, null, null, false)); $args = func_get_args(); if (!count($args)) { @@ -38,17 +38,17 @@ add_tabbed_navigation_item(new TabbedNavigationItem( DASHBOARD_TAB_OVERVIEW, lang('overview'), - get_url('dashboard', 'index') + get_url('dashboard', 'index', null, null, false) )); add_tabbed_navigation_item(new TabbedNavigationItem( DASHBOARD_TAB_MY_PROJECTS, lang('my projects'), - get_url('dashboard', 'my_projects') + get_url('dashboard', 'my_projects', null, null, false) )); add_tabbed_navigation_item(new TabbedNavigationItem( DASHBOARD_TAB_MY_TASKS, lang('my tasks'), - get_url('dashboard', 'my_tasks') + get_url('dashboard', 'my_tasks', null, null, false) )); tabbed_navigation_set_selected($selected); @@ -66,8 +66,8 @@ * @return null */ function administration_crumbs() { - add_bread_crumb(lang('dashboard'), get_url('dashboard')); - add_bread_crumb(lang('administration'), get_url('administration')); + add_bread_crumb(lang('dashboard'), get_url('dashboard', null, null, null, false)); + add_bread_crumb(lang('administration'), get_url('administration', null, null, null, false)); $args = func_get_args(); if (!count($args)) { @@ -98,42 +98,42 @@ add_tabbed_navigation_item(new TabbedNavigationItem( ADMINISTRATION_TAB_ADMINISTRATION, lang('index'), - get_url('administration', 'index') + get_url('administration', 'index', null, null, false) )); add_tabbed_navigation_item(new TabbedNavigationItem( ADMINISTRATION_TAB_COMPANY, lang('company'), - get_url('administration', 'company') + get_url('administration', 'company', null, null, false) )); add_tabbed_navigation_item(new TabbedNavigationItem( ADMINISTRATION_TAB_MEMBERS, lang('members'), - get_url('administration', 'members') + get_url('administration', 'members', null, null, false) )); add_tabbed_navigation_item(new TabbedNavigationItem( ADMINISTRATION_TAB_CLIENTS, lang('clients'), - get_url('administration', 'clients') + get_url('administration', 'clients', null, null, false) )); add_tabbed_navigation_item(new TabbedNavigationItem( ADMINISTRATION_TAB_PROJECTS, lang('projects'), - get_url('administration', 'projects') + get_url('administration', 'projects', null, null, false) )); add_tabbed_navigation_item(new TabbedNavigationItem( ADMINISTRATION_TAB_CONFIGURATION, lang('configuration'), - get_url('administration', 'configuration') + get_url('administration', 'configuration', null, null, false) )); add_tabbed_navigation_item(new TabbedNavigationItem( ADMINISTRATION_TAB_TOOLS, lang('administration tools'), - get_url('administration', 'tools') + get_url('administration', 'tools', null, null, false) )); add_tabbed_navigation_item(new TabbedNavigationItem( ADMINISTRATION_TAB_UPGRADE, lang('upgrade'), - get_url('administration', 'upgrade') + get_url('administration', 'upgrade', null, null, false) )); tabbed_navigation_set_selected($selected); } // administration_tabbed_navigation @@ -150,8 +150,8 @@ * @return null */ function account_crumbs() { - add_bread_crumb(lang('dashboard'), get_url('dashboard')); - add_bread_crumb(lang('account'), get_url('account')); + add_bread_crumb(lang('dashboard'), get_url('dashboard', null, null, null, false)); + add_bread_crumb(lang('account'), get_url('account', null, null, null, false)); $args = func_get_args(); if (!count($args)) { @@ -175,7 +175,7 @@ add_tabbed_navigation_item(new TabbedNavigationItem( ACCOUNT_TAB_MY_ACCOUNT, lang('my account'), - get_url('account', 'index') + get_url('account', 'index', null, null, false) )); tabbed_navigation_set_selected($selected); } // account_tabbed_navigation Index: application/helpers/project_website.php =================================================================== --- application/helpers/project_website.php (revision 146) +++ application/helpers/project_website.php (working copy) @@ -8,7 +8,7 @@ */ function project_crumbs() { - add_bread_crumb(lang('dashboard'), get_url('dashboard')); + add_bread_crumb(lang('dashboard'), get_url('dashboard', null, null, null, false)); add_bread_crumb(active_project()->getName(), active_project()->getOverviewUrl()); $args = func_get_args(); Index: application/layouts/account.php =================================================================== --- application/layouts/account.php (revision 146) +++ application/layouts/account.php (working copy) @@ -20,7 +20,7 @@
Index: application/layouts/administration.php =================================================================== --- application/layouts/administration.php (revision 146) +++ application/layouts/administration.php (working copy) @@ -21,7 +21,7 @@
Index: application/layouts/dashboard.php =================================================================== --- application/layouts/dashboard.php (revision 146) +++ application/layouts/dashboard.php (working copy) @@ -20,7 +20,7 @@
Index: application/layouts/project_website.php =================================================================== --- application/layouts/project_website.php (revision 146) +++ application/layouts/project_website.php (working copy) @@ -68,9 +68,6 @@ 'onblur' => 'if (value == \'\') value = \'' . $search_field_default_value . '\''); ?> - - - Index: application/models/companies/Company.class.php =================================================================== --- application/models/companies/Company.class.php (revision 146) +++ application/models/companies/Company.class.php (working copy) @@ -349,7 +349,7 @@ * @return null */ function getCardUrl() { - return get_url('company', 'card', $this->getId()); + return get_url('company', 'card', $this->getId(), null, false); } // getCardUrl /** @@ -361,9 +361,9 @@ */ function getViewUrl() { if ($this->getId() == owner_company()->getId()) { - return get_url('administration', 'company'); + return get_url('administration', 'company', null, null, false); } else { - return get_url('company', 'view_client', $this->getId()); + return get_url('company', 'view_client', $this->getId(), null, false); } // if } // getViewUrl @@ -375,7 +375,7 @@ * @return null */ function getEditUrl() { - return $this->isOwner() ? get_url('company', 'edit') : get_url('company', 'edit_client', $this->getId()); + return $this->isOwner() ? get_url('company', 'edit', null, null, false) : get_url('company', 'edit_client', $this->getId(), null, false); } // getEditUrl /** @@ -386,7 +386,7 @@ * @return string */ function getDeleteClientUrl() { - return get_url('company', 'delete_client', $this->getId()); + return get_url('company', 'delete_client', $this->getId(), null, false); } // getDeleteClientUrl /** @@ -396,7 +396,7 @@ * @return string */ function getUpdatePermissionsUrl() { - return get_url('company', 'update_permissions', $this->getId()); + return get_url('company', 'update_permissions', $this->getId(), null, false); } // getUpdatePermissionsUrl /** @@ -407,7 +407,7 @@ * @return string */ function getAddUserUrl() { - return get_url('user', 'add', array('company_id' => $this->getId())); + return get_url('user', 'add', array('company_id' => $this->getId()), null, false); } // getAddUserUrl /** @@ -418,7 +418,7 @@ * @return string */ function getEditLogoUrl() { - return get_url('company', 'edit_logo', $this->getId()); + return get_url('company', 'edit_logo', $this->getId(), null, false); } // getEditLogoUrl /** @@ -429,7 +429,7 @@ * @return string */ function getDeleteLogoUrl() { - return get_url('company', 'delete_logo', $this->getId()); + return get_url('company', 'delete_logo', $this->getId(), null, false); } // getDeleteLogoUrl // --------------------------------------------------- Index: application/models/config_categories/ConfigCategory.class.php =================================================================== --- application/models/config_categories/ConfigCategory.class.php (revision 146) +++ application/models/config_categories/ConfigCategory.class.php (working copy) @@ -89,7 +89,7 @@ * @return null */ function getUpdateUrl() { - return get_url('config', 'update_category', $this->getId()); + return get_url('config', 'update_category', $this->getId(), null, false); } // getUpdateUrl } // ConfigCategory Index: application/models/projects/Project.class.php =================================================================== --- application/models/projects/Project.class.php (revision 146) +++ application/models/projects/Project.class.php (working copy) @@ -1175,7 +1175,7 @@ ); // array return get_url('project', 'search', $params); } else { - return ROOT_URL . '/index.php'; + return get_url('project', 'search'); } // if } // getSearchUrl Index: application/models/users/User.class.php =================================================================== --- application/models/users/User.class.php (revision 146) +++ application/models/users/User.class.php (working copy) @@ -793,7 +793,7 @@ * @return string */ function getAccountUrl() { - return get_url('account', 'index'); + return get_url('account', 'index', null, null, false); } // getAccountUrl /** @@ -804,7 +804,7 @@ * @return null */ function getCardUrl() { - return get_url('user', 'card', $this->getId()); + return get_url('user', 'card', $this->getId(), null, false); } // getCardUrl /** @@ -815,7 +815,7 @@ * @return string */ function getEditUrl() { - return get_url('user', 'edit', $this->getId()); + return get_url('user', 'edit', $this->getId(), null, false); } // getEditUrl /** @@ -826,7 +826,7 @@ * @return string */ function getDeleteUrl() { - return get_url('user', 'delete', $this->getId()); + return get_url('user', 'delete', $this->getId(), null, false); } // getDeleteUrl /** @@ -841,7 +841,7 @@ $attributes['redirect_to'] = str_replace('&', '&', trim($redirect_to)); } // if - return get_url('account', 'edit_profile', $attributes); + return get_url('account', 'edit_profile', $attributes, null, false); } // getEditProfileUrl /** @@ -856,7 +856,7 @@ $attributes['redirect_to'] = str_replace('&', '&', trim($redirect_to)); } // if - return get_url('account', 'edit_password', $attributes); + return get_url('account', 'edit_password', $attributes, null, false); } // getEditPasswordUrl /** @@ -871,7 +871,7 @@ $attributes['redirect_to'] = str_replace('&', '&', trim($redirect_to)); } // if - return get_url('account', 'update_permissions', $attributes); + return get_url('account', 'update_permissions', $attributes, null, false); } // getUpdatePermissionsUrl /** @@ -886,7 +886,7 @@ $attributes['redirect_to'] = str_replace('&', '&', trim($redirect_to)); } // if - return get_url('account', 'edit_avatar', $attributes); + return get_url('account', 'edit_avatar', $attributes, null, false); } // getUpdateAvatarUrl /** @@ -901,7 +901,7 @@ $attributes['redirect_to'] = str_replace('&', '&', trim($redirect_to)); } // if - return get_url('account', 'delete_avatar', $attributes); + return get_url('account', 'delete_avatar', $attributes, null, false); } // getDeleteAvatarUrl /** Index: application/views/access/complete_installation.php =================================================================== --- application/views/access/complete_installation.php (revision 146) +++ application/views/access/complete_installation.php (working copy) @@ -1,5 +1,5 @@ -
+

Index: application/views/access/forgot_password.php =================================================================== --- application/views/access/forgot_password.php (revision 146) +++ application/views/access/forgot_password.php (working copy) @@ -1,10 +1,10 @@ - +
'long', 'id' => 'forgotPasswordEmail')) ?>
-
()
+
()
Index: application/views/access/login.php =================================================================== --- application/views/access/login.php (revision 146) +++ application/views/access/login.php (working copy) @@ -1,5 +1,5 @@ -
+ @@ -25,6 +25,6 @@ -
(?)
- +
(?)
+
Index: application/views/account/edit_avatar.php =================================================================== --- application/views/account/edit_avatar.php (revision 146) +++ application/views/account/edit_avatar.php (working copy) @@ -15,7 +15,7 @@ } else { administration_tabbed_navigation(ADMINISTRATION_TAB_CLIENTS); administration_crumbs(array( - array(lang('clients'), get_url('administration', 'clients')), + array(lang('clients'), get_url('administration', 'clients', null, null, false)), array($user->getCompany()->getName(), $user->getCompany()->getViewUrl()), array($user->getDisplayName(), $user->getCardUrl()), array(lang('update avatar')) Index: application/views/account/edit_password.php =================================================================== --- application/views/account/edit_password.php (revision 146) +++ application/views/account/edit_password.php (working copy) @@ -15,7 +15,7 @@ } else { administration_tabbed_navigation(ADMINISTRATION_TAB_CLIENTS); administration_crumbs(array( - array(lang('clients'), get_url('administration', 'clients')), + array(lang('clients'), get_url('administration', 'clients', null, null, false)), array($user->getCompany()->getName(), $user->getCompany()->getViewUrl()), array($user->getDisplayName(), $user->getCardUrl()), array(lang('change password')) Index: application/views/account/edit_profile.php =================================================================== --- application/views/account/edit_profile.php (revision 146) +++ application/views/account/edit_profile.php (working copy) @@ -15,7 +15,7 @@ } else { administration_tabbed_navigation(ADMINISTRATION_TAB_CLIENTS); administration_crumbs(array( - array(lang('clients'), get_url('administration', 'clients')), + array(lang('clients'), get_url('administration', 'clients', null, null, false)), array($company->getName(), $company->getViewUrl()), array($user->getDisplayName(), $user->getCardUrl()), array(lang('update profile')) Index: application/views/account/update_permissions.php =================================================================== --- application/views/account/update_permissions.php (revision 146) +++ application/views/account/update_permissions.php (working copy) @@ -11,7 +11,7 @@ } else { administration_tabbed_navigation(ADMINISTRATION_TAB_CLIENTS); administration_crumbs(array( - array(lang('clients'), get_url('administration', 'clients')), + array(lang('clients'), get_url('administration', 'clients', null, null, false)), array($user->getCompany()->getName(), $user->getCompany()->getViewUrl()), array($user->getDisplayName(), $user->getCardUrl()), array(lang('update permissions')) Index: application/views/administration/clients.php =================================================================== --- application/views/administration/clients.php (revision 146) +++ application/views/administration/clients.php (working copy) @@ -6,7 +6,7 @@ administration_crumbs(lang('clients')); if (owner_company()->canAddClient(logged_user())) { - add_page_action(lang('add client'), get_url('company', 'add_client')); + add_page_action(lang('add client'), get_url('company', 'add_client', null, null, false)); } // if ?> Index: application/views/administration/index.php =================================================================== --- application/views/administration/index.php (revision 146) +++ application/views/administration/index.php (working copy) @@ -11,12 +11,12 @@
Index: application/views/administration/projects.php =================================================================== --- application/views/administration/projects.php (revision 146) +++ application/views/administration/projects.php (working copy) @@ -6,7 +6,7 @@ administration_crumbs(lang('projects')); if (Project::canAdd(logged_user())) { - add_page_action(lang('add project'), get_url('project', 'add')); + add_page_action(lang('add project'), get_url('project', 'add', null, null, false)); } // if ?> Index: application/views/administration/tool_mass_mailer.php =================================================================== --- application/views/administration/tool_mass_mailer.php (revision 146) +++ application/views/administration/tool_mass_mailer.php (working copy) @@ -2,7 +2,7 @@ set_page_title($tool->getDisplayName()); administration_tabbed_navigation(ADMINISTRATION_TAB_TOOLS); administration_crumbs(array( - array(lang('administration tools'), get_url('administration', 'tools')), + array(lang('administration tools'), get_url('administration', 'tools', null, null, false)), array($tool->getDisplayName()) )); add_stylesheet_to_page('admin/massmailer.css'); Index: application/views/administration/tool_test_email.php =================================================================== --- application/views/administration/tool_test_email.php (revision 146) +++ application/views/administration/tool_test_email.php (working copy) @@ -2,7 +2,7 @@ set_page_title($tool->getDisplayName()); administration_tabbed_navigation(ADMINISTRATION_TAB_TOOLS); administration_crumbs(array( - array(lang('administration tools'), get_url('administration', 'tools')), + array(lang('administration tools'), get_url('administration', 'tools', null, null, false)), array($tool->getDisplayName()) )); ?> Index: application/views/application/user_box.php =================================================================== --- application/views/application/user_box.php (revision 146) +++ application/views/application/user_box.php (working copy) @@ -1,12 +1,12 @@
- getDisplayName())) ?> (), + getDisplayName())) ?> (), @@ -19,8 +19,8 @@

: