[zi-cvs] packages/com.zzoss.zic package.xml,1.15,1.16 setup.php,1.15,1.16

Sandro Zic <[email protected]> Mon, 17 May 2004 11:15:58 +0000
Newsgroups gmane.comp.php.zzoss.installer.cvs
Message-ID <[email protected]>
Update of /cvsroot/zzossinstaller/packages/com.zzoss.zic
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25111/com.zzoss.zic

Modified Files:
	package.xml setup.php 
Log Message:
nicer design of setup page

Index: setup.php
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.zic/setup.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** setup.php	6 Apr 2004 19:51:09 -0000	1.15
--- setup.php	17 May 2004 11:15:56 -0000	1.16
***************
*** 29,40 ****
--- 29,46 ----
  	
      if(!isset($GLOBALS['ZI']['data']) || !strlen($GLOBALS['ZI']['data'])){
+         require_once 'themes/setup_header.php';
+         echo "<h2>Data Directory</h2>";
          echo "<p>You need to set the absolute path to the directory where the installer stores all its data.</p>";
          echo "<p>Do this in <code>\$GLOBALS['ZI']['data']</code> of the file '<code>".getcwd().DIRECTORY_SEPARATOR."inc".DIRECTORY_SEPARATOR."config_params.php</code>'.";
          echo "<p>For example:</p>";
          echo "<pre>\$GLOBALS['ZI']['data'] = '".addslashes(ZZOSS_File::fixPath(dirname($_SERVER['DOCUMENT_ROOT']).DIRECTORY_SEPARATOR."zic_data".DIRECTORY_SEPARATOR))."';</pre>";
+         require_once 'themes/setup_footer.php';
          exit;
      } elseif(!is_writeable($GLOBALS['ZI']['data'].DIRECTORY_SEPARATOR.'.')){
+         require_once 'themes/setup_header.php';
+         echo "<h2>Data Directory</h2>";
          echo "<p>Please make sure that the data directory '<code>".ZZOSS_File::fixPath($GLOBALS['ZI']['data'])."</code>' exists and is writeable.";
          echo "<p>Or change the path in <code>\$GLOBALS['ZI']['data']</code> of the file <code>".getcwd().DIRECTORY_SEPARATOR."inc".DIRECTORY_SEPARATOR."config_params.php</code>.";
+         require_once 'themes/setup_footer.php';
          exit;
      }

Index: package.xml
===================================================================
RCS file: /cvsroot/zzossinstaller/packages/com.zzoss.zic/package.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** package.xml	17 May 2004 09:55:23 -0000	1.15
--- package.xml	17 May 2004 11:15:56 -0000	1.16
***************
*** 140,143 ****
--- 140,146 ----
      <file role="php" baseinstalldir="" name="inc\toolbar_installer.php"/>
      <file role="php" baseinstalldir="" name="themes\README"/>
+     <file role="php" baseinstalldir="" name="themes\setup_footer.php"/>
+     <file role="php" baseinstalldir="" name="themes\setup_header.php"/>
+     <file role="php" baseinstalldir="" name="themes\setup_styles.css"/>
  </filelist>
          <deps>



-------------------------------------------------------
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