summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-08 03:54:04 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-08 03:54:04 +0000
commit2799c89f58d389ac659c0bc414a86cb1454afd75 (patch)
tree16392f16aec13dafb97768f894312974d83e87f2 /templates
parent059f6d4d5cde3a66b3c1a998ce123e7eb88e7a98 (diff)
downloadampache-2799c89f58d389ac659c0bc414a86cb1454afd75.tar.gz
ampache-2799c89f58d389ac659c0bc414a86cb1454afd75.tar.bz2
ampache-2799c89f58d389ac659c0bc414a86cb1454afd75.zip
add length to the video browse, put in some stuff for the now playing table up the config version in prep for another alpha
Diffstat (limited to 'templates')
-rw-r--r--templates/header.inc.php2
-rw-r--r--templates/show_video_row.inc.php1
-rw-r--r--templates/show_videos.inc.php4
3 files changed, 5 insertions, 2 deletions
diff --git a/templates/header.inc.php b/templates/header.inc.php
index 230b266a..5fb07994 100644
--- a/templates/header.inc.php
+++ b/templates/header.inc.php
@@ -58,7 +58,7 @@ if (Config::get('use_rss')) { ?>
<?php show_box_top('','box box_headerbox'); ?>
<?php require_once Config::get('prefix') . '/templates/show_search_bar.inc.php'; ?>
<?php require_once Config::get('prefix') . '/templates/show_playtype_switch.inc.php'; ?>
- <span id="loginInfo"><?php echo $GLOBALS['user']->fullname; ?> [<a href="<?php echo Config::get('web_path'); ?>/logout.php"><?php echo _('Log out'); ?></a>]</span>
+ <span id="loginInfo"><a href="<?php echo Config::get('web_path'); ?>/preferences.php?tab=account"><?php echo $GLOBALS['user']->fullname; ?></a> [<a href="<?php echo Config::get('web_path'); ?>/logout.php"><?php echo _('Log out'); ?></a>]</span>
<?php show_box_bottom(); ?>
</div> <!-- End headerbox -->
</div><!-- End header -->
diff --git a/templates/show_video_row.inc.php b/templates/show_video_row.inc.php
index 5618a60d..1b650360 100644
--- a/templates/show_video_row.inc.php
+++ b/templates/show_video_row.inc.php
@@ -25,4 +25,5 @@
<td class="cel_title"><?php echo $video->f_title; ?></td>
<td class="cel_codec"><?php echo $video->f_codec; ?></td>
<td class="cel_resolution"><?php echo $video->f_resolution; ?></td>
+<td class="cel_length"><?php echo $video->f_length; ?></td>
<td class="cel_tags"><?php $video->f_tags; ?></td>
diff --git a/templates/show_videos.inc.php b/templates/show_videos.inc.php
index b58f741d..63a8d8ed 100644
--- a/templates/show_videos.inc.php
+++ b/templates/show_videos.inc.php
@@ -28,6 +28,7 @@ $web_path = Config::get('web_path');
<col id="col_title" />
<col id="col_codec" />
<col id="col_resolution" />
+ <col id="col_length" />
<col id="col_tags" />
</colgroup>
<tr class="th-top">
@@ -35,6 +36,7 @@ $web_path = Config::get('web_path');
<th class="cel_title"><?php echo _('Title'); ?></th>
<th class="cel_codec"><?php echo _('Codec'); ?></th>
<th class="cel_resolution"><?php echo _('Resolution'); ?></th>
+ <th class="cel_length"><?php echo _('Length'); ?></th>
<th class="cel_tags"><?php echo _('Tags'); ?></th>
</tr>
<?php
@@ -49,7 +51,7 @@ foreach ($object_ids as $video_id) {
<?php } //end foreach ?>
<?php if (!count($object_ids)) { ?>
<tr class="<?php echo flip_class(); ?>">
- <td colspan="5"><span class="fatalerror"><?php echo _('Not Enough Data'); ?></span></td>
+ <td colspan="6"><span class="fatalerror"><?php echo _('Not Enough Data'); ?></span></td>
</tr>
<?php } ?>
<tr class="th-bottom">