1. Trang chủ
  2. » Công Nghệ Thông Tin

Secure PHP Development- P64 pps

5 148 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 158,25 KB

Nội dung

By default, the index is empty. Only administrator users can create, modify, and delete categories. An administrative user can also add, modify, or delete any docu- ments in the system. Creating a new category The logged-in user in this example is an administrator, so she can add a new cate- gory by clicking on the Add a New Category link, which brings up a screen similar to the one shown in Figure 8-4. Figure 8-4: Adding a new category. Adding category is a simple process. In Figure 8-4, the administrative user adds a new category called Policy to hold company policy documents and allows user Carol publishing rights and everyone in the company viewing rights. After this category is added, it shows up in the home page of all users as a hori- zontal navigation bar, as shown in Figure 8-5. Now when a user clicks on the Document Publisher (Doc Publisher) link on the left navigation bar, the document index shows the new category and its description as shown in Figure 8-6. 286 Part II: Developing Intranet Solutions 11 549669 ch08.qxd 4/4/03 9:25 AM Page 286 Figure 8-5: A new category in the user’s home page. Figure 8-6: A new category in the document index page. Chapter 8: Intranet Simple Document Publisher 287 11 549669 ch08.qxd 4/4/03 9:25 AM Page 287 Adding a new document To add a new document in a category, click on the Document Publisher from the left navigation or the category itself on the horizontal navigation shown on top. You can then click on the Add a New Document link to add a document. Figure 8-7 shows a user adding a document in the Policy category. Figure 8-7: Adding a new document. After the new document is added, the viewers of the category where the document is published receive a notice. An example of such a notice is shown in Figure 8-8. When any user with viewing rights goes to the category index (by clicking the category link on the top) or by viewing the main document index using the Document Publisher link on the left navigation bar of her home page, she can view the document listed in the category as shown in Figure 8-9. 288 Part II: Developing Intranet Solutions 11 549669 ch08.qxd 4/4/03 9:25 AM Page 288 Figure 8-8: A new document notice via the intranet messaging system. Figure 8-9: A new document in its category. Chapter 8: Intranet Simple Document Publisher 289 11 549669 ch08.qxd 4/4/03 9:25 AM Page 289 The user can click on the document title to view the document. The document appears as shown in Figure 8-10. Figure 8-10: Viewing the document. Notice that the document shows a View Visitors List which can be clicked on to see which users have already viewed this document. This link shows a screen simi- lar to Figure 8-11. Figure 8-11: Viewing who else has seen this document. 290 Part II: Developing Intranet Solutions 11 549669 ch08.qxd 4/4/03 9:25 AM Page 290

Ngày đăng: 07/07/2014, 07:20

TỪ KHÓA LIÊN QUAN