[set page_perm]template[/set] [set page_title][L]Edit components[/L][/set] [set ui_class]Content[/set] [set help_name]page.editor[/set] [set icon_name]icon_pages.gif[/set] @_UI_STD_HEAD_@ [if scratch ui_error]

> [scratchd ui_error]

[/if] [if cgi ui_content_op] [/if] [calc] $cwd = $Session->{ui_cwd}; sub tmp_display_in_progress { my ($type) = shift; my $store; return unless exists $Session->{content_edit} and $Session->{content_edit}; return unless $store = $Session->{content_edit}{$type}; my $out = ''; for (sort keys %$store) { defined $store->{$_} or delete $store->{$_}, next; $store->{$_}{ui_name} or delete $store->{$_}, next; $out .= $Tag->page( { href => '__UI_BASE__/content_editor', form => 'auto', ui_name => $_, ui_type => $type, }); $out .= "$_ ("; $out .= $Tag->page( { href => '@@MV_PAGE@@', form => 'auto', ui_name => $_, ui_type => $type, ui_content_op => 'cancel', }); $out .= "cancel)
"; } return unless $out; $out = 'In process
' . $out . '
'; return $out; } return; [/calc] [warnings auto=1] [if type=explicit compare="[error all=1 show_var=1 keep=1]"] [L]The following errors occurred:[/L]

> [error all=1 keep=1 show_error=1 show_label=1 joiner="
> "]

[/if]
[L]Edit components[/L]
[if session content_edit] [L]Purge all in-process (including page, template, component edits)[/L]
[/if] [calc] tmp_display_in_progress('component'); [/calc]
[L]New component[/L]
[L]Existing components[/L]

[loop acclist=1 list="[content-info components=1 no-none=1]"]
| [loop-code] [loop-param label]
[/loop]

@_UI_STD_FOOTER_@