Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

hyperlink in Yii style #1

Merged
merged 7 commits into from

2 participants

@ametad

Rewrote hardcoded hyperlinks ti Yii style links.

@schmunk42 schmunk42 merged commit 4a24de4 into schmunk42:master
@schmunk42
Owner

Thanks! We'll fix gtc before our next project ;)

@ametad

Thank you too! To get to know P3 I had to reinstall it quite a lot and had to rewrite all those little things...

What do you think about Giix? In a quick comparising I found a lot of the same functionality. IMHO it had less bugs... Perhaps if you use Giix you can focus all your energie in P3 en let others deal with the Gii templates. It might fit your own filosophy in creating an CMS with modules already there. Just an idea.

Nice work Schmunk!

@schmunk42
Owner

You should be able to run php composer.phar update to retrieve all the merged changes.

Giix is cool, but when I made the decision gtc was more feature-rich, but now I also thought about switching. The best option would be to combine both, as giix is a fork of gtc, but they differ very much now.

I think I have to give giix a detailed look before our next project.

Thanks & best regards!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 7, 2012
  1. @ametad

    Update master

    ametad authored
  2. @ametad

    Update master

    ametad authored
  3. @ametad

    Update master

    ametad authored
  4. @ametad

    Update master

    ametad authored
  5. @ametad

    Update master

    ametad authored
  6. @ametad

    Update master

    ametad authored
  7. @ametad

    Update master

    ametad authored
This page is out of date. Refresh to see the latest.
View
6 views/default/index.php
@@ -20,9 +20,9 @@
This module requires installation.
</p>
<p>
- <li><?php echo CHtml::link('Manage Widgets', array('p3widget/admin'))?></li>
- <li><?php echo CHtml::link('Manage Widget Meta Data', array('p3widgetMeta/admin'))?></li>
- <li><?php echo CHtml::link('Manage Widget Translations', array('p3widgetTranslation/admin'))?></li>
+ <li><?php echo CHtml::link('Manage Widgets', array('p3Widget/admin'))?></li>
+ <li><?php echo CHtml::link('Manage Widget Meta Data', array('p3WidgetMeta/admin'))?></li>
+ <li><?php echo CHtml::link('Manage Widget Translations', array('p3WidgetTranslation/admin'))?></li>
</p>
<p>
View
2  views/p3Widget/_form.php
@@ -80,7 +80,7 @@
<?php
echo CHtml::Button(Yii::t('app', 'Cancel'), array(
- 'submit' => array('p3widget/admin')));
+ 'submit' => array('p3Widget/admin')));
echo CHtml::submitButton(Yii::t('app', 'Save'));
$this->endWidget();
?>
View
6 views/p3Widget/admin.php
@@ -25,8 +25,10 @@
<h1> <?php echo Yii::t('app', 'Manage'); ?> <?php echo Yii::t('app', 'P3 Widgets'); ?> </h1>
-
-<ul><li>HasOne <a href="/?r=/p3widgets/p3WidgetMeta/admin&amp;lang=en">P3WidgetMeta</a> </li><li>HasMany <a href="/?r=/p3widgets/p3WidgetTranslation/admin&amp;lang=en">P3WidgetTranslation</a> </li></ul>
+<ul>
+ <li>HasOne <?php echo CHtml::link(Yii::t('app', 'P3 Widget Metas'), array('p3WidgetMeta/admin')) ?></li>
+ <li>HasMany <?php echo CHtml::link(Yii::t('app', 'P3 Widget Translations'), array('P3WidgetTranslation/admin')) ?></li>
+</ul>
<?php echo CHtml::link(Yii::t('app', 'Advanced Search'),'#',array('class'=>'search-button')); ?><div class="search-form" style="display:none">
<?php $this->renderPartial('_search',array(
View
2  views/p3WidgetMeta/_form.php
@@ -173,7 +173,7 @@
<?php
echo CHtml::Button(Yii::t('app', 'Cancel'), array(
- 'submit' => array('p3widgetmeta/admin')));
+ 'submit' => array('p3WidgetMeta/admin')));
echo CHtml::submitButton(Yii::t('app', 'Save'));
$this->endWidget(); ?>
</div> <!-- form -->
View
2  views/p3WidgetTranslation/_form.php
@@ -71,7 +71,7 @@
<?php
echo CHtml::Button(Yii::t('app', 'Cancel'), array(
- 'submit' => array('p3widgettranslation/admin')));
+ 'submit' => array('p3WidgetTranslation/admin')));
echo CHtml::submitButton(Yii::t('app', 'Save'));
$this->endWidget();
?>
View
2  views/p3WidgetTranslation/admin.php
@@ -26,7 +26,7 @@
<h1> <?php echo Yii::t('app', 'Manage'); ?> <?php echo Yii::t('app', 'P3 Widget Translations'); ?> </h1>
-<ul><li>BelongsTo <a href="/?r=p3widgets/p3Widget/admin&amp;lang=en">P3Widget</a> </li></ul>
+<ul><li>HasOne <?php echo CHtml::link(Yii::t('app', 'P3 Widgets'), array('p3Widget/admin')) ?></li></ul>
<?php echo CHtml::link(Yii::t('app', 'Advanced Search'),'#',array('class'=>'search-button')); ?><div class="search-form" style="display:none">
<?php $this->renderPartial('_search',array(
Something went wrong with that request. Please try again.