diff --git a/phpgwapi/templates/edge-it/about.tpl b/phpgwapi/templates/edge-it/about.tpl deleted file mode 100755 index 9a6c7d2ef3..0000000000 --- a/phpgwapi/templates/edge-it/about.tpl +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- eGroupWare -
 
{phpgw_version}
{phpgw_message}
spacer
spacer
- -{phpgw_app_about} - -
diff --git a/phpgwapi/templates/edge-it/css.tpl b/phpgwapi/templates/edge-it/css.tpl deleted file mode 100755 index ed287159fd..0000000000 --- a/phpgwapi/templates/edge-it/css.tpl +++ /dev/null @@ -1,10 +0,0 @@ - -{css_file} diff --git a/phpgwapi/templates/edge-it/footer.tpl b/phpgwapi/templates/edge-it/footer.tpl deleted file mode 100755 index dcabf81d11..0000000000 --- a/phpgwapi/templates/edge-it/footer.tpl +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - -{page_generation_time} -

{powered_by}
- - diff --git a/phpgwapi/templates/edge-it/head.inc.php b/phpgwapi/templates/edge-it/head.inc.php deleted file mode 100644 index b60a2b6139..0000000000 --- a/phpgwapi/templates/edge-it/head.inc.php +++ /dev/null @@ -1,97 +0,0 @@ - - '; - } - - 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'); - - if ($GLOBALS['phpgw_info']['flags']['app_header']) - { - $app = $GLOBALS['phpgw_info']['flags']['app_header']; - } - else - { - $app = $GLOBALS['phpgw_info']['flags']['currentapp']; - $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 ? " [$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/edge-it/head.tpl b/phpgwapi/templates/edge-it/head.tpl deleted file mode 100644 index 56216a62fd..0000000000 --- a/phpgwapi/templates/edge-it/head.tpl +++ /dev/null @@ -1,25 +0,0 @@ - - - - - {website_title} - - - - - - - - - - - - {slider_effects} - {simple_show_hide} - {pngfix} - {css} - {java_script} - - - - diff --git a/phpgwapi/templates/edge-it/hook_settings.inc.php b/phpgwapi/templates/edge-it/hook_settings.inc.php deleted file mode 100644 index 4b64404cf5..0000000000 --- a/phpgwapi/templates/edge-it/hook_settings.inc.php +++ /dev/null @@ -1,72 +0,0 @@ - lang('yes'), - 'no' => lang('no') - ); - $click_or_onmouseover = array( - 'click' => lang('Click'), - 'onmouseover' => lang('On Mouse Over') - ); - - $GLOBALS['settings'] = array( - 'templ' => array( - 'type' => 'section', - 'title' => 'Preferences for the idots template set' - ), - 'start_and_logout_icons' => array( - 'type' => 'select', - 'label' => 'Show home and logout button in main application bar?', - 'name' => 'start_and_logout_icons', - 'values' => $start_and_logout_icons, - 'help' => 'When you say yes the home and logout buttons are presented as applications in the main top applcation bar.' - ), - 'max_icons' => array( - 'type' => 'input', - 'label' => 'Max number of icons in navbar', - 'name' => 'max_icons', - 'help' => 'How many icons should be shown in the navbar (top of the page). Additional icons go into a kind of pulldown menu, callable by the icon on the far right side of the navbar.','',3 - ), - 'auto_hide_sidebox' => array( - 'type' => 'check', - 'label' => 'Autohide Sidebox menu\'s', - 'name' => 'auto_hide_sidebox', - 'help' => 'Automatically hide the Sidebox menu\'s?' - ), - 'click_or_onmouseover' => array( - 'type' => 'select', - 'label' => 'Click or Mouse Over to show menus', - 'name' => 'click_or_onmouseover', - 'values' => $click_or_onmouseover, - 'help' => 'Click or Mouse Over to show menus?' - ), - 'disable_slider_effects' => array( - 'type' => 'check', - 'label' => 'Disable slider effects', - 'name' => 'disable_slider_effects', - 'help' => 'Disable the animated slider effects when showing or hiding menus in the page? Opera and Konqueror users will probably must want this.' - ), - 'disable_pngfix' => array( - 'type' => 'check', - 'label' => 'Disable Internet Explorer png-image-bugfix', - 'name' => 'disable_pngfix', - 'help' => 'Disable the execution a bugfixscript for Internet Explorer 5.5 and higher to show transparency in PNG-images?' - ), - 'show_generation_time' => array( - 'type' => 'check', - 'label' => 'Show page generation time', - 'name' => 'show_generation_time', - 'help' => 'Show page generation time on the bottom of the page?' - ) - ); diff --git a/phpgwapi/templates/edge-it/login.tpl b/phpgwapi/templates/edge-it/login.tpl deleted file mode 100755 index 3957591287..0000000000 --- a/phpgwapi/templates/edge-it/login.tpl +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - - - - -{website_title} - Login - - - - - - - - - -
-
- - - - - - -
spacer - - - - - -
spacer
- -
spacer
-
-
- -
-
-
{lang_message}
-
{cd}
-

 

-
- - - - - - - - - - - -
{website_title}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- {register_link}
- spacer -
- - -
{lang_username}: {select_domain}
{lang_language}: {select_language}
{lang_password}:  
 
- -
-   -
- -
- keys -
-

 

-

 

-

 

-
- - - -
-
-
-
-Valid HTML 4.01 -Valid CSS -
-
-
-eGroupWare {version}
- - diff --git a/phpgwapi/templates/edge-it/login_denylogin.tpl b/phpgwapi/templates/edge-it/login_denylogin.tpl deleted file mode 100755 index 22f2d2e154..0000000000 --- a/phpgwapi/templates/edge-it/login_denylogin.tpl +++ /dev/null @@ -1,14 +0,0 @@ - - - -eGroupWare - - - - - -
- {deny_msg} -
- - diff --git a/phpgwapi/templates/edge-it/navbar.inc.php b/phpgwapi/templates/edge-it/navbar.inc.php deleted file mode 100644 index 4890ccaeae..0000000000 --- a/phpgwapi/templates/edge-it/navbar.inc.php +++ /dev/null @@ -1,411 +0,0 @@ -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_row_raw','extra_block_row_raw'); - $GLOBALS['idots_tpl']->set_block('navbar','extra_block_row_no_link','extra_block_row_no_link'); - $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 != 'preferences' && $app != 'about' && $app != 'logout') - { - $title = $GLOBALS['phpgw_info']['apps'][$app]['title']; - $icon = '' . $title . ''; - - - if($app=='home') - { - $title = lang('home'); - $icon = '' . lang('home') . ''; - } - - if($i<$max_icons) - { - if($GLOBALS['phpgw_info']['user']['preferences']['common']['start_and_logout_icons']=='no') - { - $tdwidth = 100/($max_icons); - } - else - { - $tdwidth = 100/($max_icons+2); - } - - $app_icons .= '' . $icon . ''; - - $app_titles .= '' . $title . ''; - } - // else // generate extra icon layer | always shows icons and text - else // generate extra icon layer shows icons and/or text - { - // check for small icon version else use default and let the browser resize - $icon = '' . $title . ''; - - $app_extra_icons .= ''; - - if($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format']!='text') - { - $app_extra_icons .= '' . $icon . ''; - } - - - - // $app_extra_icons .= ''; - - $app_extra_icons .= '' . $title . ''; - } - - unset($icon); - unset($title); - $i++; - } - } - - if($GLOBALS['phpgw_info']['user']['preferences']['common']['start_and_logout_icons']!='no') - { - $app_icons .= ''.$GLOBALS['phpgw_info']['navbar']['logout']['title'].''; - $app_titles .= ''.$GLOBALS['phpgw_info']['navbar']['logout']['title'].''; - - } -// $var['app_icons'] = $app_icons; - if($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format']!='text') - { - $var['app_icons'] = $app_icons; - } - - if($i > $max_icons) - { -// table width=100% fixed layout bug (ndee130204) - $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); - } - - if (substr($GLOBALS['phpgw_info']['server']['login_logo_file'],0,4) == 'http') - { - $var['logo_file'] = $GLOBALS['phpgw_info']['server']['login_logo_file']; - } - else - { - $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'; - if (substr($var['logo_url'],0,4) != 'http') - { - $var['logo_url'] = 'http://'.$var['logo_url']; - } - $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']->set_var('lang_show_menu',lang('show menu')); - $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 - { - if (strtolower($item_text) == 'grant access' && $GLOBALS['egw_info']['server']['deny_user_grants_access']) { - return; - } - - $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'] = $item_link['icon'] ? '' : False; - } - $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); - - $block = 'extra_block_row'; - if ($var['item_link'] === False) - { - $block .= $var['icon_or_star'] === False ? '_raw' : '_no_link'; - } - $GLOBALS['idots_tpl']->pparse('out',$block); - } - } - - 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 eGroupWare 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/edge-it/navbar.tpl b/phpgwapi/templates/edge-it/navbar.tpl deleted file mode 100644 index 7527b991dc..0000000000 --- a/phpgwapi/templates/edge-it/navbar.tpl +++ /dev/null @@ -1,134 +0,0 @@ - - - -{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/edge-it/navbar_app.tpl b/phpgwapi/templates/edge-it/navbar_app.tpl deleted file mode 100755 index d6169e4fa7..0000000000 --- a/phpgwapi/templates/edge-it/navbar_app.tpl +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/phpgwapi/templates/edge-it/nextmatchs.tpl b/phpgwapi/templates/edge-it/nextmatchs.tpl deleted file mode 100755 index 3471d28455..0000000000 --- a/phpgwapi/templates/edge-it/nextmatchs.tpl +++ /dev/null @@ -1,93 +0,0 @@ - -
- - - - -
-
{lang_title}
-
- - - - - -
-
-
- -
- - - - - -
{icon_or_star}{lang_item}
{lang_item}
{icon_or_star}{lang_item}
 
