X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fvier%2Ftheme.php;h=a35afa719bd5cd3207cef574f26ab8a756147c59;hb=21accc0a5373c981fe25b7b5d5542d85dce606dc;hp=12c588a2447958fbb16ebdffc4bc104734823e72;hpb=30a77cc10a21728efdca48e6cd3cb04586b1df23;p=friendica.git
diff --git a/view/theme/vier/theme.php b/view/theme/vier/theme.php
index 12c588a244..a35afa719b 100644
--- a/view/theme/vier/theme.php
+++ b/view/theme/vier/theme.php
@@ -29,44 +29,43 @@ function vier_init(App $a) {
$a->page['htmlhead'] .= ''."\n";
$a->page['htmlhead'] .= ''."\n";
}
- // deactivated since it doesn't work with desktop browsers at the moment (To-Do)
- //$a->page['htmlhead'] .= ''."\n";
+ /// @todo deactivated since it doesn't work with desktop browsers at the moment
+ //$a->page['htmlhead'] .= ''."\n";
-$a->page['htmlhead'] .= <<< EOT
+ $a->page['htmlhead'] .= <<< EOT
EOT;
-
-if ($a->is_mobile || $a->is_tablet){
- $a->page['htmlhead'] .= <<< EOT
+ if ($a->is_mobile || $a->is_tablet){
+ $a->page['htmlhead'] .= <<< EOT
EOT;
-}
-
+ }
// Hide the left menu bar
if (($a->page['aside'] == "") AND in_array($a->argv[0], array("community", "events", "help", "manage", "notifications",
- "probe", "webfinger", "login", "invite", "credits")))
+ "probe", "webfinger", "login", "invite", "credits"))) {
$a->page['htmlhead'] .= "";
+ }
}
function get_vier_config($key, $default = false, $admin = false) {
@@ -142,7 +136,7 @@ function vier_community_info() {
$aside['$url'] = $url;
// comunity_profiles
- if($show_profiles) {
+ if ($show_profiles) {
$r = suggestion_query(local_user(), 0, 9);
@@ -166,7 +160,7 @@ function vier_community_info() {
}
// last 9 users
- if($show_lastusers) {
+ if ($show_lastusers) {
$publish = (get_config('system','publish_all') ? '' : " AND `publish` = 1 ");
$order = " ORDER BY `register_date` DESC ";
@@ -215,11 +209,11 @@ function vier_community_info() {
}
//Community_Pages at right_aside
- if($show_pages AND local_user()) {
+ if ($show_pages AND local_user()) {
require_once('include/ForumManager.php');
- if(x($_GET['cid']) && intval($_GET['cid']) != 0)
+ if (x($_GET['cid']) && intval($_GET['cid']) != 0)
$cid = $_GET['cid'];
//sort by last updated item
@@ -229,7 +223,7 @@ function vier_community_info() {
$total = count($contacts);
$visible_forums = 10;
- if(count($contacts)) {
+ if (count($contacts)) {
$id = 0;
@@ -267,7 +261,7 @@ function vier_community_info() {
//END Community Page
//helpers
- if($show_helpers) {
+ if ($show_helpers) {
$r = array();
$helperlist = get_config("vier", "helperlist");