Пример #1
0
?>

        </ul>
      </div>
      <?php 
echo $_html;
?>
  </div>
</div>
<div id="footer">
  <a href="http://statamic.com">Statamic</a> v<?php 
print STATAMIC_VERSION;
?>
  <span id="version-check">
  <?php 
if (Pattern::isValidUUID($app->config['_license_key'])) {
    ?>

    <?php 
    if (isset($app->config['latest_version']) && $app->config['latest_version'] != '' && STATAMIC_VERSION < $app->config['latest_version']) {
        ?>
      <a href="https://store.statamic.com/account"><?php 
        echo Localization::fetch('update_available');
        ?>
: v<?php 
        echo $app->config['latest_version'];
        ?>
</a>
    <?php 
    } else {
        ?>
Пример #2
0
Файл: helper.php Проект: nob/joi
 /**
  * is_valid
  * Determines if the given $uuid is valid
  *
  * @deprecated  Use Pattern::isValidUUID() instead
  *
  * @param string  $uuid  UUID to validate
  * @return boolean
  */
 public static function is_valid($uuid)
 {
     Log::warn("Use of Statamic_Helper::is_valid() is deprecated. Use Pattern::isValidUUID() instead.", "core", "Statamic_Helper");
     return Pattern::isValidUUID($uuid);
 }