diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-12 18:39:14 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-12 18:39:14 +0000 |
commit | 6a690361091081b9ec578487e8ef79664434cf8e (patch) | |
tree | 513de19b9a26ab59f166a688d9c47367f5f27bfc /views/default/admin/settings/profile_fields | |
parent | 653517bf635ad6ecb65738b46b11b3056ccca983 (diff) | |
download | elgg-6a690361091081b9ec578487e8ef79664434cf8e.tar.gz elgg-6a690361091081b9ec578487e8ef79664434cf8e.tar.bz2 |
Refs #2991: Readded the appearance menu under configure. Moved plugin settings under configure/settings.
git-svn-id: http://code.elgg.org/elgg/trunk@8665 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/admin/settings/profile_fields')
-rw-r--r-- | views/default/admin/settings/profile_fields/list.php | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/views/default/admin/settings/profile_fields/list.php b/views/default/admin/settings/profile_fields/list.php deleted file mode 100644 index 493129583..000000000 --- a/views/default/admin/settings/profile_fields/list.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php -/** - * Profile fields. - * - * @todo Needs some review - */ - -// List form elements -$n = 0; -$loaded_defaults = array(); -$items = array(); -if ($fieldlist = elgg_get_config('profile_custom_fields')) { - $fieldlistarray = explode(',', $fieldlist); - foreach ($fieldlistarray as $listitem) { - if ($translation = elgg_get_config("admin_defined_profile_{$listitem}")) { - $item = new stdClass; - $item->translation = $translation; - $item->shortname = $listitem; - $item->name = "admin_defined_profile_{$listitem}"; - $item->type = elgg_get_config("admin_defined_profile_type_{$listitem}"); - $items[] = $item; - } - } -} -?> -<div id="list"> - <ul id="sortable_profile_fields"> -<?php - -$save = elgg_echo('save'); -$cancel = elgg_echo('cancel'); - -foreach ($items as $item) { - echo elgg_view("profile/", array('value' => $item->translation)); - - //$even_odd = ( 'odd' != $even_odd ) ? 'odd' : 'even'; - $url = elgg_view('output/url', array( - 'href' => "action/profile/fields/delete?id={$item->shortname}", - 'is_action' => TRUE, - 'text' => elgg_view_icon('delete'), - )); - $type = elgg_echo($item->type); - echo <<<HTML -<li id="$item->shortname" class="clearfix"> - <span class="elgg-icon elgg-icon-dragger elgg-state-draggable"></span> - <b><span id="elgg-profile-field-{$item->shortname}" class="elgg-state-editable">$item->translation</span></b> [$type] $url -</li> -HTML; -} - -?> - </ul> -</div> -<div id="tempList"></div> - -<input name="sortableListOrder" type="hidden" id="sortableListOrder" value="<?php echo $fieldlist; ?>" />
\ No newline at end of file |