aboutsummaryrefslogtreecommitdiff
path: root/h-source
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-06-08 18:21:25 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-06-08 18:21:25 +0000
commit3e63edf93ce77bae2891d1d0e5552768453e8404 (patch)
treeeeb6b129bffc84c645d1919e686d3674cc223467 /h-source
parent2f4d2fa530e8b42ffe01a4b58fd02c10a8f6174d (diff)
changed last controller to special controller
Diffstat (limited to 'h-source')
-rw-r--r--h-source/Application/Controllers/SpecialController.php (renamed from h-source/Application/Controllers/LastController.php)2
-rw-r--r--h-source/Application/Views/My/panel.php4
-rw-r--r--h-source/Application/Views/Special/modactions.php (renamed from h-source/Application/Views/Last/modactions.php)0
-rw-r--r--h-source/Application/Views/Special/modifications.php (renamed from h-source/Application/Views/Last/modifications.php)0
-rw-r--r--h-source/Application/Views/right.php2
-rw-r--r--h-source/Config/Route.php6
6 files changed, 7 insertions, 7 deletions
diff --git a/h-source/Application/Controllers/LastController.php b/h-source/Application/Controllers/SpecialController.php
index 2050ea7..86ac9b9 100644
--- a/h-source/Application/Controllers/LastController.php
+++ b/h-source/Application/Controllers/SpecialController.php
@@ -20,7 +20,7 @@
if (!defined('EG')) die('Direct access not allowed!');
-class LastController extends BaseController
+class SpecialController extends BaseController
{
public function __construct($model, $controller, $queryString)
diff --git a/h-source/Application/Views/My/panel.php b/h-source/Application/Views/My/panel.php
index 7ca706e..d23d0bd 100644
--- a/h-source/Application/Views/My/panel.php
+++ b/h-source/Application/Views/My/panel.php
@@ -36,7 +36,7 @@
<div id="admin_box">
<div class="admin_box_title"><?php echo gtext("Special pages for administrators");?></div>
<ul>
- <li><a href="<?php echo Url::getRoot('last/adminactions/'.$lang);?>"><?php echo gtext("Actions carried out by administrators");?></a></li>
+ <li><a href="<?php echo Url::getRoot('special/adminactions/'.$lang);?>"><?php echo gtext("Actions carried out by administrators");?></a></li>
</ul>
</div>
<?php } ?>
@@ -45,7 +45,7 @@
<div id="moderator_box">
<div class="moderator_box_title"><?php echo gtext("Special pages for moderators");?></div>
<ul>
- <li><a href="<?php echo Url::getRoot('last/modactions/'.$lang);?>"><?php echo gtext("Actions carried out by moderators");?></a></li>
+ <li><a href="<?php echo Url::getRoot('special/modactions/'.$lang);?>"><?php echo gtext("Actions carried out by moderators");?></a></li>
</ul>
</div>
<?php } ?>
diff --git a/h-source/Application/Views/Last/modactions.php b/h-source/Application/Views/Special/modactions.php
index fe50223..fe50223 100644
--- a/h-source/Application/Views/Last/modactions.php
+++ b/h-source/Application/Views/Special/modactions.php
diff --git a/h-source/Application/Views/Last/modifications.php b/h-source/Application/Views/Special/modifications.php
index 1caca34..1caca34 100644
--- a/h-source/Application/Views/Last/modifications.php
+++ b/h-source/Application/Views/Special/modifications.php
diff --git a/h-source/Application/Views/right.php b/h-source/Application/Views/right.php
index 60b5f31..31829e0 100644
--- a/h-source/Application/Views/right.php
+++ b/h-source/Application/Views/right.php
@@ -118,7 +118,7 @@
</ul>
<div class="last_modifications_all">
<span>
- <a href="<?php echo $this->baseUrl."/last/modifications/$lang";?>"><?php echo gtext('watch all modifications');?></a>
+ <a href="<?php echo $this->baseUrl."/special/modifications/$lang";?>"><?php echo gtext('watch all modifications');?></a>
</span>
</div>
</div>
diff --git a/h-source/Config/Route.php b/h-source/Config/Route.php
index 7725ec5..858af0a 100644
--- a/h-source/Config/Route.php
+++ b/h-source/Config/Route.php
@@ -158,9 +158,9 @@ class Route
'webcams,differences',
'webcams,climb',
'webcams,talk',
- 'last,modifications',
- 'last,modactions',
- 'last,adminactions',
+ 'special,modifications',
+ 'special,modactions',
+ 'special,adminactions',
'wiki,insert',
'wiki,update',
'wiki,page',