'+
"Preferred format is city, state, country (so for us, "+
@@ -19,12 +21,15 @@ $(function() {
$("#location_sub").text(json.location);
loc=true;
$("#description").html("");
+ log_event("profile", {"type":"location_change", "new":json.location});
});
});
}
});
$("#change_language").click(function() {
+ log_event("profile", {"type":"language_show", "old":$("#language_sub").text()});
+
if(lang) {
lang=false;
$("#language_sub").html('
'+
@@ -34,6 +39,7 @@ $(function() {
$("#language_sub").text(json.language);
lang=true;
$("#description").html("");
+ log_event("profile", {"type":"language_change", "new":json.language});
});
});
}
@@ -45,12 +51,14 @@ $(function() {
$('#change_password').click(function(){
$('#inline').trigger('click');
+ log_event("profile", {"type":"password_show"});
});
$('#pwd_reset_button').click(function() {
$.post('/password_reset/',{ "csrfmiddlewaretoken" : "${ csrf }",
"email" : $('#id_email').val()}, function(data){
$('#pwd_reset').html(data);
+ log_event("profile", {"type":"password_send"});
});
});
})
diff --git a/staticbook.html b/staticbook.html
index 6d336c56fd..063b21fa3d 100644
--- a/staticbook.html
+++ b/staticbook.html
@@ -7,6 +7,7 @@ $(document).ready(function(){
});
function goto_page(n) {
+ log_event("book", {"type":"gotopage","old":page,"new":n});
page=n;
var prefix = "";
if(n<100) {
@@ -22,12 +23,14 @@ function prev_page() {
page=page-1;
if(page<1) page=1;
goto_page(page);
+ log_event("book", {"type":"prevpage","new":page});
}
function next_page() {
page=page+1;
if(page>1764) page=1764;
goto_page(page);
+ log_event("book", {"type":"nextpage","new":page});
}
diff --git a/video.html b/video.html
index 2e400757ac..661e2fc9db 100644
--- a/video.html
+++ b/video.html
@@ -1,10 +1,14 @@
- |
+ |
|
You need Flash player 8+ and JavaScript enabled to view this video.
|
- |
+
+
+ |
+ |
+ |
|
|
|
@@ -16,13 +20,15 @@
|
|
|
+ |
+ |
 |
-
+
+ |
|
|
- |
-
- |
+ |
+0:00/0:00 | |