Initial Commit
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
<?php include_once('dashcheck.php'); ?>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>neoCMS Settings :: User Info</title>
|
||||
<link href="../css/main.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="../css/ui.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../js/lib/jquery.js"></script>
|
||||
<script type="text/javascript" src="../js/main.js"></script>
|
||||
<script type="text/javascript" src="../js/dash.js"></script>
|
||||
</head>
|
||||
<body class="neoCMSAcct">
|
||||
|
||||
<?php include 'dashnav.php'; ?>
|
||||
|
||||
<div class="neoCMSDashLeft">
|
||||
<div class="neoCMSDashElement">
|
||||
<form id="neoCMSAcctFormSuperAdmin" class="neoCMSAcctForm neoCMSAcctDisplay"
|
||||
action="../core/getsaveusers.php" method="post" target="neoCMSSaveUserFrame">
|
||||
<h3></h3>
|
||||
<ul>
|
||||
<li class="neoCMSAcctUserLi"><label>Username </label><input class="neoCMSLocked neoCMSAcctUser"
|
||||
name="neoCMSAcctUser" type="text"
|
||||
value="" readonly="true"/><input
|
||||
class="neoCMSLocked neoCMSAcctUser-orig" name="neoCMSAcctUser-orig" type="hidden"
|
||||
value="" readonly="true"/></li>
|
||||
<li class="neoCMSAcctPassLi"><label>Password </label><input class="neoCMSLocked neoCMSAcctPass"
|
||||
name="neoCMSAcctPass" type="text"
|
||||
value="TOTALLY SECURE, REALLY"
|
||||
readonly="true"/></li>
|
||||
</ul>
|
||||
<ul class="neoCMSAcctMeta">
|
||||
<!--<li><label>First & Last Name </label><input class="neoCMSUnlocked" name="neoCMSAcctName" type="text" value="" readonly="true" /> <span class="neoCMSInstructions">For identification only</span></li>-->
|
||||
<li class="neoCMSAcctEmailLi"><label>Email </label><input class="neoCMSLocked neoCMSAcctEmail"
|
||||
name="neoCMSAcctEmail" type="text"
|
||||
value="" readonly="true"/><input
|
||||
class="neoCMSLocked neoCMSAcctEmail-orig" name="neoCMSAcctEmail-orig" type="hidden"
|
||||
value="" readonly="true"/></li>
|
||||
</ul>
|
||||
</form>
|
||||
</div>
|
||||
<h4><a id="neoCMSNewUserLink" href="javascript:"
|
||||
title="give someone else the ability to edit content on your site">Add New User</a> <span>Only the account owner has administrative privileges</span>
|
||||
</h4>
|
||||
<div id="neoCMSNewUser" class="neoCMSNewUserElement">
|
||||
<form id="neoCMSAcctFormNewUser" class="neoCMSAcctForm neoCMSAcctDisplay"
|
||||
action="../core/getsaveusers.php" method="post" target="neoCMSSaveUserFrame">
|
||||
<h3>New User</h3>
|
||||
<ul>
|
||||
<li><label>Name </label><input id="neoCMSNewName" class="neoCMSUnlocked neoCMSAcctName"
|
||||
name="neoCMSNewAcctName"
|
||||
type="text"/><span>Please enter a name</span></li>
|
||||
<li><label>Email </label><input class="neoCMSUnlocked neoCMSAcctEmail" name="neoCMSNewAcctEmail"
|
||||
type="text" value=""/><span>Please enter a valid email</span></li>
|
||||
<li><label>Username </label><input class="neoCMSUnlocked neoCMSAcctUser" name="neoCMSNewAcctUser"
|
||||
type="text" value=""/><span>Please enter a username</span></li>
|
||||
<li><label>Password </label><input id="neoCMSNewAcctPass" class="neoCMSUnlocked neoCMSAcctPass"
|
||||
name="neoCMSNewAcctPass" type="password" value=""/><span>“Medium” or “strong” required.</span>
|
||||
</li>
|
||||
<li id="pwStrengthNew" class="neoCMSAcctPassInfo">n/a <span class="advice">“Medium” or “strong” required.</span>
|
||||
</li>
|
||||
<li><label>Confirm Password </label><input class="neoCMSUnlocked neoCMSAcctPassCon"
|
||||
name="neoCMSNewAcctPassConfirm" type="password"
|
||||
value=""/><span>Must match password</span></li>
|
||||
<li class="neoCMSFormSave"><a id="neoCMSNewUserSave" class="userSave" href="javascript:"
|
||||
title="save">save</a> <span class="neoCMSCancel">or <a
|
||||
id="neoCMSNewUserCancel" href="javascript:">cancel</a></span></li>
|
||||
</ul>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php include 'dashfoot.php'; ?>
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
@session_start();
|
||||
|
||||
if (isset($_SESSION['neoCMSSess']) && isset($_SESSION['neoCMSUserid'])) {
|
||||
|
||||
session_name($_SESSION['neoCMSSess']);
|
||||
@session_start();
|
||||
|
||||
$user = &$_SESSION['neoCMSUserid'];
|
||||
$admin = &$_SESSION['neoCMSIsadmin'];
|
||||
$sess = &$_SESSION['neoCMSSess'];
|
||||
|
||||
if ($admin != 'Y') header("Location:../index.php");
|
||||
|
||||
} else header("Location:../login.php");
|
||||
|
||||
if (file_exists('../../_neoCMSupdate000.php')) {
|
||||
|
||||
include_once('../core/ftpstart.php');
|
||||
include_once('../core/urldissect.php');
|
||||
|
||||
if ($ftpconn) {
|
||||
|
||||
$updatepath = urldissect($_SERVER['SCRIPT_NAME'], false, 3);
|
||||
ftp_delete($ftpconn, $ftpwd . $updatepath . '_neoCMSupdate000.php');
|
||||
ftp_close($ftpconn);
|
||||
|
||||
} else {
|
||||
|
||||
unlink('../../_neoCMSupdate000.php');
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,11 @@
|
||||
<div class="neoCMSDashSidebar">
|
||||
</div>
|
||||
<div class="neoCMSDashFooter">
|
||||
<p><strong>Thanks for using neoCMS™</strong> <span><?php echo $_SESSION['ver']; ?></span></p>
|
||||
<p>© <?php echo date('Y'); ?> Neogate Technologies</p>
|
||||
</div>
|
||||
</div><!--end of neoCMSDashboardWrap-->
|
||||
</div><!-- end of neoCMSDashScrollWrap -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,29 @@
|
||||
<div id="neoCMSTopBanner" class="neoCMSTopBanner">
|
||||
<div class="neoCMSHeader">
|
||||
<ul class="neoCMSTopNav">
|
||||
<li id="neoCMSGoUpdate"><a class="neoCMSFBrowse" rel="#neoCMSPages" href="javascript:"
|
||||
title="Choose a page to edit">Back to Editing</a></li>
|
||||
</ul>
|
||||
<h1><a id="neoCMSHome" href="../" title="Go to your hompage">NeoCMS</a></h1>
|
||||
<ul class="neoCMSInfo">
|
||||
<li id="logout"><a href="javascript:" title="logout">logout</a>·</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div><!--end of neoCMSTopBanner-->
|
||||
<div id="neoCMSDashScrollWrap">
|
||||
<div class="neoCMSTopBuffer">
|
||||
<div class="neoCMSTabNav clearfix">
|
||||
<ul>
|
||||
<li id="neoCMSTabPreferences"><a href="./" title="Preferences">Preferences</a></li>
|
||||
<li id="neoCMSTabMyAccount"><a href="acct.php" title="User Info">User Info</a></li>
|
||||
<li id="neoCMSTabFTPInfo"><a href="ftpinfo.php" title="FTP Info">FTP Info</a></li>
|
||||
</ul>
|
||||
</div><!--end of neoCMSTabNav-->
|
||||
</div><!--end of neoCMSTopBuffer-->
|
||||
<div class="neoCMSDashboardWrap clearfix">
|
||||
<div class="neoCMSDashContent clearfix">
|
||||
|
||||
<div id="neoCMSUpdates">
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,56 @@
|
||||
<?php include_once('dashcheck.php');
|
||||
include_once('../core/ftpvars.php');
|
||||
?>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>neoCMS Settings :: FTP Info</title>
|
||||
<link href="../css/main.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="../css/ui.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../js/lib/jquery.js"></script>
|
||||
<script type="text/javascript" src="../js/main.js"></script>
|
||||
<script type="text/javascript" src="../js/dash.js"></script>
|
||||
</head>
|
||||
<body class="neoCMSFTP">
|
||||
|
||||
<?php include 'dashnav.php'; ?>
|
||||
|
||||
<form id="neoCMSFTPForm" class="neoCMSAcctForm neoCMSAcctDisplay neoCMSAcctEditing" action="../core/ftpcreate.php"
|
||||
method="post" target="neoCMSSaveFTPFrame">
|
||||
<div class="neoCMSDashLeft">
|
||||
|
||||
<p class="FTPtext"><strong>Please Note:</strong> FTP information is not required for most installations of
|
||||
neocms. If you are encountering file permission issues, save your FTP info here and try publishing/uploading
|
||||
again. neocms will write your FTP information to an unreadable file on this server.</p>
|
||||
|
||||
<div class="neoCMSDashElement">
|
||||
|
||||
<h3>Your FTP Info</h3>
|
||||
<ul>
|
||||
<li class="neoCMSFTPServerLi"><label>Server</label><input class="neoCMSFTPServer neoCMSUnlocked"
|
||||
name="ftps" type="text"
|
||||
value="<?php if ($ftps) echo $ftps; ?>"/><span>Please enter your server – no “ftp.”</span>
|
||||
</li>
|
||||
<li class="neoCMSFTPUserLi"><label>FTP Username</label><input class="neoCMSUnlocked" name="ftpu"
|
||||
type="text"
|
||||
value="<?php if ($ftpu) echo $ftpu; ?>"/><span>Please your FTP username</span>
|
||||
</li>
|
||||
<li class="neoCMSFTPPassLi"><label>FTP Password</label><input class="neoCMSUnlocked" name="ftpp"
|
||||
type="password" value=""/><span>Please enter your FTP password</span>
|
||||
</li>
|
||||
<li class="neoCMSFTPPathLi"><label>Domain Root</label><input class="neoCMSUnlocked" name="ftpwd"
|
||||
type="text"
|
||||
value="<?php if ($ftpwd) echo $ftpwd; ?>"/><span>Please enter the path to your site</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<h2 class="neoCMSPrefSave"><a id="neoCMSFTPBtn" href="javascript:">save</a><a id="neoCMSFTPClearBtn"
|
||||
href="javascript:">Clear all FTP
|
||||
info</a></h2>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<?php include 'dashfoot.php'; ?>
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
<?php include_once('dashcheck.php'); ?>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>neoCMS Settings :: Preferences</title>
|
||||
<link href="../css/main.css" rel="stylesheet" type="text/css"/>
|
||||
<link href="../css/ui.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../js/lib/jquery.js"></script>
|
||||
<script type="text/javascript" src="../js/main.js"></script>
|
||||
<script type="text/javascript" src="../js/dash.js"></script>
|
||||
</head>
|
||||
<body class="neoCMSPref">
|
||||
|
||||
<?php include 'dashnav.php'; ?>
|
||||
|
||||
<form id="neoCMSPrefsForm" class="neoCMSPrefForm" action="../core/sessionConfiguration.php" method="post"
|
||||
target="neoCMSSavePrefsFrame">
|
||||
<div class="neoCMSDashLeft">
|
||||
<div id="neoCMSPathElement" class="neoCMSDashElement">
|
||||
<h3>Your neocms file path</h3>
|
||||
<ul>
|
||||
<li id="neoCMSPath" class="neoCMSPath"></li>
|
||||
</ul>
|
||||
<p>This is where your neocms files are located. This is also the path you’ll follow to login to
|
||||
your site’s neocms account to begin editing your site content. <em><strong>Note:</strong>
|
||||
neocms discovers this based on what you name your neocms folder.</em></p>
|
||||
</div>
|
||||
<div class="neoCMSDashElement">
|
||||
<h3>HTML Editing</h3>
|
||||
<label class="neoCMSPrefHtmlOn"><input id="htmltoggleon" name="htmltoggle" type="radio" value="Y"/>
|
||||
on</label> <label class="neoCMSPrefHtmlOff"><input id="htmltoggleoff" name="htmltoggle" type="radio"
|
||||
value="N"/> off</label>
|
||||
<p>Set this preference to “on” if you want users to be able to directly edit the HTML
|
||||
markup, or “off” if you do not want users to be able to edit the HTML.</p>
|
||||
</div>
|
||||
<div class="neoCMSDashElement">
|
||||
<h3>Exclude Folders</h3>
|
||||
<p>Enter a comma separated list of folder names or paths you do not want listed in the neocms file
|
||||
browser. Do not use a “/” at the end fo the path. <em>Ex: “wordpress, .svn,
|
||||
functions/important”</em></p>
|
||||
<ul>
|
||||
<li><label>Folders </label><input id="neoCMSExFolders" class="neoCMSUnlocked" name="exFolders"
|
||||
type="text" value=""/></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="neoCMSDashElement">
|
||||
<h3>File Uploads</h3>
|
||||
<label class="neoCMSPrefHtmlOn"><input id="filetoggleon" name="filetoggle" type="radio" value="Y"/>
|
||||
on</label> <label class="neoCMSPrefHtmlOff"><input id="filetoggleoff" name="filetoggle" type="radio"
|
||||
value="N"/> off</label>
|
||||
<p>Set this preference to “on” if you want users to be able to upload files, or “off”
|
||||
if you do not want users to upload files. There is a 100MB limit on all uploads.</p>
|
||||
<ul>
|
||||
<li class="neoCMSFilePath">
|
||||
<p>To specify a file folder, enter the relative path here. Leave it blank if you want neocms to
|
||||
auto-discover folders.</p>
|
||||
<label>Default File Path </label><input id="neoCMSFilePath" class="neoCMSUnlocked"
|
||||
name="filePath" type="text" value=""/>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="neoCMSDashElement">
|
||||
<h3>Image Uploads</h3>
|
||||
|
||||
<p>To specify an image folder, enter the relative path here. Leave it blank if you want neocms to
|
||||
auto-discover folders.</p>
|
||||
|
||||
<ul>
|
||||
<li><label>Default Image Path </label><input id="neoCMSImagePath" class="neoCMSUnlocked"
|
||||
name="imagePath" type="text" value=""/></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h2 class="neoCMSPrefSave"><a id="neoCMSPrefBtn" href="javascript:">save</a></h2>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<?php include 'dashfoot.php'; ?>
|
||||
Reference in New Issue
Block a user