Skip to content

Commit

Permalink
Merge branch 'master' into talmdal_dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Almdal committed May 9, 2010
2 parents 14683ec + b2f7f80 commit 357d20a
Show file tree
Hide file tree
Showing 32 changed files with 78 additions and 59 deletions.
Binary file modified lib/flowplayer.controls.swf
Binary file not shown.
Binary file removed lib/flowplayer.h264streaming.swf
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/flowplayer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added lib/flowplayer.pseudostreaming.swf
Binary file not shown.
Binary file modified lib/flowplayer.swf
Binary file not shown.
8 changes: 4 additions & 4 deletions lib/yui/base-min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions lib/yui/reset-fonts-grids.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions modules/akismet/controllers/admin_akismet.php
Expand Up @@ -50,6 +50,7 @@ public function index() {

akismet::check_config();
$view = new Admin_View("admin.html");
$view->page_title = t("Akismet spam filtering");
$view->content = new View("admin_akismet.html");
$view->content->valid_key = $valid_key;
$view->content->form = $form;
Expand Down
1 change: 1 addition & 0 deletions modules/comment/controllers/admin_comments.php
Expand Up @@ -44,6 +44,7 @@ public function queue($state) {
$page = max(Input::instance()->get("page"), 1);

$view = new Admin_View("admin.html");
$view->page_title = t("Manage comments");
$view->content = new View("admin_comments.html");
$view->content->counts = $this->_counts();
$view->content->menu = $this->_menu($view->content->counts);
Expand Down
2 changes: 1 addition & 1 deletion modules/comment/css/comment.css
Expand Up @@ -28,7 +28,7 @@
width: 32px;
}

#g-admin-comment-button {
#g-add-comment {
position: absolute;
right: 0;
top: 2px;
Expand Down
9 changes: 5 additions & 4 deletions modules/comment/js/comment.js
@@ -1,16 +1,17 @@
$("document").ready(function() {
$("#g-admin-comment-button").click(function(event) {
$("#g-add-comment").click(function(event) {
event.preventDefault();
if (!$("#g-comment-form").length) {
$.get($(this).attr("href"),
{},
function(data) {
$("#g-comment-detail").append(data);
ajaxify_comment_form();
$.scrollTo("#g-comment-form-anchor", 800);
});
}
});
$("#g-no-comments").click(function(event) {
$(".g-no-comments a").click(function(event) {
event.preventDefault();
if (!$("#g-comment-form").length) {
$.get($(this).attr("href"),
Expand All @@ -19,7 +20,7 @@ $("document").ready(function() {
$("#g-comment-detail").append(data);
ajaxify_comment_form();
});
$("#g-no-comments-yet").remove();
$(".g-no-comments").remove();
}
});
});
Expand All @@ -32,7 +33,7 @@ function ajaxify_comment_form() {
$("#g-comments #g-comment-detail ul").append(data.view);
$("#g-comments #g-comment-detail ul li:last").effect("highlight", {color: "#cfc"}, 8000);
$("#g-comment-form").hide(2000).remove();
$("#g-no-comments-yet").hide(2000);
$("#g-no-comments").hide(2000);
} else {
if (data.form) {
$("#g-comments form").replaceWith(data.form);
Expand Down

0 comments on commit 357d20a

Please sign in to comment.