aboutsummaryrefslogtreecommitdiff
path: root/views/default/videolist
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/videolist')
-rw-r--r--views/default/videolist/css.php398
-rw-r--r--views/default/videolist/groupprofile_videolist.php106
-rw-r--r--views/default/videolist/notfound.php40
3 files changed, 272 insertions, 272 deletions
diff --git a/views/default/videolist/css.php b/views/default/videolist/css.php
index 76f23941d..8c52b0e6c 100644
--- a/views/default/videolist/css.php
+++ b/views/default/videolist/css.php
@@ -1,199 +1,199 @@
-<?php
-/**
- * Elgg Candidate Profile Video Plugin
- * This plugin allows users to create a library of youtube videos
- *
- * @package ElggProfile
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Prateek Choudhary <synapticfield@gmail.com>
- * @copyright Prateek Choudhary
- */
-
-
-?>
-
-.error{
-color:red;
-font-weight:bold;
-font-size:11px;
-}
-#video-list-main{
-padding:10px;
-}
-#videocontainer{
-width:100%;
-margin-bottom:10px;
-}
-.search_gallery_item{
-border:0px solid #CCCCCC;
-}
-#videobox{
-width:98%;
-text-align:center;
-margin-top:10px;
-}
-#videoDescbox{
-width:95%;
-margin:0px 5px 0px 8px;
-}
-#videoActionbox{
-width:90%;
-margin:0px 5px 0px 8px;
-float:left;
-}
-#videothumbnail-box{
-float:left;
-width:35%;
-background: #333333;
-text-align:center;
-padding:3px 1px 3px 0px;
-}
-#videotitle-box{
-width:60%;
-float:left;
-font-size:12px;
-font-weight:bold;
-text-align:left;
-padding-left:5px;
-color:#474B9F;
-}
-.title{
-font-weight:bold;
-}
-#profile_video_widget_container{
-margin:0px 10px 10px 10px;
-padding:8px;
--moz-border-radius-topleft:8px;
--moz-border-radius-topright:8px;
--moz-border-radius-bottomleft:8px;
--moz-border-radius-bottomright:8px;
-border:0px solid #C3C3C3;
-background: #FFFFFF;
-max-height:250px;
-overflow-y:auto;
-}
-#profile_video_image_container{
-float:left;
-width:95%;
-margin:6px 2px 0px 6px;
-border-bottom:1px solid #CCC;
-padding-bottom:3px;
-}
-
-#widget_container_header{
-color:#474B9F;
-margin:0px 0px 5px 0px;
-font-weight:bold;
-font-size:13px;
-}
-#loadingSearch{
-width:100%;
-}
-#SearchContainer{
-width:100%;
-}
-#responseSearch{
-padding:15px;
-}
-#paginateSearch{
--moz-border-radius-topleft:5px;
--moz-border-radius-topright:5px;
-padding:2px 5px 2px 0px;
-text-align:right;
-background:#FFF;
-border:0px solid #CCC;
-color:#666;
-}
-th{
-text-align:center;
-font-weight:bold;
-font-size:13px;
-}
-#parentTab{
--moz-border-radius-bottomleft:8px;
--moz-border-radius-bottomright:8px;
--moz-border-radius-topleft:8px;
--moz-border-radius-topright:8px;
-border-top:1px solid #CCC;
-border-bottom:6px solid #CCC;
-border-left:1px solid #CCC;
-border-right:5px solid #CCC;
-background:#FFFFFF;
-margin-top:7px;
-}
-.tabcellDesc{
-padding:5px 5px 5px 10px;
-text-align: left;
-}
-.tabcellText{
-padding:5px;
-text-align: center;
-}
-.videoDisp{
-position:absolute;
--moz-border-radius-topleft:5px;
--moz-border-radius-topright:5px;
--moz-border-radius-bottomleft:5px;
--moz-border-radius-bottomright:5px;
-border:1px solid #000000;
-display:none;
-padding:10px;
-margin-left:120px;
-margin-top:-100px;
-background:#FFFFFF;
-z-index:300000;
-}
-.videolist-content{
--moz-border-radius-topleft:5px;
--moz-border-radius-topright:5px;
--moz-border-radius-bottomleft:5px;
--moz-border-radius-bottomright:5px;
-border:1px solid #C3C3C3;
-width:675px;
-margin:10px 0px 10px 10px;
-padding:10px;
-background:#FFFFFF;
-}
-.tubesearch{
--moz-border-radius-topleft:5px;
--moz-border-radius-topright:5px;
--moz-border-radius-bottomleft:5px;
--moz-border-radius-bottomright:5px;
-border:1px solid #666666;
-}
-#comment_area_video_title{
-padding:10px;
--moz-border-radius-topleft:5px;
--moz-border-radius-topright:5px;
--moz-border-radius-bottomleft:5px;
--moz-border-radius-bottomright:5px;
-border:1px solid #CCCCCC;
-border:1px solid #CCCCCC;
-background:#FFFFFF;
-}
-.vid-comment-widget{
-font-size:11px;
-font-weight:normal;
-}
-.searchvideorow{
-padding:10px;
--moz-border-radius-topleft:5px;
--moz-border-radius-topright:5px;
--moz-border-radius-bottomleft:5px;
--moz-border-radius-bottomright:5px;
-border:1px solid #CCCCCC;
-}
-#videosearch-tablecontainer{
--moz-border-radius-bottomleft:5px;
--moz-border-radius-bottomright:5px;
-border:1px solid #CCCCCC;
-background:#FFF;
-padding:10px;
-}
-#videosearch-interface{
-border-color:#CCCCCC;
-border-style:solid;
-border-width:0 1px 1px;
-margin-top:-15px;
-padding:15px 0 15px 20px;
-}
+<?php
+/**
+ * Elgg Candidate Profile Video Plugin
+ * This plugin allows users to create a library of youtube videos
+ *
+ * @package ElggProfile
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Prateek Choudhary <synapticfield@gmail.com>
+ * @copyright Prateek Choudhary
+ */
+
+
+?>
+
+.error{
+color:red;
+font-weight:bold;
+font-size:11px;
+}
+#video-list-main{
+padding:10px;
+}
+#videocontainer{
+width:100%;
+margin-bottom:10px;
+}
+.search_gallery_item{
+border:0px solid #CCCCCC;
+}
+#videobox{
+width:98%;
+text-align:center;
+margin-top:10px;
+}
+#videoDescbox{
+width:95%;
+margin:0px 5px 0px 8px;
+}
+#videoActionbox{
+width:90%;
+margin:0px 5px 0px 8px;
+float:left;
+}
+#videothumbnail-box{
+float:left;
+width:35%;
+background: #333333;
+text-align:center;
+padding:3px 1px 3px 0px;
+}
+#videotitle-box{
+width:60%;
+float:left;
+font-size:12px;
+font-weight:bold;
+text-align:left;
+padding-left:5px;
+color:#474B9F;
+}
+.title{
+font-weight:bold;
+}
+#profile_video_widget_container{
+margin:0px 10px 10px 10px;
+padding:8px;
+-moz-border-radius-topleft:8px;
+-moz-border-radius-topright:8px;
+-moz-border-radius-bottomleft:8px;
+-moz-border-radius-bottomright:8px;
+border:0px solid #C3C3C3;
+background: #FFFFFF;
+max-height:250px;
+overflow-y:auto;
+}
+#profile_video_image_container{
+float:left;
+width:95%;
+margin:6px 2px 0px 6px;
+border-bottom:1px solid #CCC;
+padding-bottom:3px;
+}
+
+#widget_container_header{
+color:#474B9F;
+margin:0px 0px 5px 0px;
+font-weight:bold;
+font-size:13px;
+}
+#loadingSearch{
+width:100%;
+}
+#SearchContainer{
+width:100%;
+}
+#responseSearch{
+padding:15px;
+}
+#paginateSearch{
+-moz-border-radius-topleft:5px;
+-moz-border-radius-topright:5px;
+padding:2px 5px 2px 0px;
+text-align:right;
+background:#FFF;
+border:0px solid #CCC;
+color:#666;
+}
+th{
+text-align:center;
+font-weight:bold;
+font-size:13px;
+}
+#parentTab{
+-moz-border-radius-bottomleft:8px;
+-moz-border-radius-bottomright:8px;
+-moz-border-radius-topleft:8px;
+-moz-border-radius-topright:8px;
+border-top:1px solid #CCC;
+border-bottom:6px solid #CCC;
+border-left:1px solid #CCC;
+border-right:5px solid #CCC;
+background:#FFFFFF;
+margin-top:7px;
+}
+.tabcellDesc{
+padding:5px 5px 5px 10px;
+text-align: left;
+}
+.tabcellText{
+padding:5px;
+text-align: center;
+}
+.videoDisp{
+position:absolute;
+-moz-border-radius-topleft:5px;
+-moz-border-radius-topright:5px;
+-moz-border-radius-bottomleft:5px;
+-moz-border-radius-bottomright:5px;
+border:1px solid #000000;
+display:none;
+padding:10px;
+margin-left:120px;
+margin-top:-100px;
+background:#FFFFFF;
+z-index:300000;
+}
+.videolist-content{
+-moz-border-radius-topleft:5px;
+-moz-border-radius-topright:5px;
+-moz-border-radius-bottomleft:5px;
+-moz-border-radius-bottomright:5px;
+border:1px solid #C3C3C3;
+width:675px;
+margin:10px 0px 10px 10px;
+padding:10px;
+background:#FFFFFF;
+}
+.tubesearch{
+-moz-border-radius-topleft:5px;
+-moz-border-radius-topright:5px;
+-moz-border-radius-bottomleft:5px;
+-moz-border-radius-bottomright:5px;
+border:1px solid #666666;
+}
+#comment_area_video_title{
+padding:10px;
+-moz-border-radius-topleft:5px;
+-moz-border-radius-topright:5px;
+-moz-border-radius-bottomleft:5px;
+-moz-border-radius-bottomright:5px;
+border:1px solid #CCCCCC;
+border:1px solid #CCCCCC;
+background:#FFFFFF;
+}
+.vid-comment-widget{
+font-size:11px;
+font-weight:normal;
+}
+.searchvideorow{
+padding:10px;
+-moz-border-radius-topleft:5px;
+-moz-border-radius-topright:5px;
+-moz-border-radius-bottomleft:5px;
+-moz-border-radius-bottomright:5px;
+border:1px solid #CCCCCC;
+}
+#videosearch-tablecontainer{
+-moz-border-radius-bottomleft:5px;
+-moz-border-radius-bottomright:5px;
+border:1px solid #CCCCCC;
+background:#FFF;
+padding:10px;
+}
+#videosearch-interface{
+border-color:#CCCCCC;
+border-style:solid;
+border-width:0 1px 1px;
+margin-top:-15px;
+padding:15px 0 15px 20px;
+}
diff --git a/views/default/videolist/groupprofile_videolist.php b/views/default/videolist/groupprofile_videolist.php
index 279f2af81..1df34a7b2 100644
--- a/views/default/videolist/groupprofile_videolist.php
+++ b/views/default/videolist/groupprofile_videolist.php
@@ -1,62 +1,62 @@
-<?php
-
- /**
- * Elgg Video Plugin
- * This plugin allows users to create a library of videos for groups
- *
- * @package ElggProfile
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Prateek Choudhary <synapticfield@gmail.com>
- * @copyright Prateek Choudhary
+<?php
+
+ /**
+ * Elgg Video Plugin
+ * This plugin allows users to create a library of videos for groups
+ *
+ * @package ElggProfile
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Prateek Choudhary <synapticfield@gmail.com>
+ * @copyright Prateek Choudhary
*/
?>
-<div id="filerepo_widget_layout">
-<h2><?php echo elgg_echo("videolist:group"); ?></h2>
-
-<?php
-
- //the number of files to display
- $number = (int) $vars['entity']->num_display;
- if (!$number)
- $number = 5;
-
- //get the user's files
- $videos = get_user_objects($vars['entity']->guid, "videolist", $number, 0);
-
- //if there are some files, go get them
- if ($videos) {
-
+<div id="filerepo_widget_layout">
+<h2><?php echo elgg_echo("videolist:group"); ?></h2>
+
+<?php
+
+ //the number of files to display
+ $number = (int) $vars['entity']->num_display;
+ if (!$number)
+ $number = 5;
+
+ //get the user's files
+ $videos = get_user_objects($vars['entity']->guid, "videolist", $number, 0);
+
+ //if there are some files, go get them
+ if ($videos) {
+
//display in list mode
- echo "<div class=\"filerepo_widget_singleitem\" style=\"width:310px;padding:5px;\">";
- foreach($videos as $f){
-
+ echo "<div class=\"filerepo_widget_singleitem\" style=\"width:310px;padding:5px;\">";
+ foreach($videos as $f){
+
$mime = $f->mimetype;
- $owner = get_entity($f->getOwner());
- $numcomments = elgg_count_comments($f);
- echo "<div class=\"filerepo_listview_icon\" style=\"float:left;width:90px;padding:8px 0 0 0;\"><a href=\"{$vars['url']}pg/videolist/watch/{$f->guid}\"><img src=\"".$f->thumbnail."\" border=\"0\" width=\"85\" /></a></div>";
- echo "<div class=\"filerepo_widget_content\" style=\"width:210px;margin-left:100px;\">";
- echo "<div class=\"filerepo_listview_title\"><p class=\"filerepo_title\" style=\"font-weight:normal;font-size:12px;\"><a href=\"{$vars['url']}pg/videolist/watch/{$f->guid}\">" . $f->title ."</a></p><br />by <a href=\"{$vars['url']}pg/profile/{$owner->username}\">{$owner->name}</a>";
+ $owner = get_entity($f->getOwner());
+ $numcomments = elgg_count_comments($f);
+ echo "<div class=\"filerepo_listview_icon\" style=\"float:left;width:90px;padding:8px 0 0 0;\"><a href=\"{$vars['url']}pg/videolist/watch/{$f->guid}\"><img src=\"".$f->thumbnail."\" border=\"0\" width=\"85\" /></a></div>";
+ echo "<div class=\"filerepo_widget_content\" style=\"width:210px;margin-left:100px;\">";
+ echo "<div class=\"filerepo_listview_title\"><p class=\"filerepo_title\" style=\"font-weight:normal;font-size:12px;\"><a href=\"{$vars['url']}pg/videolist/watch/{$f->guid}\">" . $f->title ."</a></p><br />by <a href=\"{$vars['url']}pg/profile/{$owner->username}\">{$owner->name}</a>";
if ($numcomments)
echo "<br /><a href=\"{$vars['url']}pg/videolist/watch/{$f->guid}\">" . sprintf(elgg_echo("comments")) . " (" . $numcomments . ")</a>";
echo "</div>";
- echo "<div class=\"filerepo_listview_date\"><p class=\"filerepo_timestamp\"><small>" . friendly_time($f->time_created) . "</small></p></div>";
- echo "</div><div class=\"clearfloat\" style=\"height:8px;\"></div>";
-
- }
- echo "</div>";
-
- //get a link to the users files
- $users_file_url = $vars['url'] . "pg/videolist/owned/" . page_owner_entity()->username;
-
- echo "<div class=\"forum_latest\"><a href=\"{$users_file_url}\">" . elgg_echo("videolist:groupall") . "</a></div>";
-
- } else {
-
- echo "<div class=\"forum_latest\">" . elgg_echo("videolist:none") . "</div>";
-
- }
-
-?>
-<div class="clearfloat" /></div>
+ echo "<div class=\"filerepo_listview_date\"><p class=\"filerepo_timestamp\"><small>" . friendly_time($f->time_created) . "</small></p></div>";
+ echo "</div><div class=\"clearfloat\" style=\"height:8px;\"></div>";
+
+ }
+ echo "</div>";
+
+ //get a link to the users files
+ $users_file_url = $vars['url'] . "pg/videolist/owned/" . page_owner_entity()->username;
+
+ echo "<div class=\"forum_latest\"><a href=\"{$users_file_url}\">" . elgg_echo("videolist:groupall") . "</a></div>";
+
+ } else {
+
+ echo "<div class=\"forum_latest\">" . elgg_echo("videolist:none") . "</div>";
+
+ }
+
+?>
+<div class="clearfloat" /></div>
</div>
diff --git a/views/default/videolist/notfound.php b/views/default/videolist/notfound.php
index 79df22779..ec69b700c 100644
--- a/views/default/videolist/notfound.php
+++ b/views/default/videolist/notfound.php
@@ -1,21 +1,21 @@
-<?php
-
- /**
- * Elgg blog not found page
- *
- * @package ElggBlog
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd <info@elgg.com>
- * @copyright Curverider Ltd 2008
- * @link http://elgg.com/
- */
-
-?>
-
- <p>
- <?php
-
- echo elgg_echo("video:none");
-
- ?>
+<?php
+
+ /**
+ * Elgg blog not found page
+ *
+ * @package ElggBlog
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd <info@elgg.com>
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.com/
+ */
+
+?>
+
+ <p>
+ <?php
+
+ echo elgg_echo("video:none");
+
+ ?>
</p>