?> </th> </tr> </thead> <tbody> <?php foreach ($this->UserData->Format('Text')->Result() as $User) { ?> <tr> <td><?php echo $this->Form->CheckBox('Applicants[]', '', array('value' => $User->UserID)); ?> </td> <td class="Alt"> <?php printf(T('<strong>%1$s</strong> (%2$s) %3$s'), $User->Name, Gdn_Format::Email($User->Email), Gdn_Format::Date($User->DateInserted)); $this->EventArguments['User'] = $User; $this->FireEvent("ApplicantInfo"); echo '<blockquote>' . $User->DiscoveryText . '</blockquote>'; $this->EventArguments['User'] = $User; $this->FireEvent("AppendApplicantInfo"); ?> </td> <td><?php echo Anchor(T('Approve'), '/user/approve/' . $User->UserID . '/' . $Session->TransientKey()) . ', ' . Anchor(T('Decline'), '/user/decline/' . $User->UserID . '/' . $Session->TransientKey()); ?> </td> </tr> <?php } ?>
echo $User->UserID; ?> "> <!-- <td class="CheckboxCell"><input type="checkbox" name="LogID[]" value="<?php echo $User->UserID; ?> " /></td>--> <td><strong><?php echo UserAnchor($User, 'Username'); ?> </strong></td> <?php if ($ViewPersonalInfo) { ?> <td class="Alt"><?php echo Gdn_Format::Email($User->Email); ?> </td> <?php } ?> <td style="max-width: 200px;"> <?php $Roles = GetValue('Roles', $User, array()); $RolesString = ''; if ($User->Banned && !in_array('Banned', $Roles)) { $RolesString = T('Banned'); } if ($User->Admin > 1) { $RolesString = ConcatSep(', ', $RolesString, T('System')); }
$this->FireEvent('BeforeInfo'); if (Gdn::Config('Garden.Profile.ShowAbout')) { ?> <div class="Info About"> <h3><?php echo T('Basic Information'); ?> </h3> <dl> <?php if ($this->User->Banned) { echo '<dt class="Value"><span class="Tag Tag-Banned">' . T('Banned') . '</span></dt>'; } if ($this->User->ShowEmail == 1 || $Session->CheckPermission('Garden.Registration.Manage')) { echo '<dt>' . T('Email') . '</dt> <dd>' . Gdn_Format::Email($this->User->Email) . '</dd>'; } ?> <dt class="Label Joined"><?php echo T('Joined'); ?> <dt> <dd class="Value Joined"><?php echo Gdn_Format::Date($this->User->DateFirstVisit); ?> </dd> <dt class="Label Visits"><?php echo T('Visits'); ?> <dt> <dd class="Value Visits"><?php
<?php if (!defined('APPLICATION')) exit(); $Session = Gdn::Session(); if (Gdn::Config('Garden.Profile.ShowAbout')) { ?> <div class="Box About"> <h4><?php echo T('About'); ?></h4> <dl> <dt class="Name"><?php echo T('Username'); ?></dt> <dd class="Name"><?php echo $this->User->Name; ?></dd> <?php if ($this->User->ShowEmail == 1 || $Session->CheckPermission('Garden.Registration.Manage')) { echo '<dt class="Email">'.T('Email').'</dt> <dd class="Email">'.Gdn_Format::Email($this->User->Email).'</dd>'; } ?> <dt class="Joined"><?php echo T('Joined'); ?></dt> <dd class="Joined"><?php echo Gdn_Format::Date($this->User->DateFirstVisit); ?></dd> <dt class="Visits"><?php echo T('Visits'); ?></dt> <dd class="Visits"><?php echo number_format($this->User->CountVisits); ?></dd> <dt class="LastActive"><?php echo T('Last Active'); ?></dt> <dd class="LastActive"><?php echo Gdn_Format::Date($this->User->DateLastActive); ?></dd> <dt class="Roles"><?php echo T('Roles'); ?></dt> <dd class="Roles"><?php echo implode(', ', $this->Roles); ?></dd> <?php if ($this->User->InviteUserID > 0) { $Inviter = new stdClass(); $Inviter->UserID = $this->User->InviteUserID; $Inviter->Name = $this->User->InviteName; echo '<dt class="Invited">'.T('Invited by').'</dt> <dd class="Invited">'.UserAnchor($Inviter).'</dd>'; }
<p>Our experienced service professionals can customize and implement your Vanilla installation.</p> </div> <div class="Service"> <h2>VanillaForums.com Installation</h2> <?php echo Img('applications/vforg/design/images/services-scripts.png'); ?> <p>We configure a hosted forum for you at <a href="http://vanillaforums.com">VanillaForums.com</a>. Includes a default Vanilla installation and any of our approved addons.</p> </div> <div class="Service" style="margin: 0 18px;"> <h2>Custom Development</h2> <?php echo Img('applications/vforg/design/images/services-stagescreen.png'); ?> <p>Includes a default Vanilla installation & custom built addons.</p> </div> <div class="Service"> <h2>Remote Installation</h2> <?php echo Img('applications/vforg/design/images/services-audience.png'); ?> <p>We no longer support remote installations. <a href="http://vanillaforums.org/docs/CustomDevelopment">Contact our development partners</a> for help with your self-hosted installations.</p> </div> <div style="clear: both; font-size: 14px; text-align: center; padding: 20px 0 60px;"> <strong>Contact sales for more information: <?php echo Gdn_Format::Email('*****@*****.**'); ?> or 1-855-836-7867</strong> </div>
if (!defined('APPLICATION')) { exit; } ?> <h2>Installation & Setup</h2> <p>Our experienced service professionals can customize and implement your Vanilla installation.</p> <div class="Plan"> <strong>VanillaForums.com Installation</strong> <div class="Cost">$195</div> <p>We configure a hosted forum for you at VanillaForums.com. Includes a default Vanilla installation and any of our approved addons.</p> </div> <div class="Plan"> <strong>Remote Installation</strong> <div class="Cost">$795</div> <p>Includes a default Vanilla installation and any of our approved addons.</p> </div> <div class="Plan"> <strong>Custom Installation</strong> <div class="Cost"><?php echo Anchor('Contact Us', 'mailto:support@vanillaforums.com'); ?> </div> <p>Includes a default Vanilla installation & custom built addons.</p> </div> <div class="Contact"> Contact us for more information: <?php echo Gdn_Format::Email('*****@*****.**'); ?> </div>
<?php foreach ($this->Data['MyMeta'] as $MetaI => $MetaV) { if (!$MetaV) { continue; } if ('standard' == $this->Data['MetaSpec'][$MetaI]['type']) { switch ($MetaI) { case 'UserPhoto': $MetaV = UserPhoto($this->User, array('class' => 'ProfilePhotoMedium')); break; case 'UserName': $MetaV = Gdn_Format::Text($this->UserName); break; case 'Email': if ($this->User->ShowEmail == 1 || Gdn::Session()->CheckPermission('Garden.Registration.Manage')) { $MetaV = Gdn_Format::Email($this->User->Email); } else { continue; } break; case 'DateFirstVisit': $MetaV = Gdn_Format::Date($this->User->DateFirstVisit); break; case 'CountVisits': $MetaV = number_format($this->User->CountVisits); break; case 'DateLastActive': $MetaV = Gdn_Format::Date($this->User->DateLastActive); break; case 'Roles': $MetaV = implode(', ', $this->Roles);
<th class="options column-checkbox"></th> </tr> </thead> <tbody> <?php foreach ($this->data('Log') as $Row) { $RecordLabel = valr('Data.Type', $Row); if (!$RecordLabel) { $RecordLabel = $Row['RecordType']; } $RecordLabel = Gdn_Form::LabelCode($RecordLabel); $user = userBuilder($Row, 'Insert'); $user = Gdn::userModel()->getByUsername(val('Name', $user)); $viewPersonalInfo = gdn::session()->checkPermission('Garden.PersonalInfo.View'); $userBlock = new MediaItemModule(val('Name', $user), userUrl($user)); $userBlock->setView('media-sm')->setImage(userPhotoUrl($user))->addMetaIf($viewPersonalInfo, Gdn_Format::Email($user->Email)); $Url = FALSE; if (in_array($Row['Operation'], array('Edit', 'Moderate'))) { switch (strtolower($Row['RecordType'])) { case 'discussion': $Url = "/discussion/{$Row['RecordID']}/x/p1"; break; case 'comment': $Url = "/discussion/comment/{$Row['RecordID']}#Comment_{$Row['RecordID']}"; } } elseif ($Row['Operation'] === 'Delete') { switch (strtolower($Row['RecordType'])) { case 'comment': $Url = "/discussion/{$Row['ParentRecordID']}/x/p1"; } }
<?php if (!defined('APPLICATION')) exit(); $Alt = FALSE; $Session = Gdn::Session(); $EditUser = $Session->CheckPermission('Garden.Users.Edit'); $DeleteUser = $Session->CheckPermission('Garden.Users.Delete'); foreach ($this->UserData->Format('Text')->Result() as $User) { $Alt = $Alt ? FALSE : TRUE; ?> <tr<?php echo $Alt ? ' class="Alt"' : ''; ?>> <td><strong><?php echo UserAnchor($User); ?></strong></td> <td class="Alt"><?php echo Gdn_Format::Email($User->Email); ?></td> <td style="max-width: 200px;"> <?php $Roles = GetValue('Roles', $User, array()); $RolesString = ''; if ($User->Banned && !in_array('Banned', $Roles)) { $RolesString = T('Banned'); } foreach ($Roles as $RoleID => $RoleName) { $Query = http_build_query(array('Form/Keywords' => $RoleName)); $RolesString = ConcatSep(', ', $RolesString, '<a href="'.Url('/user/browse?'.$Query).'">'.htmlspecialchars($RoleName).'</a>'); } echo $RolesString; ?> </td> <td class="Alt"><?php echo Gdn_Format::Date($User->DateFirstVisit); ?></td> <td><?php echo Gdn_Format::Date($User->DateLastActive); ?></td> <?php if ($EditUser || $DeleteUser) { ?> <td><?php