[pLog-svn] r3185 - in plog/trunk: . templates/wizard
    mark at devel.lifetype.net 
    mark at devel.lifetype.net
       
    Tue Apr  4 15:19:46 GMT 2006
    
    
  
Author: mark
Date: 2006-04-04 15:19:45 +0000 (Tue, 04 Apr 2006)
New Revision: 3185
Modified:
   plog/trunk/summary.php
   plog/trunk/templates/wizard/step5.template
   plog/trunk/templates/wizard/update4.template
Log:
1. Add "Go to Summary" to the end of installation and upgrade.
2. Add installation check to summary.php
Hope no more people ask where is the summary and how to let user to register :(
Modified: plog/trunk/summary.php
===================================================================
--- plog/trunk/summary.php	2006-04-04 15:03:40 UTC (rev 3184)
+++ plog/trunk/summary.php	2006-04-04 15:19:45 UTC (rev 3185)
@@ -18,6 +18,14 @@
 
 	define( "SUMMARY_DEFAULT_BLOGS_PER_PAGE", 25 );
 	
+    //
+    // a security check, or else people might forget to remove the wizard.php script
+    //
+    if( is_readable( "wizard.php")) {
+    	include_once( PLOG_CLASS_PATH."install/installation.class.php" );
+    	Installation::check();
+    }
+    
 	// check if the url is coming for a subdomain because if it is... we should
 	// redirect to index.php because it is not coming to us!
 	$config =& Config::getConfig();
Modified: plog/trunk/templates/wizard/step5.template
===================================================================
--- plog/trunk/templates/wizard/step5.template	2006-04-04 15:03:40 UTC (rev 3184)
+++ plog/trunk/templates/wizard/step5.template	2006-04-04 15:19:45 UTC (rev 3185)
@@ -24,6 +24,7 @@
  </fieldset>
  <div class="buttons">
   <input value="Go to blog" type="button" onClick="javascript:window.location='index.php'" /> 
+  <input value="Go to Summary" type="button" onClick="javascript:window.location='summary.php'" /> 
   <input value="Go to administration interface" type="button" onClick="javascript:window.location='admin.php'" />
  </div> 
 </form> 
Modified: plog/trunk/templates/wizard/update4.template
===================================================================
--- plog/trunk/templates/wizard/update4.template	2006-04-04 15:03:40 UTC (rev 3184)
+++ plog/trunk/templates/wizard/update4.template	2006-04-04 15:19:45 UTC (rev 3185)
@@ -27,6 +27,7 @@
  </fieldset> 
  <div class="buttons">
   <input value="Go to blog" type="button" onClick="javascript:window.location='index.php'" /> 
+  <input value="Go to Summary" type="button" onClick="javascript:window.location='summary.php'" /> 
   <input value="Go to administration interface" type="button" onClick="javascript:window.location='admin.php'" />
  </div> 
 </form> 
    
    
More information about the pLog-svn
mailing list