pre production version :
******************************
Template evolution :
- css ( so much things)
- js ( new navigation tools ...)
- lib for php ZIp
- function.php (for download LDT and other litle function)
- page (header, home, footer, single, search, searchform, post ...)
******************************
New plug in :
- wp touch
- wp explorer
- TextCutter
- ultimate-google-analytics
- nice titles
******************************
Plug in customization :
- related-posts-by-category
- posts-of-current-category
- order-categories
- event-calendar
- translation wp explorer
- exec-php
******************************
Road map for next version :
- cleaning php code
put template function to new plugin
- cleaning Css code
- re organize Js code
- all new correction ask
<?php
require_once(dirname(__FILE__).'/const.php');
// -----------------------------------------------------------------------------
// the ExecPhp_UserMeta class handles the loading and storing of the
// plugin settings for each individual article including all needed conversion
// routines
// -----------------------------------------------------------------------------
if (!class_exists('ExecPhp_UserMeta')) :
define('ExecPhp_META_WYSIWYG_WARNING', 'execphp_wysiwyg_warning');
class ExecPhp_UserMeta
{
var $m_user_id = -1;
var $m_hide_wysiwyg_warning = false;
// ---------------------------------------------------------------------------
// init
// ---------------------------------------------------------------------------
function ExecPhp_UserMeta($user_id)
{
$this->m_user_id = $user_id;
$this->load();
}
function save()
{
update_usermeta($this->m_user_id, ExecPhp_META_WYSIWYG_WARNING,
$this->m_hide_wysiwyg_warning);
}
function load()
{
if ($this->m_user_id > 0)
{
$this->m_hide_wysiwyg_warning =
get_usermeta($this->m_user_id, ExecPhp_META_WYSIWYG_WARNING);
}
}
// ---------------------------------------------------------------------------
// access
// ---------------------------------------------------------------------------
function set_from_POST()
{
$this->m_hide_wysiwyg_warning
= isset($_POST[ExecPhp_POST_WYSIWYG_WARNING]);
}
function hide_wysiwyg_warning()
{
return $this->m_hide_wysiwyg_warning;
}
}
endif;
?>