Exemplo n.º 1
0
<?php

/// Copyright (c) 2004-2015, Needlworks  / Tatter Network Foundation
/// All rights reserved. Licensed under the GPL.
/// See the GNU General Public License for more details. (/documents/LICENSE, /documents/COPYRIGHT)
$IV = array('POST' => array('tree' => array('string', 'default' => 'base'), 'colorOnTree' => array('string', 'default' => '000000'), 'bgColorOnTree' => array('string', 'default' => ''), 'activeColorOnTree' => array('string', 'default' => '000000'), 'activeBgColorOnTree' => array('string', 'default' => ''), 'labelLengthOnTree' => array('int', 'default' => 30), 'showValueOnTree' => array('string', 'mandatory' => false)));
require ROOT . '/library/preprocessor.php';
requireStrictRoute();
if (isset($suri['id'])) {
    $categories = getCategories($blogid);
    Respond::PrintResult(array('code' => urlencode(getCategoriesViewInSkinSetting(getEntriesTotalCount($blogid), $categories, $suri['id']))));
    exit;
} else {
    if (setTreeSetting($blogid, $_POST)) {
        header("Location: {$context->getProperty}('uri.blog')/owner/skin/setting");
    } else {
    }
}
Exemplo n.º 2
0
?>
.js"></script>
	<script type="text/javascript">jQuery.noConflict();</script>
	<script type="text/javascript" src="<?php 
echo $context->getProperty('service.path');
?>
/resources/script/EAF4.js"></script>
	<script type="text/javascript" src="<?php 
echo $context->getProperty('service.path');
?>
/resources/script/common3.min.js"></script>
	<script type="text/javascript" src="<?php 
echo $context->getProperty('service.path');
?>
/resources/script/owner.js"></script>
	<style type="text/css">
		/*<![CDATA[*/
			body
			{
				background-color                    : #FFFFFF;
			}
		/*]]>*/
	</style>
</head>
<body id="tree-iframe">
<?php 
echo getCategoriesViewInSkinSetting(getEntriesTotalCount(getBlogId()), getCategories(getBlogId()), $selected);
?>
</body>
</html>