diff --git a/phpgwapi/templates/verdilak/about.tpl b/phpgwapi/templates/verdilak/about.tpl deleted file mode 100644 index f0b9bbfbe0..0000000000 --- a/phpgwapi/templates/verdilak/about.tpl +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - -
- -
 
{phpgw_version}
eGroupWare is a multi-user, web-based groupware suite written in PHP.

- -{phpgw_app_about} - -
diff --git a/phpgwapi/templates/verdilak/about_unknown.tpl b/phpgwapi/templates/verdilak/about_unknown.tpl deleted file mode 100644 index 9655f9d45b..0000000000 --- a/phpgwapi/templates/verdilak/about_unknown.tpl +++ /dev/null @@ -1,12 +0,0 @@ - - {app_header} - - -   - - -   - - - Sorry, no further information is available on this application. - diff --git a/phpgwapi/templates/verdilak/css.tpl b/phpgwapi/templates/verdilak/css.tpl deleted file mode 100755 index 0296d2b39c..0000000000 --- a/phpgwapi/templates/verdilak/css.tpl +++ /dev/null @@ -1,15 +0,0 @@ - -{css_file} \ No newline at end of file diff --git a/phpgwapi/templates/verdilak/footer.tpl b/phpgwapi/templates/verdilak/footer.tpl deleted file mode 100644 index 4f076e7c11..0000000000 --- a/phpgwapi/templates/verdilak/footer.tpl +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - -   - - - - - - - - - -
{user_info} {current_users}{powered_by}
- - - diff --git a/phpgwapi/templates/verdilak/head.inc.php b/phpgwapi/templates/verdilak/head.inc.php deleted file mode 100644 index e57665c2cd..0000000000 --- a/phpgwapi/templates/verdilak/head.inc.php +++ /dev/null @@ -1,37 +0,0 @@ -set_unknowns('remove'); - $tpl->set_file(array('_head' => 'head.tpl')); - $tpl->set_block('_head','head'); - $var = Array ( - 'img_icon' => PHPGW_IMAGES_DIR . '/favicon.ico', - 'img_shortcut' => PHPGW_IMAGES_DIR . '/favicon.ico', - 'charset' => $GLOBALS['phpgw']->translation->charset(), - 'website_title' => $GLOBALS['phpgw_info']['server']['site_title'] . $app, - 'body_tags' => $bodyheader .' '. $GLOBALS['phpgw']->common->get_body_attribs(), - '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/verdilak/head.tpl b/phpgwapi/templates/verdilak/head.tpl deleted file mode 100644 index 4f716296a6..0000000000 --- a/phpgwapi/templates/verdilak/head.tpl +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - -{css} -{java_script} -{website_title} - - - diff --git a/phpgwapi/templates/verdilak/login.tpl b/phpgwapi/templates/verdilak/login.tpl deleted file mode 100644 index b558e528d9..0000000000 --- a/phpgwapi/templates/verdilak/login.tpl +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - -{website_title} - Login - - - -

 

-
{lang_message}
-

 

- - - - - -
- - - - - - - -
- eGroupWare -
- -
- - - - - - - - - - - - - - - - - - - - -
- {cd} -
{lang_username}: 
{lang_password}: 
- -
- {version} -
-
- -
-
- - - diff --git a/phpgwapi/templates/verdilak/login_denylogin.tpl b/phpgwapi/templates/verdilak/login_denylogin.tpl deleted file mode 100644 index 9b1562cb20..0000000000 --- a/phpgwapi/templates/verdilak/login_denylogin.tpl +++ /dev/null @@ -1,14 +0,0 @@ - - - -eGroupWare - - - - - -
- Opps! You caught us in the middle of a system upgrade.
Please, check back with us shortly. -
- - diff --git a/phpgwapi/templates/verdilak/login_selectdomain.tpl b/phpgwapi/templates/verdilak/login_selectdomain.tpl deleted file mode 100644 index 3abf85e06e..0000000000 --- a/phpgwapi/templates/verdilak/login_selectdomain.tpl +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - -{website_title} - Login - - - -

 

-
{lang_message}
-

 

- - - - - -
- - - - - - - -
- eGroupWare -
- -
- - - - - - - - - - - - - - - - - - - - - - -
- {cd} -
{lang_username}: @ 
{lang_password}: 
- -
- {version} -
-
- -
-
- - - diff --git a/phpgwapi/templates/verdilak/navbar.inc.php b/phpgwapi/templates/verdilak/navbar.inc.php deleted file mode 100644 index 9c3ad6f7c0..0000000000 --- a/phpgwapi/templates/verdilak/navbar.inc.php +++ /dev/null @@ -1,189 +0,0 @@ -set_file( - array( - 'navbartpl' => 'navbar.tpl' - ) - ); - $tpl->set_block('navbartpl','preferences'); - $tpl->set_block('navbartpl','navbar'); - - $var['img_root'] = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/verdilak/images'; - $var['table_bg_color'] = $GLOBALS['phpgw_info']['theme']['navbar_bg']; - $var['navbar_text'] = $GLOBALS['phpgw_info']['theme']['navbar_text']; - $applications = ''; - foreach($GLOBALS['phpgw_info']['navbar'] as $app => $app_data) - { - if ($app != 'home' && $app != 'preferences' && ! ereg('about',$app) && $app != 'logout') - { - if ($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format'] != 'text') - { - $title = '' . $app_data['title'] . ''; - } - - if ($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format'] != 'icons') - { - $title .= '
' . $app_data['title']; - } - $applications .= '
'; - unset($title); - } - } - $var['applications'] = $applications; - - if (isset($GLOBALS['phpgw_info']['theme']['special_logo'])) - { - $var['logo'] = $GLOBALS['phpgw_info']['theme']['special_logo']; - } - else - { - $var['logo'] = 'logo.gif'; - } - $var['logo_file'] = $GLOBALS['phpgw']->common->image('phpgwapi',$GLOBALS['phpgw_info']['server']['login_logo_file']?$GLOBALS['phpgw_info']['server']['login_logo_file']:$var['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'; - - $var['home_link'] = $GLOBALS['phpgw_info']['navbar']['home']['url']; - $var['preferences_link'] = $GLOBALS['phpgw_info']['navbar']['preferences']['url']; - $var['logout_link'] = $GLOBALS['phpgw_info']['navbar']['logout']['url']; - $var['help_link'] = $GLOBALS['phpgw_info']['navbar']['about']['url']; - - if ($GLOBALS['phpgw_info']['flags']['currentapp'] == 'home') - { - $var['welcome_img'] = $GLOBALS['phpgw']->common->image('phpgwapi','welcome-red'); - } - else - { - $var['welcome_img'] = $GLOBALS['phpgw']->common->image('phpgwapi','welcome-grey'); - } - - if ($GLOBALS['phpgw_info']['flags']['currentapp'] == 'preferences') - { - $var['preferences_img'] = $GLOBALS['phpgw']->common->image('phpgwapi','preferences-red'); - } - else - { - $var['preferences_img'] = $GLOBALS['phpgw']->common->image('phpgwapi','preferences-grey'); - } - $var['logout_img'] = $GLOBALS['phpgw']->common->image('phpgwapi','logout-grey'); - - $var['powered_by'] = lang('Powered by phpGroupWare version %1',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']); - - 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']); -// . lang($GLOBALS['phpgw']->common->show_date($now,'F')) . ' ' -// . $GLOBALS['phpgw']->common->show_date($now,'d, Y'); - - // Maybe we should create a common function in the phpgw_accounts_shared.inc.php file - // to get rid of duplicate code. - 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 (isset($GLOBALS['phpgw_info']['flags']['app_header'])) - { - $var['current_app_header'] = $GLOBALS['phpgw_info']['flags']['app_header']; - $var['th_bg'] = $GLOBALS['phpgw_info']['theme']['th_bg']; - } - else - { - $tpl->set_block('navbar','app_header','app_header'); - $var['app_header'] = ''; - } - $tpl->set_var($var); - // check if user is allowed to change his prefs - if ($GLOBALS['phpgw_info']['user']['apps']['preferences']) - { - $tpl->parse('preferences_icon','preferences'); - } - else - { - $tpl->set_var('preferences_icon',''); - } - - $tpl->pfp('out','navbar'); - // 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 parse_navbar_end() - { - $tpl = createobject('phpgwapi.Template',PHPGW_TEMPLATE_DIR); - - $tpl->set_file( - array( - 'footer' => 'footer.tpl' - ) - ); - $var = Array( - 'img_root' => $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/verdilak/images', - 'table_bg_color' => $GLOBALS['phpgw_info']['theme']['navbar_bg'], - 'version' => $GLOBALS['phpgw_info']['server']['versions']['phpgwapi'] - ); - 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']); - $var['powered_by'] = lang('Powered by phpGroupWare version %1',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']); - - $tpl->set_var($var); - $GLOBALS['phpgw']->hooks->process('navbar_end'); - echo $tpl->pfp('out','footer'); - } diff --git a/phpgwapi/templates/verdilak/navbar.tpl b/phpgwapi/templates/verdilak/navbar.tpl deleted file mode 100755 index b08460e5bd..0000000000 --- a/phpgwapi/templates/verdilak/navbar.tpl +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - -
Welcome{preferences_icon}LogoutHelp
bar
- - - - -
- {applications} - - -
{current_app_header}
- -
{messages}
- - -
- - -Preferences - diff --git a/phpgwapi/templates/verdilak/navbar_app.tpl b/phpgwapi/templates/verdilak/navbar_app.tpl deleted file mode 100644 index 6f639d7274..0000000000 --- a/phpgwapi/templates/verdilak/navbar_app.tpl +++ /dev/null @@ -1 +0,0 @@ -{value}