Esempio n. 1
0
/**
 * skin_img() -- Emit HTML for a skin-specific image
 *
 * NOTE: We do no error check here -- just implement the HTML emit.
 */
function skin_img($name = null, $alt = 'Image', $class = null, $dom_id = null)
{
    /* Step 1: Straight up emit */
    print '<img ';
    print '  src="skins/' . skin_getName() . '/' . $name . '" ';
    print '  alt="' . $alt . '" ';
    if (null != $class) {
        print 'class="' . $class . '" ';
    }
    if (null != $dom_id) {
        print 'id="' . $dom_id . '" ';
    }
    print '/>';
}
Esempio n. 2
0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
  <head>
    <title>Journey of Faith UMC</title>
    <link rel="icon" type="image/vnd.microsoft.icon" href="/skins/common/jofrr.ico"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    <meta name="robots" content="index,follow" /> 
    <meta name="Keywords" content="journey of faith,church,methodist,UMC,round rock"/>
    <script type="text/javascript" src="/library/core/util-core.js"></script>
<?php 
/* Import skinning utilities */
require_once "library/core/util-skin.php";
// Skin baseline CSS
print '    <link rel="stylesheet" type="text/css" media="screen" href="/skins/' . skin_getName() . '/default.css"/>' . "\n";
// Skin baseline JS
print '    <script type="text/javascript" src="/skins/' . skin_getName() . '/skin.js"></script>' . "\n";
// Other skin bits
skin_include("block-html-head.php");
?>
  </head>
  <body class="page-bookshelf">
Esempio n. 3
0
<?php

//
// form-popup-pre.php -- Skin-specific frame decoration for a popup picker
//
// Externals:
//   targetDiv -- ID of popup div.
global $targetDiv;
?>

<?php 
// Step 1: Simple X in the upper-right corner for closing the popup.
//
print '<div class="form-popup-decoration">';
print '<span class="form-popup-title">';
print 'Choose a date';
print '</span>';
print '<a ';
print '  href="javascript:ak_hideElementById(\'' . $targetDiv . '\');" ';
print '  title="Close Popup" ';
print '>';
print '<img ';
print '  alt="Close Popup" ';
print '  class="form-popup-close frameless" ';
print '  src="skins/' . skin_getName() . '/popup-frame-close.png" ';
print '/>';
print '</a>';
print '</div>';
// Step 2: Closure div
print '<div class="closure-div"></div>';