/** * @deprecated This is not used anywhere in the core * @todo Remove after 2.0 * Displays smilie image buttons used to insert smilie codes to a target textarea in a form * $textarea_id is a unique of the target textarea */ function xoopsSmilies($textarea_id) { icms_core_Debug::setDeprecated('icms_form_elements_Dhtmltextarea.', sprintf(_CORE_REMOVE_IN_VERSION, '2.0')); $smiles =& icms_core_DataFilter::getSmileys(); if (empty($smileys)) { if ($result = icms::$xoopsDB->query("SELECT * FROM " . icms::$xoopsDB->prefix('smiles') . " WHERE display='1'")) { while ($smiles = icms::$xoopsDB->fetchArray($result)) { //hack smilies move for the smilies !! echo "<img src='" . ICMS_UPLOAD_URL . "/" . htmlspecialchars($smiles['smile_url']) . "' border='0' onmouseover='style.cursor=\"hand\"' alt='' onclick='xoopsCodeSmilie(\"" . $textarea_id . "_tarea\", \" " . $smiles['code'] . " \");' />"; //fin du hack } } } else { $count = count($smiles); for ($i = 0; $i < $count; $i++) { if ($smiles[$i]['display'] == 1) { //hack bis echo "<img src='" . ICMS_UPLOAD_URL . "/" . icms_core_DataFilter::htmlSpecialChars($smiles['smile_url']) . "' border='0' alt='' onclick='xoopsCodeSmilie(\"" . $textarea_id . "_tarea\", \" " . $smiles[$i]['code'] . " \");' onmouseover='style.cursor=\"hand\"' />"; //fin du hack } } } //hack for more echo " [<a href='#moresmiley' onmouseover='style.cursor=\"hand\"' alt='' onclick='openWithSelfMain(\"" . ICMS_URL . "/misc.php?action=showpopups&type=smilies&target=" . $textarea_id . "_tarea\",\"smilies\",300,475);'>" . _MORE . "</a>]"; }
/** * Access the only instance of this class * * @static * @staticvar object * * @return object * */ public static function &getInstance() { static $instance; if (!isset($instance)) { $instance = new icms_core_Versionchecker(); } $self->_deprecated = icms_core_Debug::setDeprecated('icms_core_Versionchecker', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); return $instance; }
/** * Access the only instance of this class * * @param object $tpl reference to a {@link Smarty} object * @param boolean $use_icons * @param boolean $do_iconcheck * @return **/ static function &instance(&$tpl, $use_icons = true, $do_iconcheck = false) { $class = new XoopsCommentRenderer(); $class->_deprecated = icms_core_Debug::setDeprecated('icms_data_comment_Renderer', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); static $instance; if (!isset($instance)) { $instance = new icms_data_comment_Renderer($tpl, $use_icons, $do_iconcheck); } return $instance; }
public function __construct($title, $name, $action, $method = "post", $addtoken = false) { parent::__construct($title, $name, $action, $method, $addtoken); $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_Simple', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
public function __construct() { icms_core_Debug::setDeprecated('icms_core_Debug', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
function user_viewoid() { icms_core_Debug::setDeprecated('$this->getVar("user_viewoid")', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); return $this->getVar('user_viewoid'); }
public function __construct(&$db) { parent::__construct($db); $this->_deprecated = icms_core_Debug::setDeprecated('icms_image_category_Handler', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
public function __construct($caption, $name, $editor_configs = null, $noHtml = false, $OnFailure = "") { parent::__construct($caption, $name, $editor_configs, $noHtml, $OnFailure); $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_Editor', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
/** * Construtor * * @param string $caption * @param string $name * @param mixed $value Value for the Select attribute * @param string $cat Name of the Category */ function __construct($caption, $name, $value = null, $cat = null) { parent::__construct($caption, $name, $value, $cat); $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_select_Image', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
public function __construct($caption, $name, $maxfilesize = '4096000') { parent::__construct($caption, $name, $maxfilesize); $this->_deprecated = icms_core_Debug::setDeprecated('icms_config_item_Object', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
public function XoopsFormElementTray($caption, $delimeter = " ", $name = "") { $this->__construct($caption, $delimeter, $name); $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_Tray', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
/** * Gets list of all user ranks in the database * @deprecated Use SystemUserrankHandler->getList * @todo Remove in version 1.4 * * @return array $ret list of user ranks */ public static function getUserRankList() { icms_core_Debug::setDeprecated('SystemUserrankHandler->getList', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); return icms_getModuleHandler("userrank", "system")->getList(icms_buildCriteria(array("rank_special" => 1))); }
<?php // $Id: xoopsuser.php 10337 2010-07-13 15:37:14Z skenow $ // this file is for backward compatibility only if (!defined('ICMS_ROOT_PATH')) { exit; } icms_core_Debug::setDeprecated('', 'class/xoopsuser.php file will be removed in ImpressCMS 1.4 - use kernel/user.php'); /** * Include the user class * @deprecated use kernel/user.php instead * @todo Remove this file in 1.4 */ require_once ICMS_ROOT_PATH . '/kernel/user.php';
/** * Constuctor * * @param string $caption caption * @param string $name name * @param string $value initial content * @param int $rows number of rows * @param int $cols number of columns */ function XoopsFormTextArea($caption, $name, $value = "", $rows = 5, $cols = 50) { parent::__construct($caption, $name, $value, $rows, $cols); $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_Textarea', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
public function __construct($keywords, $singlewords = false, $replace_callback = null) { parent::__construct($keywords, $singlewords, $replace_callback); $this->_deprecated = icms_core_Debug::setDeprecated('icms_ipf_Highlighter', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
<?php /** * Administration of mailusers, main file * * @copyright http://www.impresscms.org/ The ImpressCMS Project * @license LICENSE.txt * @package Administration * @subpackage Users * @version SVN: $Id: mailusers.php 20791 2011-02-11 04:01:58Z skenow $ */ icms_core_Debug::setDeprecated('system/admin/mailusers/main.php', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); include_once ICMS_ROOT_PATH . "/modules/system/admin/mailusers/main.php";
public function __construct($caption, $name, $value = "#FFFFFF") { parent::__construct($caption, $name, $value); $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_Colorpicker', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
public function IcmsPersistableObject(&$handler) { parent::__construct($handler); $this->_deprecated = icms_core_Debug::setDeprecated('icms_ipf_Object', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
public function __construct() { parent::__construct(); $this->setErrors = icms_core_Debug::setDeprecated('icms_core_Kernel', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
/** * Constructor * Sets all the values / variables for the IcmsForm class * @param string &$target reference to targetobject (@todo, which object will be passed here?) * @param string $form_name the form name * @param string $form_caption the form caption * @param string $form_action the form action * @param string $form_fields the form fields * @param string $submit_button_caption whether to add a caption to the submit button * @param bool $cancel_js_action whether to invoke a javascript action when cancel button is clicked * @param bool $captcha whether to add captcha */ public function __construct(&$target, $form_name, $form_caption, $form_action, $form_fields = null, $submit_button_caption = false, $cancel_js_action = false, $captcha = false) { parent::__construct(&$target, $form_name, $form_caption, $form_action, $form_fields, $submit_button_caption, $cancel_js_action, $captcha); $this->_deprecated = icms_core_Debug::setDeprecated('icms_ipf_form_Base', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
public function __construct($name = _CORE_TOKEN, $timeout = 0) { parent::__construct($name, $timeout); $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_Hiddentoken', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
public function __construct(&$objectArr, $myId, $parentId, $rootId = null) { parent::__construct($objectArr, $myId, $parentId, $rootId); $this->_deprecated = icms_core_Debug::setDeprecated('icms_ipf_Tree', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
/** * Writes index file * @param string $path path to the file to write * @return bool * @todo use language constants for error messages * @todo Move to static class Filesystem */ function xoops_write_index_file($path = '') { icms_core_Debug::setDeprecated('icms_core_Filesystem::writeIndexFile', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); return icms_core_Filesystem::writeIndexFile($path); }
public function __construct($caption, $name, $value, $rows = 5, $cols = 50, $hiddentext = "xoopsHiddenText", $options = array()) { parent::__construct($caption, $name, $value, $rows, $cols, $hiddentext, $options); $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_Dhtmltextarea', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
public function &getAuthConnection($uname) { parent::getAuthConnection($uname); $this->_deprecated = icms_core_Debug::setDeprecated('icms_auth_Factory', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
/** * * @deprecated Use the handler method instead * @todo Remove in version 1.4 * @param unknown_type $dirname */ public function &getByDirName($dirname) { icms_core_Debug::setDeprecated('Module Handler', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); $modhandler = icms::handler('icms_module'); $inst =& $modhandler->getByDirname($dirname); return $inst; }
public function __construct($object, $key) { parent::__construct($object, $key); $this->_deprecated = icms_core_Debug::setDeprecated('icms_ipf_form_elements_Datetime', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
public function __construct() { parent::__construct(); $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_captcha_Object', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
public function __construct($caption, $name, $value = null, $yes = _YES, $no = _NO) { parent::__construct($caption, $name, $value, $yes, $no); $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_Radioyn', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); }
/** * Enter description here ... * @param $content * @param $title * @param $description * @param $pagetitle * @param $width * @deprecated Use icms_view_Printerfriendly::generate, instead * @todo Remove in versions 1.4 */ function icms_MakePrinterFriendly($content, $title = false, $description = false, $pagetitle = false, $width = 680) { icms_core_Debug::setDeprecated('icms_view_Printerfriendly::generate', sprintf(_CORE_REMOVE_IN_VERSION, '1.4')); return icms_view_Printerfriendly::generate($content, $title, $description, $pagetitle, $width); }