(*
||M|| This file is part of HELM, an Hypertextual, Electronic
||A|| Library of Mathematics, developed at the Computer Science
||T|| Department, University of Bologna, Italy.
||I||
||T|| HELM is free software; you can redistribute it and/or
||A|| modify it under the terms of the GNU General Public License
\ / version 2 or (at your option) any later version.
\ / This software is distributed as is, NO WARRANTY.
V_______________________________________________________________ *)
module KP = Printf
module EG = RolesGlobal
module EE = RolesEngine
let open_out_html author description title css icon =
(*
YW.open_out "application/xhtml+xml" 0;
*)
KP.printf "\n";
KP.printf "\n";
KP.printf "\n";
KP.printf "
\n";
KP.printf " \n";
KP.printf " \n";
KP.printf " \n";
KP.printf " \n";
KP.printf " \n";
KP.printf " \n";
KP.printf " \n" author;
KP.printf " \n" description;
KP.printf " %s" title;
KP.printf " \n" css;
KP.printf " \n" icon;
KP.printf "\n";
KP.printf "\n"
let close_out_html () =
KP.printf "\n";
KP.printf "\n"
(*
YW.close_out ()
*)
let open_out () =
let author = "λδ development binary: roles manager" in
let description = "λδ development binary: roles manager" in
let title = "Roles Manager" in
let css = Filename.concat !EG.base_url "css/roles.css" in
let icon = Filename.concat !EG.base_url "images/crux_32.ico" in
open_out_html author description title css icon
let close_out () =
close_out_html ()
let status_out () =
let before_atoms a p count =
let c, str =
if a then "object", "objects"
else "name", "names"
in
KP.printf "