OSDN Git Service

add ACS webapp, sql, htdocs
[acs/acs.git] / webapp / modules / System / views / IndexSuccessView.class.php
diff --git a/webapp/modules/System/views/IndexSuccessView.class.php b/webapp/modules/System/views/IndexSuccessView.class.php
new file mode 100644 (file)
index 0000000..48031bf
--- /dev/null
@@ -0,0 +1,42 @@
+<?php
+// $Id: IndexView_success.class.php,v 1.6 2006/06/14 05:34:04 w-ota Exp $
+
+
+class IndexSuccessView extends BaseView
+{
+       function execute() {
+               $context = $this->getContext();
+               $controller = $context->getController();
+               $request = $context->getRequest();
+               $user = $context->getUser();
+               
+               $acs_user_info_row = $user->getAttribute('acs_user_info_row');
+
+               // ¥æ¡¼¥¶°ìÍ÷URL
+               $user_list_url = $this->getControllerPath('System', 'UserList');
+
+               // ¥í¥°´ÉÍýURL
+               $log_url = $this->getControllerPath('System', 'Log');
+
+               // ¥·¥¹¥Æ¥à¥¢¥Ê¥¦¥ó¥¹(¥·¥¹¥Æ¥à¤«¤é¤Î¤ªÃΤ餻)°ìÍ÷URL
+               $system_announce_list_url = $this->getControllerPath('System', 'SystemAnnounceList');
+
+               // ¥·¥¹¥Æ¥àÀßÄêURL
+               $edit_system_config_url = $this->getControllerPath('System', 'EditSystemConfig');
+
+               // ¥Æ¥ó¥×¥ì¡¼¥È
+               $this->setScreenId("0001");
+               $this->setTemplate('Index.tpl.php');
+
+               // set
+               $this->setAttribute('user_list_url', $user_list_url);
+               $this->setAttribute('log_url', $log_url);
+               $this->setAttribute('create_system_announce_url', $create_system_announce_url);
+               $this->setAttribute('system_announce_list_url', $system_announce_list_url);
+               $this->setAttribute('edit_system_config_url', $edit_system_config_url);
+
+               return parent::execute();
+       }
+}
+
+?>