コード例 #1
0
ファイル: mooshulib.php プロジェクト: ultramookie/mooshu
function showSettingsform()
{
    $sitename = getSiteName();
    $rawsiteurl = getRawSiteUrl();
    echo "<p><b>general site settings:</b></p>";
    echo "<form action=\"";
    echo $_SERVER['PHP_SELF'];
    echo "\"";
    echo " method=\"post\">";
    echo "user: <input type=\"text\" name=\"user\"><br />";
    echo "pass: <input type=\"password\" name=\"pass\"><br />";
    echo "name of site: <input type=\"text\" name=\"site\" value=\"" . $sitename . "\"><br />";
    echo "base url (without http://): <input type=\"text\" name=\"url\" value=\"" . $rawsiteurl . "\"><br />";
    echo "<input type=\"hidden\" name=\"checksubmit\" value=\"1\">";
    echo "<input type=\"submit\" name=\"submit\" value=\"update\">";
    echo "</form>";
}
コード例 #2
0
ファイル: dertyn.php プロジェクト: ultramookie/dertyn
function showSettingsform()
{
    $realname = getRealName();
    $sitename = getSiteName();
    $tagline = getTagline();
    $rawsiteurl = getRawSiteUrl();
    $indexNum = getIndexNum();
    $rssNum = getRssNum();
    $rewriteCheck = getrewriteCheck();
    if ($rewriteCheck == 1) {
        $checked = "checked";
    } else {
        $checked = "";
    }
    echo "<p><b>general site settings:</b></p>";
    echo "<form action=\"";
    echo $_SERVER['PHP_SELF'];
    echo "\"";
    echo " method=\"post\">";
    echo "user: <input type=\"text\" name=\"user\"><br />";
    echo "pass: <input type=\"password\" name=\"pass\"><br />";
    echo "real name: <input type=\"text\" name=\"realname\" value=\"" . $realname . "\"><br />";
    echo "name of site: <input type=\"text\" name=\"site\" value=\"" . $sitename . "\"><br />";
    echo "tagline for site: <input type=\"text\" name=\"tagline\" value=\"" . $tagline . "\"><br />";
    echo "base url (without http://): <input type=\"text\" name=\"url\" value=\"" . $rawsiteurl . "\"><br />";
    echo "number of entries to display per page: <input type=\"text\" name=\"index\" value=\"" . $indexNum . "\"><br />";
    echo "number of entries to display in rss feed: <input type=\"text\" name=\"rss\" value=\"" . $rssNum . "\"><br />";
    echo "use mod_rewrite? (remove .htaccess if you uncheck this): <input type=\"checkbox\" name=\"rewrite\" value=\"1\" " . $checked . "><br />";
    echo "<input type=\"hidden\" name=\"checksubmit\" value=\"1\">";
    echo "<input type=\"submit\" name=\"submit\" value=\"update\">";
    echo "</form>";
}
コード例 #3
0
ファイル: mindoflib.php プロジェクト: ultramookie/mindof
function showSettingsform()
{
    $sitename = getSiteName();
    $rawsiteurl = getRawSiteUrl();
    $indexNum = getIndexNum();
    $rssNum = getRssNum();
    echo "<p>click here for: <a href=\"twittersettings.php\">twitter settings</a></p>";
    echo "<p><b>general site settings:</b></p>";
    echo "<form action=\"";
    echo $_SERVER['PHP_SELF'];
    echo "\"";
    echo " method=\"post\">";
    echo "user: <input type=\"text\" name=\"user\"><br />";
    echo "pass: <input type=\"password\" name=\"pass\"><br />";
    echo "name of site: <input type=\"text\" name=\"site\" value=\"" . $sitename . "\"><br />";
    echo "base url (without http://): <input type=\"text\" name=\"url\" value=\"" . $rawsiteurl . "\"><br />";
    echo "number of entries to display per page: <input type=\"text\" name=\"index\" value=\"" . $indexNum . "\"><br />";
    echo "number of entries to display in rss feed: <input type=\"text\" name=\"rss\" value=\"" . $rssNum . "\"><br />";
    echo "<input type=\"hidden\" name=\"checksubmit\" value=\"1\">";
    echo "<input type=\"submit\" name=\"submit\" value=\"update\">";
    echo "</form>";
}