<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:t="http://www.participatorypolitics.org/"
      xmlns:i18n="http://www.participatoryculture.org/i18n"
      eventCookie="@@@eventCookie@@@" dtvPlatform="@@@dtvPlatform@@@">
<head>
<title>video player interface</title>

<link rel="stylesheet" type="text/css" href="resource:css/style.css" />
<link rel="stylesheet" type="text/css" href="resource:css/sidebar.css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<t:include filename="dynamic.js" />

    <t:execOnLoad><![CDATA[
# This is a bit of a hack. We need a copy of the view that keeps
# sorts, so we sort again on the same function
tabs = views.allTabs.sort(sorts.tabs)
]]>
    </t:execOnLoad>

</head>
<body>

<div id="sidebar">
  <div id="channels">
    <ul>
      <li t:repeatForView="tabs" onmousedown="eventURL('action:selectTab?id=@@@this.id@@@')">
        <span t:hideIf="not this.isFeed()" >
          <span t:contextMenu="action:updateFeed?feed=@@@this.obj.getID()@@@|Update Channel Now\n\naction:removeFeed?feed=@@@this.obj.getID()@@@|Remove">
            <t:includeTemplate filename="feedtab" />
	  </span>
        </span>
        <span t:hideIf="this.isFeed()">
          <t:includeTemplate filename="statictab" />
        </span>
      </li>
			<li style="height:40px;">&nbsp;</li>
    </ul>
  </div>
	<div id="sidebar-download-fade">&nbsp;</div>
</div>

</body>
</html>
