egroupware/phpgwapi/templates/idots2/navbar.tpl

295 lines
6.5 KiB
Smarty
Raw Normal View History

<!-- BEGIN xdesktop_header -->
<script type='text/javascript'>
var rootwindow=true;
var xDT = new xDesktop();
var clock_set = '{clock}';
var clock_show = '{clock_show}';
var url_pref = '{urlpref}';
var default_app = '{default_app}';
var default_title = '{default_title}';
var strXmlUrl = '{strXmlUrl}';
var scrWidth = '{scrWidth}';
var scrHeight = '{scrHeight}';
var titleAdd = '{titleAdd}';
var titleRem = '{titleRem}';
var titlePref = '{titlePref}';
var titleAbout = '{titleAbout}';
var programs = '{programs}';
var back_shortcut = '{back_shortcut}';
var color_shortcut = '{color_shortcut}';
var color_text_sc = '{color_text_sc}';
showShortcuts('{appTitles}', '{appUrls}', '{appImgs}','{appTop}','{appLeft}','{appType}','{appName}','{strXmlUrl}');
initSizes('{sizeTitles}', '{sizeWidth}', '{sizeHeight}');
function start() {
xDT.resPath('{template_dir}/js/x-desktop/xDT/');
xDT.desktop.init();
xDT.desktop.skin('IDOTS2');
idotsW = "xD" + new Date().getUTCMilliseconds();
if(default_app != "") {
openX(default_title, default_app);
}
}
</script>
{dIcons}
<!-- END xdesktop_header -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN show_clock -->
<div id="taskbar"><img src="{iconpath}/launch.png" onClick="displayLaunch();" id="launch"><div id="tb" OnClick="sdt();"><img src="{iconpath}/show_desktop.png"></div><div id="tasks"></div><div id="clock" onclick="openX('{calendarTitle}', 'calendar/index.php');"></div></div>
<a id="warning" onClick="warning();">
<img src="{serverpath}/phpgwapi/templates/idots2/js/x-desktop/xDT/skins/IDOTS2/idea.png" alt="New notification">
</a>
<!-- END show_clock -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN no_clock -->
<div id="taskbar"><img src="{iconpath}/launch.png" onClick="displayLaunch();" id="launch"><div id="tb" OnClick="sdt();"><img src="{iconpath}/show_desktop.png"></div><div id="tasks"></div></div>
<a id="warning" class="noclock" onClick="warning();">
<img src="{serverpath}/phpgwapi/templates/idots2/js/x-desktop/xDT/skins/IDOTS2/idea.png" alt="New notification">
</a>
<!-- END no_clock -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN logo -->
<img src="{iconpath}/x-desktop.png" id="xdesktoplogo"><img src="{iconpath}/egroupware.png" id="egroupwarelogo">
<!-- END logo -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN background_stretched -->
<img src="{backgroundimage}" id="{backgroundstyle}" style="background-color: {backgroundcolor}">
<!-- END background_stretched -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN background -->
<div id="{backgroundstyle}" style="background-color: {backgroundcolor}; background-image: url('{backgroundimage}');"></div>
<!-- END background -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN background_none -->
<div id="stretched" style="background-color: {backgroundcolor};"></div>
<!-- END background_none -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN navbar_header_begin -->
<div id="launchmenu" class="" style="display:none;" onBlur="this.style.display='none';">
<div id="launchinfo"> </div>
<ul>
2005-07-01 22:15:26 +02:00
<!-- END navbar_header_begin -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN navbar_header_end -->
</ul>
</div>
2005-07-01 22:15:26 +02:00
<ul id="notify" onBlur="this.style.display='none';"></ul>
<!-- END navbar_header_end -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN appbox -->
{sideboxcolstart}<ul id="nav">
<!-- END appbox -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN end_appbox -->
</ul>
<!-- END end_appbox -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN begin_toolbar -->
2005-07-01 22:15:26 +02:00
</ul>
<div class="idots2toolbar">
<!-- END begin_toolbar -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN toolbar_item -->
<a href="{url}" onmouseout="this.style.border='1px solid #e5e5e5';" onmouseover="'this.style.border=1px outset #aaa';" onmousedown="this.style.border='1px inset #fff';" style="width:18px;height:18px;background-image: url({image})"></a>
<!-- END toolbar_item -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN toolbar_seperator -->
<div style="float:left;width:1px;height:19px;margin-top:3px;margin-left:2px;margin-right:3px;border-right:solid 1px #aaaaaa"></div>
<!-- END toolbar_seperator -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN end_toolbar -->
</div>
<!-- END end_toolbar -->
<!-- BEGIN sidebox_container -->
<script>
function sidebox_close()
{
document.getElementById('sidebox_container').style.display="none";
document.getElementById('divAppbox').style.marginLeft="0px;";
parent.saveSideboxState('{current_app}','close');
}
function sidebox_open()
{
document.getElementById('sidebox_container').style.display="block";
document.getElementById('divAppbox').style.marginLeft="170px;";
parent.saveSideboxState('{current_app}','open');
}
</script>
<div id="sidebox_container">
<!-- END sidebox_container -->
<!-- BEGIN sidebox_container_footer -->
</div>
<!-- END sidebox_container_footer -->
<!-- BEGIN sidebox_set_open -->
<script>
sidebox_open();
</script>
<!-- END sidebox_set_open -->
<!-- BEGIN sidebox -->
<div class="sidebox">
<div class="sidebox_title">{lang_title}</div>
<table style="width:100%;background-color:#eeeeee;">
<!-- END sidebox -->
<!-- BEGIN sidebox_footer -->
</table>
</div>
<!-- END sidebox_footer -->
<!-- BEGIN extra_sidebox_block_row -->
<tr class="divSideboxEntry">
<td width="20" align="center" valign="middle" class="textSidebox">{icon_or_star}</td><td class="textSidebox"><a class="textSidebox" href="{item_link}"{target}>{lang_item}</a></td>
</tr>
<!-- END extra_sidebox_block_row -->
<!-- BEGIN sidebox_spacer -->
<!-- END sidebox_spacer -->
<!-- BEGIN extra_sidebox_block_row_raw -->
<li><div><a href="#">{lang_item}</a></div></li>
<!-- END extra_sidebox_block_row_raw -->
<!-- BEGIN extra_sidebox_block_row_no_link -->
<li><a href="#">{lang_item}</a></li>
<!-- END extra_sidebox_block_row_no_link -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN navbar_footer -->
2005-07-01 22:15:26 +02:00
{sideboxcolend}
<div id="divAppbox">
<!-- END navbar_footer -->
<!-- BEGIN menu_header -->
<script type=text/javascript>
if(!parent.rootwindow)
{
parent.location.href='{rooturl}';
}
</script>
<li onclick="itemClick(event);" onmouseover="itemHover(event);"> <a href="javascript:void(0);">{lang_title}</a>
<ul>
<!-- END menu_header -->
<!-- BEGIN menu_footer -->
</ul></li>
<!-- END menu_footer -->
<!-- BEGIN extra_block_row -->
<li><a class="textSidebox" href="{item_link}"{target}>{lang_item}</a></li>
<!-- END extra_block_row -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN extra_block_row_raw -->
<li><div><a href="#">{lang_item}</a></div></li>
<!-- END extra_block_row_raw -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN extra_block_row_no_link -->
2005-07-01 22:15:26 +02:00
<li><a href="#">{lang_item}</a></li>
<!-- END extra_block_row_no_link -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN txt_menu_spacer -->
&nbsp;
<!-- END txt_menu_spacer -->
<!-- BEGIN launch_app -->
<li><a href="javascript:openX('{title}', '{url}');"><img src="{icon}" alt="{title}" title="{title}">{title}</a></li>
<!-- END launch_app -->
2005-07-01 22:15:26 +02:00
<!-- BEGIN logout -->
<li><a href="javascript:document.location = '{url}';"><img src="{icon}" alt="{title}" title="{title}">{title}</a></li>
<!-- END logout -->