From a8aa4bceed8e7ad0c5af2646a83d6a2da2e0b23a Mon Sep 17 00:00:00 2001 From: Brett Profitt Date: Fri, 26 Mar 2010 21:07:39 +0000 Subject: Changed line endings to unix-style for videolist plugin. --- views/default/videolist/css.php | 398 ++++++++++----------- views/default/videolist/groupprofile_videolist.php | 106 +++--- views/default/videolist/notfound.php | 40 +-- 3 files changed, 272 insertions(+), 272 deletions(-) (limited to 'views/default/videolist') 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 @@ - - * @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; -} + + * @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 @@ - - * @copyright Prateek Choudhary + + * @copyright Prateek Choudhary */ ?> -
-

- -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) { - +
+

+ +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 "
"; - foreach($videos as $f){ - + echo "
"; + foreach($videos as $f){ + $mime = $f->mimetype; - $owner = get_entity($f->getOwner()); - $numcomments = elgg_count_comments($f); - echo ""; - echo "
"; - echo "

guid}\">" . $f->title ."


by username}\">{$owner->name}"; + $owner = get_entity($f->getOwner()); + $numcomments = elgg_count_comments($f); + echo ""; + echo "
"; + echo ""; - echo "

" . friendly_time($f->time_created) . "

"; - echo "
"; - - } - echo "
"; - - //get a link to the users files - $users_file_url = $vars['url'] . "pg/videolist/owned/" . page_owner_entity()->username; - - echo ""; - - } else { - - echo "
" . elgg_echo("videolist:none") . "
"; - - } - -?> -
+ echo "

" . friendly_time($f->time_created) . "

"; + echo "
"; + + } + echo "
"; + + //get a link to the users files + $users_file_url = $vars['url'] . "pg/videolist/owned/" . page_owner_entity()->username; + + echo ""; + + } else { + + echo "
" . elgg_echo("videolist:none") . "
"; + + } + +?> +
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 @@ - - * @copyright Curverider Ltd 2008 - * @link http://elgg.com/ - */ - -?> - -

- + + * @copyright Curverider Ltd 2008 + * @link http://elgg.com/ + */ + +?> + +

+

-- cgit v1.2.3