<commit_before><?
/**
 * @version		$Id$
 * @category	Nooku
 * @package     Nooku_Server
 * @subpackage  Weblinks
 * @copyright	Copyright (C) 2011 Timble CVBA and Contributors. (http://www.timble.net)
 * @license		GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link		http://www.nooku.org
 */

defined('KOOWA') or die('Restricted access'); ?>

<div id="sidebar">
	<h3><?= @text('Categories') ?></h3>
	<?= @template('com://admin/categories.view.categories.list', array('categories' => KFactory::get('com://admin/categories.model.categories')->section('com_weblinks')->sort('title')->getList())); ?>
</div><commit_msg>Synced with changes in framework. Use @service() instead of KFactory::get().<commit_after><?
/**
 * @version		$Id$
 * @category	Nooku
 * @package     Nooku_Server
 * @subpackage  Weblinks
 * @copyright	Copyright (C) 2011 Timble CVBA and Contributors. (http://www.timble.net)
 * @license		GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link		http://www.nooku.org
 */

defined('KOOWA') or die('Restricted access'); ?>

<div id="sidebar">
	<h3><?= @text('Categories') ?></h3>
	<?= @template('com://admin/categories.view.categories.list', array('categories' => @service('com://admin/categories.model.categories')->section('com_weblinks')->sort('title')->getList())); ?>
</div>
{'fraction_non_alphanumeric': 0.21879815100154082, 'fraction_numerical': 0.01078582434514638, 'mean_word_length': 4.958715596330276, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3754607', 'n_tokens_mistral': 464, 'n_tokens_neox': 452, 'n_words': 82}