@@ -81,8 +81,11 @@ |
||
| 81 | 81 | <!-- start: show content (and check, if exists a sublayout --> |
| 82 | 82 | <?php if (isset($this->subLayout) && $this->subLayout != "") : ?> |
| 83 | 83 | <?php echo $this->renderPartial($this->subLayout, array('content' => $content)); ?> |
| 84 | - <?php else: ?> |
|
| 85 | - <?php echo $content; ?> |
|
| 84 | + <?php else { |
|
| 85 | + : ?> |
|
| 86 | + <?php echo $content; |
|
| 87 | +} |
|
| 88 | +?> |
|
| 86 | 89 | <?php endif; ?> |
| 87 | 90 | <!-- end: show content --> |
| 88 | 91 | |
@@ -14,19 +14,19 @@ |
||
| 14 | 14 | <?php $ver = HVersion::VERSION; ?> |
| 15 | 15 | |
| 16 | 16 | <?php |
| 17 | - Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . '/css/animate.min.css'); |
|
| 18 | - Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . '/css/bootstrap.min.css'); |
|
| 19 | - Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . '/css/animate.min.css'); |
|
| 20 | - Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . '/css/style.css'); |
|
| 21 | - Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . '/css/flatelements.css'); |
|
| 22 | - Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . '/resources/font-awesome/css/font-awesome.min.css'); |
|
| 23 | - |
|
| 24 | - |
|
| 25 | - Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/bootstrap.min.js'); |
|
| 26 | - Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/modernizr.js'); |
|
| 27 | - Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/jquery.cookie.js'); |
|
| 28 | - Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/jquery.flatelements.js'); |
|
| 29 | - Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/jquery.placeholder.js'); |
|
| 17 | + Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl.'/css/animate.min.css'); |
|
| 18 | + Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl.'/css/bootstrap.min.css'); |
|
| 19 | + Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl.'/css/animate.min.css'); |
|
| 20 | + Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl.'/css/style.css'); |
|
| 21 | + Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl.'/css/flatelements.css'); |
|
| 22 | + Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl.'/resources/font-awesome/css/font-awesome.min.css'); |
|
| 23 | + |
|
| 24 | + |
|
| 25 | + Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl.'/js/bootstrap.min.js'); |
|
| 26 | + Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl.'/js/modernizr.js'); |
|
| 27 | + Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl.'/js/jquery.cookie.js'); |
|
| 28 | + Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl.'/js/jquery.flatelements.js'); |
|
| 29 | + Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl.'/js/jquery.placeholder.js'); |
|
| 30 | 30 | ?> |
| 31 | 31 | |
| 32 | 32 | <!-- The HTML5 shim, for IE6-8 support of HTML5 elements --> |
@@ -25,9 +25,9 @@ |
||
| 25 | 25 | |
| 26 | 26 | "; |
| 27 | 27 | ?> |
| 28 | - <?= Html::a('<i class="fa fa-facebook" style="font-size:16px;color:#3a5795"> </i>', 'https://www.facebook.com/sharer/sharer.php?u=' . urlencode($permalink) . '&description=' . urlencode($object->getContentDescription()),['onclick'=> $option]);?> |
|
| 29 | - <?= Html::a('<i class="fa fa-twitter" style="font-size:16px;color:#55acee"> </i> </i>', 'https://twitter.com/intent/tweet?text=' . urlencode($object->getContentDescription()) . '&url=' . urlencode($permalink),['onclick'=> $option]);?> |
|
| 30 | - <?= Html::a('<i class="fa fa-linkedin-square" style="font-size:16px;color:#0177b5"></i>', 'https://www.linkedin.com/shareArticle?summary=&mini=true&source=&title=' . urlencode($object->getContentDescription()) . '&url=' . urlencode($permalink) . '&ro=false', ['onclick'=> $option]);?> |
|
| 28 | + <?= Html::a('<i class="fa fa-facebook" style="font-size:16px;color:#3a5795"> </i>', 'https://www.facebook.com/sharer/sharer.php?u='.urlencode($permalink).'&description='.urlencode($object->getContentDescription()), ['onclick'=> $option]); ?> |
|
| 29 | + <?= Html::a('<i class="fa fa-twitter" style="font-size:16px;color:#55acee"> </i> </i>', 'https://twitter.com/intent/tweet?text='.urlencode($object->getContentDescription()).'&url='.urlencode($permalink), ['onclick'=> $option]); ?> |
|
| 30 | + <?= Html::a('<i class="fa fa-linkedin-square" style="font-size:16px;color:#0177b5"></i>', 'https://www.linkedin.com/shareArticle?summary=&mini=true&source=&title='.urlencode($object->getContentDescription()).'&url='.urlencode($permalink).'&ro=false', ['onclick'=> $option]); ?> |
|
| 31 | 31 | </div> |
| 32 | 32 | </div> |
| 33 | 33 | </div> |
| 34 | 34 | \ No newline at end of file |