Example #1
0
<?php 
include_partial('extension/' . strtolower($entity['primary_ext']) . 'data', array('entity' => $entity, 'label_width' => '100px'));
?>

<?php 
$networkLinks = array();
if (EntityTable::isLocal($entity['id'])) {
    ?>
  <?php 
    $networks = EntityTable::getNetworksById($entity['id']);
    ?>
  <?php 
    foreach ($networks as $network) {
        ?>
    <?php 
        $networkLinks[] = network_link($network);
        ?>
  <?php 
    }
}
?>

<?php 
$addressLinks = array();
if ($entity['primary_ext'] == 'Org') {
    ?>
  <?php 
    $addresses = Doctrine::getTable('Address')->findByEntityId($entity['id']);
    ?>
  <?php 
    foreach ($addresses as $address) {
Example #2
0
<?php

use_helper('Number');
?>


<?php 
include_partial('user/basic', array('profile' => $profile));
?>



<?php 
include_partial('global/section', array('title' => 'Account Settings', 'actions' => array(array('text' => 'edit', 'url' => 'home/editSettings'), array('text' => 'change password', 'url' => 'home/changePassword'))));
?>

<div class="padded">
<?php 
$network = Doctrine::getTable('LsList')->find($profile->home_network_id);
include_partial('global/datatable', array('label_width' => '200px', 'data' => array('Email' => $profile->email, 'Home Network' => network_link($network), 'Receive announcements' => $profile->enable_announcements, 'Receive Notes notifications' => $profile->enable_notes_notifications, 'Show pointers' => $profile->enable_pointers, 'Show Recent Views' => $profile->enable_recent_views, 'Show Notes list' => $profile->enable_notes_list, 'Opt out of rankings' => $profile->ranking_opt_out, 'Opt out of Who\'s Watching' => $profile->watching_opt_out)));
?>
</div>

Example #3
0
<div id="topcontent">
<div id="login">

<?php 
if ($sf_user->isAuthenticated()) {
    ?>
  
  Logged in as <strong><?php 
    echo link_to($sf_user->getProfile()->public_name, 'home/notes');
    ?>
</strong>
  in <strong><?php 
    echo network_link(Doctrine::getTable('LsList')->find($sf_user->getProfile()->home_network_id));
    ?>
</strong>.
  
  <?php 
    if ($sf_user->isAuthenticated() && $sf_user->getProfile()->unread_notes == 1) {
        ?>
    You have <strong><?php 
        echo link_to('1 new note!', 'home/notes');
        ?>
</strong>
  <?php 
    } elseif ($sf_user->isAuthenticated() && $sf_user->getProfile()->unread_notes > 0) {
        ?>
    You have <strong><?php 
        echo link_to($sf_user->getProfile()->unread_notes . ' new notes!', 'home/notes');
        ?>
</strong>
  <?php 
Example #4
0
<?php

use_helper('Date');
?>

<?php 
slot('header_text', $network['name'] . ' Notes');
slot('header_link', LsListTable::getNetworkInternalUrl($network, 'notes'));
?>

Showing analyst notes in the <strong><?php 
echo network_link($network);
?>
</strong> network. You can filter the note history by entering search terms below.
<br />
<br />

<form action="<?php 
echo url_for(LsListTable::getNetworkInternalUrl($network, 'notes'));
?>
">
<?php 
echo input_tag('query', $sf_request->getParameter('query'));
?>
 
<?php 
echo submit_tag('Search', 'class=button_small');
?>
</form>

<br />