From ea28c2c55c689be25a2212dfbdffd840c88921aa Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 7 Feb 2011 05:10:11 +0000 Subject: Pulled elgg-icon and elgg-icon-* into the admin css. Pulled out profile field JS into elgg.admin obj. Fixed editing profile field names. git-svn-id: http://code.elgg.org/elgg/trunk@8061 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/profile/fields/add.php | 2 +- actions/profile/fields/edit.php | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 actions/profile/fields/edit.php (limited to 'actions') diff --git a/actions/profile/fields/add.php b/actions/profile/fields/add.php index 15bd7024a..b35df1549 100644 --- a/actions/profile/fields/add.php +++ b/actions/profile/fields/add.php @@ -20,7 +20,7 @@ if (!$fieldlist) { $id = max($fieldlistarray) + 1; } -if (($label) && ($type)){ +if (($label) && ($type)) { if (!empty($fieldlist)) { $fieldlist .= ','; } diff --git a/actions/profile/fields/edit.php b/actions/profile/fields/edit.php new file mode 100644 index 000000000..5fc84ff11 --- /dev/null +++ b/actions/profile/fields/edit.php @@ -0,0 +1,20 @@ +