<div class="panel panel-default"> <div class="panel-heading"><?php echo Yii::t('AdminModule.views_group_index', '<strong>Manage</strong> groups'); ?> </div> <div class="panel-body"> <p> <?php echo Yii::t('AdminModule.views_groups_index', 'You can split users into different groups (for teams, departments etc.) and define standard spaces and admins for them.'); ?> </p> <?php echo HHtml::link("Create new group", array('//admin/group/edit'), array('class' => 'btn btn-primary')); ?> <br> <?php $this->widget('zii.widgets.grid.CGridView', array('id' => 'groups-grid', 'dataProvider' => $model->search(), 'filter' => $model, 'itemsCssClass' => 'table table-hover', 'columns' => array(array('name' => 'name', 'header' => Yii::t('AdminModule.views_group_index', 'Group name'), 'filter' => CHtml::activeTextField($model, 'name', array('placeholder' => Yii::t('AdminModule.views_group_index', 'Search for group name')))), array('name' => 'description', 'header' => Yii::t('AdminModule.views_group_index', 'Description'), 'filter' => CHtml::activeTextField($model, 'description', array('placeholder' => Yii::t('AdminModule.views_group_index', 'Search for description')))), array('class' => 'CButtonColumn', 'template' => '{update}', 'updateButtonUrl' => 'Yii::app()->createUrl("//admin/group/edit", array("id"=>$data->id));', 'buttons' => array('update' => array('label' => '<i class="fa fa-pencil"></i>', 'imageUrl' => false, 'options' => array('class' => 'btn btn-primary btn-xs tt', 'data-toggle' => 'tooltip', 'data-placement' => 'top', 'title' => '', 'data-original-title' => 'Edit group'))))), 'pager' => array('class' => 'CLinkPager', 'maxButtonCount' => 5, 'nextPageLabel' => '<i class="fa fa-step-forward"></i>', 'prevPageLabel' => '<i class="fa fa-step-backward"></i>', 'firstPageLabel' => '<i class="fa fa-fast-backward"></i>', 'lastPageLabel' => '<i class="fa fa-fast-forward"></i>', 'header' => '', 'htmlOptions' => array('class' => 'pagination')), 'pagerCssClass' => 'pagination-container')); ?> </div> </div>
<?php if ($group['label'] != "") { ?> <div class="panel-heading"><?php echo $group['label']; ?> </div> <?php } ?> <div class="list-group"> <?php foreach ($items as $item) { ?> <?php $item['htmlOptions']['class'] .= " list-group-item"; ?> <?php echo HHtml::link($item['icon'] . "<span>" . $item['label'] . "</span>", $item['url'], $item['htmlOptions']); ?> <?php } ?> </div> <?php } ?> </div> <!-- end: list-group navi for large devices -->
/** * Notifies groups admins for approval of new user via e-mail. * This should be done after a new user is created and approval is required. * * @todo Create message template, move message into translation */ private function notifyGroupAdminsForApproval() { // No admin approval required if ($this->status != User::STATUS_NEED_APPROVAL || !HSetting::Get('needApproval', 'authentication_internal')) { return; } foreach (GroupAdmin::model()->findAllByAttributes(array('group_id' => $this->group_id)) as $admin) { $adminUser = User::model()->findByPk($admin->user_id); if ($adminUser !== null) { $approvalUrl = Yii::app()->createAbsoluteUrl("//admin/approval"); $html = "Hello {$adminUser->displayName},<br><br>\n\n" . "a new user {$this->displayName} needs approval.<br><br>\n\n" . "Click here to validate:<br>\n\n" . HHtml::link($approvalUrl, $approvalUrl) . "<br/> <br/>\n"; $message = new HMailMessage(); $message->addFrom(HSetting::Get('systemEmailAddress', 'mailing'), HSetting::Get('systemEmailName', 'mailing')); $message->addTo($adminUser->email); $message->view = "application.views.mail.TextOnly"; $message->subject = Yii::t('UserModule.models_User', "New user needs approval"); $message->setBody(array('message' => $html), 'text/html'); Yii::app()->mail->send($message); } else { Yii::log("Could not load Group Admin User. Inconsistent Group Admin Record! User Id: " . $admin->user_id, CLogger::LEVEL_ERROR); } } return true; }
echo $user->getProfileImage()->getUrl(); ?> " class="img-rounded tt img_margin" height="40" width="40" alt="40x40" data-src="holder.js/40x40" style="width: 40px; height: 40px;"></a> <?php $user_count++; ?> <?php } ?> <?php if ($user_count >= 30) { ?> <?php echo HHtml::link(Yii::t('DirectoryModule.views_directory_groups', "show all members"), array('//directory/directory/members', 'keyword' => 'groupId:' . $group->id)); ?> <?php } ?> <hr> <?php } ?> <?php } ?> </div> </div>
?> </td> <td><?php echo $page->date_end; ?> </td> <td><?php echo $page->visibility == 1 ? 'Да' : 'Нет'; ?> </td> <td><?php echo HHtml::link(Yii::t('TeachingModule.base', 'Results'), $this->createUrl('results', array('id' => $page->id)), array('class' => 'btn btn-primary btn-xs pull-right')); ?> </td> <td><?php echo HHtml::link(Yii::t('TeachingModule.base', 'Edit'), $this->createUrl('edit', array('id' => $page->id)), array('class' => 'btn btn-primary btn-xs pull-right')); ?> </td> </tr> <?php } ?> <?php } ?> </table> </div> </div>
echo Yii::t('InstallerModule.base', 'Congratulations! Everything is ok and ready to start over!'); ?> </div> <?php } ?> <hr> <?php echo HHtml::link('<i class="fa fa-repeat"></i> ' . Yii::t('InstallerModule.base', 'Check again'), array('//installer/setup/prerequisites'), array('class' => 'btn btn-info')); ?> <?php if (!$hasError) { ?> <?php echo HHtml::link(Yii::t('InstallerModule.base', 'Next') . ' <i class="fa fa-arrow-circle-right"></i>', array('//installer/setup/database'), array('class' => 'btn btn-primary')); ?> <?php } ?> </div> </div>
echo Yii::t('WikiModule.base', 'Let\'s go!'); ?> </a> </p> </div> <?php } ?> <br> <ul class="wiki-list"> <?php foreach ($pages as $page) { ?> <li> <h1 class="wiki-page-history-title"><?php echo HHtml::link('<i class="fa fa-file-text-o"></i> ' . CHtml::encode($page->title), $this->createContainerUrl('view', array('title' => $page->title))); ?> </h1> </li> <?php } ?> </ul> <div class="text-center"> <?php $this->widget('CLinkPager', array('pages' => $pagination, 'maxButtonCount' => 10, 'header' => '', 'nextPageLabel' => '<i class="fa fa-step-forward"></i>', 'prevPageLabel' => '<i class="fa fa-step-backward"></i>', 'firstPageLabel' => '<i class="fa fa-fast-backward"></i>', 'lastPageLabel' => '<i class="fa fa-fast-forward"></i>', 'htmlOptions' => array('class' => 'pagination'))); ?> </div>
echo $user->getProfileImage()->getUrl(); ?> " class="img-rounded tt img_margin" height="40" width="40" alt="40x40" data-src="holder.js/40x40" style="width: 40px; height: 40px;" data-toggle="tooltip" data-placement="top" title="" data-original-title="<strong><?php echo CHtml::encode($user->displayName); ?> </strong><br><?php echo CHtml::encode($user->profile->title); ?> "> </a> <?php } ?> <?php if ($showMoreButton) { ?> <br /> <br /> <?php echo HHtml::link(Yii::t('DirectoryModule.widgets_views_newMembers', 'See all'), array('//directory/directory/members'), array('class' => 'btn btn-xl btn-primary')); ?> <?php } ?> </div> </div>
</li> <?php } ?> </ul> </div> <br> <div class="well"> <pre> <?php echo $migrate; ?> </pre> </div> <hr> <?php echo HHtml::link(Yii::t('AdminModule.views_setting_selftest', 'Re-Run tests'), array('//admin/setting/selftest'), array('class' => 'btn btn-primary')); ?> </div> </div>
<div class="panel panel-default"> <div class="panel-heading"><?php echo Yii::t('AdminModule.views_userprofile_index', '<strong>Manage</strong> profiles fields'); ?> </div> <div class="panel-body"> <?php echo HHtml::link(Yii::t('AdminModule.views_userprofile_index', 'Add new category'), $this->createUrl('//admin/userprofile/editCategory'), array('class' => 'btn btn-primary')); ?> <?php echo HHtml::link(Yii::t('AdminModule.views_userprofile_index', 'Add new field'), $this->createUrl('//admin/userprofile/editField'), array('class' => 'btn btn-primary')); ?> <hr> <ul> <?php foreach (ProfileFieldCategory::model()->findAll(array('order' => 'sort_order')) as $category) { ?> <li> <a href="<?php echo $this->createUrl('editCategory', array('id' => $category->id)); ?> ">Category: <?php echo CHtml::encode($category->title); ?> </a> <ul class="admin-userprofiles-fields"> <?php
/** * Converts an given Ascii Text into a HTML Block * @param boolean $allowHtml transform user names in links * @param boolean $allowEmbed Sets if comitted video links will embedded * * Tasks: * nl2br * oembed urls */ public static function enrichText($text) { $maxOembedCount = 3; // Maximum OEmbeds $oembedCount = 0; // OEmbeds used $text = preg_replace_callback('/http(.*?)(\\s|$)/i', function ($match) use(&$oembedCount, &$maxOembedCount) { // Try use oembed if ($maxOembedCount > $oembedCount) { $oembed = UrlOembed::GetOembed($match[0]); if ($oembed) { $oembedCount++; return $oembed; } } return HHtml::link($match[0], $match[0], array('target' => '_blank')); }, $text); # breaks links!? #$text = nl2br($text); $text = str_replace("\n", "<br />\n", $text); // get user details from guids $text = self::translateUserMentioning($text, true); return $text; }
<?php $this->beginContent('application.modules_core.wall.views.wallLayout', array('object' => $link)); ?> <div class="media" style="display:table;"> <a class="pull-left" href="<?php echo $link->href; ?> " target="_blank" style="font-size: 26px; color: #555 !important;"> <i class="fa fa-link"></i> </a> <div class="media-body" style="display:table-cell;vertical-align:middle;"> <h4 class="media-heading" style="margin:0px 0px 1px"><?php echo Yii::t('LibraryModule.base', 'Added a new link %link% to category "%category%".', array('%link%' => '<strong>' . HHtml::link($link->title, $link->href, array('target' => '_blank')) . '</strong>', '%category%' => $link->category->title)); ?> </h4> </div> </div> <div style="margin-top:5px;"> <?php if ($link->description != null || $link->description != "") { echo $link->description; } ?> </div> <?php $this->endContent();
/** * Converts an given Ascii Text into a HTML Block * @param boolean $allowHtml transform user names in links * @param boolean $allowEmbed Sets if comitted video links will embedded * * Tasks: * nl2br * oembed urls */ public static function enrichText($text) { $maxOembedCount = 3; // Maximum OEmbeds $oembedCount = 0; // OEmbeds used $text = preg_replace_callback('/(https?:\\/\\/.*?)(\\s|$)/i', function ($match) use(&$oembedCount, &$maxOembedCount) { // Try use oembed if ($maxOembedCount > $oembedCount) { $oembed = UrlOembed::GetOembed($match[0]); if ($oembed) { $oembedCount++; return $oembed; } } return HHtml::link($match[1], $match[1], array('target' => '_blank')) . $match[2]; }, $text); // get user and space details from guids $text = self::translateMentioning($text, true); // create image tag for emojis $text = self::translateEmojis($text); return nl2br($text); }
} elseif ($membership->status == SpaceMembership::STATUS_INVITED) { $membershipText = '<a href="' . Yii::app()->createUrl("//space/space/inviteAccept", array('sguid' => $space->guid)) . '" class="btn btn-primary">' . Yii::t('RandomSpaceModule.base', 'Accept Invite') . '</a> '; $membershipText .= '<a href="' . Yii::app()->createUrl("//space/space/revokeMembership", array('sguid' => $space->guid)) . '" class="btn btn-primary">' . Yii::t('RandomSpaceModule.base', 'Decline Invite') . '</a> '; } elseif ($membership->status == SpaceMembership::STATUS_APPLICANT) { $membershipText = '<a href="' . Yii::app()->createUrl("//space/space/revokeMembership", array('sguid' => $space->guid)) . '" class="btn btn-primary" id="membership_button">' . Yii::t('RandomSpaceModule.base', 'Cancel pending membership application') . '</a>'; } } // Follow Handling if (!$space->isMember()) { if ($space->isFollowedByUser()) { $followText = HHtml::postLink(Yii::t('RandomSpaceModule.base', "Unfollow"), $space->createUrl('//space/space/unfollow'), array('class' => 'btn btn-danger')); } else { $followText = HHtml::postLink(Yii::t('RandomSpaceModule.base', "Follow"), $space->createUrl('//space/space/follow'), array('class' => 'btn btn-success')); } if (Yii::app()->user->isGuest) { $followText = HHtml::link(Yii::t('RandomSpaceModule.base', "View"), $space->getUrl(), array('class' => 'btn btn-success')); } } ?> <div class="panel panel-default"> <div class="panel-heading"> <?php echo Yii::t('RandomSpaceModule.base', '<strong>Space</strong> of the Moment'); ?> <span class="member-count pull-right"><?php echo Yii::t('RandomSpaceModule.base', 'Members:') . ' ' . number_format(count($members)); ?> </span> </div> <div id="random-space-widget">
<div class="container"> <div class="panel panel-danger"> <div class="panel-heading"> <?php echo Yii::t('error', "<strong>Login</strong> required"); ?> </div> <div class="panel-body"> <strong><?php echo CHtml::encode($message); ?> </strong> <br /> <hr> <?php echo HHtml::link(Yii::t('base', 'Login'), Yii::app()->user->loginUrl, array('class' => 'btn btn-success')); ?> <a href="javascript:history.back();" class="btn btn-primary pull-right"><?php echo Yii::t('base', 'Back'); ?> </a> </div> </div> </div>
?> · <?php echo HHtml::postLink(Yii::t('AdminModule.views_module_list', 'Enable'), array('//admin/module/enable', 'moduleId' => $moduleId), array('style' => 'font-weight:bold')); ?> <?php } ?> <?php if (Yii::app()->moduleManager->canUninstall($moduleId)) { ?> · <?php echo HHtml::postLink(Yii::t('AdminModule.views_module_list', 'Uninstall'), array('//admin/module/uninstall', 'moduleId' => $moduleId), array('confirm' => Yii::t('AdminModule.views_module_list', 'Are you sure? *ALL* module related data and files will be lost!'))); ?> <?php } ?> · <?php echo HHtml::link(Yii::t('AdminModule.views_module_list', 'More info'), array('//admin/module/info', 'moduleId' => $moduleId), array('data-target' => '#globalModal', 'data-toggle' => 'modal')); ?> </div> </div> </div> <?php } ?> </div> </div>
<h2 class="install-header-title"><?php echo Yii::t('InstallerModule.views_index_index', '<strong>Setup</strong> Wizard'); ?> </h2> </div> <div class="panel-body text-center"> <br/> <p class="lead"><?php echo Yii::t('InstallerModule.views_index_index', '<strong>Welcome</strong> to HumHub<br>Your Social Network Toolbox'); ?> </p> <p><?php echo Yii::t('InstallerModule.views_index_index', 'This wizard will install and configure your own HumHub instance.<br><br>To continue, click Next.'); ?> </p> <div class="text-center"> <br/> <?php echo HHtml::link(Yii::t('InstallerModule.views_index_index', "Next") . ' <i class="fa fa-arrow-circle-right"></i>', array('go'), array('class' => 'btn btn-lg btn-primary')); ?> <br/><br/> </div> </div> </div>
<div class="panel panel-default"> <div class="panel-heading"><?php echo Yii::t('AdminModule.views_userprofile_index', '<strong>Manage</strong> user profiles'); ?> </div> <div class="panel-body"> <?php echo HHtml::link('Add new category', $this->createUrl('//admin/userprofile/editCategory'), array('class' => 'btn btn-primary')); ?> <?php echo HHtml::link('Add new field', $this->createUrl('//admin/userprofile/editField'), array('class' => 'btn btn-primary')); ?> <hr> <ul> <?php foreach (ProfileFieldCategory::model()->findAll(array('order' => 'sort_order')) as $category) { ?> <li> <a href="<?php echo $this->createUrl('editCategory', array('id' => $category->id)); ?> ">Category: <?php echo $category->title; ?> </a> <ul class="admin-userprofiles-fields"> <?php
$item['style'] = ""; if ($item['label'] == "Dashboard") { $item['label'] = "Home"; } else { if ($item['label'] == "Directory") { $item['style'] = "hidden"; } } ?> <li class="<?php if ($item['isActive']) { ?> active<?php } ?> " <?php echo $item['style']; ?> > <?php echo HHtml::link($item['label'], $item['url'], $item['htmlOptions']); ?> </li> <?php } ?> </ul> </li>
public function getUserValue($user, $raw = true) { $internalName = $this->profileField->internal_name; $value = $user->profile->{$internalName}; if (!$raw && $this->validator == self::VALIDATOR_EMAIL) { return HHtml::link($value, $value); } elseif (!$raw && $this->validator == self::VALIDATOR_URL) { return HHtml::link($value, $value, array('target' => '_blank')); } return $value; }
<?php if ($membership === null) { if ($space->canJoin()) { if ($space->join_policy == Space::JOIN_POLICY_APPLICATION) { echo HHtml::link(Yii::t('SpaceModule.widgets_views_membershipButton', 'Request membership'), $space->createUrl('//space/space/requestMembershipForm'), array('class' => 'btn btn-primary', 'data-toggle' => 'modal', 'data-target' => '#globalModal')); } else { echo HHtml::link(Yii::t('SpaceModule.widgets_views_membershipButton', 'Become member'), $space->createUrl('//space/space/requestMembership'), array('class' => 'btn btn-primary')); } } } elseif ($membership->status == SpaceMembership::STATUS_INVITED) { echo HHtml::link(Yii::t('SpaceModule.widgets_views_membershipButton', 'Accept Invite'), $space->createUrl('//space/space/inviteAccept'), array('class' => 'btn btn-primary')); echo HHtml::link(Yii::t('SpaceModule.widgets_views_membershipButton', 'Deny Invite'), $space->createUrl('//space/space/revokeMembership'), array('class' => 'btn btn-primary')); } elseif ($membership->status == SpaceMembership::STATUS_APPLICANT) { echo HHtml::link(Yii::t('SpaceModule.widgets_views_membershipButton', 'Cancel pending membership application'), $space->createUrl('//space/space/revokeMembership'), array('class' => 'btn btn-primary')); } else { if (!$space->isSpaceOwner()) { echo CHtml::link(Yii::t('SpaceModule.widgets_views_membershipButton', "Cancel membership"), $this->createUrl('//space/space/revokeMembership', array('sguid' => $space->guid)), array('class' => 'btn btn-danger')); } }
<div class="panel panel-default"> <div class="panel-heading"><?php echo Yii::t('AdminModule.views_group_index', '<strong>Manage</strong> groups'); ?> </div> <div class="panel-body"> <p> <?php echo Yii::t('AdminModule.views_groups_index', 'You can split users into different groups (for teams, departments etc.) and define standard spaces and admins for them.'); ?> </p> <?php echo HHtml::link(Yii::t('AdminModule.views_groups_index', "Create new group"), array('//admin/group/edit'), array('class' => 'btn btn-primary')); ?> <br> <?php $this->widget('zii.widgets.grid.CGridView', array('id' => 'groups-grid', 'dataProvider' => $model->search(), 'filter' => $model, 'itemsCssClass' => 'table table-hover', 'columns' => array(array('name' => 'name', 'header' => Yii::t('AdminModule.views_group_index', 'Group name'), 'filter' => CHtml::activeTextField($model, 'name', array('placeholder' => Yii::t('AdminModule.views_group_index', 'Search for group name')))), array('name' => 'description', 'header' => Yii::t('AdminModule.views_group_index', 'Description'), 'filter' => CHtml::activeTextField($model, 'description', array('placeholder' => Yii::t('AdminModule.views_group_index', 'Search for description')))), array('class' => 'CButtonColumn', 'template' => '{update}', 'updateButtonUrl' => 'Yii::app()->createUrl("//admin/group/edit", array("id"=>$data->id));', 'buttons' => array('update' => array('label' => '<i class="fa fa-pencil"></i>', 'imageUrl' => false, 'options' => array('class' => 'btn btn-primary btn-xs tt', 'data-toggle' => 'tooltip', 'data-placement' => 'top', 'title' => '', 'data-original-title' => 'Edit group'))))), 'pager' => array('class' => 'CLinkPager', 'maxButtonCount' => 5, 'nextPageLabel' => '<i class="fa fa-step-forward"></i>', 'prevPageLabel' => '<i class="fa fa-step-backward"></i>', 'firstPageLabel' => '<i class="fa fa-fast-backward"></i>', 'lastPageLabel' => '<i class="fa fa-fast-forward"></i>', 'header' => '', 'htmlOptions' => array('class' => 'pagination')), 'pagerCssClass' => 'pagination-container')); ?> </div> </div>
echo CHtml::encode($space->description); ?> <?php } ?> <br/> <!-- start: space tags --> <?php if (count($space->getTags()) > 1) { ?> <div class="tags"> <?php foreach ($space->getTags() as $tag) { ?> <?php echo HHtml::link($tag, $this->createUrl('//directory/directory/spaces', array('keyword' => 'tags:' . $tag, 'areas' => array('Space'))), array('class' => 'btn btn-default btn-xs tag')); ?> <?php } ?> </div> <?php } ?> <!-- end: space tags --> <br/> <?php // Membership Handling if ($space->isMember(Yii::app()->user->id)) { if ($space->isSpaceOwner(Yii::app()->user->id)) { print Yii::t('SpaceModule.views_space_indexPublic', "You are the owner of this workspace.");
?> </td> <td><?php echo $classes[$page->navigation_class]; ?> </td> <td><?php echo $types[$page->type]; ?> </td> <td><?php echo $page->sort_order; ?> </td> <td><?php echo HHtml::link('Edit', $this->createUrl('edit', array('id' => $page->id)), array('class' => 'btn btn-primary btn-xs pull-right')); ?> </td> </tr> <?php } ?> </table> <?php } else { ?> <p><?php echo Yii::t('CustomPagesModule.base', 'No custom pages created yet!');
</h5> <?php $tag_count = 0; ?> <?php if ($space->tags) { ?> <?php foreach ($space->getTags() as $tag) { ?> <?php if ($tag_count <= 5) { ?> <?php echo HHtml::link($tag, $this->createUrl('//directory/directory/spaces', array('keyword' => 'tags:' . $tag)), array('class' => 'label label-default')); ?> <?php $tag_count++; } ?> <?php } ?> <?php } ?> </div> </div> </li>
<div class="panel panel-default"> <div class="panel-heading"><?php echo Yii::t('AdminModule.views_setting_oembed', '<strong>OEmbed</strong> Provider'); ?> </div> <div class="panel-body"> <p><?php echo HHtml::link(Yii::t('AdminModule.views_setting_oembed', 'Add new provider'), $this->createUrl('oembedEdit'), array('class' => 'btn btn-primary')); ?> </p> <?php if (count($providers) != 0) { ?> <p><strong><?php echo Yii::t('AdminModule.views_setting_oembed', 'Currently active providers:'); ?> </strong></p> <ul> <?php foreach ($providers as $providerUrl => $providerOEmbedAPI) { ?> <li><?php echo HHtml::postLink($providerUrl, $this->createUrl('oembedEdit'), array(), array('prefix' => $providerUrl)); ?> </li> <?php } ?>
<img class="media-object img-rounded profile-size-xmd" src="<?php echo $entry->user->getProfileImage()->getUrl(); ?> " data-src="holder.js/50x50" alt="50x50" style="width: 50px; height: 50px;"> <div class="profile-overlay-img profile-overlay-img-xmd"></div> </a> <?php if ($entry->created_by == Yii::app()->user->id) { ?> <div class="pull-right"> <?php echo HHtml::link('<i class="fa fa-pencil-square-o"></i>', $this->createUrl("//mail/mail/editEntry", array('messageEntryId' => $entry->id)), array('data-toggle' => 'modal', 'data-target' => '#globalModal', 'class' => '')); ?> </div> <?php } ?> <div class="media-body"> <h4 class="media-heading" style="font-size: 14px;"><?php echo CHtml::encode($entry->user->displayName); ?> <small><?php echo HHtml::timeAgo($entry->created_at); ?> </small> </h4>
style="background-image: url('<?php echo $this->module->assetsUrl; ?> /humhub-install-header.jpg');"> <h2 class="install-header-title"><?php echo Yii::t('InstallerModule.views_config_finished', '<strong>Setup</strong> Complete'); ?> </h2> </div> <div class="panel-body text-center"> <p class="lead"><?php echo Yii::t('InstallerModule.views_config_finished', "<strong>Congratulations</strong>. You're done."); ?> </p> <p><?php echo Yii::t('InstallerModule.views_config_finished', "The installation completed successfully! Have fun with your new social network."); ?> </p> <div class="text-center"> <br/> <?php echo HHtml::link(Yii::t('InstallerModule.views_config_finished', 'Sign in'), Yii::app()->createUrl('/site/index'), array('class' => 'btn btn-primary')); ?> <br/><br/> </div> </div> </div>
echo Yii::t('AdminModule.views_module_listUpdates', 'Installed version:'); ?> <?php echo Yii::app()->moduleManager->getModule($module['id'])->getVersion(); ?> · <?php echo Yii::t('AdminModule.views_module_listUpdates', 'Latest compatible Version:'); ?> <?php echo $module['latestCompatibleVersion']; ?> · <?php echo HHtml::postLink(Yii::t('AdminModule.views_module_listUpdates', 'Update'), $this->createUrl('update', array('moduleId' => $module['id'])), array('style' => 'font-weight:bold', 'class' => 'process')); ?> · <?php echo HHtml::link(Yii::t('AdminModule.views_module_listOnline', 'More info'), $module['marketplaceUrl'], array('target' => '_blank')); ?> <?php } ?> </div> </div> </div> <?php } ?> </div> </div>
<div class="panel panel-default animated fadeIn"> <div class="install-header install-header-small" style="background-image: url('<?php echo $this->module->assetsUrl; ?> /humhub-install-header.jpg');"> <h2 class="install-header-title"><?php echo Yii::t('InstallerModule.base', '<strong>Setup</strong> Complete'); ?> </h2> </div> <div class="panel-body text-center"> <p class="lead"><?php echo Yii::t('InstallerModule.base', "<strong>Congratulations</strong>. You're done."); ?> </p> <p>The installation completed successfully! Have fun with your new social network.</p> <div class="text-center"> <br/> <?php echo HHtml::link(Yii::t('InstallerModule.base', 'Sign in'), Yii::app()->createUrl('/site/index'), array('class' => 'btn btn-primary')); ?> <br/><br/> </div> </div> </div>