Cleanup for #3010 - added spaces, thanks to @annando .
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
46d383369c
commit
448c5aa694
4 changed files with 25 additions and 25 deletions
|
@ -235,7 +235,7 @@ function frio_remote_nav($a,&$nav) {
|
|||
$nav['remote'] = t("Visitor");
|
||||
}
|
||||
|
||||
if(dbm::is_result($r)){
|
||||
if (dbm::is_result($r)){
|
||||
$nav['userinfo'] = array(
|
||||
'icon' => (dbm::is_result($r) ? $r[0]['photo'] : "images/person-48.jpg"),
|
||||
'name' => $r[0]['name'],
|
||||
|
@ -299,7 +299,7 @@ function frio_acl_lookup($a, &$results) {
|
|||
$r = q("SELECT COUNT(*) AS `total` FROM `contact`
|
||||
WHERE `uid` = %d AND `self` = 0 AND `pending` = 0 $sql_extra $sql_extra2 ",
|
||||
intval($_SESSION['uid']));
|
||||
if(dbm::is_result($r)) {
|
||||
if (dbm::is_result($r)) {
|
||||
$total = $r[0]["total"];
|
||||
}
|
||||
|
||||
|
@ -311,7 +311,7 @@ function frio_acl_lookup($a, &$results) {
|
|||
|
||||
$contacts = array();
|
||||
|
||||
if(dbm::is_result($r)) {
|
||||
if (dbm::is_result($r)) {
|
||||
foreach($r as $rr) {
|
||||
$contacts[] = _contact_detail_for_template($rr);
|
||||
}
|
||||
|
|
|
@ -147,7 +147,7 @@ function vier_community_info() {
|
|||
$r = suggestion_query(local_user(), 0, 9);
|
||||
|
||||
$tpl = get_markup_template('ch_directory_item.tpl');
|
||||
if(dbm::is_result($r)) {
|
||||
if (dbm::is_result($r)) {
|
||||
|
||||
$aside['$comunity_profiles_title'] = t('Community Profiles');
|
||||
$aside['$comunity_profiles_items'] = array();
|
||||
|
@ -177,7 +177,7 @@ function vier_community_info() {
|
|||
WHERE `is-default` = 1 $publish AND `user`.`blocked` = 0 $order LIMIT %d , %d ",
|
||||
0, 9);
|
||||
|
||||
if(dbm::is_result($r)) {
|
||||
if (dbm::is_result($r)) {
|
||||
|
||||
$aside['$lastusers_title'] = t('Last users');
|
||||
$aside['$lastusers_items'] = array();
|
||||
|
@ -368,7 +368,7 @@ function vier_community_info() {
|
|||
|
||||
$tpl = get_markup_template('ch_connectors.tpl');
|
||||
|
||||
if(dbm::is_result($r)) {
|
||||
if (dbm::is_result($r)) {
|
||||
|
||||
$con_services = array();
|
||||
$con_services['title'] = Array("", t('Connect Services'), "", "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue