[zi-cvs] packages/com.zzoss.zis.theme.kde header.php,1.2,1.3

Christian Zonsius <[email protected]> Mon, 17 May 2004 23:33:06 +0000
Newsgroups gmane.comp.php.zzoss.installer.cvs
Message-ID <[email protected]>
Update of /cvsroot/zzossinstaller/packages/com.zzoss.zis.theme.kde
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32598

Modified Files:
	header.php 
Log Message:
adapted header

Index: header.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.zis.theme.kde/header.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** header.php	6 Apr 2004 19:51:12 -0000	1.2
--- header.php	17 May 2004 23:33:03 -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 &copy; 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.gif" 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.gif" 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.gif" 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.gif" 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.gif" 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.gif" 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.gif" 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.gif" 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.gif" 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.gif" 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.gif" 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.gif" border="0" alt="Decrypted" title="Decrypted"/>Decrypted
!                     <?php
!                         } else {
!                     ?>
!                     <img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/16x16/encrypted.gif" border="0" alt="Encrypted" title="Encrypted"/>Encrypted
!                     <?php
!                         }
!                 if(is_object($zi_auth)){
!                     ?>&nbsp;
!                         <img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/16x16/kuser.gif" 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.gif" 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.gif" 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">
\ No newline at end of file
--- 1,113 ----
! <?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 &copy; 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';
!     
!     ob_start();
! ?>
! <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="<?php echo $chdir_theme; ?>styles.css">
!         <link rel="icon" href="<?php echo $chdir_theme; ?>favicon.ico" type="image/x-icon">
!         <link rel="shortcut icon" href="<?php echo $chdir_theme; ?>favicon.ico" type="image/x-icon">
!         <link rel="icon" href="<?php echo $chdir_theme; ?>favicon.ico" type="image/x-icon"> 
!         <link rel="shortcut icon" href="<?php echo $chdir_theme; ?>favicon.ico" type="image/x-icon">
!     </head>
! 
!     <body>
! 
!         <div class="widget">
!         
!             <div class="header">
!         
!                 <div class="status">
!                 <?php echo $zi_theme['installer_title']; ?>
!                 </div>
!             </div>
!             
!             <div class="menu">
! 
! 						<div class="menuitem<?php echo zi_theme_selected('distr'); ?>">
! 							<table>
! 								<tr>
! 									<td valign="middle">
! 										<a href="distributions.php?nav_parent=distr&nav_child=list&mode=distributions"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/kcmsystem.png" alt="Manage Distributions" title="Manage Distributions" align="left"></a>
! 									</td>
! 									<td valign="middle">
! 			                            <a href="distributions.php?nav_parent=distr&nav_child=list&mode=distributions">Manage<br/>Distributions</a>
! 									</td>
! 								</tr>
! 							</table>
!                         </div>
! 
! 						<div class="menuitem<?php echo zi_theme_selected('apps'); ?>">
! 							<table>
! 								<tr>
! 									<td valign="middle">
! 										<a href="applications.php?nav_parent=apps&nav_child=list&mode=applications"><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="applications.php?nav_parent=apps&nav_child=list&mode=applications">Manage<br/>Applications</a>
! 									</td>
! 								</tr>
! 							</table>
!                         </div>
! 
! 						<div class="menuitem<?php echo zi_theme_selected('pkg'); ?>">
! 							<table>
! 								<tr>
! 									<td valign="middle">
! 										<a href="packages.php?nav_parent=pkg&nav_child=list&mode=packages"><img src="<?php echo $chdir; ?>themes/share/icons/org.kde.icons.crystalsvg/32x32/kcmsystem.png" alt="Manage Packages" title="Manage Packages" align="left"></a>
! 									</td>
! 									<td valign="middle">
! 			                            <a href="packages.php?nav_parent=pkg&nav_child=list&mode=packages">Manage<br/>Packages</a>
! 									</td>
! 								</tr>
! 							</table>
!                         </div>
! 
!             </div>
! 
!             <div class="body"><?php
!                 require_once 'inc/toolbar.php';
!                 ?>  
!     
!                 <div class="content_frame<?php if(isset($_REQUEST['mode']) && $_REQUEST['mode'] == 'dev') echo '_dev'; ?>">
! 
!                     <div class="content">
!                         <form method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>" enctype="multipart/form-data">
!                         <?php
!                             $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)){
!                                 ?>
!                                 <div class="help">
!                                 <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/help.png" border="0" alt="Help" title="Help"/></a>
!                                 </div><?php
!                                 }
!                                 ?>



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click