[zi-cvs] packages/com.zzoss.zic.theme.kde header.php,1.2,1.3
[email protected] Sun, 11 Jan 2004 08:26:40 -0800
| Newsgroups | gmane.comp.php.zzoss.installer.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/zzossinstaller/packages/com.zzoss.zic.theme.kde
In directory sc8-pr-cvs1:/tmp/cvs-serv6595
Modified Files:
header.php
Log Message:
blockformat of nav links
Index: header.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.zic.theme.kde/header.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** header.php 4 Jan 2004 17:11:35 -0000 1.2
--- header.php 11 Jan 2004 16:26:38 -0000 1.3
***************
*** 1,185 ****
! <?php
! /*
! Copyright (C) 2001-2004 ZZOSS GbR, http://www.zzoss.com
!
! This library is free software; you can redistribute it and/or
! modify it under the terms of the GNU Lesser General Public
! License as published by the Free Software Foundation; either
! version 2.1 of the License, or (at your option) any later version.
!
! This library is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! Lesser General Public License for more details.
!
! You should have received a copy of the GNU Lesser General Public
! License along with this library; if not, write to the Free Software
! Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
! */
!
! /**
! @version $Id$
! @copyright Copyright © 2001-2004 ZZ/OSS GbR, http://www.zzoss.com
! @license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
! */
!
! include 'theme_config.php';
! ?>
! <html>
! <head>
! <title><?php echo $zi_theme['installer_title']; ?></title>
! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
! <link rel="stylesheet" href="themes/<?php echo $GLOBALS['ZI']['theme']; ?>/styles.css">
! <link rel="icon" href="themes/<?php echo $GLOBALS['ZI']['theme']; ?>/favicon.ico" type="image/x-icon">
! <link rel="shortcut icon" href="themes/<?php echo $GLOBALS['ZI']['theme']; ?>/favicon.ico" type="image/x-icon">
! <link rel="icon" href="../themes/<?php echo $GLOBALS['ZI']['theme']; ?>/favicon.ico" type="image/x-icon">
! <link rel="shortcut icon" href="../themes/<?php echo $GLOBALS['ZI']['theme']; ?>/favicon.ico" type="image/x-icon">
! </head>
!
! <body>
!
! <div class="widget">
!
! <div class="header">
!
! <div class="status">
! <?php echo $zi_theme['installer_title']; ?> -
! <?php
! if($GLOBALS['ZI']['mode'] == 'dev'){
! echo 'Development ';
! } else if($GLOBALS['ZI']['mode'] == 'setup'){
! echo 'Setup ';
! } else if(strlen($GLOBALS['ZI']['application']) || strlen($GLOBALS['ZI']['distribution'])){
! echo 'Installation ';
! }
! ?>Wizard
! </div>
! </div>
!
! <div class="menu">
! <?php
! // Do we show the setup header?
! if(!$zi_setup->isInitiated()){
! ?>
! <h1>Setup</h1>
! <ol>
! <li<?php if(basename(getenv('SCRIPT_FILENAME')) == 'setup.php') echo ' class="highlight"';?>>Important Information</li>
! <?php
! if(!$zi_setup->isInitiated()){
! ?>
! <li<?php if(basename(getenv('SCRIPT_FILENAME')) == 'setup_datadir.php') echo ' class="highlight"';?>>Data Directory</li>
! <?php
! }
! ?>
! </ol>
! <?php
! } else {
! if(!strlen($GLOBALS['ZI']['application'])) {
! ?>
! <div class="menuitem">
! <a href="<?php echo $chdir; ?>distribution_download.php"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/app_download.png" alt="Download Applications" title="Download Applications" align="left">Download<br/>Applications</a>
! </div>
! <div class="menuitem">
! <a href="<?php echo $chdir; ?>applications.php"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/kcmsystem.png" alt="Manage Applications" title="Manage Applications" align="left">Manage<br/>Applications</a>
! </div>
! <?php
! }
! if(strlen($GLOBALS['ZI']['application']) && strlen($GLOBALS['ZI']['distribution'])) {
! $application = $zi_registry->getApplication($GLOBALS['ZI']['application'], $GLOBALS['ZI']['distribution']);
! $_REQUEST['id'] = $application['id'];
! $_REQUEST['distribution'] = $GLOBALS['ZI']['distribution'];
! $_REQUEST['application'] = $GLOBALS['ZI']['application'];
!
! if(!strlen($application['installed'])){
! ?>
! <div class="menuitem">
! <a href="<?php echo $chdir; ?>application_settings.php<?php echo zi_form_querystr(); ?>"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/kcmsystem.png" alt="Install Application" title="Install Application" align="left">Install<br/>Application</a>
! </div>
! <?php
! } elseif($GLOBALS['ZI']['mode'] != 'setup') {
! ?>
! <div class="menuitem">
! <a href="<?php echo $chdir; ?>application_update.php<?php echo zi_form_querystr(); ?>"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/rebuild.png" alt="Update Application" title="Update Application" align="left">Update Application</a>
! </div>
! <!--
! <div class="menuitem">
! <a href="<?php echo $chdir; ?>plugins_rebuild.php<?php echo zi_form_querystr(); ?>"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/package_settings.png" alt="Reconfigure Application" title="Reconfigure Application" align="left">Reconfigure Application</a>
! </div>
! -->
! <div class="menuitem">
! <a href="<?php echo $chdir; ?>application_delete.php<?php echo zi_form_querystr(); ?>"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/trashcan_empty.png" alt="Delete Application" title="Delete Application" align="left">Delete Application</a>
! </div>
! <!--
! <div class="menuitem">
! <a href="<?php echo $chdir; ?>menu.php?ZI_VALUES[type]=change_global_config"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/app_configure.png" alt="Configure Application" title="Configure Application" align="left">Configure<br/>Application</a>
! </div>
! <div class="menuitem">
! <a href="<?php echo $chdir; ?>menu.php?ZI_VALUES[type]=packages"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/package.png" alt="Manage Packages" title="Manage Packages" align="left">Manage<br/>Packages</a>
! </div>
! <div class="menuitem">
! <a href="<?php echo $chdir; ?>menu.php?ZI_VALUES[type]=change_components_config"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/package_configure.png" alt="Configure Packages" title="Configure Packages" align="left">Configure<br/>Packages</a>
! </div>
! -->
! <?php
! }
! }
! if($GLOBALS['ZZOSS_INSTALLER']['application']['settings']['allow_online_update'] == 'true') {
! ?>
! <div class="menuitem">
! <a href="<?php echo $chdir; ?>menu.php?ZI_VALUES[type]=download"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/48x48/package_download.png" border="0" alt="Online Update" title="Online Update" align="left">Online<br/>Update</a>
! </div>
! <?php
! }
! if($GLOBALS['ZI']['mode'] == 'dev') {
! ?>
! <div class="menuitem">
! <a href="<?php echo $chdir; ?>applications.php?mode=dev"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/template_source.png" alt="Develop Applications" title="Develop Applications" align="left">Develop<br/>Applications</a>
! </div>
! <?php
! }
! ?>
! <?php
! }
! ?>
! </div>
!
! <div class="body<?php if($_REQUEST['mode'] == 'dev') echo '_dev'; ?>">
!
! <div class="contextmenu">
! <span class="status">
! <?php
! if(!$_SERVER['HTTPS'] == 'on'){
! ?>
! <img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/16x16/decrypted.png" border="0" alt="Decrypted" title="Decrypted"/>Decrypted
! <?php
! } else {
! ?>
! <img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/16x16/encrypted.png" border="0" alt="Encrypted" title="Encrypted"/>Encrypted
! <?php
! }
! if(is_object($zi_auth)){
! ?>
! <img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/16x16/kuser.png" alt="Logged In User" title="Logged In User">
! <?php echo $zi_auth->getUsername();
! }
! ?>
! </span>
! <?php
! // Do we suppress this component because we show the setup header?
! if($zi_setup->isInitiated()){
! $zi_help_pathinfo = pathinfo(getenv('SCRIPT_FILENAME'));
! //print_r($help_pathinfo);
! $zi_help_file = str_replace($zi_help_pathinfo['extension'], 'html', $zi_help_pathinfo['basename']);
! if(file_exists('help/'.$zi_help_file)){
! ?>
! <a href="help.php?file=<?php echo rawurlencode($zi_help_file); ?>" onclick="javascript:window.open('help.php?file=<?php echo rawurlencode($zi_help_file); ?>', 'Help', 'width=320,height=500,resizable=1,status=0,scrollbars=1,toolbar=0,location=0,directories=0,menubar=0,dependent=0');void(0);javascript:return(false);" target="_blank" title="Help"><!--<img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/16x16/contexthelp.png" border="0" alt="Help" title="Help"/>-->Help</a><?php
! }
! ?>
! <?php
! }
! ?>
! <a href="about.php" onclick="javascript:window.open('about.php', 'About', 'width=400,height=400,resizable=1,status=0,scrollbars=1,toolbar=0,location=0,directories=0,menubar=0,dependent=0');void(0);javascript:return(false);" target="_blank" title="About"><!--<img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/16x16/info.png" alt="About Installer" title="About Installer">-->About</a>
! </div>
!
! <div class="content">
<form method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>" enctype="multipart/form-data">
--- 1,239 ----
! <?php
! /*
! Copyright (C) 2001-2004 ZZOSS GbR, http://www.zzoss.com
!
! This library is free software; you can redistribute it and/or
! modify it under the terms of the GNU Lesser General Public
! License as published by the Free Software Foundation; either
! version 2.1 of the License, or (at your option) any later version.
!
! This library is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! Lesser General Public License for more details.
!
! You should have received a copy of the GNU Lesser General Public
! License along with this library; if not, write to the Free Software
! Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
! */
!
! /**
! @version $Id$
! @copyright Copyright © 2001-2004 ZZ/OSS GbR, http://www.zzoss.com
! @license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
! */
!
! include 'theme_config.php';
! ?>
! <html>
! <head>
! <title><?php echo $zi_theme['installer_title']; ?></title>
! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
! <link rel="stylesheet" href="themes/<?php echo $GLOBALS['ZI']['theme']; ?>/styles.css">
! <link rel="icon" href="themes/<?php echo $GLOBALS['ZI']['theme']; ?>/favicon.ico" type="image/x-icon">
! <link rel="shortcut icon" href="themes/<?php echo $GLOBALS['ZI']['theme']; ?>/favicon.ico" type="image/x-icon">
! <link rel="icon" href="../themes/<?php echo $GLOBALS['ZI']['theme']; ?>/favicon.ico" type="image/x-icon">
! <link rel="shortcut icon" href="../themes/<?php echo $GLOBALS['ZI']['theme']; ?>/favicon.ico" type="image/x-icon">
! </head>
!
! <body>
!
! <div class="widget">
!
! <div class="header">
!
! <div class="status">
! <?php echo $zi_theme['installer_title']; ?> -
! <?php
! if($GLOBALS['ZI']['mode'] == 'dev'){
! echo 'Development ';
! } else if($GLOBALS['ZI']['mode'] == 'setup'){
! echo 'Setup ';
! } else if(strlen($GLOBALS['ZI']['application']) || strlen($GLOBALS['ZI']['distribution'])){
! echo 'Installation ';
! }
! ?>Wizard
! </div>
! </div>
!
! <div class="menu">
! <?php
! // Do we show the setup header?
! if(!$zi_setup->isInitiated()){
! ?>
! <h1>Setup</h1>
! <ol>
! <li<?php if(basename(getenv('SCRIPT_FILENAME')) == 'setup.php') echo ' class="highlight"';?>>Important Information</li>
! <?php
! if(!$zi_setup->isInitiated()){
! ?>
! <li<?php if(basename(getenv('SCRIPT_FILENAME')) == 'setup_datadir.php') echo ' class="highlight"';?>>Data Directory</li>
! <?php
! }
! ?>
! </ol>
! <?php
! } else {
! if(!strlen($GLOBALS['ZI']['application'])) {
! ?>
! <div class="menuitem">
! <table>
! <tr>
! <td valign="middle">
! <a href="<?php echo $chdir; ?>distribution_download.php"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/app_download.png" alt="Download Applications" title="Download Applications" align="left"></a>
! </td>
! <td valign="middle">
! <a href="<?php echo $chdir; ?>distribution_download.php">Download<br/>Applications</a>
! </td>
! </tr>
! </table>
! </div>
! <div class="menuitem">
! <table>
! <tr>
! <td valign="middle">
! <a href="<?php echo $chdir; ?>applications.php"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/kcmsystem.png" alt="Manage Applications" title="Manage Applications" align="left"></a>
! </td>
! <td valign="middle">
! <a href="<?php echo $chdir; ?>applications.php">Manage<br/>Applications</a>
! </td>
! </tr>
! </table>
! </div>
! <?php
! }
! if(strlen($GLOBALS['ZI']['application']) && strlen($GLOBALS['ZI']['distribution'])) {
! $application = $zi_registry->getApplication($GLOBALS['ZI']['application'], $GLOBALS['ZI']['distribution']);
! $_REQUEST['id'] = $application['id'];
! $_REQUEST['distribution'] = $GLOBALS['ZI']['distribution'];
! $_REQUEST['application'] = $GLOBALS['ZI']['application'];
!
! if(!strlen($application['installed'])){
! ?>
! <div class="menuitem">
! <table>
! <tr>
! <td valign="middle">
! <a href="<?php echo $chdir; ?>application_settings.php<?php echo zi_form_querystr(); ?>"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/kcmsystem.png" alt="Install Application" title="Install Application" align="left"></a>
! </td>
! <td valign="middle">
! <a href="<?php echo $chdir; ?>application_settings.php<?php echo zi_form_querystr(); ?>">Install<br/>Application</a>
! </td>
! </tr>
! </table>
! </div>
! <?php
! } elseif($GLOBALS['ZI']['mode'] != 'setup') {
! ?>
! <div class="menuitem">
! <table>
! <tr>
! <td valign="middle">
! <a href="<?php echo $chdir; ?>application_update.php<?php echo zi_form_querystr(); ?>"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/rebuild.png" alt="Update Application" title="Update Application" align="left"></a>
! </td>
! <td valign="middle">
! <a href="<?php echo $chdir; ?>application_update.php<?php echo zi_form_querystr(); ?>">Update Application</a>
! </td>
! </tr>
! </table>
! </div>
! <!--
! <div class="menuitem">
! <a href="<?php echo $chdir; ?>plugins_rebuild.php<?php echo zi_form_querystr(); ?>"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/package_settings.png" alt="Reconfigure Application" title="Reconfigure Application" align="left">Reconfigure Application</a>
! </div>
! -->
! <div class="menuitem">
! <table>
! <tr>
! <td valign="middle">
! <a href="<?php echo $chdir; ?>application_delete.php<?php echo zi_form_querystr(); ?>"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/trashcan_empty.png" alt="Delete Application" title="Delete Application" align="left"></a>
! </td>
! <td valign="middle">
! <a href="<?php echo $chdir; ?>application_delete.php<?php echo zi_form_querystr(); ?>">Delete Application</a>
! </td>
! </tr>
! </table>
! </div>
! <!--
! <div class="menuitem">
! <a href="<?php echo $chdir; ?>menu.php?ZI_VALUES[type]=change_global_config"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/app_configure.png" alt="Configure Application" title="Configure Application" align="left">Configure<br/>Application</a>
! </div>
! <div class="menuitem">
! <a href="<?php echo $chdir; ?>menu.php?ZI_VALUES[type]=packages"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/package.png" alt="Manage Packages" title="Manage Packages" align="left">Manage<br/>Packages</a>
! </div>
! <div class="menuitem">
! <a href="<?php echo $chdir; ?>menu.php?ZI_VALUES[type]=change_components_config"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/package_configure.png" alt="Configure Packages" title="Configure Packages" align="left">Configure<br/>Packages</a>
! </div>
! -->
! <?php
! }
! }
! if($GLOBALS['ZZOSS_INSTALLER']['application']['settings']['allow_online_update'] == 'true') {
! ?>
! <div class="menuitem">
! <a href="<?php echo $chdir; ?>menu.php?ZI_VALUES[type]=download"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/48x48/package_download.png" border="0" alt="Online Update" title="Online Update" align="left">Online<br/>Update</a>
! </div>
! <?php
! }
! if($GLOBALS['ZI']['mode'] == 'dev') {
! ?>
! <div class="menuitem">
! <table>
! <tr>
! <td valign="middle">
! <a href="<?php echo $chdir; ?>applications.php?mode=dev"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/template_source.png" alt="Develop Applications" title="Develop Applications" align="left"></a>
! </td>
! <td valign="middle">
! <a href="<?php echo $chdir; ?>applications.php?mode=dev">Develop<br/>Applications</a>
! </td>
! </tr>
! </table>
! </div>
! <?php
! }
! ?>
! <?php
! }
! ?>
! </div>
!
! <div class="body<?php if($_REQUEST['mode'] == 'dev') echo '_dev'; ?>">
!
! <div class="contextmenu">
! <span class="status">
! <?php
! if(!$_SERVER['HTTPS'] == 'on'){
! ?>
! <img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/16x16/decrypted.png" border="0" alt="Decrypted" title="Decrypted"/>Decrypted
! <?php
! } else {
! ?>
! <img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/16x16/encrypted.png" border="0" alt="Encrypted" title="Encrypted"/>Encrypted
! <?php
! }
! if(is_object($zi_auth)){
! ?>
! <img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/16x16/kuser.png" alt="Logged In User" title="Logged In User">
! <?php echo $zi_auth->getUsername();
! }
! ?>
! </span>
! <?php
! // Do we suppress this component because we show the setup header?
! if($zi_setup->isInitiated()){
! $zi_help_pathinfo = pathinfo(getenv('SCRIPT_FILENAME'));
! //print_r($help_pathinfo);
! $zi_help_file = str_replace($zi_help_pathinfo['extension'], 'html', $zi_help_pathinfo['basename']);
! if(file_exists('help/'.$zi_help_file)){
! ?>
! <a href="help.php?file=<?php echo rawurlencode($zi_help_file); ?>" onclick="javascript:window.open('help.php?file=<?php echo rawurlencode($zi_help_file); ?>', 'Help', 'width=320,height=500,resizable=1,status=0,scrollbars=1,toolbar=0,location=0,directories=0,menubar=0,dependent=0');void(0);javascript:return(false);" target="_blank" title="Help"><!--<img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/16x16/contexthelp.png" border="0" alt="Help" title="Help"/>-->Help</a><?php
! }
! ?>
! <?php
! }
! ?>
! <a href="about.php" onclick="javascript:window.open('about.php', 'About', 'width=400,height=400,resizable=1,status=0,scrollbars=1,toolbar=0,location=0,directories=0,menubar=0,dependent=0');void(0);javascript:return(false);" target="_blank" title="About"><!--<img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/16x16/info.png" alt="About Installer" title="About Installer">-->About</a>
! </div>
!
! <div class="content">
<form method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>" enctype="multipart/form-data">
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html