function addFeed($users = null)
 {
     $do_workfeed = new WorkFeed();
     if ($users == null) {
         $do_workfeed->addFeed($this);
     } else {
         $do_workfeed->addFeed($this, $users);
     }
 }
Exemple #2
0
            <?php 
$msg = new Message();
$do_contact = $_SESSION['do_User']->getChildContact();
if ($do_contact->getNumRows() == 0) {
    $msg->getMessage("welcome");
    $msg->displayMessage();
} else {
    $msg->getMessageFromContext("dashboard");
    $msg->displayMessage();
}
?>

        <div class="mainheader pad20">
                <span class="page_title"><?php 
$do_workfeed = new WorkFeed();
printf(_("%s 's Work Feed:"), $_SESSION['do_User']->firstname) . "\n";
?>
</span>
                <?php 
if (is_object($GLOBALS['cfg_submenu_placement']['index'])) {
    echo $GLOBALS['cfg_submenu_placement']['index']->getMenu();
}
?>
        </div>
        
        
        <script type="text/javascript">
        function autoLoadWorkfeed() {
                $('div#last_feed_loader').html('<img src="/images/loader1.gif">');
                $.ajax({