?>
.
</p>

<p>
Three options of managed graphs are available on your <a href="<?php 
echo htmlspecialchars(url_for('wizard_reports'));
?>
">report preferences</a> page:
</p>

<dl>
	<dt>Automatic</dt>
	<dd>Graphs are selected from the <?php 
$graphs = get_auto_managed_graph_categories();
$categories = get_managed_graph_categories();
$result = array();
foreach ($graphs as $key) {
    $result[] = "\"" . $categories[$key] . "\"";
}
echo implode_english($result);
?>
 portfolio preferences categories. The managed graph page will be reset and updated automatically (see below).</dd>

	<dt>Managed based on my portfolio preferences</dt>
	<dd>By selecting a number of portfolio preferences, you may define which categories of portfolio graphs you are interested in.
	The managed graph page will be updated automatically, but will not change the layout or properties of graphs modified individually (see below).</dd>

	<dt>Self-managed</dt>
	<dd>Recommended for experts: Your graphs will never be automatically updated.</dd>
</dl>
Example #2
0
    <?php 
if ($user['graph_managed_type'] == 'none') {
    ?>
    <div class="reset-warning">
    <?php 
    echo t("Warning: Selecting this option will reset your currently defined reports and graphs (you will not lose any historical data).");
    ?>
    </div>
    <?php 
}
?>

    <ul class="managed-types">
      <?php 
foreach (get_managed_graph_categories() as $key => $label) {
    ?>
      <li>
        <label><input type="checkbox" name="managed[]"
          value="<?php 
    echo htmlspecialchars($key);
    ?>
"<?php 
    echo isset($managed_preferences[$key]) ? " checked" : "";
    ?>
> <?php 
    echo htmlspecialchars($label);
    ?>
 (<?php 
    echo plural("graph", count($managed_graphs[$key]));
    ?>