From b89d5a816b161a08bd21ee8f33b6c7af1157c523 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Fri, 08 Feb 2008 10:13:12 -0500
Subject: [PATCH] Fix ugly type as suggested in #1484760

---
 skins/default/templates/editidentity.html |    2 +-
 program/steps/settings/func.inc           |    3 ++-
 skins/default/templates/addidentity.html  |    2 +-
 skins/default/templates/identities.html   |    2 +-
 4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc
index e63f016..de411e7 100644
--- a/program/steps/settings/func.inc
+++ b/program/steps/settings/func.inc
@@ -254,7 +254,8 @@
 // register UI objects
 $OUTPUT->add_handlers(array(
   'userprefs' => 'rcmail_user_prefs_form',
-  'itentitieslist' => 'rcmail_identities_list'
+  'identitieslist' => 'rcmail_identities_list',
+  'itentitieslist' => 'rcmail_identities_list'  // keep this for backward compatibility
 ));
 
 
diff --git a/skins/default/templates/addidentity.html b/skins/default/templates/addidentity.html
index d38d806..8162d1c 100644
--- a/skins/default/templates/addidentity.html
+++ b/skins/default/templates/addidentity.html
@@ -13,7 +13,7 @@
 
 
 <div id="identities-list">
-<roundcube:object name="itentitiesList" id="identities-table" class="records-table" cellspacing="0" summary="Identities list" editIcon="" />
+<roundcube:object name="identitiesList" id="identities-table" class="records-table" cellspacing="0" summary="Identities list" editIcon="" />
 
 <p><roundcube:button command="add" type="input" label="newidentity" class="button" /></p>
 
diff --git a/skins/default/templates/editidentity.html b/skins/default/templates/editidentity.html
index 4fb087d..04a3e8b 100644
--- a/skins/default/templates/editidentity.html
+++ b/skins/default/templates/editidentity.html
@@ -13,7 +13,7 @@
 
 
 <div id="identities-list">
-<roundcube:object name="itentitiesList" id="identities-table" class="records-table" cellspacing="0" summary="Identities list" editIcon="" />
+<roundcube:object name="identitiesList" id="identities-table" class="records-table" cellspacing="0" summary="Identities list" editIcon="" />
 
 <p><roundcube:button command="add" type="input" label="newidentity" class="button" /></p>
 
diff --git a/skins/default/templates/identities.html b/skins/default/templates/identities.html
index 7e311cc..f9f3436 100644
--- a/skins/default/templates/identities.html
+++ b/skins/default/templates/identities.html
@@ -12,7 +12,7 @@
 <roundcube:include file="/includes/settingstabs.html" />
 
 <div id="identities-list">
-<roundcube:object name="itentitiesList" id="identities-table" class="records-table" cellspacing="0" summary="Identities list" editIcon="" />
+<roundcube:object name="identitiesList" id="identities-table" class="records-table" cellspacing="0" summary="Identities list" editIcon="" />
 
 <p><roundcube:button command="add" type="input" label="newidentity" class="button" /></p>
 </div>

--
Gitblit v1.9.1