Beispiel #1
0
 * Copyright (c) 2010 - 2013, Shuki Shukrun (shukrun.shuki at gmail.com).
 * Dual licensed under the MIT and GPL licenses
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
$name = 'login';
$language = 'he';
$rtl = true;
include_once "autoload.php";
if (isset($_GET['signout'])) {
    jset_login::signout();
}
jset_login::verify();
if (isset($_POST['user']) && $_POST['user']) {
    $user = $_POST['user'];
    $success = jset_login::signin($_POST['user'], $_POST['password']);
}
$dir_pre = config::jxset;
jset_session::create();
$lang = jset_lang::get($name, $language);
jset_page::min(config::jxset, $language, '', $rtl);
?>
<link rel="stylesheet" type="text/css" media="screen" href="css/login.css" />
<script src="<?php 
echo $dir_pre;
?>
jset/i18n/jset.locale-he.js" type="text/javascript"></script>
<title><?php 
echo $lang['title'];
?>
</title>
Beispiel #2
0
<?php

/*
 * jxset
 * Copyright (c) 2010 - 2013, Shuki Shukrun (shukrun.shuki at gmail.com).
 * Dual licensed under the MIT and GPL licenses
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
$name = 'password';
$language = 'he';
$rtl = true;
include_once "autoload.php";
jset_login::verify();
if (isset($_POST['new_password'])) {
    $success = jset_login::change_password($_POST['current_password'], $_POST['new_password']);
}
$dir_pre = config::jxset;
jset_session::create();
$lang = jset_lang::get($name, $language);
jset_page::min(config::jxset, $language, '', $rtl);
?>
<link rel="stylesheet" type="text/css" media="screen" href="css/password.css" />
<script src="<?php 
echo $dir_pre;
?>
jset/i18n/jset.locale-he.js" type="text/javascript"></script>
<title><?php 
echo $lang['title'];
?>
</title>