Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

store enabled exts in a config file, rather than moving directories a…

…round
  • Loading branch information...
commit 75abdc7c0473bde0136a3b56988446ec3e9cbd57 2 parents 67f1c1c + b17d8b2
@shish authored
Showing with 10 additions and 2 deletions.
  1. +1 −1  ext/numeric_score/main.php
  2. +9 −1 ext/user/main.php
  3. 0  {ext/simpletest → lib}/simpletest/HELP_MY_TESTS_DONT_WORK_ANYMORE
  4. 0  {ext/simpletest → lib}/simpletest/LICENSE
  5. 0  {ext/simpletest → lib}/simpletest/README
  6. 0  {ext/simpletest → lib}/simpletest/VERSION
  7. 0  {ext/simpletest → lib}/simpletest/arguments.php
  8. 0  {ext/simpletest → lib}/simpletest/authentication.php
  9. 0  {ext/simpletest → lib}/simpletest/autorun.php
  10. 0  {ext/simpletest → lib}/simpletest/browser.php
  11. 0  {ext/simpletest → lib}/simpletest/collector.php
  12. 0  {ext/simpletest → lib}/simpletest/compatibility.php
  13. 0  {ext/simpletest → lib}/simpletest/cookies.php
  14. 0  {ext/simpletest → lib}/simpletest/default_reporter.php
  15. 0  {ext/simpletest → lib}/simpletest/detached.php
  16. 0  {ext/simpletest → lib}/simpletest/dumper.php
  17. 0  {ext/simpletest → lib}/simpletest/eclipse.php
  18. 0  {ext/simpletest → lib}/simpletest/encoding.php
  19. 0  {ext/simpletest → lib}/simpletest/errors.php
  20. 0  {ext/simpletest → lib}/simpletest/exceptions.php
  21. 0  {ext/simpletest → lib}/simpletest/expectation.php
  22. 0  {ext/simpletest → lib}/simpletest/extensions/pear_test_case.php
  23. 0  {ext/simpletest → lib}/simpletest/extensions/testdox.php
  24. 0  {ext/simpletest → lib}/simpletest/extensions/testdox/test.php
  25. 0  {ext/simpletest → lib}/simpletest/form.php
  26. 0  {ext/simpletest → lib}/simpletest/frames.php
  27. 0  {ext/simpletest → lib}/simpletest/http.php
  28. 0  {ext/simpletest → lib}/simpletest/invoker.php
  29. 0  {ext/simpletest → lib}/simpletest/mock_objects.php
  30. 0  {ext/simpletest → lib}/simpletest/page.php
  31. 0  {ext/simpletest → lib}/simpletest/php_parser.php
  32. 0  {ext/simpletest → lib}/simpletest/recorder.php
  33. 0  {ext/simpletest → lib}/simpletest/reflection_php4.php
  34. 0  {ext/simpletest → lib}/simpletest/reflection_php5.php
  35. 0  {ext/simpletest → lib}/simpletest/remote.php
  36. 0  {ext/simpletest → lib}/simpletest/reporter.php
  37. 0  {ext/simpletest → lib}/simpletest/scorer.php
  38. 0  {ext/simpletest → lib}/simpletest/selector.php
  39. 0  {ext/simpletest → lib}/simpletest/shell_tester.php
  40. 0  {ext/simpletest → lib}/simpletest/simpletest.php
  41. 0  {ext/simpletest → lib}/simpletest/socket.php
  42. 0  {ext/simpletest → lib}/simpletest/tag.php
  43. 0  {ext/simpletest → lib}/simpletest/test_case.php
  44. 0  {ext/simpletest → lib}/simpletest/tidy_parser.php
  45. 0  {ext/simpletest → lib}/simpletest/unit_tester.php
  46. 0  {ext/simpletest → lib}/simpletest/url.php
  47. 0  {ext/simpletest → lib}/simpletest/user_agent.php
  48. 0  {ext/simpletest → lib}/simpletest/web_tester.php
  49. 0  {ext/simpletest → lib}/simpletest/xml.php