- {left} - {right} - -
{cats_search_filter_data}
-
- - - - - -{select} - - - - - - -
- {hidden} - - - - -
- -
-
- - - - - - {_link} - - - - - - - - - -
- - - - - -  {searchby} - - - - - {lang_category}   - - - - - - - - {hidden} - - - - - - -
{search} {filter}
- - - - - - {hidden} - - {cats} - - - - - - -
 {search}  {filter}
- - diff --git a/phpgwapi/templates/edge-it/portal.tpl b/phpgwapi/templates/edge-it/portal.tpl deleted file mode 100755 index dcc39152f1..0000000000 --- a/phpgwapi/templates/edge-it/portal.tpl +++ /dev/null @@ -1,70 +0,0 @@ - -

-

- - - - - - - -
-
- - - {portal_controls} - -
 {title}
-
-
- - {row} -
-
-
-

- - - - - - - -{output} - - - - - - - - - - - - - - - - - - {control_link} - - - - - - {link_field_data} - diff --git a/phpgwapi/templates/edge-it/uiaccountsel.tpl b/phpgwapi/templates/edge-it/uiaccountsel.tpl deleted file mode 100644 index 4975b2749a..0000000000 --- a/phpgwapi/templates/edge-it/uiaccountsel.tpl +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - -
- - - - - - - - - - {left} - - {right} - -
{accountsel_icon} -
- - - - -
-
- - - - -
{letter}
-
{lang_showing}
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{lang_groups}
{lang_perm}
{lang_perm}
{name_user_group} - -
{name_user_group}
 
{lang_nonperm}
{name_all_group}
-
- - - - - - - - - - - - - - - - - - - - - - -
{lang_accounts}
{sort_firstname}{sort_lastname} 
{firstname}{lastname} - -
-
- - - - - - - - - - -
{lang_selection} {remove}
- {selection} -
- -
-
-
-