[pLog-svn] r602 - plog/trunk/templates/wizard

oscar at devel.plogworld.net oscar at devel.plogworld.net
Wed Dec 29 14:10:55 GMT 2004


Author: oscar
Date: 2004-12-29 14:10:55 +0000 (Wed, 29 Dec 2004)
New Revision: 602

Modified:
   plog/trunk/templates/wizard/intro.template
Log:
database prefix only hardcoded the first time that the intro screen is shown

Modified: plog/trunk/templates/wizard/intro.template
===================================================================
--- plog/trunk/templates/wizard/intro.template	2004-12-29 14:06:55 UTC (rev 601)
+++ plog/trunk/templates/wizard/intro.template	2004-12-29 14:10:55 UTC (rev 602)
@@ -57,7 +57,7 @@
     <label for="dbPrefix">Database prefix</label>
     <span class="required">*</span>
     <div class="formHelp">If needed, multiple instances of plog can run in the same database with different passwords, but the default is usually fine.</div>
-    <input style="width:100%" type="text" id="dbPrefix" name="dbPrefix" value="plog_"/>
+    <input style="width:100%" type="text" id="dbPrefix" name="dbPrefix" value="{if $dbPrefix==""}plog_{else}{$dbPrefix}{/if}"/>
    </div>
    
    </fieldset>




More information about the pLog-svn mailing list