diff --git a/codepot/src/codepot/views/code_blame.php b/codepot/src/codepot/views/code_blame.php index abe6fa4e..0712a44b 100644 --- a/codepot/src/codepot/views/code_blame.php +++ b/codepot/src/codepot/views/code_blame.php @@ -148,7 +148,7 @@ $this->load->view ( id}{$revreqroot}", - htmlspecialchars($project->name)); + htmlspecialchars($project->id)); $exps = explode ('/', $headpath); $expsize = count($exps); diff --git a/codepot/src/codepot/views/code_diff.php b/codepot/src/codepot/views/code_diff.php index bc950f29..ce7addec 100644 --- a/codepot/src/codepot/views/code_diff.php +++ b/codepot/src/codepot/views/code_diff.php @@ -201,7 +201,7 @@ $this->load->view ( print anchor ( "code/file/{$project->id}{$revreqroot}", - htmlspecialchars($project->name)); + htmlspecialchars($project->id)); $exps = explode ('/', $headpath); $expsize = count($exps); diff --git a/codepot/src/codepot/views/code_edit.php b/codepot/src/codepot/views/code_edit.php index 4d0a13fe..fed26bb7 100644 --- a/codepot/src/codepot/views/code_edit.php +++ b/codepot/src/codepot/views/code_edit.php @@ -274,7 +274,7 @@ $this->load->view ( id}{$revreqroot}", - htmlspecialchars($project->name)); + htmlspecialchars($project->id)); $exps = explode ('/', $headpath); $expsize = count($exps); diff --git a/codepot/src/codepot/views/code_file.php b/codepot/src/codepot/views/code_file.php index f9855a8d..8232d2cb 100644 --- a/codepot/src/codepot/views/code_file.php +++ b/codepot/src/codepot/views/code_file.php @@ -860,7 +860,7 @@ $this->load->view ( id}{$revreqroot}", - htmlspecialchars($project->name)); + htmlspecialchars($project->id)); $exps = explode ('/', $headpath); $expsize = count($exps); diff --git a/codepot/src/codepot/views/code_folder.php b/codepot/src/codepot/views/code_folder.php index e87b43d9..b32735df 100644 --- a/codepot/src/codepot/views/code_folder.php +++ b/codepot/src/codepot/views/code_folder.php @@ -1160,7 +1160,7 @@ $this->load->view ( // let the anchor text be the project name. print anchor ( "code/file/{$project->id}{$revreqroot}", - htmlspecialchars($project->name)); + htmlspecialchars($project->id)); // explode non-root folder parts to anchors $exps = explode ('/', $headpath); diff --git a/codepot/src/codepot/views/code_history.php b/codepot/src/codepot/views/code_history.php index b0ab915b..d4ed36a6 100644 --- a/codepot/src/codepot/views/code_history.php +++ b/codepot/src/codepot/views/code_history.php @@ -70,7 +70,7 @@ $this->load->view ( // print the anchor for the root nolder with a project name print anchor ( "code/history/{$project->id}{$revreqroot}", - htmlspecialchars($project->name)); + htmlspecialchars($project->id)); // explodes part of the full path name into an array $exps = explode ('/', $fullpath); diff --git a/codepot/src/codepot/views/code_revision.php b/codepot/src/codepot/views/code_revision.php index 564bacc5..711437dd 100644 --- a/codepot/src/codepot/views/code_revision.php +++ b/codepot/src/codepot/views/code_revision.php @@ -586,7 +586,7 @@ $history = $file['history']; id}{$revreqroot}", - htmlspecialchars($project->name)); + htmlspecialchars($project->id)); $exps = explode ('/', $headpath); $expsize = count($exps); diff --git a/codepot/src/codepot/views/code_search.php b/codepot/src/codepot/views/code_search.php index 46dd9784..f9f2e7ad 100644 --- a/codepot/src/codepot/views/code_search.php +++ b/codepot/src/codepot/views/code_search.php @@ -136,7 +136,7 @@ $this->load->view ( // let the anchor text be the project name. print anchor ( "code/file/{$project->id}{$revreqroot}", - htmlspecialchars($project->name)); + htmlspecialchars($project->id)); // explode non-root folder parts to anchors $exps = explode ('/', $headpath);