コード例 #1
0
ファイル: parameters.php プロジェクト: JoFumc/jofweb
<?php

//
// parameters.php -- Skin parameters for global use.
//
//
// Section 1: Layout
// NOTE: These are usable area, not overall width
//
config_setParameter("skin_width_full", 880);
config_setParameter("skin_width_sidebar", 172);
config_setParameter("skin_width_workarea", 684);
config_setParameter("skin_width_app", 504);
config_setParameter("skin_width_multibar", 172);
config_setParameter("skin_width_bookshelf", 664);
//
// Section 2: Presentation Hints
//
//
// Constrain normal images to a box this size
config_setParameter("skin_img_limit", 496);
コード例 #2
0
ファイル: parameters.php プロジェクト: JoFumc/jofweb
<?php

//
// parameters.php -- Skin parameters for global use.
//
// Section 1: Layout
// NOTE: These are usable area, not overall width
//
config_setParameter("skin_width_full", 960);
config_setParameter("skin_width_sidebar", 240);
config_setParameter("skin_width_multibar", 200);
config_setParameter("skin_width_workarea", 710);
config_setParameter("skin_width_app", 510);
config_setParameter("skin_width_bookshelf", 610);
config_setParameter("skin_height_bookshelf", 500);
//
// Section 2: Presentation Hints
//
//
// Constrain normal images to a box this size
config_setParameter("skin_img_limit", 500);
コード例 #3
0
ファイル: util-config.php プロジェクト: JoFumc/jofweb
/**
 * config_setLastError() -- Store a string describing the last error
 */
function config_setLastError($err = 'Success')
{
    config_setParameter('errno', $err);
}
コード例 #4
0
ファイル: svc-edit-book.php プロジェクト: JoFumc/jofweb
require_once "library/core/util-db.php";
require_once "library/core/util-auth.php";
require_once "library/core/class-book.php";
require_once "library/core/util-config.php";
skin_include("svc-edit-book-pre.php");
?>

<?php 
/* Step 1: Get current user info */
auth_validate();
$bookid = 0 + $_REQUEST['book'];
/* Step 2: Get book out of DB (if it's there) */
$booklist = db_booklist($auth_user->uid, PERM_EDIT, $bookid);
if (null != $booklist) {
    $book =& $booklist[$bookid];
    config_setParameter('edit-book-object', $book);
}
/* Step 3: Check for special book types */
if ($bookid < 1000) {
    switch ($bookid) {
        case BOOK_ID_PROFILE:
            @(include "svc-edit-book-profile.php");
            break;
        case BOOK_ID_ANNOUNCEMENTS:
            @(include "svc-edit-book-announcement.php");
            break;
        case BOOK_ID_SERMONS:
            @(include "svc-edit-book-sermon.php");
            break;
        case BOOK_ID_BULLETINS:
            @(include "svc-edit-book-album.php");