X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Fviews%2Fvideo%2Fwatch_view.php;fp=application%2Fviews%2Fvideo%2Fwatch_view.php;h=2da1ba0e309460a4e1cb71348e2fa159db9f6bb6;hb=a69349a99360f6cb64ae3d87f6572f1d8a98400f;hp=f102c4efdc1b36400839353a6f7ad8479c8e3081;hpb=faf92fa039c2be353c94d0d0e8e488e56eaa5058;p=living-lab-site.git diff --git a/application/views/video/watch_view.php b/application/views/video/watch_view.php index f102c4e..2da1ba0 100644 --- a/application/views/video/watch_view.php +++ b/application/views/video/watch_view.php @@ -34,58 +34,68 @@
-
-
- lang->line('ui_uploaded_by') ?> - "> - lang->line('ui_on_date') ?> - -
+
-
-
- lang->line('ui_view') : - $this->lang->line('ui_views') ); - ?> -
- -
- lang->line('video_like') ?> - lang->line('video_dislike') ?> - lang->line('ui_likes') ?>, - lang->line('ui_dislikes'); ?> + - -
-
-
lang->line('ui_category')) - . ': ' ?>
-
-
- -
-
lang->line('ui_tags')). ': ' ?>
-
$score): ?> - - - -
-
- -
-
lang->line('ui_license')).': ' ?>
-
-
+
-
@@ -134,7 +144,7 @@ }); $('.link-vote') - .click(function() { + .click(function(event) { var user_id = ""; var action, idOutput; if ($(this).data('action') == 'like') @@ -149,13 +159,15 @@ } //alert(action + " " + user_id); + event.preventDefault(); + if (user_id.length != 0) { $.ajax({ type: "GET", url: "/" + action - + "", + + "", data: {t: ""+Math.random()}, dataType: "text", success: function(text) { @@ -179,7 +191,7 @@ { $.ajax({ type: "GET", - url: "", + url: "", dataType: "text", success: function(text) { if (text)