本文整理汇总了PHP中Authorization::isPasswordDefault方法的典型用法代码示例。如果您正苦于以下问题:PHP Authorization::isPasswordDefault方法的具体用法?PHP Authorization::isPasswordDefault怎么用?PHP Authorization::isPasswordDefault使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Authorization
的用法示例。
在下文中一共展示了Authorization::isPasswordDefault方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: sprintf
echo $lang['err'] . ': ' . sprintf($lang['db_exists'], htmlencode($dbname));
echo "</div><br/>";
}
if ($db->isWritable() && !$db->isDirWritable()) {
echo "<div class='confirm' style='margin:10px 20px;'>";
echo $lang['attention'] . ': ' . $lang['directory_not_writable'];
echo "</div><br/>";
}
if (isset($extension_not_allowed)) {
echo "<div class='confirm' style='margin:10px 20px;'>";
echo $lang['extension_not_allowed'] . ': ';
echo implode(', ', array_map('htmlencode', $allowed_extensions));
echo '<br />' . $lang['add_allowed_extension'];
echo "</div><br/>";
}
if ($auth->isPasswordDefault()) {
echo "<div class='confirm' style='margin:20px 0px;'>";
echo sprintf($lang['warn_passwd'], is_readable('phpliteadmin.config.php') ? 'phpliteadmin.config.php' : PAGE) . "<br />" . $lang['warn0'];
echo "</div>";
}
echo "<b>" . $lang['db_name'] . "</b>: " . htmlencode($db->getName()) . "<br/>";
echo "<b>" . $lang['db_path'] . "</b>: " . htmlencode($db->getPath()) . "<br/>";
echo "<b>" . $lang['db_size'] . "</b>: " . $db->getSize() . " KB<br/>";
echo "<b>" . $lang['db_mod'] . "</b>: " . $db->getDate() . "<br/>";
echo "<b>" . $lang['sqlite_v'] . "</b>: " . $realVersion . "<br/>";
echo "<b>" . $lang['sqlite_ext'] . "</b> " . helpLink($lang['help1']) . ": " . $db->getType() . "<br/>";
echo "<b>" . $lang['php_v'] . "</b>: " . phpversion() . "<br/>";
echo "<b>" . PROJECT . " " . $lang["ver"] . "</b>: " . VERSION;
echo " <a href='" . PROJECT_URL . "' target='_blank' id='oldVersion' style='display: none;' class='warning'>" . $lang['new_version'] . "</a><br/><br/>";
echo "<script type='text/javascript'>checkVersion('" . VERSION . "','" . VERSION_CHECK_URL . "');</script>";
if (isset($_GET['sort']) && ($_GET['sort'] == 'type' || $_GET['sort'] == 'name')) {