Example #1
0
?>
/d/main/profile/"><i class="icon icon-user"></i> Profile</a>
                    </li>
                    <li>
                        <a tabindex="-1" href="<?php 
echo $GLOBALS['sr_root'];
?>
/d/main/signout/"><i class="icon icon-signout"></i> Sign Out</a>
                    </li>
                </ul>
                <ul class="nav pull-right admin-nav-large">
                    <li class="dropdown admin-user-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <i class="icon-user"></i>
                            <span class="user-name"><?php 
echo sr_user_name();
?>
</span>
                            <i class="caret"></i>
                        </a>
                        <ul class="dropdown-menu">
                            <li>
                                <a tabindex="-1" href="<?php 
echo $GLOBALS['sr_root'];
?>
/d/main/profile/"><i class="icon icon-user"></i> Profile</a>
                            </li>
                            <li class="divider">
                            </li>
                            <li>
                                <a tabindex="-1" href="<?php 
Example #2
0
function room_invite_email_content($request)
{
    global $sr_default_chat_name;
    $content = array();
    $room_link = $_SERVER['HTTP_REFERER'];
    if (($user_name = sr_user_first_name()) === null) {
        if (($user_name = sr_user_name()) === null) {
            $user_name = $_SESSION['chat_name'];
        }
    }
    if ($user_name != $sr_default_chat_name) {
        $content['subject'] = $user_name . ' is inviting you to join the Sunrise video conference room';
        $content['body'] = 'Hi,<br/><br/>' . $user_name . ' is waiting for you in the Sunrise video conference room.<br/>Click the link below to join.<br/><br/><a href="' . $room_link . '">' . $room_link . '</a>';
        if (!$request['is_open']) {
            $content['body'] .= '<br/>Password: '******'password'];
        }
        $content['body'] .= '<br/><br/>Best,<br/><br/>Sunrise VC';
    } else {
        $content['subject'] = 'You were invited to join the Sunrise video conference room';
        $content['body'] = 'Hi,<br/><br/>You were invited to join the Sunrise video conference room.<br/>Click the link below to join.<br/><br/><a href="' . $room_link . '">' . $room_link . '</a>';
        if (!$request['is_open']) {
            $content['body'] .= '<br/>Password: '******'password'];
        }
        $content['body'] .= '<br/><br/>Best,<br/><br/>Sunrise VC';
    }
    return $content;
}