[dev] [Patch] IMP: Deleting Identities...

Marc Jauvin marc at register4less.com
Thu Jul 3 08:20:00 PDT 2003


The included patch fixes the broken template for deleting Identities.

--
Marc Jauvin
450-441-5458
http://register4less.com
-------------- next part --------------
Index: manage.inc
===================================================================
RCS file: /repository/imp/templates/identities/manage.inc,v
retrieving revision 1.25
diff -u -r1.25 manage.inc
--- manage.inc  17 Jun 2003 07:54:05 -0000      1.25
+++ manage.inc  3 Jul 2003 15:16:40 -0000
@@ -97,8 +97,7 @@
 <table border="0" align="center" width="100%" cellspacing="0" cellpadding="0"><tr><td nowrap="nowrap">
 <?php if (!$prefs->isLocked('default_identity')): ?>
     <input type="submit" name="save" class="button" onclick="document.identities.actionID.value='ident_save';return true" value="<?php echo ($actionID == 'ident_edit') ? _("Change") : _("Create") ?>" />&nbsp;
-<script language="JavaScript" type="text/javascript">
-document.write('<input type="submit" name="delete" class="button" onclick="document.identities.actionID.value='ident_delete';" value="<?php echo _("Delete") ?>" />&nbsp;');
+    <input type="submit" name="delete" class="button" onclick="document.identities.actionID.value='ident_delete';" value="<?php echo _("Delete") ?>" />
 </script>
 <?php else: ?>
     <input type="submit" name="save" class="button" onclick="document.identities.actionID.value='ident_save';return true" value="<?php echo _("Change") ?>" />&nbsp;


More information about the dev mailing list