예제 #1
0
 public function getWidget()
 {
     $box = new \Widgets\Box();
     $box->setId(\BookmarksHome::getInstance()->getId());
     $box->setTitle("zuletzt besuchte Ordner");
     $box->setTitleLink(PATH_URL . "explorer/");
     $loader = new \Widgets\DivLoader();
     $loader->setWrapperId("lastVisitedWrapper");
     $loader->setMessage("Lade Ordner ...");
     $loader->setCommand("loadLastVisited");
     $loader->setNamespace("Explorer");
     $loader->setParams(array("id" => $GLOBALS["STEAM"]->get_current_steam_user()->get_id()));
     $loader->setElementId("lastVisitedWrapper");
     $loader->setType("updater");
     $box->addWidget($loader);
     $box->setContent($loader->getHtml());
     $box->setContentMoreLink(PATH_URL . "explorer/");
     return $box;
 }
예제 #2
0
 public function getWidget()
 {
     $box = new \Widgets\Box();
     $box->setId(\BookmarksHome::getInstance()->getId());
     $box->setTitle("Meine Dokumente");
     $box->setTitleLink(PATH_URL . "explorer/");
     $loader = new \Widgets\DivLoader();
     $loader->setWrapperId("documentsWrapper");
     $loader->setMessage("Lade Dokumente ...");
     $loader->setCommand("loadRecentDocuments");
     $loader->setNamespace("Explorer");
     $loader->setParams(array("id" => $GLOBALS["STEAM"]->get_current_steam_user()->get_workroom()->get_id()));
     $loader->setElementId("documentsWrapper");
     $loader->setType("updater");
     $box->addWidget($loader);
     $box->setContent($loader->getHtml());
     $box->setContentMoreLink(PATH_URL . "explorer/");
     return $box;
 }
예제 #3
0
 public function getWidget()
 {
     $box = new \Widgets\Box();
     $box->setId(\BookmarksHome::getInstance()->getId());
     $box->setTitle("Meine Lesezeichen");
     $box->setTitleLink(PATH_URL . "bookmarks/");
     //$box->setCustomStyle("width: 375px; height: 215px; float: left;clear: none");
     $loader = new \Widgets\DivLoader();
     $loader->setWrapperId("bookmarksWrapper");
     $loader->setMessage("Lade Lesezeichen ...");
     $loader->setCommand("loadRecentBookmarks");
     $loader->setNamespace("Bookmarks");
     $loader->setParams(array("id" => $GLOBALS["STEAM"]->get_current_steam_user()->get_attribute("USER_BOOKMARKROOM")->get_id()));
     $loader->setElementId("bookmarksWrapper");
     $loader->setType("updater");
     $box->addWidget($loader);
     $box->setContent($loader->getHtml());
     $box->setContentMoreLink(PATH_URL . "bookmarks/");
     return $box;
 }
예제 #4
0
 public function getWidget()
 {
     $box = new \Widgets\Box();
     $box->setId(\BookmarksHome::getInstance()->getId());
     $box->setTitle("Meine Schule");
     $box->setTitleLink(PATH_URL . "school/");
     $box->setCustomStyle("width: 375px; height: 215px; float: left; clear: none");
     $loader = new \Widgets\DivLoader();
     $loader->setWrapperId("schoolBookmarksWrapper");
     $loader->setMessage("Lade meine Schule ...");
     $loader->setCommand("loadRecentSchoolBookmarks");
     $loader->setNamespace("School");
     $object = \School\Model\FolderSchoolBookmark::getSchoolBookmarkFolderObject();
     $loader->setParams(array("id" => $object->get_id()));
     $loader->setElementId("schoolBookmarksWrapper");
     $loader->setType("updater");
     $box->addWidget($loader);
     $box->setContent($loader->getHtml());
     $box->setContentMoreLink(PATH_URL . "school/");
     return $box;
 }