summaryrefslogtreecommitdiffstats
path: root/app/view
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2016-06-11 00:51:46 -0400
committerMalf Furious <m@lfurio.us>2016-06-11 00:51:46 -0400
commit112a510bb7ba358fd4195b5b2f3c8203ab4fb91d (patch)
tree717435492a507a21d3954972d7f31440cb06bfb5 /app/view
parente2328c50f6fd101b4eaee410afb23290965b45b9 (diff)
downloadscrott-112a510bb7ba358fd4195b5b2f3c8203ab4fb91d.tar.gz
scrott-112a510bb7ba358fd4195b5b2f3c8203ab4fb91d.zip
Rename variable
In the Obj MVC, rename group in the model to obj. This will help with referencing the active object from template views without knowing what type of object it is.
Diffstat (limited to 'app/view')
-rw-r--r--app/view/obj/group.view.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/view/obj/group.view.php b/app/view/obj/group.view.php
index dde4df1..c75995b 100644
--- a/app/view/obj/group.view.php
+++ b/app/view/obj/group.view.php
@@ -17,7 +17,7 @@
<html lang="en">
<head>
<?php include "view/common/head.view.php"; ?>
- <title>Scrott - <?=$mod->group->name?></title>
+ <title>Scrott - <?=$mod->obj->name?></title>
</head>
<body>
@@ -25,7 +25,7 @@
<div class="container">
<div class="well well-lg">
- <h1><?=$mod->group->name?></h1>
+ <h1><?=$mod->obj->name?></h1>
<img src="<?=$mod->owner->getHeadImage()?>" alt="<?=$mod->owner->getDisplayName()?>" class="img-circle" height="50" />
<?php if (count($mod->members)) { ?>