Ejemplo n.º 1
0
function emit_add_alerts($alert_cnt)
{
    ?>
<div class="accountaction">
<h3>Set up email alerts</h3>
<p>Follow your favourite journalist(s) via email.</p>
<?php 
    if ($alert_cnt == 0) {
        ?>
<p>You don't have any alerts set up.</p>
<?php 
    } else {
        ?>
<p>You currently have <strong><?php 
        echo nice_number($alert_cnt);
        ?>
</strong> <?php 
        echo $alert_cnt == 1 ? "alert" : "alerts";
        ?>
.</p>
<?php 
    }
    ?>
<p>
<div class="editbutton"><a href="/alert"><span>Set up alerts</span></a></div>
</div>
<?php 
}
Ejemplo n.º 2
0
  <p><strong>Warning:</strong> this journalist may not exist. The newspaper may have invented them. To find out more click <a href="/fakes">here</a>...</p>
</div>
<?php 
}
?>

<?php 
if ($can_edit_page && $status != 'a') {
    ?>
<div class="profile-warning not-public">
  <p><strong>Please Note:</strong>
  Your public profile is not yet active. It will be switched on once you have <a href="/missing?j=<?php 
    echo $ref;
    ?>
">added</a> <?php 
    echo nice_number(OPTION_JL_JOURNO_ACTIVATION_THRESHOLD);
    ?>
 articles.
  </p>
</div>
<?php 
}
?>


<div class="main journo-profile">
<div class="head"></div>
<div class="body">


<div class="overview">