$face = Ansel_Faces::factory();
$autogenerate = $face->canAutogenerate();
$vars = Horde_Variables::getDefaultVariables();
-$pager = new Horde_UI_Pager(
+$pager = new Horde_Ui_Pager(
'page', $vars,
array('num' => $gallery->countImages(),
'url' => 'faces/gallery.php',
}
$vars = Horde_Variables::getDefaultVariables();
-$pager = new Horde_UI_Pager(
+$pager = new Horde_Ui_Pager(
'page', $vars,
array('num' => $count,
'url' => 'faces/search/all.php',
$title = _("Photo search");
$vars = Horde_Variables::getDefaultVariables();
-$pager = new Horde_UI_Pager(
+$pager = new Horde_Ui_Pager(
'page', $vars,
array('num' => count($results),
'url' => 'faces/search/image_search.php',
}
$vars = Horde_Variables::getDefaultVariables();
-$pager = new Horde_UI_Pager(
+$pager = new Horde_Ui_Pager(
'page', $vars,
array('num' => $count,
'url' => 'faces/search/name.php',
}
$vars = Horde_Variables::getDefaultVariables();
-$pager = new Horde_UI_Pager(
+$pager = new Horde_Ui_Pager(
'page', $vars,
array('num' => $count,
'url' => 'faces/search/named.php',
}
$vars = Horde_Variables::getDefaultVariables();
-$pager = new Horde_UI_Pager(
+$pager = new Horde_Ui_Pager(
'page', $vars,
array('num' => $count,
'url' => 'faces/search/owner.php',
/* Show tabs */
$vars = Horde_Variables::getDefaultVariables();
-$tabs = new Horde_UI_Tabs('search_faces', $vars);
+$tabs = new Horde_Ui_Tabs('search_faces', $vars);
$tabs->addTab(_("All faces"), Horde::applicationUrl('faces/search/all.php'), 'all');
$tabs->addTab(_("From my galleries"), Horde::applicationUrl('faces/search/owner.php'), 'owner');
$tabs->addTab(_("Named faces"), Horde::applicationUrl('faces/search/named.php'), 'named');
// Set up pager.
$vars = Horde_Variables::getDefaultVariables();
-$group_pager = new Horde_UI_Pager('gbpage', $vars,
+$group_pager = new Horde_Ui_Pager('gbpage', $vars,
array('num' => $num_groups,
'url' => 'group.php',
'perpage' => $groups_perpage));
/* Get the tags */
$tags = Ansel_Tags::listTagInfo(null, $this->_params['count']);
if (count($tags)) {
- $cloud = new Horde_UI_TagCloud();
+ $cloud = new Horde_Ui_TagCloud();
foreach ($tags as $id => $tag) {
$link = Ansel::getUrlFor('view', array('view' => 'Results',
'tag' => $tag['tag_name']));
'perpage' => $this->perpage,
'url_callback' => $callback);
- $pager = new Horde_UI_Pager('page', $vars, $params);
+ $pager = new Horde_Ui_Pager('page', $vars, $params);
// Note that we can't use Horde_Util::bufferOutput() here since the include
// file would be included inside that method's scope, and not this one.
'perpage' => $this->perpage,
'url_callback' => $callback);
- $pager = new Horde_UI_Pager('page', $vars, $params);
+ $pager = new Horde_Ui_Pager('page', $vars, $params);
/* Start buffering */
ob_start();
if ($override) {
$p_params['url_callback'] = null;
}
- $pager = new Horde_UI_Pager('page', $vars, $p_params);
+ $pager = new Horde_Ui_Pager('page', $vars, $p_params);
$preserve = array('sort_dir' => $sortdir);
if (!empty($sortby)) {
$preserve['sort'] = $sortby;
$pagestart = ($page * $perpage) + 1;
$pageend = min($pagestart + $numimages - 1, $pagestart + $perpage - 1);
- $pager = new Horde_UI_Pager('page', $vars, array('num' => $total,
+ $pager = new Horde_Ui_Pager('page', $vars, array('num' => $total,
'url' => $viewurl,
'perpage' => $perpage));
ob_start();
'module' => $app,
'filter' => $filter,
'search' => $search));
- $pager = new Horde_UI_Pager('page', $vars, array('num' => $numitem, 'url' => $viewurl, 'page_count' => 10, 'perpage' => $perpage));
+ $pager = new Horde_Ui_Pager('page', $vars, array('num' => $numitem, 'url' => $viewurl, 'page_count' => 10, 'perpage' => $perpage));
echo $pager->render($page, $numitem, $viewurl);
?>
</td></tr></table>
$pager_vars = Horde_Variables::getDefaultVariables();
$pager_vars->set('page', $page);
$perpage = $prefs->getValue('domains_perpage');
-$pager = new Horde_UI_Pager('page', $pager_vars,
+$pager = new Horde_Ui_Pager('page', $pager_vars,
array('num' => count($domains),
'url' => 'listzones.php',
'page_count' => 10,
<?php
/**
- * This file contains all Horde_UI_VarRenderer extensions required for editing
+ * This file contains all Horde_Ui_VarRenderer extensions required for editing
* accounts.
*
* $Horde: fima/lib/UI/VarRenderer/fima.php,v 1.0 2008/06/19 20:58:27 trt Exp $
* @package Fima
*/
-/** Horde_UI_VarRenderer */
-require_once 'Horde/UI/VarRenderer.php';
-
-/** Horde_UI_VarRenderer_html */
-require_once 'Horde/UI/VarRenderer/html.php';
-
/**
- * The Horde_UI_VarRenderer_fima class provides additional methods for
+ * The Horde_Ui_VarRenderer_fima class provides additional methods for
* rendering Fima specific Horde_Form_Type fields.
*
* @author Thomas Trethan <thomas@trethan.net>
* @package Fima
*/
-class Horde_UI_VarRenderer_fima extends Horde_UI_VarRenderer_html {
+class Horde_Ui_VarRenderer_Fima extends Horde_Ui_VarRenderer_Html {
- function _renderVarInput_fima_dspostings($form, &$var, &$vars)
+ protected function _renderVarInput_fima_dspostings($form, &$var, &$vars)
{
$varname = @htmlspecialchars($var->getVarName(), ENT_QUOTES, $this->_charset);
$value = $var->getValue($vars);
. Fima::buildAccountWidget($varname . '[account]', $value['account'], 'onchange="document.getElementsByName(\'dspostings[type]\')[1].checked = true;"', false, false, array(array('type', $vars->get('type'))));
}
- function _renderVarInput_fima_dssubaccounts($form, &$var, &$vars)
+ protected function _renderVarInput_fima_dssubaccounts($form, &$var, &$vars)
{
$varname = @htmlspecialchars($var->getVarName(), ENT_QUOTES, $this->_charset);
$value = $var->getValue($vars);
/* Generate tabs. */
if ($pageOb['mode'] != 'transfer' && !$print_view) {
- require_once 'Horde/UI/Tabs.php';
- $tabs = new Horde_UI_Tabs('postingtype', $vars);
+ $tabs = new Horde_Ui_Tabs('postingtype', $vars);
$postingtypes = Fima::getPostingTypes();
foreach ($postingtypes as $typeValue => $typeLabel) {
$tabs->addTab($typeLabel, $pageOb['url'], $typeValue);
$auth = Horde_Auth::singleton($conf['auth']['driver']);
$vars = Horde_Variables::getDefaultVariables();
-$tabs = new Horde_UI_Tabs('what', $vars);
+$tabs = new Horde_Ui_Tabs('what', $vars);
$tabs->addTab(_("Login"), Horde::applicationUrl('login.php'), 'login');
if ($conf['signup']['allow'] === true && $auth->hasCapability('add')) {
}
$vars = Horde_Variables::getDefaultVariables();
-$pager = new Horde_UI_Pager('page',
+$pager = new Horde_Ui_Pager('page',
$vars, array('num' => $count,
'url' => 'activity.php',
'perpage' => $perpage));
}
$vars = Horde_Variables::getDefaultVariables();
-$pager = new Horde_UI_Pager('page',
+$pager = new Horde_Ui_Pager('page',
$vars, array('num' => $count,
'url' => 'birthday.php',
'perpage' => $perpage));
}
$vars = Horde_Variables::getDefaultVariables();
-$tabs = new Horde_UI_Tabs('what', $vars);
+$tabs = new Horde_Ui_Tabs('what', $vars);
$tabs->addTab(_("Edit my profile"), Horde::applicationUrl('edit/edit.php'), 'edit');
$tabs->addTab(_("Privacy"), Horde::applicationUrl('edit/privacy.php'), 'privacy');
$tabs->addTab(_("Blacklist"), Horde::applicationUrl('edit/friends/blacklist.php'), 'blacklist');
}
$vars = Horde_Variables::getDefaultVariables();
-$pager = new Horde_UI_Pager('page',
+$pager = new Horde_Ui_Pager('page',
$vars, array('num' => $count,
'url' => 'list.php',
'perpage' => $perpage));
}
$vars = Horde_Variables::getDefaultVariables();
-$pager = new Horde_UI_Pager('page',
+$pager = new Horde_Ui_Pager('page',
$vars, array('num' => $count,
'url' => 'new.php',
'perpage' => $perpage));
}
$vars = Horde_Variables::getDefaultVariables();
-$pager = new Horde_UI_Pager('page',
+$pager = new Horde_Ui_Pager('page',
$vars, array('num' => $count,
'url' => 'online.php',
'perpage' => $perpage));
}
$vars = Horde_Variables::getDefaultVariables();
-$pager = new Horde_UI_Pager('page',
+$pager = new Horde_Ui_Pager('page',
$vars, array('num' => $count,
'url' => 'popularity.php',
'perpage' => $perpage));
}
$vars = Horde_Variables::getDefaultVariables();
- $pager = new Horde_UI_Pager('page',
+ $pager = new Horde_Ui_Pager('page',
$vars, array('num' => $count,
'url' => 'search.php',
'perpage' => $perpage));
$vars = Horde_Variables::getDefaultVariables();
$vars->set('page', $page);
- $pager = new Horde_UI_Pager('page', $vars, array('num' => $total, 'url' => $refresh_url, 'page_count' => 10, 'perpage' => $perpage));
+ $pager = new Horde_Ui_Pager('page', $vars, array('num' => $total, 'url' => $refresh_url, 'page_count' => 10, 'perpage' => $perpage));
$page_caption = $pager->render();
}
}
$t->set('f_fields', $f_fields);
-Horde_UI_JsCalendar::init();
+Horde_Ui_JsCalendar::init();
/* Gettext strings for this page. */
$gettext_strings = array(
/* Javascript data for this page. */
$js_data = array(
- 'months' => Horde_UI_JsCalendar::months(),
+ 'months' => Horde_Ui_JsCalendar::months(),
'searchmbox' => $search_mailbox,
'types' => $types
);
* @author Jan Schneider <jan@horde.org>
* @package Ingo
*/
-class Horde_UI_VarRenderer_ingo extends Horde_UI_VarRenderer_html
+class Horde_Ui_VarRenderer_Ingo extends Horde_Ui_VarRenderer_Html
{
- function _renderVarInput_ingo_folders(&$form, &$var, &$vars)
+ protected function _renderVarInput_ingo_folders(&$form, &$var, &$vars)
{
return Ingo::flistSelect($var->type->getFolder(), 'horde_form', 'folder');
}
/**
* Dummy class to hold the select box created by {@link Ingo::flistSelect()}.
*
- * @see Horde_UI_VarRenderer_ingo
+ * @see Horde_Ui_VarRenderer_Ingo
* @see Ingo::flistSelect()
*/
class Horde_Form_Type_ingo_folders extends Horde_Form_Type {
$params);
foreach ($this->objectlist as $uid => $info) {
$this->objectlist[$uid]['edit_url'] = Horde::link(
- $this->urlFor(array('controller' => 'object',
+ $this->urlFor(array('controller' => 'object',
'action' => 'edit',
'id' => $uid)),
_("Edit")) . Horde::img('edit.png', _("Edit"), '',
$GLOBALS['registry']->getImageDir('horde'))
. '</a>';
$this->objectlist[$uid]['delete_url'] = Horde::link(
- $this->urlFor(array('controller' => 'object',
+ $this->urlFor(array('controller' => 'object',
'action' => 'delete',
'id' => $uid)),
_("Delete")) . Horde::img('delete.png', _("Delete"), '',
. '</a>';
if ($this->koward->hasAccess('object/view/' . $this->object_type, Koward::PERM_READ)) {
$this->objectlist[$uid]['view_url'] = Horde::link(
- $this->urlFor(array('controller' => 'object',
+ $this->urlFor(array('controller' => 'object',
'action' => 'view',
'id' => $uid)), _("View"));
}
}
}
- $this->tabs = new Horde_UI_Tabs(null, Horde_Variables::getDefaultVariables());
+ $this->tabs = new Horde_Ui_Tabs(null, Horde_Variables::getDefaultVariables());
foreach ($this->koward->objects as $key => $configuration) {
if (!$this->koward->hasAccess($this->getPermissionId() . '/' . $key)) {
continue;
}
$this->tabs->addTab($configuration['list_label'],
- $this->urlFor(array('controller' => 'object',
+ $this->urlFor(array('controller' => 'object',
'action' => 'listall',
'id' => $key)),
$key);
'action' => 'delete',
'id' => $this->params->id,
'token' => $this->koward->getRequestToken('object.delete')));
- $this->return_url = $this->urlFor(array('controller' => 'object',
+ $this->return_url = $this->urlFor(array('controller' => 'object',
'action' => 'listall'));
if (!empty($this->params->token)) {
$this->koward->notification->push(_("Failed to delete the object."),
'horde.error');
}
- header('Location: ' . $this->urlFor(array('controller' => 'object',
+ header('Location: ' . $this->urlFor(array('controller' => 'object',
'action' => 'listall')));
exit;
}
try {
$this->actions = new Koward_Form_Actions($this->object, $buttons);
- $this->post = $this->urlFor(array('controller' => 'object',
+ $this->post = $this->urlFor(array('controller' => 'object',
'action' => 'view',
'id' => $this->params->id));
$this->koward->notification->push(_("Failed to delete the object."),
'horde.error');
}
- header('Location: ' . $this->urlFor(array('controller' => 'object',
+ header('Location: ' . $this->urlFor(array('controller' => 'object',
'action' => 'view',
'id' => $this->params->id)));
exit;
'id' => $this->params->id,
'action' => $action,
'token' => $this->koward->getRequestToken('object.' . $action)));
- $this->return_url = $this->urlFor(array('controller' => 'object',
+ $this->return_url = $this->urlFor(array('controller' => 'object',
'action' => 'view',
'id' => $this->params->id));
}
$this->form = new Koward_Form_Object($this->vars, $this->object,
array('title' => _("View object")));
$this->edit = Horde::link(
- $this->urlFor(array('controller' => 'object',
+ $this->urlFor(array('controller' => 'object',
'action' => 'edit',
'id' => $this->params->id)),
_("Edit")) . Horde::img('edit.png', _("Edit"), '',
$object = $this->form->execute();
if (!empty($object)) {
- header('Location: ' . $this->urlFor(array('controller' => 'object',
+ header('Location: ' . $this->urlFor(array('controller' => 'object',
'action' => 'view',
'id' => $object->get(Horde_Kolab_Server_Object::ATTRIBUTE_UID))));
exit;
$this->koward->notification->push($e->getMessage(), 'horde.error');
}
- $this->post = $this->urlFor(array('controller' => $this->params['controller'],
+ $this->post = $this->urlFor(array('controller' => $this->params['controller'],
'action' => $this->params['action'],
'id' => $this->params->id));
$uids = array_keys($this->objectlist);
if (count($uids) == 1) {
- header('Location: ' . $this->urlFor(array('controller' => 'object',
+ header('Location: ' . $this->urlFor(array('controller' => 'object',
'action' => 'view',
'id' => $uids[0])));
exit;
} else {
foreach ($this->objectlist as $uid => $info) {
$this->objectlist[$uid]['edit_url'] = Horde::link(
- $this->urlFor(array('controller' => 'object',
+ $this->urlFor(array('controller' => 'object',
'action' => 'edit',
'id' => $uid)),
_("Edit")) . Horde::img('edit.png', _("Edit"), '',
$GLOBALS['registry']->getImageDir('horde'))
. '</a>';
$this->objectlist[$uid]['delete_url'] = Horde::link(
- $this->urlFor(array('controller' => 'object',
+ $this->urlFor(array('controller' => 'object',
'action' => 'delete',
'id' => $uid)),
_("Delete")) . Horde::img('delete.png', _("Delete"), '',
$GLOBALS['registry']->getImageDir('horde'))
. '</a>';
$this->objectlist[$uid]['view_url'] = Horde::link(
- $this->urlFor(array('controller' => 'object',
+ $this->urlFor(array('controller' => 'object',
'action' => 'view',
'id' => $uid)), _("View"));
$this->objectlist[$uid]['__id'] = $uid;
$this->koward->notification->push($e->getMessage(), 'horde.error');
}
- $this->post = $this->urlFor(array('controller' => 'object',
+ $this->post = $this->urlFor(array('controller' => 'object',
'action' => 'search'));
$this->render();
<channel>pear.horde.org</channel>
</package>
<package>
- <name>Horde_UI</name>
+ <name>Ui</name>
<channel>pear.horde.org</channel>
</package>
<package>
$ident = &Identity::singleton();
$identities = $ident->getAll('id');
$vars = Horde_Variables::getDefaultVariables();
-$tabs = new Horde_UI_Tabs(null, $vars);
+$tabs = new Horde_Ui_Tabs(null, $vars);
$tabs->addTab(_("Day"), 'javascript:switchView(\'Day\')', 'Day');
$tabs->addTab(_("Work Week"), 'javascript:switchView(\'Workweek\')', 'Workweek');
$tabs->addTab(_("Week"), 'javascript:switchView(\'Week\')', 'Week');
/**
* The VarRenderer class to use for printing select elements.
*
- * @var Horde_UI_VarRenderer
+ * @var Horde_Ui_VarRenderer
*/
private $_varRenderer;
}
if (!$this->_varRenderer) {
- $this->_varRenderer = Horde_UI_VarRenderer::factory('html');
+ $this->_varRenderer = Horde_Ui_VarRenderer::factory('Html');
}
return '<label for="' . $this->_formIDEncode($property) . '" class="hidden">' . $label . '</label>' .
$date = self::currentDate();
$date_stamp = $date->dateString();
- $tabs = new Horde_UI_Tabs('view', Horde_Variables::getDefaultVariables());
+ $tabs = new Horde_Ui_Tabs('view', Horde_Variables::getDefaultVariables());
$tabs->preserve('date', $date_stamp);
$tabs->addTab(_("Day"), Horde::applicationUrl('day.php'),
return;
}
- $tabs = new Horde_UI_Tabs('event', Horde_Variables::getDefaultVariables());
+ $tabs = new Horde_Ui_Tabs('event', Horde_Variables::getDefaultVariables());
$date = self::currentDate();
$tabs->preserve('datetime', $date->dateString());
<?php
/**
- * This file contains all Horde_UI_VarRenderer extensions required for editing
+ * This file contains all Horde_Ui_VarRenderer extensions required for editing
* tasks.
*
* See the enclosed file COPYING for license information (GPL). If you
* @package Nag
*/
-/** Horde_UI_VarRenderer */
-require_once 'Horde/UI/VarRenderer.php';
-
-/** Horde_UI_VarRenderer_html */
-require_once 'Horde/UI/VarRenderer/html.php';
-
/**
- * The Horde_UI_VarRenderer_nag class provides additional methods for
+ * The Horde_Ui_VarRenderer_nag class provides additional methods for
* rendering Horde_Form_Type_alarm fields.
*
* @todo Clean this hack up with Horde_Form/H4
* @author Jan Schneider <jan@horde.org>
* @package Nag
*/
-class Horde_UI_VarRenderer_nag extends Horde_UI_VarRenderer_html {
+class Horde_Ui_VarRenderer_nag extends Horde_Ui_VarRenderer_html {
- function _renderVarInput_nag_method($form, &$var, &$vars)
+ protected function _renderVarInput_nag_method($form, &$var, &$vars)
{
$varname = @htmlspecialchars($var->getVarName(), ENT_QUOTES, $this->_charset);
$varvalue = $var->getValue($vars);
}
}
- function _renderVarInput_nag_start($form, &$var, &$vars)
+ protected function _renderVarInput_nag_start($form, &$var, &$vars)
{
$var->type->getInfo($vars, $var, $task_start);
if ($task_start == 0) {
<?php
}
- function _renderVarInput_nag_due($form, &$var, &$vars)
+ protected function _renderVarInput_nag_due($form, &$var, &$vars)
{
$var->type->getInfo($vars, $var, $task_due);
if ($task_due == 0) {
<?php
}
- function _renderVarInput_nag_alarm($form, &$var, &$vars)
+ protected function _renderVarInput_nag_alarm($form, &$var, &$vars)
{
$varname = @htmlspecialchars($var->getVarName(), ENT_QUOTES, $this->_charset);
$value = $var->getValue($vars);
*
* @return string The HTML <select> widget.
*/
- function buildDayWidget($name, $default = null, $params = null)
+ public function buildDayWidget($name, $default = null, $params = null)
{
$id = str_replace(array('[', ']'), array('_', ''), $name);
*
* @return string The HTML <select> widget.
*/
- function buildMonthWidget($name, $default = null, $params = null)
+ public function buildMonthWidget($name, $default = null, $params = null)
{
$id = str_replace(array('[', ']'), array('_', ''), $name);
*
* @return string The HTML <select> widget.
*/
- function buildYearWidget($name, $years, $default = null, $params = null)
+ public function buildYearWidget($name, $years, $default = null, $params = null)
{
$curr_year = date('Y');
$yearlist = array();
*
* @return string The HTML <select> widget.
*/
- function buildHourWidget($name, $default = null, $params = null)
+ public function buildHourWidget($name, $default = null, $params = null)
{
global $prefs;
if (!$prefs->getValue('twentyFour')) {
return $html . '</select>';
}
- function buildAmPmWidget($name, $default = 'am', $amParams = null, $pmParams = null)
+ public function buildAmPmWidget($name, $default = 'am', $amParams = null, $pmParams = null)
{
global $prefs;
if ($prefs->getValue('twentyFour')) {
*
* @return string The HTML <select> widget.
*/
- function buildMinuteWidget($name, $increment = 1, $default = null,
+ public function buildMinuteWidget($name, $increment = 1, $default = null,
$params = null)
{
$html = '<select id="' . $name . '" name="' . $name. '"';
if (!$prefs->isLocked('show_completed')) {
$listurl = Horde::applicationUrl('list.php');
- $tabs = new Horde_UI_Tabs('show_completed', $vars);
+ $tabs = new Horde_Ui_Tabs('show_completed', $vars);
$tabs->addTab(_("_All tasks"), $listurl, Nag::VIEW_ALL);
$tabs->addTab(_("Incom_plete tasks"), $listurl, Nag::VIEW_INCOMPLETE);
$tabs->addTab(_("_Future tasks"), $listurl, Nag::VIEW_FUTURE);
}
$vars = Horde_Variables::getDefaultVariables();
-$tabs = new Horde_UI_Tabs('admin', $vars);
+$tabs = new Horde_Ui_Tabs('admin', $vars);
$tabs->addTab(_("Sources"), Horde::applicationUrl('admin/sources/index.php'), 'sources');
$tabs->addTab(_("Categories"), Horde::applicationUrl('admin/categories/index.php'), 'categories');
*/
public function getPager($info, $count, $url)
{
- $pager = new Horde_UI_Pager('news_page',
+ $pager = new Horde_Ui_Pager('news_page',
Horde_Variables::getDefaultVariables(),
array('num' => $count,
'url' => $url,
*/
static public function getPager($info, $count, $url)
{
- $pager = new Horde_UI_Pager('news_page',
+ $pager = new Horde_Ui_Pager('news_page',
Horde_Variables::getDefaultVariables(),
array('num' => $count,
'url' => $url,
* @author Duck <duck@obala.net>
* @package News
*/
-class News_TagCloud extends Horde_UI_TagCloud {
+class News_TagCloud extends Horde_Ui_TagCloud {
/**
* create a Element of HTML part
* @param array $tag
* @param string $type css class of time line param
* @param int $fontsize
- * @access private
*/
- function _createHTMLTag($tag, $type, $fontsize)
+ protected function _createHTMLTag($tag, $type, $fontsize)
{
return sprintf("<a class=\"%s\" href=\"%s\">%s</a>\n",
$type,
*
* @return string
* @param string $html
- * @access private
*/
- function _wrapDiv($html)
+ protected function _wrapDiv($html)
{
return $html;
}
// Get tabs.
$url = Horde_Util::addParameter(Horde::applicationUrl('entry.php'), 'entry', $entry['object_id']);
-$tabs = new Horde_UI_Tabs('view', $vars);
+$tabs = new Horde_Ui_Tabs('view', $vars);
$tabs->addTab(_("View"), $url, array('tabname' => 'Entry', 'id' => 'tabEntry'));
if ($share->hasPermission(Horde_Auth::getAuth(), PERMS_EDIT)) {
$tabs->addTab(_("Edit"), $url, array('tabname' => 'EditEntry', 'id' => 'tabEditEntry'));
// Get tabs.
$url = $contact->url();
-$tabs = new Horde_UI_Tabs('view', $vars);
+$tabs = new Horde_Ui_Tabs('view', $vars);
$tabs->addTab(_("_View"), $url,
array('tabname' => 'Contact', 'id' => 'tabContact', 'onclick' => 'return ShowTab(\'Contact\');'));
if ($contact->hasPermission(PERMS_EDIT)) {
[jan] Add and fix Oracle-specific SQL scripts.
[jan] Add Croatian translation (Matej Vela <matej.vela@carnet.hr>,
Iva Rumora <iva.rumora@zg.t-com.hr>).
-[mjr] Fix permission checking for virtual address books.
+[mjr] Fix permission checking for virtual address books.
[jan] Update deleted attributes during synchronization (lst_hoe02@kwsoft.de,
Request #6658).
[jan] Support X-ANNIVERSARY, X-CHILDREN, and X-SPOUSE vCard fields
/**
* The HTML renderer.
*
- * @var Horde_UI_VarRenderer_html
+ * @var Horde_Ui_VarRenderer_Html
*/
var $renderer;
$this->list = &$list;
$this->setControls($controls);
- $this->renderer = Horde_UI_VarRenderer::factory('html');
+ $this->renderer = Horde_Ui_VarRenderer::factory('Html');
$this->vars = new Horde_Variables();
}
$viewurl = urldecode(Horde_Util::addParameter('search.php', $params));
$vars = Horde_Variables::getDefaultVariables();
- $pager = new Horde_UI_Pager('page', $vars,
+ $pager = new Horde_Ui_Pager('page', $vars,
array('num' => $numitem,
'url' => $viewurl,
'page_limit' => $maxpage,
require_once 'Horde/UI/Tabs.php';
$sUrl = Horde::applicationUrl('search.php');
$vars = Horde_Variables::getDefaultVariables();
-$tabs = new Horde_UI_Tabs('search_mode', $vars);
+$tabs = new Horde_Ui_Tabs('search_mode', $vars);
$tabs->addTab(_("Basic Search"), $sUrl, 'basic');
$tabs->addTab(_("Advanced Search"), $sUrl, 'advanced');
echo $tabs->render($_SESSION['turba']['search_mode']);
/**
* Create tabs to navigate the user manager area
*
- * return object Horde_UI_Tabs object
+ * return object Horde_Ui_Tabs object
*/
function getUserMgrTabs(&$vars)
{
$url = Horde::applicationUrl('users/index.php');
- $tabs = &new Horde_UI_Tabs('section', $vars);
+ $tabs = &new Horde_Ui_Tabs('section', $vars);
foreach (Vilma::getUserMgrTypes() as $section => $desc) {
$tabs->addTab($desc['plural'], $url, $section);
}
$perpage = $prefs->getValue('addresses_perpage');
$url = 'users/index.php';
$url = Horde_Util::addParameter($url, 'section', $section);
-$pager = new Horde_UI_Pager('page',
+$pager = new Horde_Ui_Pager('page',
Horde_Variables::getDefaultVariables(),
array('num' => count($addresses),
'url' => $url,