View
2  ext/numeric_score/main.php
@@ -38,7 +38,7 @@ public function onDisplayingImage(DisplayingImageEvent $event) {
public function onUserPageBuilding(UserPageBuildingEvent $event) {
global $page, $user;
- if($user->can("edit_other_votes")) {
+ if($user->can("edit_other_vote")) {
$html = $this->theme->get_nuller_html($event->display_user);
$page->add_block(new Block("Votes", $html, "main", 60));
}
View
10 ext/user/main.php
@@ -203,7 +203,15 @@ public function onUserPageBuilding(UserPageBuildingEvent $event) {
$event->add_stats("Joined: $h_join_date", 10);
$av = $event->display_user->get_avatar_html();
- if($av) $event->add_stats($av, 0);
+ if($av) {
+ $event->add_stats($av, 0);
+ }
+ else if((
+ $config->get_string("avatar_host") == "gravatar") &&
+ ($user->id == $event->display_user->id)
+ ) {
+ $event->add_stats("No avatar? This gallery uses <a href='http://gravatar.com'>Gravatar</a> for avatar hosting, use the same email address here and there to have your avatar synced", 0);
+ }
ksort($event->stats);
$this->theme->display_user_page($event->display_user, $event->stats);
View
0  ...letest/simpletest/HELP_MY_TESTS_DONT_WORK_ANYMORE → lib/simpletest/HELP_MY_TESTS_DONT_WORK_ANYMORE
File renamed without changes
View
0  ext/simpletest/simpletest/LICENSE → lib/simpletest/LICENSE
File renamed without changes
View
0  ext/simpletest/simpletest/README → lib/simpletest/README
File renamed without changes
View
0  ext/simpletest/simpletest/VERSION → lib/simpletest/VERSION
File renamed without changes
View
0  ext/simpletest/simpletest/arguments.php → lib/simpletest/arguments.php
File renamed without changes
View
0  ext/simpletest/simpletest/authentication.php → lib/simpletest/authentication.php
File renamed without changes
View
0  ext/simpletest/simpletest/autorun.php → lib/simpletest/autorun.php
File renamed without changes
View
0  ext/simpletest/simpletest/browser.php → lib/simpletest/browser.php
File renamed without changes
View
0  ext/simpletest/simpletest/collector.php → lib/simpletest/collector.php
File renamed without changes
View
0  ext/simpletest/simpletest/compatibility.php → lib/simpletest/compatibility.php
File renamed without changes
View
0  ext/simpletest/simpletest/cookies.php → lib/simpletest/cookies.php
File renamed without changes
View
0  ext/simpletest/simpletest/default_reporter.php → lib/simpletest/default_reporter.php
File renamed without changes
View
0  ext/simpletest/simpletest/detached.php → lib/simpletest/detached.php
File renamed without changes
View
0  ext/simpletest/simpletest/dumper.php → lib/simpletest/dumper.php
File renamed without changes
View
0  ext/simpletest/simpletest/eclipse.php → lib/simpletest/eclipse.php
File renamed without changes
View
0  ext/simpletest/simpletest/encoding.php → lib/simpletest/encoding.php
File renamed without changes
View
0  ext/simpletest/simpletest/errors.php → lib/simpletest/errors.php
File renamed without changes
View
0  ext/simpletest/simpletest/exceptions.php → lib/simpletest/exceptions.php
File renamed without changes
View
0  ext/simpletest/simpletest/expectation.php → lib/simpletest/expectation.php
File renamed without changes
View
0  ...mpletest/simpletest/extensions/pear_test_case.php → lib/simpletest/extensions/pear_test_case.php
File renamed without changes
View
0  ext/simpletest/simpletest/extensions/testdox.php → lib/simpletest/extensions/testdox.php
File renamed without changes
View
0  ...simpletest/simpletest/extensions/testdox/test.php → lib/simpletest/extensions/testdox/test.php
File renamed without changes
View
0  ext/simpletest/simpletest/form.php → lib/simpletest/form.php
File renamed without changes
View
0  ext/simpletest/simpletest/frames.php → lib/simpletest/frames.php
File renamed without changes
View
0  ext/simpletest/simpletest/http.php → lib/simpletest/http.php
File renamed without changes
View
0  ext/simpletest/simpletest/invoker.php → lib/simpletest/invoker.php
File renamed without changes
View
0  ext/simpletest/simpletest/mock_objects.php → lib/simpletest/mock_objects.php
File renamed without changes
View
0  ext/simpletest/simpletest/page.php → lib/simpletest/page.php
File renamed without changes
View
0  ext/simpletest/simpletest/php_parser.php → lib/simpletest/php_parser.php
File renamed without changes
View
0  ext/simpletest/simpletest/recorder.php → lib/simpletest/recorder.php
File renamed without changes
View
0  ext/simpletest/simpletest/reflection_php4.php → lib/simpletest/reflection_php4.php
File renamed without changes
View
0  ext/simpletest/simpletest/reflection_php5.php → lib/simpletest/reflection_php5.php
File renamed without changes
View
0  ext/simpletest/simpletest/remote.php → lib/simpletest/remote.php
File renamed without changes
View
0  ext/simpletest/simpletest/reporter.php → lib/simpletest/reporter.php
File renamed without changes
View
0  ext/simpletest/simpletest/scorer.php → lib/simpletest/scorer.php
File renamed without changes
View
0  ext/simpletest/simpletest/selector.php → lib/simpletest/selector.php
File renamed without changes
View
0  ext/simpletest/simpletest/shell_tester.php → lib/simpletest/shell_tester.php
File renamed without changes
View
0  ext/simpletest/simpletest/simpletest.php → lib/simpletest/simpletest.php
File renamed without changes
View
0  ext/simpletest/simpletest/socket.php → lib/simpletest/socket.php
File renamed without changes
View
0  ext/simpletest/simpletest/tag.php → lib/simpletest/tag.php
File renamed without changes
View
0  ext/simpletest/simpletest/test_case.php → lib/simpletest/test_case.php
File renamed without changes
View
0  ext/simpletest/simpletest/tidy_parser.php → lib/simpletest/tidy_parser.php
File renamed without changes
View
0  ext/simpletest/simpletest/unit_tester.php → lib/simpletest/unit_tester.php
File renamed without changes
View
0  ext/simpletest/simpletest/url.php → lib/simpletest/url.php
File renamed without changes
View
0  ext/simpletest/simpletest/user_agent.php → lib/simpletest/user_agent.php
File renamed without changes
View
0  ext/simpletest/simpletest/web_tester.php → lib/simpletest/web_tester.php
File renamed without changes
View
0  ext/simpletest/simpletest/xml.php → lib/simpletest/xml.php
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.