Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
hubzilla
core
Commits
6c92a240
Commit
6c92a240
authored
Mar 16, 2017
by
Zot
Committed by
Mario
Mar 29, 2017
Browse files
remove include/widgets.php
parent
0bad26e1
Changes
7
Hide whitespace changes
Inline
Side-by-side
Zotlabs/Module/Connections.php
View file @
6c92a240
...
...
@@ -5,10 +5,6 @@ namespace Zotlabs\Module;
require_once
(
'include/socgraph.php'
);
require_once
(
'include/selectors.php'
);
require_once
(
'include/group.php'
);
require_once
(
'include/contact_widgets.php'
);
require_once
(
'include/zot.php'
);
require_once
(
'include/widgets.php'
);
class
Connections
extends
\
Zotlabs\Web\Controller
{
...
...
Zotlabs/Module/Connedit.php
View file @
6c92a240
...
...
@@ -11,9 +11,6 @@ namespace Zotlabs\Module;
require_once
(
'include/socgraph.php'
);
require_once
(
'include/selectors.php'
);
require_once
(
'include/group.php'
);
require_once
(
'include/contact_widgets.php'
);
require_once
(
'include/zot.php'
);
require_once
(
'include/widgets.php'
);
require_once
(
'include/photos.php'
);
...
...
Zotlabs/Module/Directory.php
View file @
6c92a240
...
...
@@ -4,7 +4,6 @@ namespace Zotlabs\Module;
require_once
(
'include/socgraph.php'
);
require_once
(
'include/dir_fns.php'
);
require_once
(
'include/widgets.php'
);
require_once
(
'include/bbcode.php'
);
...
...
Zotlabs/Module/Suggest.php
View file @
6c92a240
...
...
@@ -3,8 +3,6 @@ namespace Zotlabs\Module;
require_once
(
'include/socgraph.php'
);
require_once
(
'include/contact_widgets.php'
);
require_once
(
'include/widgets.php'
);
class
Suggest
extends
\
Zotlabs\Web\Controller
{
...
...
@@ -23,7 +21,7 @@ class Suggest extends \Zotlabs\Web\Controller {
}
function
get
()
{
function
get
()
{
$o
=
''
;
if
(
!
local_channel
())
{
...
...
Zotlabs/Render/Comanche.php
View file @
6c92a240
...
...
@@ -4,8 +4,6 @@ namespace Zotlabs\Render;
require_once
(
'include/security.php'
);
require_once
(
'include/menu.php'
);
require_once
(
'include/widgets.php'
);
class
Comanche
{
...
...
include/channel.php
View file @
6c92a240
...
...
@@ -1193,11 +1193,6 @@ function profile_sidebar($profile, $block = 0, $show_connect = true, $zcard = fa
else
$tpl
=
get_markup_template
(
'profile_vcard.tpl'
);
require_once
(
'include/widgets.php'
);
// if(! feature_enabled($profile['uid'],'hide_rating'))
$z
=
widget_rating
(
array
(
'target'
=>
$profile
[
'channel_hash'
]));
$o
.
=
replace_macros
(
$tpl
,
array
(
'$zcard'
=>
$zcard
,
'$profile'
=>
$profile
,
...
...
@@ -1211,7 +1206,7 @@ function profile_sidebar($profile, $block = 0, $show_connect = true, $zcard = fa
'$chanmenu'
=>
$channel_menu
,
'$diaspora'
=>
$diaspora
,
'$reddress'
=>
$reddress
,
'$rating'
=>
$z
,
'$rating'
=>
''
,
'$contact_block'
=>
$contact_block
,
'$editmenu'
=>
profile_edit_menu
(
$profile
[
'uid'
])
));
...
...
include/widgets.php
deleted
100644 → 0
View file @
0bad26e1
<?php
/**
* @file include/widgets.php
*
* @brief This file may contain some widgets.
*/
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment