コード例 #1
0
ファイル: settings.php プロジェクト: rukku/SwiftRiver
 /**
  * @return	void
  */
 public function before()
 {
     // Execute parent::before first
     parent::before();
     // Only owners allowed here
     if (!$this->owner) {
         throw new HTTP_Exception_403();
     }
     $this->template->content = View::factory('pages/bucket/settings/layout')->bind('active', $this->active)->bind('settings_content', $this->settings_content)->bind('bucket_base_url', $this->bucket_base_url)->bind('bucket', $this->bucket);
 }
コード例 #2
0
ファイル: Settings.php プロジェクト: aliyubash23/SwiftRiver
 /**
  * @return	void
  */
 public function before()
 {
     // Execute parent::before first
     parent::before();
     // Only owners allowed here
     if (!$this->owner) {
         throw new HTTP_Exception_403();
     }
     $this->template->header->title = $this->bucket['name'] . ' ' . __("Settings");
     $this->template->header->js .= HTML::script('themes/default/media/js/collaborators.js');
     $this->template->content = View::factory('pages/bucket/settings/layout')->bind('active', $this->active)->bind('settings_content', $this->settings_content)->bind('bucket_base_url', $this->bucket_base_url)->bind('bucket', $this->bucket);
     $this->template->content->nav = $this->get_nav();
 }
コード例 #3
0
ファイル: Discussion.php プロジェクト: aliyubash23/SwiftRiver
 /**
  * @return	void
  */
 public function before()
 {
     // Execute parent::before first
     parent::before();
     $this->template->header->title = $this->page_title . ' | ' . __('Discussion');
 }