Esempio n. 1
0
 if (Session::haveRight('ticket', CREATE)) {
     echo "<tr class='noHover'><td class='top'>";
     Ticket::showCentralCount(true);
     echo "</td></tr>";
     echo "<tr class='noHover'><td class='top'>";
     Ticket::showCentralList(0, "survey", false);
     echo "</td></tr>";
 }
 if (Session::haveRight("reminder_public", READ)) {
     echo "<tr class='noHover'><td class='top'>";
     Reminder::showListForCentral(false);
     echo "</td></tr>";
 }
 if (Session::haveRight("rssfeed_public", READ)) {
     echo "<tr class='noHover'><td class='top'>";
     RSSFeed::showListForCentral(false);
     echo "</td></tr>";
 }
 echo "</table></td>";
 echo "<td class='top' width='50%'><br>";
 echo "<table class='central'>";
 // Show KB items
 if (Session::haveRight('knowbase', KnowbaseItem::READFAQ)) {
     echo "<tr class='noHover'><td class='top'>";
     KnowbaseItem::showRecentPopular("popular");
     echo "</td></tr>";
     echo "<tr class='noHover'><td class='top'><br>";
     KnowbaseItem::showRecentPopular("recent");
     echo "</td></tr>";
     echo "<tr class='noHover'><td class='top'><br>";
     KnowbaseItem::showRecentPopular("lastupdate");
 /**
  * Show the central RSS view
  *
  * @since version 0.84
  **/
 static function showRSSView()
 {
     echo "<table class='tab_cadre_central'>";
     echo "<tr class='noHover'><td class='top' width='50%' style='vertical-align:top !important;'>";
     RSSFeed::showListForCentral();
     echo "</td><td class='top' width='50%' style='vertical-align:top !important;'>";
     if (RSSFeed::canView()) {
         RSSFeed::showListForCentral(false);
     } else {
         echo "&nbsp;";
     }
     echo "</td></tr>";
     echo "</table>";
 }
Esempio n. 3
0
 /**
  * Show the central RSS view
  *
  * @since version 0.84
  **/
 static function showRSSView()
 {
     echo "<table class='tab_cadre_central'>";
     echo "<tr><td class='top' width='50%'>";
     RSSFeed::showListForCentral();
     echo "</td><td class='top' width='50%'>";
     if (RSSFeed::canView()) {
         RSSFeed::showListForCentral(false);
     } else {
         echo "&nbsp;";
     }
     echo "</td></tr>";
     echo "</table>";
 }
Esempio n. 4
0
 /**
  * Show the central RSS view
  *
  * @since version 0.84
  **/
 static function showRSSView()
 {
     echo "<table class='tab_cadre_central'>";
     echo "<tr><td class='top' width='50%'>";
     RSSFeed::showListForCentral();
     echo "</td><td class='top' width='50%'>";
     if (Session::haveRight("rssfeed_public", "r")) {
         RSSFeed::showListForCentral(false);
     } else {
         echo "&nbsp;";
     }
     echo "</td></tr>";
     echo "</table>";
 }