Changeset 78 for trunk/www/Application/Controller
- Timestamp:
- Sep 11, 2009, 8:18:38 AM (15 years ago)
- Location:
- trunk/www/Application/Controller
- Files:
-
- 1 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/Application/Controller/Backup.php
r73 r78 1 1 <?php 2 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 2 4 3 5 class BackupController extends Controller -
trunk/www/Application/Controller/Client.php
r72 r78 1 1 <?php 2 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 2 4 3 5 class ClientController extends Controller -
trunk/www/Application/Controller/Cluster.php
r76 r78 1 1 <?php 2 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 2 4 3 5 class ClusterController extends Controller -
trunk/www/Application/Controller/Debug.php
r72 r78 1 1 <?php 2 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 2 4 3 5 class DebugController extends Controller -
trunk/www/Application/Controller/Emulator.php
r72 r78 1 1 <?php 2 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 2 4 3 5 class EmulatorController extends Controller -
trunk/www/Application/Controller/HomePage.php
r76 r78 1 1 <?php 2 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../View/Page.php'); 5 include_once(dirname(__FILE__).'/../View/HomePage.php'); 2 6 3 7 class HomePageController extends Controller -
trunk/www/Application/Controller/News.php
r72 r78 1 1 <?php 2 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 2 4 3 5 class NewsController extends Controller -
trunk/www/Application/Controller/Realm.php
r72 r78 1 1 <?php 2 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 2 4 3 5 class RealmController extends Controller -
trunk/www/Application/Controller/Server.php
r74 r78 1 1 <?php 2 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 2 4 3 5 class ServerController extends Controller -
trunk/www/Application/Controller/Task.php
r72 r78 1 1 <?php 2 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 2 4 3 5 class TaskController extends Controller … … 6 8 { 7 9 $Page = new PageView($this->System); 8 $View = new TaskView($this->System); 9 return($Page->GetOutput($View->ItemList())); 10 if($this->System->Modules['Permission']->Check('Task', 'ItemList')) 11 { 12 $View = new TaskView($this->System); 13 return($Page->GetOutput($View->ItemList())); 14 } else return($Page->AccessDenied()); 10 15 } 11 16 … … 13 18 { 14 19 $Page = new PageView($this->System); 15 $View = new TaskView($this->System); 16 return($Page->GetOutput($View->ErrorLog())); 20 if($this->System->Modules['Permission']->Check('Task', 'ErrorLog')) 21 { 22 $View = new TaskView($this->System); 23 return($Page->GetOutput($View->ErrorLog())); 24 } else return($Page->AccessDenied()); 17 25 } 18 26 … … 20 28 { 21 29 $Page = new PageView($this->System); 22 $View = new TaskView($this->System); 23 return($Page->GetOutput($View->StandardLog())); 30 if($this->System->Modules['Permission']->Check('Task', 'StandardLog')) 31 { 32 $View = new TaskView($this->System); 33 return($Page->GetOutput($View->StandardLog())); 34 } else return($Page->AccessDenied()); 24 35 } 25 36 } -
trunk/www/Application/Controller/Update.php
r73 r78 1 1 <?php 2 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 2 4 3 5 class UpdateController extends Controller -
trunk/www/Application/Controller/User.php
r76 r78 1 1 <?php 2 3 include_once(dirname(__FILE__).'/../../Base/Controller.php'); 4 include_once(dirname(__FILE__).'/../View/Page.php'); 5 include_once(dirname(__FILE__).'/../View/User.php'); 2 6 3 7 class UserController extends Controller
Note:
See TracChangeset
for help on using the changeset viewer.