Пример #1
0
    } else {
        echo "<a href='admin.php?page=cart66-settings&tab=debug_settings&cart66_curl_test=run'>" . __("Run Test", "cart66") . "</a>";
    }
}
?>
          </td>
        </tr>
        <tr valign="top">
          <th scope="row"><?php 
_e('Write Permissions', 'cart66');
?>
</th>
          <td>
            <?php 
$isWritable = is_writable(CART66_PATH) ? __("Writable", "cart66") : __("Not Writable", "cart66");
echo Cart66Setting::validateDebugValue($isWritable, __("Writable", "cart66"));
?>
          </td>
        </tr>
        <tr valign="top">
          <th scope="row"><?php 
_e('Subscription Reminders Last Checked', 'cart66');
?>
</th>
          <td>
            <?php 
echo Cart66Setting::getValue('daily_subscription_reminders_last_checked') ? Cart66Common::getElapsedTime(date('Y-m-d H:i:s', Cart66Setting::getValue('daily_subscription_reminders_last_checked'))) : __("Never", "cart66");
?>
            <form action="" method="post" style="display:inline-block">
              <input type="hidden" name="cart66-action" value="check subscription reminders" id="cart66-action" />
              <input type="submit" value="<?php