Esempio n. 1
0
function cat_category_list($message = "")
{
    pagetop(gTxt('categories'), $message);
    $out = array('<h1 class="txp-heading">' . gTxt('tab_organise') . '</h1>', '<div id="category_container" class="txp-container">', '<table class="category-list">', '<tr>', tdtl('<div id="categories_article">' . cat_article_list() . '</div>', ' class="categories article"'), tdtl('<div id="categories_link">' . cat_link_list() . '</div>', ' class="categories link"'), tdtl('<div id="categories_image">' . cat_image_list() . '</div>', ' class="categories image"'), tdtl('<div id="categories_file">' . cat_file_list() . '</div>', ' class="categories file"'), '</tr>', endTable(), '</div>', script_js(<<<EOS
\t\t\t\$(document).ready(function() {
\t\t\t\t\$('.category-tree').txpMultiEditForm({
\t\t\t\t\t'row' : 'p',
\t\t\t\t\t'highlighted' : 'p'
\t\t\t\t});
\t\t\t});
EOS
));
    echo join(n, $out);
}
Esempio n. 2
0
/**
 * Outputs the main panel listing all categories.
 *
 * @param string|array $message The activity message
 */
function cat_category_list($message = "")
{
    pagetop(gTxt('categories'), $message);
    $out = array(hed(gTxt('tab_organise'), 1, 'class="txp-heading"'), n . tag(cat_article_list(), 'section', array('class' => 'txp-layout-4col-cell-1', 'id' => 'categories_article')), n . tag(cat_image_list(), 'section', array('class' => 'txp-layout-4col-cell-2', 'id' => 'categories_image')), n . tag(cat_file_list(), 'section', array('class' => 'txp-layout-4col-cell-3', 'id' => 'categories_file')), n . tag(cat_link_list(), 'section', array('class' => 'txp-layout-4col-cell-4', 'id' => 'categories_link')), script_js(<<<EOS
            \$(document).ready(function ()
            {
                \$('.category-tree').txpMultiEditForm({
                    'row' : 'p',
                    'highlighted' : 'p'
                });
            });
EOS
));
    echo join(n, $out);
}
Esempio n. 3
0
/**
 * Outputs the main panel listing all categories.
 *
 * @param string|array $message The activity message
 */
function cat_category_list($message = "")
{
    pagetop(gTxt('categories'), $message);
    $out = array(hed(gTxt('tab_organise'), 1, 'class="txp-heading"'), '<div id="category_container" class="txp-layout-grid">', n . tag(n . tag(cat_article_list(), 'div', array('class' => 'categories')), 'div', array('id' => 'categories_article', 'class' => 'txp-layout-cell txp-layout-1-4')), n . tag(n . tag(cat_image_list(), 'div', array('class' => 'categories')), 'div', array('id' => 'categories_image', 'class' => 'txp-layout-cell txp-layout-1-4')), n . tag(n . tag(cat_file_list(), 'div', array('class' => 'categories')), 'div', array('id' => 'categories_file', 'class' => 'txp-layout-cell txp-layout-1-4')), n . tag(n . tag(cat_link_list(), 'div', array('class' => 'categories')), 'div', array('id' => 'categories_link', 'class' => 'txp-layout-cell txp-layout-1-4')), '</div>', script_js(<<<EOS
            \$(document).ready(function ()
            {
                \$('.category-tree').txpMultiEditForm({
                    'row' : 'p',
                    'highlighted' : 'p'
                });
            });
EOS
));
    echo join(n, $out);
}
Esempio n. 4
0
function cat_category_list($message = "")
{
    pagetop(gTxt('categories'), $message);
    $out = array('<div id="category_container" class="txp-container txp-list">', '<table class="category-list" cellspacing="20" align="center">', '<tr>', tdtl('<div id="categories_article">' . cat_article_list() . '</div>', ' class="categories article"'), tdtl('<div id="categories_link">' . cat_link_list() . '</div>', ' class="categories link"'), tdtl('<div id="categories_image">' . cat_image_list() . '</div>', ' class="categories image"'), tdtl('<div id="categories_file">' . cat_file_list() . '</div>', ' class="categories file"'), '</tr>', endTable(), '</div>');
    echo join(n, $out);
}
Esempio n. 5
0
function cat_category_list($message = "")
{
    pagetop(gTxt('categories'), $message);
    $out = array('<table cellspacing="20" align="center">', '<tr>', tdtl(cat_article_list(), ' class="categories"'), tdtl(cat_link_list(), ' class="categories"'), tdtl(cat_image_list(), ' class="categories"'), tdtl(cat_file_list(), ' class="categories"'), '</tr>', endTable());
    echo join(n, $out);
}