-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathadd_book_chapters.php
More file actions
39 lines (33 loc) · 911 Bytes
/
Copy pathadd_book_chapters.php
File metadata and controls
39 lines (33 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
require_once("gb/controller/BookController.php");
$bookController = new gb\controller\BookController();
$bookController->process();
$title = "book_uri =" . $bookController->getSelectedBookUri();
require("template/top.tpl.php");
?>
<form method="post">
<table style="width: 100%">
<tr>
<td colspan="2">
<table style="width: 100%">
<tr>
<td>Chapter</td>
<td >
<input type="text" name="chapter_number">
</td>
</tr>
<tr>
<td>Text:</td>
<td><textarea name="new_text" cols="60" rows="6"></textarea></td>
</tr>
<tr>
<td > </td>
<td><input type ="submit" name="add_chapter" value="Add chapter" ></td>
</tr>
</table>
</td>
</table>
</form>
<?php
require("template/bottom.tpl.php");
?>