@@ -67,8 +67,10 @@ |
||
| 67 | 67 | $name = $ui->getAttribute('user_fullname'); |
| 68 | 68 | if ($name): |
| 69 | 69 | echo $name; |
| 70 | - else : |
|
| 70 | + else { |
|
| 71 | + : |
|
| 71 | 72 | echo $ownerName; |
| 73 | + } |
|
| 72 | 74 | endif; |
| 73 | 75 | ?> |
| 74 | 76 | </div><br> |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | |
| 4 | 4 | $submittedData=''; |
| 5 | 5 | foreach($questionAnswerPairs as $questionAnswerPair){ |
| 6 | - $submittedData .= $questionAnswerPair['question']."\r\n".$questionAnswerPair['answerDisplay']."\r\n"."\r\n"; |
|
| 6 | + $submittedData .= $questionAnswerPair['question']."\r\n".$questionAnswerPair['answerDisplay']."\r\n"."\r\n"; |
|
| 7 | 7 | } |
| 8 | 8 | $formDisplayUrl=URL::to('/dashboard/reports/forms') . '?qsid='.$questionSetId; |
| 9 | 9 | |
@@ -1,11 +1,11 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | defined('C5_EXECUTE') or die("Access Denied."); |
| 3 | 3 | |
| 4 | -$submittedData=''; |
|
| 5 | -foreach($questionAnswerPairs as $questionAnswerPair){ |
|
| 4 | +$submittedData = ''; |
|
| 5 | +foreach ($questionAnswerPairs as $questionAnswerPair) { |
|
| 6 | 6 | $submittedData .= $questionAnswerPair['question']."\r\n".$questionAnswerPair['answerDisplay']."\r\n"."\r\n"; |
| 7 | 7 | } |
| 8 | -$formDisplayUrl=URL::to('/dashboard/reports/forms') . '?qsid='.$questionSetId; |
|
| 8 | +$formDisplayUrl = URL::to('/dashboard/reports/forms').'?qsid='.$questionSetId; |
|
| 9 | 9 | |
| 10 | 10 | $body = t(" |
| 11 | 11 | %s form submission through the Intranet. |
@@ -17,6 +17,6 @@ |
||
| 17 | 17 | <input type="submit" class="btn btn-primary" value="<?php echo t('Log in') ?>"/> |
| 18 | 18 | </div> |
| 19 | 19 | |
| 20 | -<?php Core::make('helper/validation/token')->output('login_' . $this->getAuthenticationTypeHandle()); ?> |
|
| 20 | +<?php Core::make('helper/validation/token')->output('login_'.$this->getAuthenticationTypeHandle()); ?> |
|
| 21 | 21 | |
| 22 | 22 | </form> |
@@ -11,8 +11,7 @@ discard block |
||
| 11 | 11 | ?> |
| 12 | 12 | <div class="form-group"> |
| 13 | 13 | <input name="uName" class="form-control col-sm-12" |
| 14 | - placeholder="<?php echo Config::get('concrete.user.registration.email_registration') ? t('Email Address') : |
|
| 15 | - t('Username') ?>"/> |
|
| 14 | + placeholder="<?php echo Config::get('concrete.user.registration.email_registration') ? t('Email Address') : t('Username') ?>"/> |
|
| 16 | 15 | </div> |
| 17 | 16 | |
| 18 | 17 | <div class="form-group"> |
@@ -35,7 +34,7 @@ discard block |
||
| 35 | 34 | <select id="lDirectory" name="lDirectory" class="form-control col-sm-12"> |
| 36 | 35 | <?php |
| 37 | 36 | foreach ($directories as $directory) { |
| 38 | - echo '<option value="' . $directory['id'] . '">' . $directory['displayName'] . '</option>'; |
|
| 37 | + echo '<option value="'.$directory['id'].'">'.$directory['displayName'].'</option>'; |
|
| 39 | 38 | } |
| 40 | 39 | ?> |
| 41 | 40 | </select> |
@@ -51,8 +50,7 @@ discard block |
||
| 51 | 50 | } |
| 52 | 51 | ?> |
| 53 | 52 | <input name="uName" class="form-control col-sm-12" |
| 54 | - placeholder="<?php echo Config::get('concrete.user.registration.email_registration') ? t('Email Address') : |
|
| 55 | - t('Username') ?>"/> |
|
| 53 | + placeholder="<?php echo Config::get('concrete.user.registration.email_registration') ? t('Email Address') : t('Username') ?>"/> |
|
| 56 | 54 | </div> |
| 57 | 55 | |
| 58 | 56 | <div class="form-group"> |
@@ -64,7 +62,7 @@ discard block |
||
| 64 | 62 | <input type="submit" class="btn btn-primary" value="<?php echo t('Log in') ?>"/> |
| 65 | 63 | </div> |
| 66 | 64 | |
| 67 | - <?php Core::make('token')->output('login_' . $this->getAuthenticationTypeHandle()); ?> |
|
| 65 | + <?php Core::make('token')->output('login_'.$this->getAuthenticationTypeHandle()); ?> |
|
| 68 | 66 | <?php |
| 69 | 67 | } |
| 70 | 68 | ?> |
@@ -3,11 +3,11 @@ |
||
| 3 | 3 | <?php Loader::element('header'); ?> |
| 4 | 4 | <div class="container-fluid"> |
| 5 | 5 | <div class="row"> |
| 6 | - <div class="toolbar"><?php $a= new GlobalArea('Registry Toolbar'); $a->display($c); ?></div> |
|
| 6 | + <div class="toolbar"><?php $a = new GlobalArea('Registry Toolbar'); $a->display($c); ?></div> |
|
| 7 | 7 | <div class="col-lg-12"> |
| 8 | 8 | <h1 class="page-header"><?php $page = Page::getCurrentPage(); echo $page->getCollectionName(); ?></h1> |
| 9 | 9 | <br> |
| 10 | - <?php $a= new Area('Page Content'); $a->display($c); ?> |
|
| 10 | + <?php $a = new Area('Page Content'); $a->display($c); ?> |
|
| 11 | 11 | </div> <!-- END col-lg-12 --> |
| 12 | 12 | </div> <!-- END row --> |
| 13 | 13 | </div> <!-- END container-fluid --> |
@@ -3,11 +3,11 @@ |
||
| 3 | 3 | <?php Loader::element('header'); ?> |
| 4 | 4 | <div class="container-fluid"> |
| 5 | 5 | <div class="row"> |
| 6 | - <div class="toolbar"><?php $a= new GlobalArea('Computing Support Toolbar'); $a->display($c); ?></div> |
|
| 6 | + <div class="toolbar"><?php $a = new GlobalArea('Computing Support Toolbar'); $a->display($c); ?></div> |
|
| 7 | 7 | <div class="col-lg-12"> |
| 8 | 8 | <h1 class="page-header"><?php $page = Page::getCurrentPage(); echo $page->getCollectionName(); ?></h1> |
| 9 | 9 | <br> |
| 10 | - <?php $a= new Area('Page Content'); $a->display($c); ?> |
|
| 10 | + <?php $a = new Area('Page Content'); $a->display($c); ?> |
|
| 11 | 11 | </div> <!-- END col-lg-12 --> |
| 12 | 12 | </div> <!-- END row --> |
| 13 | 13 | </div> <!-- END container-fluid --> |
@@ -3,11 +3,11 @@ |
||
| 3 | 3 | <?php Loader::element('header'); ?> |
| 4 | 4 | <div class="container-fluid"> |
| 5 | 5 | <div class="row"> |
| 6 | - <div class="toolbar"><?php $a= new GlobalArea('Staff Development Toolbar'); $a->display($c); ?></div> |
|
| 6 | + <div class="toolbar"><?php $a = new GlobalArea('Staff Development Toolbar'); $a->display($c); ?></div> |
|
| 7 | 7 | <div class="col-lg-12"> |
| 8 | 8 | <h1 class="page-header"><?php $page = Page::getCurrentPage(); echo $page->getCollectionName(); ?></h1> |
| 9 | 9 | <br> |
| 10 | - <?php $a= new Area('Page Content'); $a->display($c); ?> |
|
| 10 | + <?php $a = new Area('Page Content'); $a->display($c); ?> |
|
| 11 | 11 | </div> <!-- END col-lg-12 --> |
| 12 | 12 | </div> <!-- END row --> |
| 13 | 13 | </div> <!-- END container-fluid --> |
@@ -3,11 +3,11 @@ |
||
| 3 | 3 | <?php Loader::element('header'); ?> |
| 4 | 4 | <div class="container-fluid"> |
| 5 | 5 | <div class="row"> |
| 6 | - <div class="toolbar"><?php $a= new GlobalArea('Marketing Toolbar'); $a->display($c); ?></div> |
|
| 6 | + <div class="toolbar"><?php $a = new GlobalArea('Marketing Toolbar'); $a->display($c); ?></div> |
|
| 7 | 7 | <div class="col-lg-12"> |
| 8 | 8 | <h1 class="page-header"><?php $page = Page::getCurrentPage(); echo $page->getCollectionName(); ?></h1> |
| 9 | 9 | <br> |
| 10 | - <?php $a= new Area('Page Content'); $a->display($c); ?> |
|
| 10 | + <?php $a = new Area('Page Content'); $a->display($c); ?> |
|
| 11 | 11 | </div> <!-- END col-lg-12 --> |
| 12 | 12 | </div> <!-- END row --> |
| 13 | 13 | </div> <!-- END container-fluid --> |
@@ -3,11 +3,11 @@ |
||
| 3 | 3 | <?php Loader::element('header'); ?> |
| 4 | 4 | <div class="container-fluid"> |
| 5 | 5 | <div class="row"> |
| 6 | - <div class="toolbar"><?php $a= new GlobalArea('Estates Toolbar'); $a->display($c); ?></div> |
|
| 6 | + <div class="toolbar"><?php $a = new GlobalArea('Estates Toolbar'); $a->display($c); ?></div> |
|
| 7 | 7 | <div class="col-lg-12"> |
| 8 | 8 | <h1 class="page-header"><?php $page = Page::getCurrentPage(); echo $page->getCollectionName(); ?></h1> |
| 9 | 9 | <br> |
| 10 | - <?php $a= new Area('Page Content'); $a->display($c); ?> |
|
| 10 | + <?php $a = new Area('Page Content'); $a->display($c); ?> |
|
| 11 | 11 | </div> <!-- END col-lg-12 --> |
| 12 | 12 | </div> <!-- END row --> |
| 13 | 13 | </div> <!-- END container-fluid --> |