?>
.
</p>

<p>
	Note that not all graphs have data that is updated this frequently. Your account data and reports are still only updated
	according to <a href="<?php 
echo htmlspecialchars(url_for('premium'));
?>
">your data update rates</a>
	(once every <?php 
echo plural("hour", get_premium_config('refresh_queue_hours_free'));
?>
 for free users,
	or every <?php 
echo plural("hour", get_premium_config('refresh_queue_hours_premium'));
?>
 for premium users).
	Other graphs, such as <a href="<?php 
echo htmlspecialchars(url_for('historical'));
?>
">ticker and historical graphs</a>, are updated much more frequently for everyone.
</p>

<p>
	You may disable live graph refreshes by logging into <a href="<?php 
echo htmlspecialchars(url_for('user'));
?>
">your user account</a>
	and disabling "automatic graph refresh".
</p>
示例#2
0
/**
 * Get the current premium or free value for a particular group.
 */
function get_premium_value($user, $group)
{
    return get_premium_config($group . "_" . ($user['is_premium'] ? 'premium' : 'free'));
}
示例#3
0
    <td class="number premium"><?php 
echo number_format(get_premium_config("finance_accounts_premium"));
?>
</td>
  </tr>
  <tr>
    <th><?php 
echo $welcome ? t("Finance Categories") : '<a href="' . htmlspecialchars(url_for('finance_categories')) . '">' . ht("Finance Categories") . '</a>';
?>
</th>
    <td class="number"><?php 
echo number_format(get_premium_config("finance_categories_free"));
?>
</td>
    <td class="number premium"><?php 
echo number_format(get_premium_config("finance_categories_premium"));
?>
</td>
  </tr>
  <tr>
    <th><?php 
echo t("Export transactions to CSV");
?>
</th>
    <td class="no">-</td>
    <td class="yes premium">Y</td>
  </tr>
  <tr>
    <th><a href="<?php 
echo htmlspecialchars(url_for('vote_coins'));
?>