diff --git a/phpgwapi/templates/jerryr/about.tpl b/phpgwapi/templates/jerryr/about.tpl new file mode 100755 index 0000000000..0640fe3993 --- /dev/null +++ b/phpgwapi/templates/jerryr/about.tpl @@ -0,0 +1,33 @@ + + + + + + + + +
spacer
+ +{phpgw_app_about} + +
diff --git a/phpgwapi/templates/jerryr/css.tpl b/phpgwapi/templates/jerryr/css.tpl new file mode 100755 index 0000000000..50b1baaf0e --- /dev/null +++ b/phpgwapi/templates/jerryr/css.tpl @@ -0,0 +1,9 @@ + +{css_file} diff --git a/phpgwapi/templates/jerryr/css/idots.css b/phpgwapi/templates/jerryr/css/idots.css new file mode 100755 index 0000000000..db009ccb22 --- /dev/null +++ b/phpgwapi/templates/jerryr/css/idots.css @@ -0,0 +1,390 @@ +/* +StyleSheet coding standards: + +1. use lowercase if possible + +2. format styles like this: + +body +{ + font-size: 12px; + font-family: Verdana, Arial, Helvetica, sans-serif +} + +3. existing html elements on top of the document, then all self defined .classes and at last all self defined #id's. + +4. close every property with ; also the last one. +*/ + +body +{ + background-image:url(../images/body-background.png); + font-size: 11px; + font-family: Verdana, Arial, Helvetica, sans-serif; + padding:14px; +} + +img +{ + border-width:0px; + border-style:none; + /*filter:progid:DXImageTransform.Microsoft.AlphaImageLoader; +*/ +} + +a:link,a:visited +{ + cursor:pointer; + color: #006699; + text-decoration: none; +} + +/* +a:visited +{ + color: #006699; + text-decoration: none; +} +*/ +a:hover,a:active +{ + cursor:pointer; + color: #ff9933; + text-decoration: underline; +} +/* +a:active +{ + color: #006699; + text-decoration: underline; +} +*/ +input,button +{ + font-size: 11px; + color: #006699; + font-family: Arial, Helvetica, sans-serif; + border: 1px #bbbbbb solid; +} + +input[type=submit],input[type=button],button +{ + margin:1px; + padding:1px; + cursor: pointer; + cursor: hand; +} + +input[type=image] +{ + cursor: pointer; + cursor: hand; + border: 0px #bbbbbb none; +} +select +{ + font-size: 11px; + color: #006699; + font-family: Arial, Helvetica, sans-serif; + border: 1px #bbbbbb solid; +} + +td +{ + font-size: 11px; + /* padding-top:1px; + padding-bottom:1px;*/ +} + +.divLoginbox +{ + position:relative; + width: 300px; + border-right: #9c9c9c 1px solid; + border-top: #9c9c9c 1px solid; + border-left: #9c9c9c 1px solid; + border-bottom: #9c9c9c 1px solid +} + +.divLoginboxHeader +{ + text-align:center; + background-color:#dddddd; + padding-top:2px; + font-size:10px; + color:#666666; +} +.divSidebox +{ + position:relative; + width: 147px; + border-right: #9c9c9c 1px solid; + border-top: #9c9c9c 1px solid; + border-left: #9c9c9c 1px solid; + border-bottom: #9c9c9c 1px solid +} + +.divSideboxHeader +{ + text-align:center; + background-color:#dddddd; + padding-top:2px; + font-size:10px; + color:#666666; +} + +a.divSideboxEntry, .divSideboxEntry +{ + text-align:left; + height:16px; + background-color:#eeeeee; +} + +a.appTitles,.appTitles +{ + font-size: 10px; + height:18px; + padding-top:2px; + padding-bottom:2px; +} + +a.textSidebox +{ + font-size: 10px; + border-top: #aaaaaa 0px none; +} + +.textSidebox +{ + font-size: 10px; + height:18px; + padding-top:2px; + padding-bottom:2px; + border-top: #aaaaaa 1px solid; + +} + +.sideboxSpace +{ + height:9px; +} + +.greyLine +{ + margin:1px; + border-top-color:#7e7e7e; + border-top-width:1px; + border-top-style:solid; + height:1px; +} + +.prefSection +{ + font-weight:bold; + font-size:16px; + line-height:40px; +} + +#extraIcons +{ +/* position:absolute; + z-index:13; + right:10px; + top:113px; + visibility:hidden;*/ + background-image:url(../images/alpha-white.png); + border-width:1px; + border-color:#7e7e7e; + border-style:solid; +} + + + +#divMain +{ + background-color:white; + margin-top: 5px; + padding:9px; + border-color:#7e7e7e; + border-width:1px; + border-style:solid; +} + +#divLogo +{ + position:absolute; + left:20px; + top:14px; + z-index:51; +} + +#divAppIconBar +{ + background-color:white; + border-top-color:#9c9c9c; + border-top-width:1px; + border-top-style:solid; + background-image: url(../images/background-icon-bar.png); + background-repeat: repeat-x +} + +#divAppTextBar +{ + background-color:white; +} + +#divStatusBar +{ + background-color:white; + height:15px; + padding-left:170px; + margin-top: 13px; + /* margin-bottom: 2px;*/ +} + +/*#divSubContainer +{ +} +*/ +#tdSidebox +{ + width:170px; + background-color:white; + overflow:visible; +} + + +#tdAppbox +{ + background-color:white; + padding-left:5px; + width: 100%; +} +#divSideboxContainer +{ + position:relative; + width:150px; + top:0px; + left:0px; + background-color:white; + border-width:1px; + border-style:solid; + z-index:40; +} + +#divAppboxHeader +{ + /*width:100%;*/ + background-image:url(../images/appbox-header-background.png); + background-repeat: repeat-x; + height:36px; + line-height:28px; + text-align:center; + /* padding-top:7px;*/ + padding-bottom:0px; + font-size:14px; + font-weight:bold; + color:#666666; + border-top-color:#9c9c9c; + border-top-width:1px; + border-top-style:solid; + border-left-color:#9c9c9c; + border-left-width:1px; + border-left-style:solid; + border-right-color:#9c9c9c; + border-right-width:1px; + border-right-style:solid; +} + +#divAppbox +{ +/* width:100%;*/ + background-color:#f7f7f7; + padding:5px; + border-bottom-color:#9c9c9c; + border-bottom-width:1px; + border-bottom-style:solid; + border-left-color:#9c9c9c; + border-left-width:1px; + border-left-style:solid; + border-right-color:#9c9c9c; + border-right-width:1px; + border-right-style:solid; +} + +#fmStatusBar +{ + margin-left:4px; + margin-bottom:3px; + font-size: 10px; +/* font-family: Verdana, Arial, Helvetica, sans-serif;*/ + + +} + + +.fmButton +{ + background-image:url(../images/buttonbackground.png); + width:28px; + height:28px; + background-repeat: no-repeat; +} + +#fmLocation +{ + position:relative; + /*background-image:url(../images/buttonbackgroundscaled.png); + background-repeat: repeat-x;*/ + /*margin-left:4px;*/ + margin-bottom:3px; + height:27px; + +} + +#fmMenu +{ + position:relative; +} +#fmFileWindow +{ + background-color:#ffffff; + margin-left:4px; + padding:5px; + position:relative; + border-right: #cccccc 1px solid; + border-top: #9c9c9c 2px solid; + border-left: #9c9c9c 2px solid; + border-bottom: #cccccc 1px solid +} + +#user_info +{ + + +} + +#admin_info +{ + position:relative; + text-align:right; +} + +#divGenTime +{ + bottom:14px; + font-size: 9px; + color: #ff0000; + text-align:center; + width:99%; +} + +#divPoweredBy +{ + bottom:14px; + font-size: 9px; + color: #000000; + text-align:center; + width:99%; +} + diff --git a/phpgwapi/templates/jerryr/css/kneschke.css b/phpgwapi/templates/jerryr/css/kneschke.css new file mode 100755 index 0000000000..f16f27ac75 --- /dev/null +++ b/phpgwapi/templates/jerryr/css/kneschke.css @@ -0,0 +1,305 @@ +/* + StyleSheet coding standards: + + 1. use lowercase if possible + + 2. format styles like this: + + body + { + font-size: 12px; + font-family: Verdana, Arial, Helvetica, sans-serif + } + + 3. existing html elements on top of the document, then all self defined .classes and at last all self defined #id's. + + 4. close every property with ; also the last one. +*/ + +body +{ + background-image:url(../images/body-background.png); + font-size: 11px; + font-family: Verdana, Arial, Helvetica, sans-serif; + padding:14px; +} + +a:link +{ + color: #006699; + text-decoration: none; +} + +a:visited +{ + color: #006699; + text-decoration: none; +} + +a:hover +{ + color: #ff9933; + text-decoration: underline; +} + +a:active +{ + color: #006699; + text-decoration: underline; +} + +input +{ + font-size: 11px; + color: #006699; + font-family: Arial, Helvetica, sans-serif; + border: 1px #bbbbbb solid; +} + +input[type="image"] +{ + border: 1px #bbbbbb none; +} + +input[type=submit],input[type=button],button +{ + cursor: pointer; + cursor: hand; +} + +select +{ + font-size: 11px; + color: #006699; + font-family: Arial, Helvetica, sans-serif; + border: 1px #bbbbbb solid; +} + +textarea +{ + font-size: 11px; + color: #006699; + font-family: Arial, Helvetica, sans-serif; + border: 1px #bbbbbb solid; +} + +td +{ + font-size: 11px; +/* padding-top:1px; + padding-bottom:1px;*/ +} + +.divSidebox +{ + position:relative; + width: 160px; + border-right: #9c9c9c 1px solid; + border-top: #9c9c9c 1px solid; + border-left: #9c9c9c 1px solid; + border-bottom: #9c9c9c 1px solid +} + +.divSideboxHeader +{ + text-align:center; + background-color:#dddddd; + background-color:#D8DEED; + background-color:#D3DCE3; + height:12px; + padding-top:2px; + padding-bottom:2px; + font-size:11px; + color:#333333; + font-weight : bold; + +} + +a.divSideboxEntry, .divSideboxEntry +{ + text-align:left; + height:16px; + background-color:#F6F7F4; +} + +a.appTitles,.appTitles +{ + font-size: 10px; + height:18px; + padding-top:2px; + padding-bottom:2px; +} + +a.textSidebox +{ + font-size: 10px; + border-top: #aaaaaa 0px none; +} + +.textSidebox +{ + font-size: 10px; + padding-top:2px; + padding-bottom:2px; + border-top: #aaaaaa 1px solid; + +} + +.sideboxSpace +{ + height:9px; +} + +.greyLine +{ + margin:1px; + border-top-color:#7e7e7e; + border-top-width:1px; + border-top-style:solid; + height:1px; +} + +#divMain +{ + background-color:white; + margin-top: 5px; + padding:9px; + border-color:#7e7e7e; + border-width:1px; + border-style:solid; +} + +#divLogo +{ + position:absolute; + left:20px; + top:14px; + z-index:51; +} + +#extraIcons +{ + position:absolute; + z-index:13; + right:10px; + top:113px; + visibility:hidden; + background-image:url(../images/alpha-white.png); + border-width:1px; + border-color:#7e7e7e; + border-style:solid; +} + +#divAppIconBar +{ + background-color:white; + border-top-color:#9c9c9c; + border-top-width:1px; + border-top-style:solid; + background-image: url(../images/background-icon-bar.png); + background-repeat: repeat-x +} + +#divAppTextBar +{ + background-color:white; +} + +#divStatusBar +{ + background-color:white; + height:15px; + padding-left:170px; + margin-top: 13px; +/* margin-bottom: 2px;*/ +} + +#divSubContainer +{ +} + +#tdSidebox +{ + width:170px; + background-color:white; +} + +#tdAppbox +{ + background-color:white; + padding-left:9px; + width: 100%; +} +#divSideboxContainer +{ + position:relative; + width:150px; + top:0px; + left:0px; + background-color:white; + border-color:red; + border-width:1px; + border-style:solid; + z-index:40; +} + +#divAppboxHeader +{ + width:100%; + background-image:url(../images/appbox-header-background.png); + background-repeat: repeat-x; + height:16px; + line-height:18px; + text-align:center; +/* padding-top:7px;*/ + padding-bottom:0px; + font-size:12px; + font-weight:bold; + color:#555555; + border-top-color:#9c9c9c; + border-top-width:1px; + border-top-style:solid; + border-left-color:#9c9c9c; + border-left-width:1px; + border-left-style:solid; + border-right-color:#9c9c9c; + border-right-width:1px; + border-right-style:solid; +} + +#divAppbox +{ + width:100%; + background-color:#f7f7f7; + padding:5px; + border-bottom-color:#9c9c9c; + border-bottom-width:1px; + border-bottom-style:solid; + border-left-color:#9c9c9c; + border-left-width:1px; + border-left-style:solid; + border-right-color:#9c9c9c; + border-right-width:1px; + border-right-style:solid; +} + +#user_info +{ + color: #555555; +} + +#admin_info +{ + position:relative; + text-align:right; +} + +#divPoweredBy +{ + bottom:14px; + font-size: 9px; + color: #000000; + text-align:center; + width:99%; +} + diff --git a/phpgwapi/templates/jerryr/doc/CHANGELOG b/phpgwapi/templates/jerryr/doc/CHANGELOG new file mode 100644 index 0000000000..8aa53942b4 --- /dev/null +++ b/phpgwapi/templates/jerryr/doc/CHANGELOG @@ -0,0 +1,16 @@ +Fri Apr 18 01:51:00 CEST 2003 +- resize icons to 32x32 +- renamed css file for better compatibility +- removed unneccesary files in calender and email template directory +- merged changed from Ralf Becker +- remade the logo +- changed gif to png where possible (create_tabs in class.common.inc.php only uses gifs!!!) +- moved tree to 0.9.16 branch + +Wed Apr 16 23:07:54 CEST 2003 +- Get app titles from new array without using the lang() call +- Moved 'Homelink' from navbar to sidebox +- Use preference setting 'icons', 'icons and text' +- sidebox menu's can be hooked now (see template hook-files in phpgwapi/templates/idots/doc/hook_templates/ +- replaces correct gimpsource file for navbar icons: phpgwapi/templates/idots/source/navbar.xcf +- additional information in the README diff --git a/phpgwapi/templates/jerryr/doc/README b/phpgwapi/templates/jerryr/doc/README new file mode 100644 index 0000000000..7954429c58 --- /dev/null +++ b/phpgwapi/templates/jerryr/doc/README @@ -0,0 +1,41 @@ ++++++++++++++++++++++++++++++++++++++++++++++++++++ + + IDOTS TEMPLATE SET FOR PHPGROUPWARE + ++++++++++++++++++++++++++++++++++++++++++++++++++++ + +The template set idots, formaly known as MYiDOTS is +havely based on the Crystal Icon theme from +Everaldo. + + APPLICATION ICONS +=================================================== +Because of a bug in Internet Explorer which causes +it to display transpancy in PNG's as black I gave +all icons a background. + +Everybody is encouraged to make more icons for the +idots template set. Please don't use gif as Image +type because this filetype in not an open standard + +The source Gimp-files can be found in +phpgwapi/templates/idots/source/ + +The logo source file can also be found in the above +directory. + + APPLICATION HOOKS +=================================================== +In the hook_file, hook_sidebox_menu.inc.php, +developers can define the sidebox menu's for their +applications template hook files can be found in +phpgwapi/templates/idots/hook_templates/ + + +Hope you enjoy this template set, +Pim Snel + + + + + diff --git a/phpgwapi/templates/jerryr/doc/TODO b/phpgwapi/templates/jerryr/doc/TODO new file mode 100644 index 0000000000..4c6d96c761 --- /dev/null +++ b/phpgwapi/templates/jerryr/doc/TODO @@ -0,0 +1,5 @@ +- validate css and make valid CSS +- validate html and make valid html 4.01 +- remove phpBB.org code etc... +- a lot of icons +- some sort of template-set configuration (maybe create a fake app???) diff --git a/phpgwapi/templates/jerryr/footer.tpl b/phpgwapi/templates/jerryr/footer.tpl new file mode 100755 index 0000000000..8808916f76 --- /dev/null +++ b/phpgwapi/templates/jerryr/footer.tpl @@ -0,0 +1,13 @@ + + + + + + + + +{page_generation_time} +

{powered_by}
+ + + diff --git a/phpgwapi/templates/jerryr/head.inc.php b/phpgwapi/templates/jerryr/head.inc.php new file mode 100644 index 0000000000..c4eed1bea6 --- /dev/null +++ b/phpgwapi/templates/jerryr/head.inc.php @@ -0,0 +1,91 @@ + + '; + } + + if(!$GLOBALS['phpgw_info']['user']['preferences']['common']['disable_slider_effects']) + { + $slider_effects_src = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/js/slidereffects.js'; + $slider_effects = ''; + } + else + { + $simple_show_hide_src = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/js/simple_show_hide.js'; + $simple_show_hide = ''; + } + + $tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR); + $tpl->set_unknowns('remove'); + $tpl->set_file(array('_head' => 'head.tpl')); + $tpl->set_block('_head','head'); + + $app = $GLOBALS['phpgw_info']['flags']['currentapp']; + $app = $app ? ' ['.(isset($GLOBALS['phpgw_info']['apps'][$app]) ? $GLOBALS['phpgw_info']['apps'][$app]['title'] : lang($app)).']':''; + + $var = Array( + 'img_icon' => PHPGW_IMAGES_DIR . '/favicon.ico', + 'img_shortcut' => PHPGW_IMAGES_DIR . '/favicon.ico', + 'pngfix' => $pngfix, + 'slider_effects'=> $slider_effects, + 'simple_show_hide'=> $simple_show_hide, + 'lang_code'=> $lang_code, + 'charset' => $GLOBALS['phpgw']->translation->charset(), + 'font_family' => $GLOBALS['phpgw_info']['theme']['font'], + 'website_title' => $GLOBALS['phpgw_info']['server']['site_title'].$app, + 'body_tags' => $bodyheader .' '. $GLOBALS['phpgw']->common->get_body_attribs(), + 'theme_css' => $theme_css, + 'css' => $GLOBALS['phpgw']->common->get_css(), + 'java_script' => $GLOBALS['phpgw']->common->get_java_script(), + ); + $tpl->set_var($var); + $tpl->pfp('out','head'); + unset($tpl); +?> diff --git a/phpgwapi/templates/jerryr/head.tpl b/phpgwapi/templates/jerryr/head.tpl new file mode 100644 index 0000000000..08cb9286d7 --- /dev/null +++ b/phpgwapi/templates/jerryr/head.tpl @@ -0,0 +1,24 @@ + + + + {website_title} + + + + + + + + + + + + {slider_effects} + {simple_show_hide} + {pngfix} + {css} + {java_script} + + + + diff --git a/phpgwapi/templates/jerryr/hook_settings.inc.php b/phpgwapi/templates/jerryr/hook_settings.inc.php new file mode 100644 index 0000000000..974c36f1fb --- /dev/null +++ b/phpgwapi/templates/jerryr/hook_settings.inc.php @@ -0,0 +1,55 @@ + lang('Click'), + 'onmouseover' => lang('On Mouse Over') + ); + + create_select_box( + 'Click or Mouse Over to show menus', + 'click_or_onmouseover', + $click_or_onmouseover, + 'Click or Mouse Over to show menus?' + ); + + create_check_box( + 'Disable slider effects', + 'disable_slider_effects', + 'Disable the animated slider effects when showing or hiding menus in the page? Opera and Konqueror users will probably must want this.' + ); + + create_check_box( + 'Disable Internet Explorer png-image-bugfix', + 'disable_pngfix', + 'Disable the execution a bugfixscript for Internet Explorer 5.5 and higher to show transparency in PNG-images?' + ); + + create_check_box( + 'Show page generation time', + 'show_generation_time', + 'Show page generation time on the bottom of the page?' + ); diff --git a/phpgwapi/templates/jerryr/images/alpha-white.png b/phpgwapi/templates/jerryr/images/alpha-white.png new file mode 100644 index 0000000000..4d8b4fcb84 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/alpha-white.png differ diff --git a/phpgwapi/templates/jerryr/images/appbox-header-background.png b/phpgwapi/templates/jerryr/images/appbox-header-background.png new file mode 100644 index 0000000000..7bd5d16294 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/appbox-header-background.png differ diff --git a/phpgwapi/templates/jerryr/images/background-icon-bar.png b/phpgwapi/templates/jerryr/images/background-icon-bar.png new file mode 100644 index 0000000000..b601e56b39 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/background-icon-bar.png differ diff --git a/phpgwapi/templates/jerryr/images/body-background.png b/phpgwapi/templates/jerryr/images/body-background.png new file mode 100644 index 0000000000..02db2b402c Binary files /dev/null and b/phpgwapi/templates/jerryr/images/body-background.png differ diff --git a/phpgwapi/templates/jerryr/images/buttonbackground.png b/phpgwapi/templates/jerryr/images/buttonbackground.png new file mode 100644 index 0000000000..35da4fc325 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/buttonbackground.png differ diff --git a/phpgwapi/templates/jerryr/images/buttonbackgroundleft.png b/phpgwapi/templates/jerryr/images/buttonbackgroundleft.png new file mode 100644 index 0000000000..cc83b382c4 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/buttonbackgroundleft.png differ diff --git a/phpgwapi/templates/jerryr/images/buttonbackgroundright.png b/phpgwapi/templates/jerryr/images/buttonbackgroundright.png new file mode 100644 index 0000000000..b9a44fbddf Binary files /dev/null and b/phpgwapi/templates/jerryr/images/buttonbackgroundright.png differ diff --git a/phpgwapi/templates/jerryr/images/buttonbackgroundscaled.png b/phpgwapi/templates/jerryr/images/buttonbackgroundscaled.png new file mode 100644 index 0000000000..b86ea71288 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/buttonbackgroundscaled.png differ diff --git a/phpgwapi/templates/jerryr/images/buttonseparator.png b/phpgwapi/templates/jerryr/images/buttonseparator.png new file mode 100644 index 0000000000..cc25211d95 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/buttonseparator.png differ diff --git a/phpgwapi/templates/jerryr/images/close.png b/phpgwapi/templates/jerryr/images/close.png new file mode 100755 index 0000000000..2415dfc78b Binary files /dev/null and b/phpgwapi/templates/jerryr/images/close.png differ diff --git a/phpgwapi/templates/jerryr/images/delete.png b/phpgwapi/templates/jerryr/images/delete.png new file mode 100644 index 0000000000..6d0d29d760 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/delete.png differ diff --git a/phpgwapi/templates/jerryr/images/down.png b/phpgwapi/templates/jerryr/images/down.png new file mode 100755 index 0000000000..bad2281a4e Binary files /dev/null and b/phpgwapi/templates/jerryr/images/down.png differ diff --git a/phpgwapi/templates/jerryr/images/dragarea.png b/phpgwapi/templates/jerryr/images/dragarea.png new file mode 100644 index 0000000000..c2d558156d Binary files /dev/null and b/phpgwapi/templates/jerryr/images/dragarea.png differ diff --git a/phpgwapi/templates/jerryr/images/dragarea_left.png b/phpgwapi/templates/jerryr/images/dragarea_left.png new file mode 100755 index 0000000000..9d658728ef Binary files /dev/null and b/phpgwapi/templates/jerryr/images/dragarea_left.png differ diff --git a/phpgwapi/templates/jerryr/images/dragarea_right.png b/phpgwapi/templates/jerryr/images/dragarea_right.png new file mode 100755 index 0000000000..eff535255c Binary files /dev/null and b/phpgwapi/templates/jerryr/images/dragarea_right.png differ diff --git a/phpgwapi/templates/jerryr/images/edit.png b/phpgwapi/templates/jerryr/images/edit.png new file mode 100644 index 0000000000..a8b69f73fe Binary files /dev/null and b/phpgwapi/templates/jerryr/images/edit.png differ diff --git a/phpgwapi/templates/jerryr/images/extra_icons.png b/phpgwapi/templates/jerryr/images/extra_icons.png new file mode 100755 index 0000000000..3b2208b660 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/extra_icons.png differ diff --git a/phpgwapi/templates/jerryr/images/favicon.ico b/phpgwapi/templates/jerryr/images/favicon.ico new file mode 100755 index 0000000000..2fe0b2cb0a Binary files /dev/null and b/phpgwapi/templates/jerryr/images/favicon.ico differ diff --git a/phpgwapi/templates/jerryr/images/first-gray.png b/phpgwapi/templates/jerryr/images/first-gray.png new file mode 100755 index 0000000000..bd7c353c78 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/first-gray.png differ diff --git a/phpgwapi/templates/jerryr/images/first-grey.png b/phpgwapi/templates/jerryr/images/first-grey.png new file mode 100755 index 0000000000..85dc51ece7 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/first-grey.png differ diff --git a/phpgwapi/templates/jerryr/images/first.png b/phpgwapi/templates/jerryr/images/first.png new file mode 100755 index 0000000000..d4f0bd8ecd Binary files /dev/null and b/phpgwapi/templates/jerryr/images/first.png differ diff --git a/phpgwapi/templates/jerryr/images/grey-pixel.png b/phpgwapi/templates/jerryr/images/grey-pixel.png new file mode 100644 index 0000000000..7a56a8ccb5 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/grey-pixel.png differ diff --git a/phpgwapi/templates/jerryr/images/icon_mini_login.gif b/phpgwapi/templates/jerryr/images/icon_mini_login.gif new file mode 100755 index 0000000000..30b309b26c Binary files /dev/null and b/phpgwapi/templates/jerryr/images/icon_mini_login.gif differ diff --git a/phpgwapi/templates/jerryr/images/icon_mini_search.gif b/phpgwapi/templates/jerryr/images/icon_mini_search.gif new file mode 100755 index 0000000000..1295e9f1db Binary files /dev/null and b/phpgwapi/templates/jerryr/images/icon_mini_search.gif differ diff --git a/phpgwapi/templates/jerryr/images/last-grey.png b/phpgwapi/templates/jerryr/images/last-grey.png new file mode 100755 index 0000000000..63ec9439ff Binary files /dev/null and b/phpgwapi/templates/jerryr/images/last-grey.png differ diff --git a/phpgwapi/templates/jerryr/images/last.png b/phpgwapi/templates/jerryr/images/last.png new file mode 100755 index 0000000000..41c9bdcf3b Binary files /dev/null and b/phpgwapi/templates/jerryr/images/last.png differ diff --git a/phpgwapi/templates/jerryr/images/left-grey.png b/phpgwapi/templates/jerryr/images/left-grey.png new file mode 100755 index 0000000000..48bde94970 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/left-grey.png differ diff --git a/phpgwapi/templates/jerryr/images/left.png b/phpgwapi/templates/jerryr/images/left.png new file mode 100755 index 0000000000..fab1be0338 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/left.png differ diff --git a/phpgwapi/templates/jerryr/images/login-background.jpg b/phpgwapi/templates/jerryr/images/login-background.jpg new file mode 100755 index 0000000000..d9d1cdf670 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/login-background.jpg differ diff --git a/phpgwapi/templates/jerryr/images/login-background.png b/phpgwapi/templates/jerryr/images/login-background.png new file mode 100644 index 0000000000..2f55cc5537 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/login-background.png differ diff --git a/phpgwapi/templates/jerryr/images/logo.png b/phpgwapi/templates/jerryr/images/logo.png new file mode 100644 index 0000000000..b182077dbe Binary files /dev/null and b/phpgwapi/templates/jerryr/images/logo.png differ diff --git a/phpgwapi/templates/jerryr/images/nonav.png b/phpgwapi/templates/jerryr/images/nonav.png new file mode 100644 index 0000000000..5602de8617 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/nonav.png differ diff --git a/phpgwapi/templates/jerryr/images/orange-ball.png b/phpgwapi/templates/jerryr/images/orange-ball.png new file mode 100644 index 0000000000..e7e6518ff4 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/orange-ball.png differ diff --git a/phpgwapi/templates/jerryr/images/password.png b/phpgwapi/templates/jerryr/images/password.png new file mode 100644 index 0000000000..2144538119 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/password.png differ diff --git a/phpgwapi/templates/jerryr/images/right-grey.png b/phpgwapi/templates/jerryr/images/right-grey.png new file mode 100755 index 0000000000..9991869ccd Binary files /dev/null and b/phpgwapi/templates/jerryr/images/right-grey.png differ diff --git a/phpgwapi/templates/jerryr/images/right.png b/phpgwapi/templates/jerryr/images/right.png new file mode 100755 index 0000000000..dccf069aa2 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/right.png differ diff --git a/phpgwapi/templates/jerryr/images/sidebox-header-background.png b/phpgwapi/templates/jerryr/images/sidebox-header-background.png new file mode 100644 index 0000000000..b9d5eafbae Binary files /dev/null and b/phpgwapi/templates/jerryr/images/sidebox-header-background.png differ diff --git a/phpgwapi/templates/jerryr/images/spacer.gif b/phpgwapi/templates/jerryr/images/spacer.gif new file mode 100755 index 0000000000..fc2560981e Binary files /dev/null and b/phpgwapi/templates/jerryr/images/spacer.gif differ diff --git a/phpgwapi/templates/jerryr/images/tabs-bg0.gif b/phpgwapi/templates/jerryr/images/tabs-bg0.gif new file mode 100644 index 0000000000..99ac54563e Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-bg0.gif differ diff --git a/phpgwapi/templates/jerryr/images/tabs-bg0.png b/phpgwapi/templates/jerryr/images/tabs-bg0.png new file mode 100644 index 0000000000..0f11da5309 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-bg0.png differ diff --git a/phpgwapi/templates/jerryr/images/tabs-bg1.gif b/phpgwapi/templates/jerryr/images/tabs-bg1.gif new file mode 100755 index 0000000000..5391aa8c0c Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-bg1.gif differ diff --git a/phpgwapi/templates/jerryr/images/tabs-bg1.png b/phpgwapi/templates/jerryr/images/tabs-bg1.png new file mode 100755 index 0000000000..821792a79d Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-bg1.png differ diff --git a/phpgwapi/templates/jerryr/images/tabs-end0.gif b/phpgwapi/templates/jerryr/images/tabs-end0.gif new file mode 100755 index 0000000000..1f4cc71483 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-end0.gif differ diff --git a/phpgwapi/templates/jerryr/images/tabs-end0.png b/phpgwapi/templates/jerryr/images/tabs-end0.png new file mode 100755 index 0000000000..fd98c8ef57 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-end0.png differ diff --git a/phpgwapi/templates/jerryr/images/tabs-end1.gif b/phpgwapi/templates/jerryr/images/tabs-end1.gif new file mode 100755 index 0000000000..896bb2817a Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-end1.gif differ diff --git a/phpgwapi/templates/jerryr/images/tabs-end1.png b/phpgwapi/templates/jerryr/images/tabs-end1.png new file mode 100755 index 0000000000..eb07a51db6 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-end1.png differ diff --git a/phpgwapi/templates/jerryr/images/tabs-ext.gif b/phpgwapi/templates/jerryr/images/tabs-ext.gif new file mode 100755 index 0000000000..dcc8490d96 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-ext.gif differ diff --git a/phpgwapi/templates/jerryr/images/tabs-ext.png b/phpgwapi/templates/jerryr/images/tabs-ext.png new file mode 100755 index 0000000000..a79169ddc0 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-ext.png differ diff --git a/phpgwapi/templates/jerryr/images/tabs-l0.gif b/phpgwapi/templates/jerryr/images/tabs-l0.gif new file mode 100755 index 0000000000..736f558afe Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-l0.gif differ diff --git a/phpgwapi/templates/jerryr/images/tabs-l0.png b/phpgwapi/templates/jerryr/images/tabs-l0.png new file mode 100755 index 0000000000..80ef977bc2 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-l0.png differ diff --git a/phpgwapi/templates/jerryr/images/tabs-l1.gif b/phpgwapi/templates/jerryr/images/tabs-l1.gif new file mode 100755 index 0000000000..44043ec23f Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-l1.gif differ diff --git a/phpgwapi/templates/jerryr/images/tabs-l1.png b/phpgwapi/templates/jerryr/images/tabs-l1.png new file mode 100755 index 0000000000..f00de3de3e Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-l1.png differ diff --git a/phpgwapi/templates/jerryr/images/tabs-r0.gif b/phpgwapi/templates/jerryr/images/tabs-r0.gif new file mode 100755 index 0000000000..050a5ab987 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-r0.gif differ diff --git a/phpgwapi/templates/jerryr/images/tabs-r0.png b/phpgwapi/templates/jerryr/images/tabs-r0.png new file mode 100755 index 0000000000..e9e6595091 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-r0.png differ diff --git a/phpgwapi/templates/jerryr/images/tabs-r1.gif b/phpgwapi/templates/jerryr/images/tabs-r1.gif new file mode 100755 index 0000000000..9f16c2e1d6 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-r1.gif differ diff --git a/phpgwapi/templates/jerryr/images/tabs-r1.png b/phpgwapi/templates/jerryr/images/tabs-r1.png new file mode 100755 index 0000000000..ba4480e295 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-r1.png differ diff --git a/phpgwapi/templates/jerryr/images/tabs-sepl.gif b/phpgwapi/templates/jerryr/images/tabs-sepl.gif new file mode 100755 index 0000000000..e9462064ae Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-sepl.gif differ diff --git a/phpgwapi/templates/jerryr/images/tabs-sepl.png b/phpgwapi/templates/jerryr/images/tabs-sepl.png new file mode 100755 index 0000000000..8906c79e25 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-sepl.png differ diff --git a/phpgwapi/templates/jerryr/images/tabs-sepm.gif b/phpgwapi/templates/jerryr/images/tabs-sepm.gif new file mode 100755 index 0000000000..4088991bdf Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-sepm.gif differ diff --git a/phpgwapi/templates/jerryr/images/tabs-sepm.png b/phpgwapi/templates/jerryr/images/tabs-sepm.png new file mode 100755 index 0000000000..8230e2e982 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-sepm.png differ diff --git a/phpgwapi/templates/jerryr/images/tabs-sepr.gif b/phpgwapi/templates/jerryr/images/tabs-sepr.gif new file mode 100755 index 0000000000..407351a32f Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-sepr.gif differ diff --git a/phpgwapi/templates/jerryr/images/tabs-sepr.png b/phpgwapi/templates/jerryr/images/tabs-sepr.png new file mode 100755 index 0000000000..6930f5bb79 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-sepr.png differ diff --git a/phpgwapi/templates/jerryr/images/tabs-start0.gif b/phpgwapi/templates/jerryr/images/tabs-start0.gif new file mode 100755 index 0000000000..6cdb2b8b8c Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-start0.gif differ diff --git a/phpgwapi/templates/jerryr/images/tabs-start0.png b/phpgwapi/templates/jerryr/images/tabs-start0.png new file mode 100755 index 0000000000..94f946c4df Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-start0.png differ diff --git a/phpgwapi/templates/jerryr/images/tabs-start1.gif b/phpgwapi/templates/jerryr/images/tabs-start1.gif new file mode 100755 index 0000000000..bcd7a9d849 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-start1.gif differ diff --git a/phpgwapi/templates/jerryr/images/tabs-start1.png b/phpgwapi/templates/jerryr/images/tabs-start1.png new file mode 100755 index 0000000000..4bc6fc5a12 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/tabs-start1.png differ diff --git a/phpgwapi/templates/jerryr/images/up.png b/phpgwapi/templates/jerryr/images/up.png new file mode 100755 index 0000000000..20da24d9bb Binary files /dev/null and b/phpgwapi/templates/jerryr/images/up.png differ diff --git a/phpgwapi/templates/jerryr/images/valid-html401.png b/phpgwapi/templates/jerryr/images/valid-html401.png new file mode 100644 index 0000000000..3855210c6c Binary files /dev/null and b/phpgwapi/templates/jerryr/images/valid-html401.png differ diff --git a/phpgwapi/templates/jerryr/images/valid-xhtml11.png b/phpgwapi/templates/jerryr/images/valid-xhtml11.png new file mode 100644 index 0000000000..2c63d93f88 Binary files /dev/null and b/phpgwapi/templates/jerryr/images/valid-xhtml11.png differ diff --git a/phpgwapi/templates/jerryr/images/vcss.png b/phpgwapi/templates/jerryr/images/vcss.png new file mode 100644 index 0000000000..020c75a73a Binary files /dev/null and b/phpgwapi/templates/jerryr/images/vcss.png differ diff --git a/phpgwapi/templates/jerryr/images/view.png b/phpgwapi/templates/jerryr/images/view.png new file mode 100644 index 0000000000..593a56634b Binary files /dev/null and b/phpgwapi/templates/jerryr/images/view.png differ diff --git a/phpgwapi/templates/jerryr/js/pngfix.js b/phpgwapi/templates/jerryr/js/pngfix.js new file mode 100644 index 0000000000..1380ee35f2 --- /dev/null +++ b/phpgwapi/templates/jerryr/js/pngfix.js @@ -0,0 +1,33 @@ +function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or higher. + { + for(var i=0; i" + img.outerHTML = strNewHTML + i = i-1 + } + } + } +window.attachEvent("onload", correctPNG); diff --git a/phpgwapi/templates/jerryr/js/simple_show_hide.js b/phpgwapi/templates/jerryr/js/simple_show_hide.js new file mode 100644 index 0000000000..1363578e72 --- /dev/null +++ b/phpgwapi/templates/jerryr/js/simple_show_hide.js @@ -0,0 +1,183 @@ +/***************************************************** + * ypSlideOutMenu + * 3/04/2001 + * + * a nice little script to create exclusive, slide-out + * menus for ns4, ns6, mozilla, opera, ie4, ie5 on + * mac and win32. I've got no linux or unix to test on but + * it should(?) work... + * + * --youngpup-- + *****************************************************/ + +//var isIE = false; +//var isOther = false; +//var isNS4 = false; +//var isNS6 = false; +// constructor +function ypSlideOutMenu(id, dir, left, top, width, height,pos) +{ + + this.ie = document.all ? 1 : 0 + this.ns4 = document.layers ? 1 : 0 + this.dom = document.getElementById ? 1 : 0 + + if (this.ie || this.ns4 || this.dom) { + this.id = id + this.dir = dir + this.orientation = dir == "left" || dir == "right" ? "h" : "v" + this.dirType = dir == "right" || dir == "down" ? "-" : "+" + this.dim = this.orientation == "h" ? width : height + //this.hideTimer = false + //this.aniTimer = false + this.open = false + this.over = false + //this.startTime = 0 + + // global reference to this object + //this.gRef = "ypSlideOutMenu_"+id + //eval(this.gRef+"=this") + + // add this menu object to an internal list of all menus + //ypSlideOutMenu.Registry[id] = this + + var d = document + + var strCSS = ''; + + d.write(strCSS); + // alert(strCSS); +// this.load() + + } + } + + ypSlideOutMenu.aLs = function(layerID) + { + + this.isIE = false; + this.isOther = false; + this.isNS4 = false; + this.isNS6 = false; + if(document.getElementById) + { + if(!document.all) + { + this.isNS6=true; + } + if(document.all) + { + this.isIE=true; + } + } + else + { + if(document.layers) + { + this.isNS4=true; + } + else + { + this.isOther=true; + } + } + + var returnLayer; + if(this.isIE) + { + returnLayer = eval("document.all." + layerID + ".style"); + } + if(this.isNS6) + { + returnLayer = eval("document.getElementById('" + layerID + "').style"); + } + if(this.isNS4) + { + returnLayer = eval("document." + layerID); + } + if(this.isOther) + { + returnLayer = "null"; + alert("Error:\nDue to your browser you will probably not\nbe able to view all of the following page\nas it was designed to be viewed. We regret\nthis error sincerely."); + } + return returnLayer; + } + // HideShow 1.0 Jim Cummins - http://www.conxiondesigns.com + + ypSlideOutMenu.ShowL = function(ID) + { + ypSlideOutMenu.aLs(ID).visibility = "visible"; + } + + ypSlideOutMenu.HideL =function(ID) + { + ypSlideOutMenu.aLs(ID).visibility = "hidden"; + } + + ypSlideOutMenu.HideShow = function(ID) + { + + if((ypSlideOutMenu.aLs(ID).visibility == "visible") || (ypSlideOutMenu.aLs(ID).visibility == "")) + { + ypSlideOutMenu.aLs(ID).visibility = "hidden"; + } + else if(ypSlideOutMenu.aLs(ID).visibility == "hidden") + { + ypSlideOutMenu.aLs(ID).visibility = "visible"; + } + } + + + ypSlideOutMenu.showMenu = function(id) + { + //temporarly hide all selectboxes to fix IE bug with z-index + if(document.all) + { + for (var i=0; i ms, which + // gives the user time to cancel the action if they accidentally moused out + var obj = ypSlideOutMenu.Registry[id] + if (obj.container) { + if (obj.hideTimer) window.clearTimeout(obj.hideTimer) + obj.hideTimer = window.setTimeout("ypSlideOutMenu.hide('" + id + "')", ypSlideOutMenu.hideDelay); + } + } + + ypSlideOutMenu.hide = function(id) + { + var obj = ypSlideOutMenu.Registry[id] + obj.over = false + + if (obj.hideTimer) window.clearTimeout(obj.hideTimer) + + // flag that this scheduled event has occured. + obj.hideTimer = 0 + + // if this menu is open, close it. + if (obj.open && !obj.aniTimer) obj.startSlide(false) + + //show all selectboxes again to fix IE bug with z-index + if(document.all) + { + for (var i=0; i ypSlideOutMenu.aniLen) this.endSlide() + else { + var d = Math.round(Math.pow(ypSlideOutMenu.aniLen-elapsed, 2) * this.accelConst) + if (this.open && this.dirType == "-") d = -d + else if (this.open && this.dirType == "+") d = -d + else if (!this.open && this.dirType == "-") d = -this.dim + d + else d = this.dim + d + + this.moveTo(d) + } +} + +ypSlideOutMenu.prototype.endSlide = function() { + this.aniTimer = window.clearTimeout(this.aniTimer) + this.moveTo(this.open ? this.outPos : this.homePos) + if (!this.open) this.setVisibility(false) + if ((this.open && !this.over) || (!this.open && this.over)) { + this.startSlide(this.over) + } +} + +ypSlideOutMenu.prototype.setVisibility = function(bShow) { + var s = this.ns4 ? this.container : this.container.style + s.visibility = bShow ? "visible" : "hidden" +} +ypSlideOutMenu.prototype.moveTo = function(p) { + this.style[this.orientation == "h" ? "left" : "top"] = this.ns4 ? p : p + "px" +} +ypSlideOutMenu.prototype.getPos = function(c) { + return parseInt(this.style[c]) +} + +// events +ypSlideOutMenu.prototype.onactivate = function() { } +ypSlideOutMenu.prototype.ondeactivate = function() { } diff --git a/phpgwapi/templates/jerryr/login.tpl b/phpgwapi/templates/jerryr/login.tpl new file mode 100755 index 0000000000..9c9c5298d5 --- /dev/null +++ b/phpgwapi/templates/jerryr/login.tpl @@ -0,0 +1,146 @@ + + + + + + + + + + + +{website_title} - Login + + + + + + + + + +
+
+ + + + + + +
spacer + + + + + +
spacer
+ +
spacer
+
+
+ +
+
+
{lang_message}
+
{cd}
+

 

+
+ + + + + + + + + + + +
{website_title}
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ {register_link}
+ spacer +
+ + +
{lang_username}: {select_domain}
{lang_password}:  
+   +
+ +
+   +
+ +
+ keys +
+

 

+

 

+

 

+
+ + + +
+
+
+
+Valid HTML 4.01 +Valid CSS +
+
+
+eGroupWare {version}
+ + diff --git a/phpgwapi/templates/jerryr/login_denylogin.tpl b/phpgwapi/templates/jerryr/login_denylogin.tpl new file mode 100755 index 0000000000..22f2d2e154 --- /dev/null +++ b/phpgwapi/templates/jerryr/login_denylogin.tpl @@ -0,0 +1,14 @@ + + + +eGroupWare + + + + + +
+ {deny_msg} +
+ + diff --git a/phpgwapi/templates/jerryr/navbar.inc.php b/phpgwapi/templates/jerryr/navbar.inc.php new file mode 100644 index 0000000000..c819b63a75 --- /dev/null +++ b/phpgwapi/templates/jerryr/navbar.inc.php @@ -0,0 +1,337 @@ +set_file( + array( + 'navbar' => 'navbar.tpl' + ) + ); + + $GLOBALS['idots_tpl']->set_block('navbar','navbar_header','navbar_header'); + $GLOBALS['idots_tpl']->set_block('navbar','extra_blocks_header','extra_block_header'); + $GLOBALS['idots_tpl']->set_block('navbar','extra_block_row','extra_block_row'); + $GLOBALS['idots_tpl']->set_block('navbar','extra_block_spacer','extra_block_spacer'); + $GLOBALS['idots_tpl']->set_block('navbar','extra_blocks_footer','extra_blocks_footer'); + $GLOBALS['idots_tpl']->set_block('navbar','sidebox_hide_header','sidebox_hide_header'); + $GLOBALS['idots_tpl']->set_block('navbar','sidebox_hide_footer','sidebox_hide_footer'); + $GLOBALS['idots_tpl']->set_block('navbar','appbox','appbox'); + $GLOBALS['idots_tpl']->set_block('navbar','navbar_footer','navbar_footer'); + + $var['img_root'] = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/images'; + $var['table_bg_color'] = $GLOBALS['phpgw_info']['theme']['navbar_bg']; + + if($GLOBALS['phpgw_info']['user']['preferences']['common']['click_or_onmouseover']=='onmouseover') + { + $show_menu_event = 'onMouseOver'; + } + else + { + $show_menu_event = 'onClick'; + } + + + $applications = ''; + + // == 'icons_and_text') + + $max_icons=$GLOBALS['phpgw_info']['user']['preferences']['common']['max_icons']; + if(!$max_icons) + { + $max_icons=200; + } + + foreach($GLOBALS['phpgw_info']['navbar'] as $app => $app_data) + { + if($app != 'home' && $app != 'preferences' && $app != 'about' && $app != 'logout') + { + $title = $GLOBALS['phpgw_info']['apps'][$app]['title']; + $icon = '' . $title . ''; + + if($i<$max_icons) + { + $app_icons .= ''; + + $app_titles .= ''; + } + else // generate extra icon layer | always shows icons and text + { + $app_extra_icons .= ''; + + $app_extra_icons .= ''; + } + + unset($icon); + unset($title); + $i++; + } + } + + $var['app_icons'] = $app_icons; + + if($i > $max_icons) + { + $app_extra_icons_div = ' + + + '; + + $var['app_extra_icons_div']= $app_extra_icons_div; +// $var['app_extra_icons_icon']= ''; + $var['app_extra_icons_icon']= ''; + } + + if($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format']!='icons') + { + $var['app_titles'] = $app_titles; + } + else + { + $var['app_titles'] = ' '; + } + if(isset($GLOBALS['phpgw_info']['flags']['app_header'])) + { + $var['current_app_title'] = $GLOBALS['phpgw_info']['flags']['app_header']; + } + else + { + $var['current_app_title']=$GLOBALS['phpgw_info']['navbar'][$GLOBALS['phpgw_info']['flags']['currentapp']]['title']; + } + + if(isset($GLOBALS['phpgw_info']['navbar']['admin']) && $GLOBALS['phpgw_info']['user']['preferences']['common']['show_currentusers']) + { + $var['current_users'] = '' + . lang('Current users') . ': ' . $GLOBALS['phpgw']->session->total() . ''; + } + $now = time(); + $var['user_info'] = ''.$GLOBALS['phpgw']->common->display_fullname() .''. ' - ' + . lang($GLOBALS['phpgw']->common->show_date($now,'l')) . ' ' + . $GLOBALS['phpgw']->common->show_date($now,$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']); + + if($GLOBALS['phpgw_info']['user']['lastpasswd_change'] == 0) + { + $api_messages = lang('You are required to change your password during your first login') + . '
Click this image on the navbar: '; + } + elseif($GLOBALS['phpgw_info']['user']['lastpasswd_change'] < time() - (86400*30)) + { + $api_messages = lang('it has been more then %1 days since you changed your password',30); + } + + // This is gonna change + if(isset($cd)) + { + $var['messages'] = $api_messages . '
' . checkcode($cd); + } + + $var['logo_file'] = $GLOBALS['phpgw']->common->image('phpgwapi',$GLOBALS['phpgw_info']['server']['login_logo_file']?$GLOBALS['phpgw_info']['server']['login_logo_file']:'logo'); + $var['logo_url'] = $GLOBALS['phpgw_info']['server']['login_logo_url']?$GLOBALS['phpgw_info']['server']['login_logo_url']:'http://www.eGroupWare.org'; + $var['logo_title'] = $GLOBALS['phpgw_info']['server']['login_logo_title']?$GLOBALS['phpgw_info']['server']['login_logo_title']:'www.eGroupWare.org'; + + $GLOBALS['idots_tpl']->set_var($var); + $GLOBALS['idots_tpl']->pfp('out','navbar_header'); + + /******************************************************\ + * The sidebox menu's * + \******************************************************/ + + $menu_title = lang('General Menu'); + + $file['Home'] = $GLOBALS['phpgw_info']['navbar']['home']['url']; + if($GLOBALS['phpgw_info']['user']['apps']['preferences']) + { + $file['Preferences'] = $GLOBALS['phpgw_info']['navbar']['preferences']['url']; + } + $file += array( + array( + 'text' => lang('About %1',$GLOBALS['phpgw_info']['apps'][$GLOBALS['phpgw_info']['flags']['currentapp']]['title']), + 'no_lang' => True, + 'link' => $GLOBALS['phpgw_info']['navbar']['about']['url'] + ), + 'Logout'=>$GLOBALS['phpgw_info']['navbar']['logout']['url'] + ); + + if($GLOBALS['phpgw_info']['user']['preferences']['common']['auto_hide_sidebox']==1) + { + $GLOBALS['idots_tpl']->set_var('show_menu_event',$show_menu_event); + $GLOBALS['idots_tpl']->pparse('out','sidebox_hide_header'); + + display_sidebox('',$menu_title,$file); + $GLOBALS['phpgw']->hooks->single('sidebox_menu',$GLOBALS['phpgw_info']['flags']['currentapp']); + + $GLOBALS['idots_tpl']->pparse('out','sidebox_hide_footer'); + + $var['sideboxcolstart']=''; + + $GLOBALS['idots_tpl']->set_var($var); + $GLOBALS['idots_tpl']->pparse('out','appbox'); + $var['remove_padding'] = 'style="padding-left:0px;"'; + $var['sideboxcolend'] = ''; + } + else + { + $var['menu_link'] = ''; + $var['sideboxcolstart'] = ''; + $var['remove_padding'] = ''; + $GLOBALS['idots_tpl']->set_var($var); + $GLOBALS['idots_tpl']->pparse('out','appbox'); + + display_sidebox('',$menu_title,$file); + $GLOBALS['phpgw']->hooks->single('sidebox_menu',$GLOBALS['phpgw_info']['flags']['currentapp']); + + $var['sideboxcolend'] = ''; + } + + $GLOBALS['idots_tpl']->set_var($var); + $GLOBALS['idots_tpl']->pparse('out','navbar_footer'); + + // If the application has a header include, we now include it + if(!@$GLOBALS['phpgw_info']['flags']['noappheader'] && @isset($_GET['menuaction'])) + { + list($app,$class,$method) = explode('.',$_GET['menuaction']); + if(is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions['header']) + { + $GLOBALS[$class]->header(); + } + } + $GLOBALS['phpgw']->hooks->process('after_navbar'); + return; + } + + function display_sidebox($appname,$menu_title,$file) + { + if(!$appname || ($appname==$GLOBALS['phpgw_info']['flags']['currentapp'] && $file)) + { + $var['lang_title']=$menu_title;//$appname.' '.lang('Menu'); + $GLOBALS['idots_tpl']->set_var($var); + $GLOBALS['idots_tpl']->pfp('out','extra_blocks_header'); + + foreach($file as $text => $url) + { + sidebox_menu_item($url,$text); + } + + $GLOBALS['idots_tpl']->pparse('out','extra_blocks_footer'); + } + } + + function sidebox_menu_item($item_link='',$item_text='') + { + if($item_text === '_NewLine_' || $item_link === '_NewLine_') + { + $GLOBALS['idots_tpl']->pparse('out','extra_block_spacer'); + } + else + { + $var['icon_or_star']='ball'; + $var['target'] = ''; + if(is_array($item_link)) + { + if(isset($item_link['icon'])) + { + $app = isset($item_link['app']) ? $item_link['app'] : $GLOBALS['phpgw_info']['flags']['currentapp']; + $var['icon_or_star'] = ''; + } + $var['lang_item'] = isset($item_link['no_lang']) && $item_link['no_lang'] ? $item_link['text'] : lang($item_link['text']); + $var['item_link'] = $item_link['link']; + if ($item_link['target']) + { + $var['target'] = ' target="' . $item_link['target'] . '"'; + } + } + else + { + $var['lang_item'] = lang($item_text); + $var['item_link'] = $item_link; + } + $GLOBALS['idots_tpl']->set_var($var); + $GLOBALS['idots_tpl']->pparse('out','extra_block_row'); + } + } + + function parse_navbar_end() + { + $GLOBALS['idots_tpl'] = createobject('phpgwapi.Template',PHPGW_TEMPLATE_DIR); + + $GLOBALS['idots_tpl']->set_file( + array( + 'footer' => 'footer.tpl' + ) + ); + $var = Array( + 'img_root' => $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/images', + 'table_bg_color' => $GLOBALS['phpgw_info']['theme']['navbar_bg'], + 'version' => $GLOBALS['phpgw_info']['server']['versions']['phpgwapi'] + ); + $GLOBALS['phpgw']->hooks->process('navbar_end'); + + if($GLOBALS['phpgw_info']['user']['preferences']['common']['show_generation_time']) + { + $mtime = microtime(); + $mtime = explode(' ',$mtime); + $mtime = $mtime[1] + $mtime[0]; + $tend = $mtime; + $totaltime = ($tend - $GLOBALS['page_start_time']); + + $var['page_generation_time'] = '

'.lang('Page was generated in %1 seconds',$totaltime).'
'; + } + + $var['powered_by'] = lang('Powered by phpGroupWare version %1',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']); + $GLOBALS['idots_tpl']->set_var($var); + $GLOBALS['idots_tpl']->pfp('out','footer'); + } diff --git a/phpgwapi/templates/jerryr/navbar.tpl b/phpgwapi/templates/jerryr/navbar.tpl new file mode 100644 index 0000000000..3f1fc08656 --- /dev/null +++ b/phpgwapi/templates/jerryr/navbar.tpl @@ -0,0 +1,123 @@ + + + +{app_extra_icons_div} + + +
+
+ + + + + + {app_extra_icons_icon} + + + +
spacer + + + {app_icons} + + + {app_titles} + +
+ +
spacer
+
+
{user_info}{current_users}
+ + + + + + + +
+ + + + {sideboxcolstart} + + + + + + + + +
+ +
+ +
+
+ +
+ + + + + +
+
+ +
+
+
+ + + + + + + + + {sideboxcolend} + + + + +
{current_app_title}
+
+ + + + + + + + + + + + diff --git a/phpgwapi/templates/jerryr/navbar_app.tpl b/phpgwapi/templates/jerryr/navbar_app.tpl new file mode 100755 index 0000000000..d6169e4fa7 --- /dev/null +++ b/phpgwapi/templates/jerryr/navbar_app.tpl @@ -0,0 +1,3 @@ + + + diff --git a/phpgwapi/templates/jerryr/nextmatchs.tpl b/phpgwapi/templates/jerryr/nextmatchs.tpl new file mode 100755 index 0000000000..76eda1c385 --- /dev/null +++ b/phpgwapi/templates/jerryr/nextmatchs.tpl @@ -0,0 +1,99 @@ + +
+ + + + +
+
{lang_title}
+
+ + + + + +
+
+
+ +
+ + + + + +
{icon_or_star}{lang_item}
+ {left} + {right} + +
{cats_search_filter_data}
+
+ + + + + + +{select} + + + + + + + +
+ {hidden} + + + + +
+ +
+
+ + + + + + {_link} + + + + + + + + + +
{label}
+ + + + + + +  {searchby} + + + + + + {lang_category}   + + + + + + + + + + + + + + {search}{filter} + + +
 
+ + + + + + + + + + + + {cats}{search}{filter} + + +
   
+ + diff --git a/phpgwapi/templates/jerryr/portal.tpl b/phpgwapi/templates/jerryr/portal.tpl new file mode 100755 index 0000000000..dcc39152f1 --- /dev/null +++ b/phpgwapi/templates/jerryr/portal.tpl @@ -0,0 +1,70 @@ + +

+

+ + + + + + + +
+
+ + + {portal_controls} + +
 {title}
+
+
+ + {row} +
+
+
+

+ + + + + + + +{output} + + + + + + + + + +
    + + + + + +
  • {text}
  • + + + + + +
+ + + + + + + + {control_link} + + + + + + {link_field_data} +