' .
"\n";
}
### --------------------
function print_head_top() {
echo '
';
}
### --------------------
function print_title( $p_title ) {
echo "$p_title ";
}
### --------------------
function print_css( $p_css = '' ) {
if ( !empty( $p_css ) && file_exists( $p_css ) ) {
include_once( $p_css );
}
}
### --------------------
function print_css_link( $p_css ) {
echo " ";
}
### --------------------
function print_meta_inc( $p_meta_inc = '' ) {
if ( !empty( $p_meta_inc ) && file_exists( $p_meta_inc ) ) {
include_once( $p_meta_inc );
}
}
### --------------------
function print_meta_redirect( $p_url, $p_time ) {
echo " ";
}
### --------------------
function print_head_bottom() {
echo '';
}
### --------------------
function print_body_top() {
echo '';
}
### --------------------
function print_header( $p_title = '' ) {
echo <<
$p_title
EOT;
}
### --------------------
function print_top_page( $p_page ) {
if ( !empty( $p_page ) && file_exists( $p_page ) ) {
echo '';
include_once( $p_page );
echo '
';
}
}
### --------------------
function print_bottom_page( $p_page ) {
if ( !empty( $p_page ) && file_exists( $p_page ) ) {
echo '';
include_once( $p_page );
echo '
';
}
}
### --------------------
function print_footer( $p_file ) {
global $g_webmaster_email;
echo '';
}
### --------------------
function print_body_bottom() {
echo '';
}
### --------------------
function print_html_bottom() {
echo '';
}
### --------------------
###########################################################################
# HTML Appearance Helper API
###########################################################################
### --------------------
### checks to see whether we need to be displaying the version number
function print_phpWebNotes_version() {
if ( ON == config_get( 'show_version' ) ) {
echo 'phpWebNotes - ' . config_get( 'phpWebNotes_version' ) . ' ';
}
}
### --------------------
function print_spacer() {
echo '
';
}
### --------------------
function print_admin_menu( $p_add_space = true ) {
global $g_logout, $g_admin_index_files, $g_admin_change_password,
$g_admin_manage_notes, $g_admin_manage_users,
$s_logout_link, $s_index_files, $s_change_password,
$s_manage_notes, $s_manage_users, $g_user_home_page;
$queue_count = note_queue_count();
echo '
EOT;
}
# --------------------
# print the bracketed links used near the top
# if the $p_link is blank then the text is printed but no link is created
function print_bracket_link( $p_link, $p_url_text ) {
if ( empty( $p_link ) ) {
echo "[ $p_url_text ]";
} else {
echo "[ $p_url_text ]";
}
}
### --------------------
function html_option_list_access_level( $p_access_level = '' ) {
$ids = enum_get_ids_array( 'access_levels' );
foreach ( $ids as $id ) {
if ( ( NOBODY == $id ) || ( EVERYBODY == $id ) ) {
continue;
}
echo '' . enum_get_element( 'access_levels', $id ) . ' ';
}
}
### --------------------
?>