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 @@ + + + + + + +<?=htmlspecialchars($site->name)?> + + + + +
+ + + +load->view ('taskbar'); ?> + + +load->view ( + 'projectbar', + array ( + 'site' => NULL, + 'project' => NULL, + 'pageid' => 'site', + 'ctxmenuitems' => array () + ) +); +?> + + +
+ +$message
"; ?> + +id)?> + +
+
+ + lang->line('MSG_SURE_TO_DELETE_THIS')?> - name)?> + +
+
+ +
+ id))?> + name))?> +
+ +
+ lang->line('Delete'))?> +
+ + + + +
+ + + +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 @@ + + + + + + +<?=htmlspecialchars($site->name)?> + + + + +
+ + + +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; +?> + + + +
+
+ lang->line('ID').': ', 'site_id')?> + +
+
+ + + id), $extra)?> +
+
+ +
+
+ lang->line('Name').': ', 'site_name')?> + +
+
+ + name), $extra)?> +
+
+ +
+
+ lang->line('Text').': ', 'site_text')?> + +
+
+ text))?> +
+
+ +
+ lang->line('Update'): $this->lang->line('Create'); ?> + +
+ + + + +
+ + + +load->view ('footer'); ?> + + + + + + + +