summaryrefslogtreecommitdiff
path: root/core/views
diff options
context:
space:
mode:
authorJozef Selesi <jozefs@users.sourceforge.net>2008-11-19 00:12:25 +0000
committerJozef Selesi <jozefs@users.sourceforge.net>2008-11-19 00:12:25 +0000
commitb2772f5a050351129a64b966b127e39cf76c80b5 (patch)
treea0a7704bdd944d45b09a8959ab3c60c91f31bab1 /core/views
parent1992343c2e1f2df892f39f971ae629edc59c33d0 (diff)
* Renamed the album, item and photo controllers to albums, items and photos in order to follow the convention that controllers that refer to a collection of resources have plural names.
* Added a bug workaround to routes.php
Diffstat (limited to 'core/views')
-rw-r--r--core/views/welcome.html.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php
index cc85475c..a015fc92 100644
--- a/core/views/welcome.html.php
+++ b/core/views/welcome.html.php
@@ -164,7 +164,7 @@
<div id="actions" class="activity">
<p>
- <?= html::anchor("album/1", "Browse Gallery") ?>
+ <?= html::anchor("albums/1", "Browse Gallery") ?>
<i>(<?= $album_count ?> albums, <?= $photo_count ?> photos)</i>
</p>
<p>
@@ -183,7 +183,7 @@
</p>
<fieldset>
<legend>Photos</legend>
- <form method="post" action="<?= url::site("album/1") ?>" enctype="multipart/form-data">
+ <form method="post" action="<?= url::site("albums/1") ?>" enctype="multipart/form-data">
<input type="submit" value="upload"/>
<input id="photo_upload" name="file[]" type="file"/>
<input type="hidden" name="type" value="photo"/>
@@ -192,7 +192,7 @@
</fieldset>
<fieldset>
<legend>Albums</legend>
- <form method="post" action="<?= url::site("album/1") ?>">
+ <form method="post" action="<?= url::site("albums/1") ?>">
<input type="submit" value="create"/>
<input type="text" name="name"/>
<input type="hidden" name="type" value="album"/>
@@ -210,7 +210,7 @@
</li>
<? if ($deepest_photo): ?>
<li>
- <?= html::anchor("photo/{$deepest_photo->id}", "Deepest photo") ?>
+ <?= html::anchor("photos/{$deepest_photo->id}", "Deepest photo") ?>
<i>(<?= $deepest_photo->level ?> levels deep)</i>
</li>
<? endif ?>