diff --git a/codepot/src/codepot/views/site_delete.php b/codepot/src/codepot/views/site_delete.php
new file mode 100644
index 00000000..b5f74d0e
--- /dev/null
+++ b/codepot/src/codepot/views/site_delete.php
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+load->view ('taskbar'); ?>
+
+
+load->view (
+ 'projectbar',
+ array (
+ 'site' => NULL,
+ 'project' => NULL,
+ 'pageid' => 'site',
+ 'ctxmenuitems' => array ()
+ )
+);
+?>
+
+
+
+
+$message
"; ?>
+
+=form_open('site/delete/'.$site->id)?>
+ =form_fieldset()?>
+
+
+ =form_checkbox('site_confirm', 'yes', set_checkbox('site_confirm', $site_confirm))?>
+ =$this->lang->line('MSG_SURE_TO_DELETE_THIS')?> - =htmlspecialchars($site->name)?>
+ =form_error('site_confirm')?>
+
+
+
+
+ =form_hidden('site_id', set_value('site_id', $site->id))?>
+ =form_hidden('site_name', set_value('site_name', $site->name))?>
+
+
+
+ =form_submit('site', $this->lang->line('Delete'))?>
+
+
+ =form_fieldset_close()?>
+=form_close();?>
+
+
+
+
+
+load->view ('footer'); ?>
+
+
+
+
+
+
+
+
diff --git a/codepot/src/codepot/views/site_edit.php b/codepot/src/codepot/views/site_edit.php
new file mode 100644
index 00000000..fcc8525a
--- /dev/null
+++ b/codepot/src/codepot/views/site_edit.php
@@ -0,0 +1,100 @@
+
+
+
+
+
+
+
+load->view ('taskbar'); ?>
+
+
+
+load->view (
+ 'projectbar',
+ array (
+ 'site' => NULL,
+ 'project' => NULL,
+ 'pageid' => 'site',
+ 'ctxmenuitems' => array ()
+ )
+);
+?>
+
+
+
+
+$message
";
+
+ $formurl = "site/{$mode}";
+ if ($mode == 'update') $formurl .= '/'.$site->id;
+?>
+
+=form_open($formurl)?>
+ =form_fieldset()?>
+
+
+ =form_label($this->lang->line('ID').': ', 'site_id')?>
+ =form_error('site_id')?>
+
+
+
+
+ =form_input('site_id', set_value('site_id', $site->id), $extra)?>
+
+
+
+
+
+ =form_label($this->lang->line('Name').': ', 'site_name')?>
+ =form_error('site_name')?>
+
+
+
+ =form_input('site_name', set_value('site_name', $site->name), $extra)?>
+
+
+
+
+
+ =form_label($this->lang->line('Text').': ', 'site_text')?>
+ =form_error('site_text')?>
+
+
+ =form_textarea('site_text', set_value('site_text', $site->text))?>
+
+
+
+
+ lang->line('Update'): $this->lang->line('Create'); ?>
+ =form_submit('site', $caption)?>
+
+
+ =form_fieldset_close()?>
+=form_close();?>
+
+
+
+
+
+load->view ('footer'); ?>
+
+
+
+
+
+
+
+