X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=application%2Fviews%2Fvideo%2Fwatch_view.php;h=4477f8fe943aaf1721e705257ed288e1cd82bc70;hb=66dc2204a919e2c29b2aa9330ea18026d58540d9;hp=2da1ba0e309460a4e1cb71348e2fa159db9f6bb6;hpb=a69349a99360f6cb64ae3d87f6572f1d8a98400f;p=living-lab-site.git
diff --git a/application/views/video/watch_view.php b/application/views/video/watch_view.php
index 2da1ba0..4477f8f 100644
--- a/application/views/video/watch_view.php
+++ b/application/views/video/watch_view.php
@@ -63,35 +63,41 @@
-
+
-
- - lang->line('ui_category'))
- . ': ' ?>
-
-
-
-
- - lang->line('ui_tags')). ': ' ?>
- - $score): ?>
-
-
-
-
-
-
-
- - lang->line('ui_download_torrents') ?>:
-
-
-
-
+
+
+
+
+ - lang->line('ui_category'))
+ . ': ' ?>
+
+
+
+
+ - lang->line('ui_tags')). ': ' ?>
+ - $score): ?>
+
+
+
+
+
+
+
+ - lang->line('ui_download_torrents') ?>:
+
+
+
+
+
+
+ - lang->line('ui_license')).': ' ?>
+
+
+
-
- - lang->line('ui_license')).': ' ?>
-
-
+ lang->line('video_show_more') ?>
@@ -225,5 +231,32 @@
alert('lang->line('ui_msg_login_restriction') ?>');
})
.button();
+
+ $('#video-info-details').hide();
+
+ $('#a-show-info-details')
+// .button({
+// icons: {
+// primary: 'ui-icon-triangle-1-s'
+// },
+// text: false
+// })
+ .click(function(event) {
+ event.preventDefault(true);
+ $('#video-shorted-description').toggle();
+ $('#video-info-details').fadeToggle();
+
+ //console.log($(this).button('option', 'icons'));
+ if ($(this).data('val') == 'more')
+ {
+ $(this).data('val', 'less');
+ $(this).html('lang->line('video_show_less') ?>');
+ }
+ else
+ {
+ $(this).data('val', 'more');
+ $(this).html('lang->line('video_show_more') ?>');
+ }
+ });
});
\ No newline at end of file