|
From: <mas...@us...> - 2007-04-09 20:45:17
|
Revision: 39
http://svn.sourceforge.net/mp-webinterface/?rev=39&view=rev
Author: maschine
Date: 2007-04-09 13:45:06 -0700 (Mon, 09 Apr 2007)
Log Message:
-----------
Initial commit of the MPW web app part.
Added Paths:
-----------
trunk/Version2/Web App/
trunk/Version2/Web App/MPW/
trunk/Version2/Web App/MPW/App_GlobalResources/
trunk/Version2/Web App/MPW/App_GlobalResources/Resource.Designer.cs
trunk/Version2/Web App/MPW/App_GlobalResources/Resource.de.designer.cs
trunk/Version2/Web App/MPW/App_GlobalResources/Resource.de.resx
trunk/Version2/Web App/MPW/App_GlobalResources/Resource.resx
trunk/Version2/Web App/MPW/Default.aspx
trunk/Version2/Web App/MPW/Default.aspx.cs
trunk/Version2/Web App/MPW/Default.aspx.designer.cs
trunk/Version2/Web App/MPW/Images/
trunk/Version2/Web App/MPW/Images/bg_channel.jpg
trunk/Version2/Web App/MPW/Images/bg_channel_logo.png
trunk/Version2/Web App/MPW/Images/bg_channel_name.jpg
trunk/Version2/Web App/MPW/Images/bg_channel_program.png
trunk/Version2/Web App/MPW/Images/bg_channelgroup.jpg
trunk/Version2/Web App/MPW/Images/bg_content.jpg
trunk/Version2/Web App/MPW/Images/bg_logo.jpg
trunk/Version2/Web App/MPW/Images/bg_navi.jpg
trunk/Version2/Web App/MPW/Images/button_selected.png
trunk/Version2/Web App/MPW/Images/button_unselected.png
trunk/Version2/Web App/MPW/Images/favicon.ico
trunk/Version2/Web App/MPW/Images/icon_bg.png
trunk/Version2/Web App/MPW/Images/loading.gif
trunk/Version2/Web App/MPW/Images/mp_logo_header.png
trunk/Version2/Web App/MPW/Images/rec_series.png
trunk/Version2/Web App/MPW/Images/rec_single.png
trunk/Version2/Web App/MPW/Images/redx.gif
trunk/Version2/Web App/MPW/Images/shadow_left.png
trunk/Version2/Web App/MPW/Images/shadow_right.png
trunk/Version2/Web App/MPW/Images/tvguide_notify_button.png
trunk/Version2/Web App/MPW/Images/tvguide_recordconflict_button.png
trunk/Version2/Web App/MPW/Images/tvguide_recordserie_conflict_button.png
trunk/Version2/Web App/MPW/Includes/
trunk/Version2/Web App/MPW/Includes/Head.ascx
trunk/Version2/Web App/MPW/Includes/Head.ascx.cs
trunk/Version2/Web App/MPW/Includes/Head.ascx.designer.cs
trunk/Version2/Web App/MPW/Includes/Navigation.ascx
trunk/Version2/Web App/MPW/Includes/Navigation.ascx.cs
trunk/Version2/Web App/MPW/Includes/Navigation.ascx.designer.cs
trunk/Version2/Web App/MPW/JS/
trunk/Version2/Web App/MPW/JS/mpw.js
trunk/Version2/Web App/MPW/LiveTV.aspx
trunk/Version2/Web App/MPW/LiveTV.aspx.cs
trunk/Version2/Web App/MPW/LiveTV.aspx.designer.cs
trunk/Version2/Web App/MPW/Login.aspx
trunk/Version2/Web App/MPW/Login.aspx.cs
trunk/Version2/Web App/MPW/Login.aspx.designer.cs
trunk/Version2/Web App/MPW/MPW.Master
trunk/Version2/Web App/MPW/MPW.Master.cs
trunk/Version2/Web App/MPW/MPW.Master.designer.cs
trunk/Version2/Web App/MPW/MPW.Publish.xml
trunk/Version2/Web App/MPW/MPW.csproj
trunk/Version2/Web App/MPW/MPW.csproj.user
trunk/Version2/Web App/MPW/NowNext.aspx
trunk/Version2/Web App/MPW/NowNext.aspx.cs
trunk/Version2/Web App/MPW/NowNext.aspx.designer.cs
trunk/Version2/Web App/MPW/Properties/
trunk/Version2/Web App/MPW/Properties/AssemblyInfo.cs
trunk/Version2/Web App/MPW/Recordings.aspx
trunk/Version2/Web App/MPW/Recordings.aspx.cs
trunk/Version2/Web App/MPW/Recordings.aspx.designer.cs
trunk/Version2/Web App/MPW/Schedules.aspx
trunk/Version2/Web App/MPW/Schedules.aspx.cs
trunk/Version2/Web App/MPW/Schedules.aspx.designer.cs
trunk/Version2/Web App/MPW/Search.aspx
trunk/Version2/Web App/MPW/Search.aspx.cs
trunk/Version2/Web App/MPW/Search.aspx.designer.cs
trunk/Version2/Web App/MPW/TVLogos/
trunk/Version2/Web App/MPW/Utils/
trunk/Version2/Web App/MPW/Utils/Utils.cs
trunk/Version2/Web App/MPW/Web.config
trunk/Version2/Web App/MPW/css/
trunk/Version2/Web App/MPW/css/mpw_style.css
trunk/Version2/Web App/MPW.sln
trunk/Version2/Web App/references/
trunk/Version2/Web App/references/AjaxControlToolkit.dll
trunk/Version2/Web App/references/Gentle.Common.dll
trunk/Version2/Web App/references/Gentle.Framework.dll
trunk/Version2/Web App/references/Gentle.Provider.MySQL.dll
trunk/Version2/Web App/references/Gentle.Provider.SQLServer.dll
trunk/Version2/Web App/references/MySql.Data.dll
trunk/Version2/Web App/references/System.Web.Extensions.dll
trunk/Version2/Web App/references/ar/
trunk/Version2/Web App/references/ar/AjaxControlToolkit.resources.dll
trunk/Version2/Web App/references/de/
trunk/Version2/Web App/references/de/AjaxControlToolkit.resources.dll
trunk/Version2/Web App/references/es/
trunk/Version2/Web App/references/es/AjaxControlToolkit.resources.dll
trunk/Version2/Web App/references/fr/
trunk/Version2/Web App/references/fr/AjaxControlToolkit.resources.dll
trunk/Version2/Web App/references/he/
trunk/Version2/Web App/references/he/AjaxControlToolkit.resources.dll
trunk/Version2/Web App/references/hi/
trunk/Version2/Web App/references/hi/AjaxControlToolkit.resources.dll
trunk/Version2/Web App/references/it/
trunk/Version2/Web App/references/it/AjaxControlToolkit.resources.dll
trunk/Version2/Web App/references/ja/
trunk/Version2/Web App/references/ja/AjaxControlToolkit.resources.dll
trunk/Version2/Web App/references/ko/
trunk/Version2/Web App/references/ko/AjaxControlToolkit.resources.dll
trunk/Version2/Web App/references/log4net.dll
trunk/Version2/Web App/references/pt/
trunk/Version2/Web App/references/pt/AjaxControlToolkit.resources.dll
trunk/Version2/Web App/references/ru/
trunk/Version2/Web App/references/ru/AjaxControlToolkit.resources.dll
trunk/Version2/Web App/references/zh-CHS/
trunk/Version2/Web App/references/zh-CHS/AjaxControlToolkit.resources.dll
trunk/Version2/Web App/references/zh-CHT/
trunk/Version2/Web App/references/zh-CHT/AjaxControlToolkit.resources.dll
Added: trunk/Version2/Web App/MPW/App_GlobalResources/Resource.Designer.cs
===================================================================
--- trunk/Version2/Web App/MPW/App_GlobalResources/Resource.Designer.cs (rev 0)
+++ trunk/Version2/Web App/MPW/App_GlobalResources/Resource.Designer.cs 2007-04-09 20:45:06 UTC (rev 39)
@@ -0,0 +1,261 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.42
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace Resources {
+ using System;
+
+
+ /// <summary>
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ /// </summary>
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Web.Application.StronglyTypedResourceProxyBuilder", "8.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resource {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resource() {
+ }
+
+ /// <summary>
+ /// Returns the cached ResourceManager instance used by this class.
+ /// </summary>
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Resources.Resource", global::System.Reflection.Assembly.Load("App_GlobalResources"));
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ /// <summary>
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ /// </summary>
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Daily.
+ /// </summary>
+ internal static string Daily {
+ get {
+ return ResourceManager.GetString("Daily", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Everytime on every channel.
+ /// </summary>
+ internal static string EveryTimeOnEveryChannel {
+ get {
+ return ResourceManager.GetString("EveryTimeOnEveryChannel", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Everytime on this channel.
+ /// </summary>
+ internal static string EveryTimeOnThisChannel {
+ get {
+ return ResourceManager.GetString("EveryTimeOnThisChannel", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Guide.
+ /// </summary>
+ internal static string Guide {
+ get {
+ return ResourceManager.GetString("Guide", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Live TV.
+ /// </summary>
+ internal static string LiveTV {
+ get {
+ return ResourceManager.GetString("LiveTV", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Login.
+ /// </summary>
+ internal static string Login {
+ get {
+ return ResourceManager.GetString("Login", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Next.
+ /// </summary>
+ internal static string Next {
+ get {
+ return ResourceManager.GetString("Next", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Sorry, no information available....
+ /// </summary>
+ internal static string NoEPGInfo {
+ get {
+ return ResourceManager.GetString("NoEPGInfo", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Now.
+ /// </summary>
+ internal static string Now {
+ get {
+ return ResourceManager.GetString("Now", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Now & Next.
+ /// </summary>
+ internal static string NowNext {
+ get {
+ return ResourceManager.GetString("NowNext", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Once.
+ /// </summary>
+ internal static string Once {
+ get {
+ return ResourceManager.GetString("Once", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to MPW - The MediaPortal Webinterface.
+ /// </summary>
+ internal static string PageTitle {
+ get {
+ return ResourceManager.GetString("PageTitle", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Record!.
+ /// </summary>
+ internal static string Record {
+ get {
+ return ResourceManager.GetString("Record", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Recordings.
+ /// </summary>
+ internal static string Recordings {
+ get {
+ return ResourceManager.GetString("Recordings", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Record this program.
+ /// </summary>
+ internal static string RecordThis {
+ get {
+ return ResourceManager.GetString("RecordThis", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Series recordings.
+ /// </summary>
+ internal static string RecSeries {
+ get {
+ return ResourceManager.GetString("RecSeries", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Single recordings.
+ /// </summary>
+ internal static string RecSingle {
+ get {
+ return ResourceManager.GetString("RecSingle", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Schedules.
+ /// </summary>
+ internal static string Schedules {
+ get {
+ return ResourceManager.GetString("Schedules", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Search.
+ /// </summary>
+ internal static string Search {
+ get {
+ return ResourceManager.GetString("Search", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Weekends.
+ /// </summary>
+ internal static string Weekends {
+ get {
+ return ResourceManager.GetString("Weekends", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Weekly.
+ /// </summary>
+ internal static string Weekly {
+ get {
+ return ResourceManager.GetString("Weekly", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Workingdays.
+ /// </summary>
+ internal static string WorkingDays {
+ get {
+ return ResourceManager.GetString("WorkingDays", resourceCulture);
+ }
+ }
+ }
+}
Added: trunk/Version2/Web App/MPW/App_GlobalResources/Resource.de.designer.cs
===================================================================
Added: trunk/Version2/Web App/MPW/App_GlobalResources/Resource.de.resx
===================================================================
--- trunk/Version2/Web App/MPW/App_GlobalResources/Resource.de.resx (rev 0)
+++ trunk/Version2/Web App/MPW/App_GlobalResources/Resource.de.resx 2007-04-09 20:45:06 UTC (rev 39)
@@ -0,0 +1,194 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <data name="Daily" xml:space="preserve">
+ <value>Täglich</value>
+ <comment>ScheduleType</comment>
+ </data>
+ <data name="EveryTimeOnEveryChannel" xml:space="preserve">
+ <value>Immer auf jedem Sender</value>
+ <comment>ScheduleType</comment>
+ </data>
+ <data name="EveryTimeOnThisChannel" xml:space="preserve">
+ <value>Immer auf diesem Sender</value>
+ <comment>ScheduleType</comment>
+ </data>
+ <data name="Guide" xml:space="preserve">
+ <value>Programmführer</value>
+ <comment>Navigation</comment>
+ </data>
+ <data name="LiveTV" xml:space="preserve">
+ <value>Live TV</value>
+ <comment>Navigation</comment>
+ </data>
+ <data name="Next" xml:space="preserve">
+ <value>Gleich</value>
+ </data>
+ <data name="NoEPGInfo" xml:space="preserve">
+ <value>Leider keine Informationen verfügbar...</value>
+ <comment>Guide</comment>
+ </data>
+ <data name="Now" xml:space="preserve">
+ <value>Jetzt</value>
+ </data>
+ <data name="NowNext" xml:space="preserve">
+ <value>Jetzt & Gleich</value>
+ <comment>Navigation</comment>
+ </data>
+ <data name="Once" xml:space="preserve">
+ <value>Einmalig</value>
+ <comment>ScheduleType</comment>
+ </data>
+ <data name="Record" xml:space="preserve">
+ <value>Aufnehmen!</value>
+ </data>
+ <data name="Recordings" xml:space="preserve">
+ <value>Aufnahmen</value>
+ <comment>Navigation</comment>
+ </data>
+ <data name="RecordThis" xml:space="preserve">
+ <value>Diese Sendung aufnehmen</value>
+ </data>
+ <data name="RecSeries" xml:space="preserve">
+ <value>Serienaufnahmen</value>
+ </data>
+ <data name="RecSingle" xml:space="preserve">
+ <value>Einfache Aufnahmen</value>
+ </data>
+ <data name="Schedules" xml:space="preserve">
+ <value>Timer</value>
+ <comment>Navigation</comment>
+ </data>
+ <data name="Search" xml:space="preserve">
+ <value>Suchen</value>
+ <comment>Navigation</comment>
+ </data>
+ <data name="Weekends" xml:space="preserve">
+ <value>Weekends</value>
+ <comment>ScheduleType</comment>
+ </data>
+ <data name="Weekly" xml:space="preserve">
+ <value>Wöchentlich</value>
+ <comment>ScheduleType</comment>
+ </data>
+ <data name="WorkingDays" xml:space="preserve">
+ <value>Workingdays</value>
+ <comment>ScheduleType</comment>
+ </data>
+</root>
\ No newline at end of file
Added: trunk/Version2/Web App/MPW/App_GlobalResources/Resource.resx
===================================================================
--- trunk/Version2/Web App/MPW/App_GlobalResources/Resource.resx (rev 0)
+++ trunk/Version2/Web App/MPW/App_GlobalResources/Resource.resx 2007-04-09 20:45:06 UTC (rev 39)
@@ -0,0 +1,200 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <data name="Daily" xml:space="preserve">
+ <value>Daily</value>
+ <comment>ScheduleType</comment>
+ </data>
+ <data name="EveryTimeOnEveryChannel" xml:space="preserve">
+ <value>Everytime on every channel</value>
+ <comment>ScheduleType</comment>
+ </data>
+ <data name="EveryTimeOnThisChannel" xml:space="preserve">
+ <value>Everytime on this channel</value>
+ <comment>ScheduleType</comment>
+ </data>
+ <data name="Guide" xml:space="preserve">
+ <value>Guide</value>
+ <comment>Navigation</comment>
+ </data>
+ <data name="LiveTV" xml:space="preserve">
+ <value>Live TV</value>
+ <comment>Navigation</comment>
+ </data>
+ <data name="Login" xml:space="preserve">
+ <value>Login</value>
+ </data>
+ <data name="Next" xml:space="preserve">
+ <value>Next</value>
+ </data>
+ <data name="NoEPGInfo" xml:space="preserve">
+ <value>Sorry, no information available...</value>
+ <comment>Guide</comment>
+ </data>
+ <data name="Now" xml:space="preserve">
+ <value>Now</value>
+ </data>
+ <data name="NowNext" xml:space="preserve">
+ <value>Now & Next</value>
+ <comment>Navigation</comment>
+ </data>
+ <data name="Once" xml:space="preserve">
+ <value>Once</value>
+ <comment>ScheduleType</comment>
+ </data>
+ <data name="PageTitle" xml:space="preserve">
+ <value>MPW - The MediaPortal Webinterface</value>
+ </data>
+ <data name="Record" xml:space="preserve">
+ <value>Record!</value>
+ </data>
+ <data name="Recordings" xml:space="preserve">
+ <value>Recordings</value>
+ <comment>Navigation</comment>
+ </data>
+ <data name="RecordThis" xml:space="preserve">
+ <value>Record this program</value>
+ </data>
+ <data name="RecSeries" xml:space="preserve">
+ <value>Series recordings</value>
+ </data>
+ <data name="RecSingle" xml:space="preserve">
+ <value>Single recordings</value>
+ </data>
+ <data name="Schedules" xml:space="preserve">
+ <value>Schedules</value>
+ <comment>Navigation</comment>
+ </data>
+ <data name="Search" xml:space="preserve">
+ <value>Search</value>
+ <comment>Navigation</comment>
+ </data>
+ <data name="Weekends" xml:space="preserve">
+ <value>Weekends</value>
+ <comment>ScheduleType</comment>
+ </data>
+ <data name="Weekly" xml:space="preserve">
+ <value>Weekly</value>
+ <comment>ScheduleType</comment>
+ </data>
+ <data name="WorkingDays" xml:space="preserve">
+ <value>Workingdays</value>
+ <comment>ScheduleType</comment>
+ </data>
+</root>
\ No newline at end of file
Added: trunk/Version2/Web App/MPW/Default.aspx
===================================================================
--- trunk/Version2/Web App/MPW/Default.aspx (rev 0)
+++ trunk/Version2/Web App/MPW/Default.aspx 2007-04-09 20:45:06 UTC (rev 39)
@@ -0,0 +1,21 @@
+<%@ Page Language="C#" MasterPageFile="~/MPW.Master" AutoEventWireup="true"
+ Codebehind="Default.aspx.cs" Inherits="MPW.MasterPages.WebForm11" Title="Untitled Page" %>
+
+<asp:Content ID="Content1" ContentPlaceHolderID="MPWContent" runat="server">
+ <br />
+ <asp:Button ID="ButtonPrev" runat="server" Text="<" />
+ <asp:Button ID="ButtonNext" runat="server" Text=">" />
+ <asp:DropDownList ID="TimeDropDown" runat="server">
+ </asp:DropDownList>
+ <asp:DropDownList ID="DateDropDown" runat="server">
+ </asp:DropDownList>
+ <br />
+ <asp:UpdatePanel ID="GuideUpdatePanel" runat="server" UpdateMode="Conditional">
+ <ContentTemplate>
+ <asp:Table ID="Guide" runat="server" HorizontalAlign="Left">
+ </asp:Table>
+ </ContentTemplate>
+ <Triggers>
+ </Triggers>
+ </asp:UpdatePanel>
+</asp:Content>
Added: trunk/Version2/Web App/MPW/Default.aspx.cs
===================================================================
--- trunk/Version2/Web App/MPW/Default.aspx.cs (rev 0)
+++ trunk/Version2/Web App/MPW/Default.aspx.cs 2007-04-09 20:45:06 UTC (rev 39)
@@ -0,0 +1,68 @@
+using System;
+using System.Data;
+using System.Configuration;
+using System.Collections;
+using System.Web;
+using System.Web.Security;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Web.UI.WebControls.WebParts;
+using System.Web.UI.HtmlControls;
+
+using TvDatabase;
+using TvControl;
+using MPW.Utils;
+
+namespace MPW.MasterPages
+{
+ public partial class WebForm11 : System.Web.UI.Page
+ {
+ private DateTime guideStart = DateTime.Now;
+ private DateTime guideEnd;
+
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ guideEnd = guideStart.AddHours(3);
+
+ //Establish the connection to the TV Server and the DB.
+ MPWUtils.SetupConnection();
+
+ // Get a list of all tv-channels
+ IList channels = Channel.ListAll();
+
+ // List all groups
+ IList groups = ChannelGroup.ListAll();
+
+ // Remove non-TV channels
+ foreach (Channel channel in channels)
+ {
+ if (!channel.IsTv)
+ channels.Remove(channel);
+ }
+
+ //Iterate through all the channels
+ foreach (Channel channel in channels)
+ {
+ TableRow r = new TableRow();
+ TableCell cell_channel = new TableCell();
+ TableCell cell_program = new TableCell();
+
+ Label lbl_channel = new Label();
+ lbl_channel.Text = "<strong>" + channel.Name + "</strong>";
+
+ Label lbl_program = new Label();
+ lbl_program.Text = "EPG";
+
+ cell_channel.Controls.Add(lbl_channel);
+ cell_channel.CssClass = "guideChannel";
+
+ cell_program.Controls.Add(lbl_program);
+
+ r.Cells.Add(cell_channel);
+ r.Cells.Add(cell_program);
+
+ Guide.Rows.Add(r);
+ }
+ }
+ }
+}
Added: trunk/Version2/Web App/MPW/Default.aspx.designer.cs
===================================================================
--- trunk/Version2/Web App/MPW/Default.aspx.designer.cs (rev 0)
+++ trunk/Version2/Web App/MPW/Default.aspx.designer.cs 2007-04-09 20:45:06 UTC (rev 39)
@@ -0,0 +1,76 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.42
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace MPW.MasterPages {
+
+
+ /// <summary>
+ /// WebForm11 class.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated class.
+ /// </remarks>
+ public partial class WebForm11 {
+
+ /// <summary>
+ /// ButtonPrev control.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ /// </remarks>
+ protected global::System.Web.UI.WebControls.Button ButtonPrev;
+
+ /// <summary>
+ /// ButtonNext control.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ /// </remarks>
+ protected global::System.Web.UI.WebControls.Button ButtonNext;
+
+ /// <summary>
+ /// TimeDropDown control.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ /// </remarks>
+ protected global::System.Web.UI.WebControls.DropDownList TimeDropDown;
+
+ /// <summary>
+ /// DateDropDown control.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ /// </remarks>
+ protected global::System.Web.UI.WebControls.DropDownList DateDropDown;
+
+ /// <summary>
+ /// GuideUpdatePanel control.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ /// </remarks>
+ protected global::System.Web.UI.UpdatePanel GuideUpdatePanel;
+
+ /// <summary>
+ /// Guide control.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ /// </remarks>
+ protected global::System.Web.UI.WebControls.Table Guide;
+ }
+}
Added: trunk/Version2/Web App/MPW/Images/bg_channel.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/bg_channel.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/bg_channel_logo.png
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/bg_channel_logo.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/bg_channel_name.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/bg_channel_name.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/bg_channel_program.png
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/bg_channel_program.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/bg_channelgroup.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/bg_channelgroup.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/bg_content.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/bg_content.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/bg_logo.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/bg_logo.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/bg_navi.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/bg_navi.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/button_selected.png
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/button_selected.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/button_unselected.png
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/button_unselected.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/favicon.ico
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/favicon.ico
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/icon_bg.png
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/icon_bg.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/loading.gif
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/loading.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/mp_logo_header.png
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/mp_logo_header.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/rec_series.png
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/rec_series.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/rec_single.png
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/rec_single.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/redx.gif
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/redx.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/shadow_left.png
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/shadow_left.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/shadow_right.png
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/shadow_right.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/tvguide_notify_button.png
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/tvguide_notify_button.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/tvguide_recordconflict_button.png
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/tvguide_recordconflict_button.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Images/tvguide_recordserie_conflict_button.png
===================================================================
(Binary files differ)
Property changes on: trunk/Version2/Web App/MPW/Images/tvguide_recordserie_conflict_button.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/Version2/Web App/MPW/Includes/Head.ascx
===================================================================
--- trunk/Version2/Web App/MPW/Includes/Head.ascx (rev 0)
+++ trunk/Version2/Web App/MPW/Includes/Head.ascx 2007-04-09 20:45:06 UTC (rev 39)
@@ -0,0 +1,15 @@
+<%@ Control Language="C#" AutoEventWireup="true" Codebehind="Head.ascx.cs" Inherits="MPW.Head" %>
+<div class="logodiv">
+ <div style="width: 700px; float: left;">
+ <!-- <img src="../Images/mp_logo_header.png" alt="MP logo" /> -->
+ </div>
+ <div style="width: 200px; float: right;">
+ <asp:UpdateProgress ID="GlobalUpdateProgress" runat="server" DisplayAfter="10">
+ <ProgressTemplate>
+ <img src="../Images/loading.gif" alt="Loading..." />
+ <br />
+ <!-- Getting data... Please wait! -->
+ </ProgressTemplate>
+ </asp:UpdateProgress>
+ </div>
+</div>
Added: trunk/Version2/Web App/MPW/Includes/Head.ascx.cs
===================================================================
--- trunk/Version2/Web App/MPW/Includes/Head.ascx.cs (rev 0)
+++ trunk/Version2/Web App/MPW/Includes/Head.ascx.cs 2007-04-09 20:45:06 UTC (rev 39)
@@ -0,0 +1,21 @@
+using System;
+using System.Data;
+using System.Configuration;
+using System.Collections;
+using System.Web;
+using System.Web.Security;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Web.UI.WebControls.WebParts;
+using System.Web.UI.HtmlControls;
+
+namespace MPW
+{
+ public partial class Head : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
Added: trunk/Version2/Web App/MPW/Includes/Head.ascx.designer.cs
===================================================================
--- trunk/Version2/Web App/MPW/Includes/Head.ascx.designer.cs (rev 0)
+++ trunk/Version2/Web App/MPW/Includes/Head.ascx.designer.cs 2007-04-09 20:45:06 UTC (rev 39)
@@ -0,0 +1,31 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.42
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace MPW {
+
+
+ /// <summary>
+ /// Head class.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated class.
+ /// </remarks>
+ public partial class Head {
+
+ /// <summary>
+ /// GlobalUpdateProgress control.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ /// </remarks>
+ protected global::System.Web.UI.UpdateProgress GlobalUpdateProgress;
+ }
+}
Added: trunk/Version2/Web App/MPW/Includes/Navigation.ascx
===================================================================
--- trunk/Version2/Web App/MPW/Includes/Navigation.ascx (rev 0)
+++ trunk/Version2/Web App/MPW/Includes/Navigation.ascx 2007-04-09 20:45:06 UTC (rev 39)
@@ -0,0 +1,35 @@
+<%@ Control Language="C#" AutoEventWireup="true" Codebehind="Navigation.ascx.cs"
+ Inherits="MPW.WebUserControl1" %>
+<div class="navidiv">
+ <table class="navBar">
+ <tr>
+ <td id="nav_guide" class="navcell">
+ <asp:HyperLink ID="LinkGuide" runat="server" Text="<%$ Resources:Resource, Guide %>"
+ NavigateUrl="~/Default.aspx" CssClass="navilink"></asp:HyperLink>
+ </td>
+ <td id="nav_now" class="navcell">
+ <asp:HyperLink ID="LinkNowNext" runat="server" Text="<%$ Resources:Resource, NowNext %>"
+ NavigateUrl="~/NowNext.aspx" CssClass="navilink"></asp:HyperLink>
+ </td>
+ <td id="nav_search" class="navcell">
+ <asp:HyperLink ID="LinkSearch" runat="server" Text="<%$ Resources:Resource, Search %>"
+ NavigateUrl="~/Search.aspx" CssClass="navilink"></asp:HyperLink>
+ </td>
+ <td id="nav_sched" class="navcell">
+ <asp:HyperLink ID="LinkSchedules" runat="server" Text="<%$ Resources:Resource, Schedules %>"
+ NavigateUrl="~/Schedules.aspx" CssClass="navilink"></asp:HyperLink>
+ </td>
+ <td id="nav_rec" class="navcell">
+ <asp:HyperLink ID="LinkRecordings" runat="server" Text="<%$ Resources:Resource, Recordings %>"
+ NavigateUrl="~/Recordings.aspx" CssClass="navilink"></asp:HyperLink>
+ </td>
+ <td id="nav_live" class="navcell">
+ <asp:HyperLink ID="LinkLiveTV" runat="server" Text="<%$ Resources:Resource, LiveTV %>"
+ NavigateUrl="~/LiveTV.aspx" CssClass="navilink"></asp:HyperLink>
+ </td>
+ </tr>
+ </table>
+ <div class="datediv">
+ <asp:Label ID="dateLabel" runat="server" Text=""></asp:Label>
+ </div>
+</div>
Added: trunk/Version2/Web App/MPW/Includes/Navigation.ascx.cs
===================================================================
--- trunk/Version2/Web App/MPW/Includes/Navigation.ascx.cs (rev 0)
+++ trunk/Version2/Web App/MPW/Includes/Navigation.ascx.cs 2007-04-09 20:45:06 UTC (rev 39)
@@ -0,0 +1,21 @@
+using System;
+using System.Data;
+using System.Configuration;
+using System.Collections;
+using System.Web;
+using System.Web.Security;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Web.UI.WebControls.WebParts;
+using System.Web.UI.HtmlControls;
+
+namespace MPW
+{
+ public partial class WebUserControl1 : System.Web.UI.UserControl
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ dateLabel.Text = DateTime.Now.ToLongDateString() + " " + DateTime.Now.ToShortTimeString();
+ }
+ }
+}
\ No newline at end of file
Added: trunk/Version2/Web App/MPW/Includes/Navigation.ascx.designer.cs
===================================================================
--- trunk/Version2/Web App/MPW/Includes/Navigation.ascx.designer.cs (rev 0)
+++ trunk/Version2/Web App/MPW/Includes/Navigation.ascx.designer.cs 2007-04-09 20:45:06 UTC (rev 39)
@@ -0,0 +1,85 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.42
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace MPW {
+
+
+ /// <summary>
+ /// WebUserControl1 class.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated class.
+ /// </remarks>
+ public partial class WebUserControl1 {
+
+ /// <summary>
+ /// LinkGuide control.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ /// </remarks>
+ protected global::System.Web.UI.WebControls.HyperLink LinkGuide;
+
+ /// <summary>
+ /// LinkNowNext control.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ /// </remarks>
+ protected global::System.Web.UI.WebControls.HyperLink LinkNowNext;
+
+ /// <summary>
+ /// LinkSearch control.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ /// </remarks>
+ protected global::System.Web.UI.WebControls.HyperLink LinkSearch;
+
+ /// <summary>
+ /// LinkSchedules control.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ /// </remarks>
+ protected global::System.Web.UI.WebControls.HyperLink LinkSchedules;
+
+ /// <summary>
+ /// LinkRecordings control.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ /// </remarks>
+ protected global::System.Web.UI.WebControls.HyperLink LinkRecordings;
+
+ /// <summary>
+ /// LinkLiveTV control.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ /// </remarks>
+ protected global::System.Web.UI.WebControls.HyperLink LinkLiveTV;
+
+ /// <summary>
+ /// dateLabel control.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ /// </remarks>
+ protected global::System.Web.UI.WebControls.Label dateLabel;
+ }
+}
Added: trunk/Version2/Web App/MPW/JS/mpw.js
===================================================================
--- trunk/Version2/Web App/MPW/JS/mpw.js (rev 0)
+++ trunk/Version2/Web App/MPW/JS/mpw.js 2007-04-09 20:45:06 UTC (rev 39)
@@ -0,0 +1,13 @@
+function showProgramDetails(IdProgram) {
+document.getElementById("showDetails").value = "true";
+document.getElementById("idDetails").value = IdProgram;
+document.getElementById("programInfo").style.display = "block";
+document.getElementById("programInfo").style.visibility = "visible";
+document.aspnetForm.submit();
+}
+
+function hideProgramDetails() {
+$(showDetail).value = "false";
+$(idDetail).value = "";
+MPW_main.submit();
+}
\ No newline at end of file
Added: trunk/Version2/Web App/MPW/LiveTV.aspx
===================================================================
--- trunk/Version2/Web App/MPW/LiveTV.aspx (rev 0)
+++ trunk/Version2/Web App/MPW/LiveTV.aspx 2007-04-09 20:45:06 UTC (rev 39)
@@ -0,0 +1,17 @@
+<%@ Page Language="C#" MasterPageFile="~/MPW.Master" AutoEventWireup="true" Codebehind="LiveTV.aspx.cs"
+ Inherits="MPW.WebForm1" Title="Untitled Page" %>
+
+<asp:Content ID="Content1" ContentPlaceHolderID="MPWContent" runat="server">
+ <div style="width:500px; margin:auto;">
+ <object id="live" width="400" height="370" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
+ type="application/x-oleobject">
+ <param name="URL" value="rtsp://localhost/stream1">
+ <param name="SendPlayStateChangeEvents" value="True">
+ <param name="AutoStart" value="True">
+ <param name="stretchToFit" value="True">
+ <param name="uiMode" value="full">
+ <param name="PlayCount" value="1">
+ <param name="AutoRewind" value="0">
+ </object>
+ </div>
+</asp:Content>
Added: trunk/Version2/Web App/MPW/LiveTV.aspx.cs
===================================================================
--- trunk/Version2/Web App/MPW/LiveTV.aspx.cs (rev 0)
+++ trunk/Version2/Web App/MPW/LiveTV.aspx.cs 2007-04-09 20:45:06 UTC (rev 39)
@@ -0,0 +1,24 @@
+using System;
+using System.Data;
+using System.Configuration;
+using System.Collections;
+using System.Web;
+using System.Web.Security;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Web.UI.WebControls.WebParts;
+using System.Web.UI.HtmlControls;
+
+using TvControl;
+
+namespace MPW
+{
+ public partial class WebForm1 : System.Web.UI.Page
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ MPW m = (MPW)Page.Master;
+ m.Sectiontitle = Resources.Resource.LiveTV;
+ }
+ }
+}
Added: trunk/Version2/Web App/MPW/LiveTV.aspx.designer.cs
===================================================================
--- trunk/Version2/Web App/MPW/LiveTV.aspx.designer.cs (rev 0)
+++ trunk/Version2/Web App/MPW/LiveTV.aspx.designer.cs 2007-04-09 20:45:06 UTC (rev 39)
@@ -0,0 +1,22 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.42
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace MPW {
+
+
+ /// <summary>
+ /// WebForm1 class.
+ /// </summary>
+ /// <remarks>
+ /// Auto-generated class.
+ /// </remarks>
+ public partial class WebForm1 {
+ }
+}
Added: trunk/Version2/Web App/MPW/Login.aspx
===================================================================
--- trunk/Version2/Web App/MPW/Login.aspx (rev 0)
+++ trunk/Version2/Web App/MPW/Login.aspx 2007-04-09 20:45:06 UTC (rev 39)
@@ -0,0 +1,8 @@
+<%@ Page Language="C#" MasterPageFile="~/MPW.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="MPW.MasterPages.WebForm1" Title="MPW Login" %>
+<asp:Content ID="Logon" ContentPlaceHolderID="MPWContent" runat="server">
+ <br />
+ <br />
+ <asp:Login ID="MPWLogin" runat="server" Height="185px" OnAut...
[truncated message content] |