note
description: "Summary description for {CMS_ADMIN_EXECUTION}."
author: ""
date: "$Date$"
revision: "$Revision$"
class
ADMIN_CMS_EXECUTION
inherit
CMS_EXECUTION
create
make
feature -- Execution
process
-- Computed response message.
local
b: STRING_8
do
set_title ("Administration")
-- check Permission !!!
create b.make_empty
if has_permission ("administrate modules") then
b.append ("
" + link ("Modules", "/admin/modules/", Void) + "")
end
if has_permission ("administrate blocks") then
b.append ("" + link ("Blocks", "/admin/blocks/", Void) + "")
end
if has_permission ("administrate user-roles") then
b.append ("" + link ("User roles", "/admin/roles/", Void) + "")
end
if has_permission ("administrate users") then
b.append ("" + link ("Users", "/admin/users/", Void) + "")
end
if has_permission ("administrate logs") then
b.append ("" + link ("Logs", "/admin/logs/", Void) + "")
end
set_main_content (b)
end
end