<!-- 

	All content on this website (including text, images, source
	code and any other original works), unless otherwise noted,
	is licensed under a Creative Commons License.
	
	http://creativecommons.org/licenses/by-nc-sa/2.5/
	
	Copyright (C) 2004-2010 Open-Xchange, Inc.
	Mail: info@open-xchange.com 
	
	@author Jan Finsel <jan.finsel@open-xchange.com>

 -->

<div id="disable_confirm_window" style="width:100%; height:100%; position:absolute; display:none;">
	<ox:popupwindow xmlns:ox="http://localhost/html/dtd/ox.dtd" id="alert_window" class="floatingdivReminder" caption="Test">
		<div class="greywrapper">
			<div class="conflictsHeadline background-color-content border-color-design">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tbody>
						<tr>
							<td id="alert_window_text" style="padding: 5px">Test</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		<div style="height: 30px">
            <div style="position: relative; float: left; left: 7px; vertical-align: middle; display: none" id="alert_window_showagain">
                <label for="bcheck1">
                    <input type="checkbox" value="Y" id="alert_window_showagain_value" name="alert_window_showagain_value" class="noborder" style="vertical-align: middle" tabindex="1"/>
                    <span ox:i18n="">Don't show again</span>
                </label>
            </div>
            <div style="position: relative; float: right; vertical-align: middle;">
	            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="conflictsBottom border-color-design">
		            <tr>
		                <td>                    
		                    <ox:button id="alert_window_cancel" ox:i18n="" class="blueground" onclick="AlertPopup.commitcancel()" style="width:8em;">Cancel</ox:button>
		                    <ox:button id="alert_window_nocomment" ox:i18n="" class="blueground" onclick="AlertPopup.commitnocomment()" style="width:8em;">No comment</ox:button>
		                    <ox:button id="alert_window_no" ox:i18n="" class="blueground" onclick="AlertPopup.commitno()" style="width:8em;">No</ox:button>
		                    <ox:button id="alert_window_yes" ox:i18n="" class="blueground" onclick="AlertPopup.commityes()" style="width:8em;">Yes</ox:button>
		                    <ox:button id="alert_window_ok" ox:i18n="" class="blueground" onclick="AlertPopup.commitok()" style="width:8em;">OK</ox:button> 
		                    <ox:button id="alert_window_appointment" ox:i18n="" class="blueground" onclick="AlertPopup.commitappointment()" style="width:8em;">Appointment</ox:button>  
		                    <ox:button id="alert_window_series" ox:i18n="" class="blueground" onclick="AlertPopup.commitseries()" style="width:8em;">Series</ox:button>
		                    <ox:button id="alert_window_edit" ox:i18n="" class="blueground" onclick="AlertPopup.commitedit()" style="width:8em;">Edit</ox:button>
		                    <ox:button id="alert_window_continue" ox:i18n="" class="blueground" onclick="AlertPopup.commitok()" style="width:8em">Continue</ox:button>
		                </td>
		            </tr>
		        </table>     
	        </div>     
        </div>
	</ox:popupwindow>	
	<ox:popupwindow xmlns:ox="http://localhost/html/dtd/ox.dtd" id="create_window" class="floatingdivReminder" caption="Test">
		<div class="greywrapper">
			<div class="conflictsHeadline background-color-content border-color-design">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tbody>
						<tr>
							<td id="create_window_text">Test</td>
						</tr>
					</tbody>
				</table>
				<table width="100%" border="0" cellspacing="0" cellpadding="0" id="create_window_table_text_input">
					<tbody>
						<tr>
							<td id="create_window_text_input">Test</td>
							<td style="width:25em"><input type="text" id="create_window_text_field" style="width:24em" /></td>
						</tr>
					</tbody>
				</table>
				<table width="100%" border="0" cellspacing="0" cellpadding="0" id="create_window_table_textarea" style="display:none">
					<tbody>
						<tr>
							<td id="create_window_textarea" valign="top">Test</td>
							<td style="width:25em"><textarea id="create_window_textarea_field" style="width:24em; height: 4.9em;"></textarea></td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="conflictsBottom border-color-design">
			<tr>
				<td>
					<ox:button id="create_window_cancel" ox:i18n="" class="blueground" onclick="CreatePopup.commitcancel()" style="width:8em;">Cancel</ox:button>
					<ox:button id="create_window_nocomment" ox:i18n="" class="blueground" onclick="CreatePopup.commitnocomment()" style="width:13em;">No comment</ox:button>
					<ox:button id="create_window_advanced" ox:i18n="" class="blueground" onclick="CreatePopup.commitadvanced()" style="width:13em;">Appointment View</ox:button>
					<ox:button id="create_window_ok" ox:i18n="" class="blueground" onclick="CreatePopup.commitok()" style="width:8em;">OK</ox:button>
				</td>
			</tr>
		</table>
	</ox:popupwindow>
	<ox:popupwindow xmlns:ox="http://localhost/html/dtd/ox.dtd" id="conflict_window" class="floatingdivConflicts" style="height:25em" caption="Conflicts detected">
		<div class="greywrapper" style="border-bottom:0px">
			<div class="conflictsMessage" ox:i18n="">Your scheduled appointment conflicts with one or more previously scheduled appointments.</div>
            <div id="conflict_recurrence_msg" class="conflictsMessage" ox:i18n="">Since the appointment is recurring, it may cause further conflicts.</div>
			<div class="conflictsHeadline background-color-content border-color-design" style="padding:0px">
				<table width="100%" border="0" cellspacing="0" cellpadding="0" class="livegrid" style="table-layout:fixed">
					<colgroup>
					    <col style="width: 26px" />
						<col/>
						<col style="width: 13em" />
						<col style="width: 11em" />
						<col style="width: 11em" />
						<col style="width: 15px" />
					</colgroup>
					<tbody>
						<tr class="th">
						    <th class="header">
                                &#x00a0;
                            </th>
							<th class="header">
								<span ox:i18n="">Appointment</span>
							</th>
                            <th class="header">
                                <span ox:i18n="">Created by</span>
                            </th>
							<th class="header">
								<span ox:i18n="">Start</span>
							</th>
							<th class="header">
								<span ox:i18n="">End</span>
							</th>
							<th class="header">
							    &#x00a0;
                            </th>
						</tr>
					</tbody>
				</table>
			</div>
			<div class="conflictsList" style="padding:0px; overflow:scroll; overflow-x:hidden; height:17em; border-bottom: 0px none" id="conflict_window_appointments">				
			</div>
		</div>	
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="conflictsBottom border-color-design">
			<tr>
				<td>
					<ox:button class="blueground" onclick="ConflictsPopup.commitcancel()" ox:i18n="">Cancel</ox:button>
					<ox:button class="blueground" onclick="ConflictsPopup.commitignore()" ox:i18n="" id="conflict_window_ignore">Ignore</ox:button>
				</td>
				<td style="width: 16px">
				    &#x00a0;
				</td>
			</tr>
		</table>
	</ox:popupwindow>
    <ox:popupwindow xmlns:ox="http://localhost/html/dtd/ox.dtd" id="window_categories" class="floatingdivReminder" style="width:500px; display: none" caption="Categories">
        <div class="greywrapper">
            <div class="conflictsHeadline background-color-content border-color-design">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <colgroup>
                        <col width="90%" />
                        <col width="10%" />
                    </colgroup>
                    <tbody>
                        <tr>
                            <td colspan="2" style="padding-bottom:10px" ox:i18n="">In order to assign categories to the objects selected, use the control fields on the left of the categories. In order to edit a category select it and use the buttons on the right side.</td>
                        </tr>
                        <tr>
                            <td>
                                <div class="tableContainerAddAddressees background-color-content border-color-default">
                                    <div id="categories_sel_grid_header" class="innerTableContainerAddAddresseesHeader"></div>
                                    <div id="categories_sel_grid" class="innerTableContainerAddAddressees"></div>
                                </div>
                            </td>
                            <td valign="top" style="padding-left:10px">
                                <ox:button id="categories_sel_but_new" ox:i18n="" class="blueground" style="width:10em">New...</ox:button>
                                <ox:button id="categories_sel_but_rename" ox:i18n="" class="blueground" onclick="" style="width:10em; margin-top:10px">Rename</ox:button>
                                <ox:button id="categories_sel_but_delete" ox:i18n="" class="blueground" onclick="" style="width:10em; margin-top:10px">Delete</ox:button>
                                <div style="margin: .2em; margin-top:10px">
                                    <span ox:i18n="">Color:</span>
                                    <div id="categories_sel_color" style="height:1.8em"></div>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" align="right" nowrap="nowrap" style="padding-top:10px">
                                <ox:button ox:i18n="" class="blueground" onclick="ox.categories.ui.close(true)" style="width:8em; float:right">Cancel</ox:button>
                                <ox:button ox:i18n="" class="blueground" onclick="ox.categories.ui.close(false)" style="width:8em; float:right">OK</ox:button>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </ox:popupwindow>
    <ox:popupwindow xmlns:ox="http://localhost/html/dtd/ox.dtd" id="window_categories_new" class="floatingdivReminder" style="width:500px" caption="Category">
        <div class="greywrapper">
            <div class="conflictsHeadline background-color-content border-color-design">
                <input type="hidden" id="categories_new_id" />
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tbody>
                        <tr>
                            <td ox:i18n="">Name:</td>
                            <td><input type="text" id="categories_new_name" style="width:98%" /></td>
                        </tr>
                        <tr>
                            <td ox:i18n="" style="padding-top: 10px">Color:</td>
                            <td><div style="margin-left: 1px"><div id="categories_new_color"></div></div></td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="conflictsBottom border-color-design">
            <tr>
                <td>
                    <ox:button id="categories_new_but_cancel" ox:i18n="" class="blueground" onclick="ox.categories.ui.add.close(true)" style="width:8em;">Cancel</ox:button>
                    <ox:button id="categories_new_but_ok" ox:i18n="" class="blueground" onclick="ox.categories.ui.add.close(false)" style="width:8em;">OK</ox:button>
                </td>
            </tr>
        </table>
    </ox:popupwindow>
</div>