mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 17:39:46 +01:00
#73 - Added some more comments in deprecated files
This commit is contained in:
parent
5fe3418931
commit
ecfce3b2c1
@ -12,6 +12,9 @@
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
// DEPRECATED - SUBJECT TO REMOVAL
|
||||
// Possible replacements: $frm->userpicker();
|
||||
|
||||
if (!defined("e_THEME")) {
|
||||
require_once('../class2.php');
|
||||
include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_user_select.php");
|
||||
|
@ -9,6 +9,9 @@
|
||||
| $Author$
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
// DEPRECATED - SUBJECT TO REMOVAL
|
||||
|
||||
define("US_LAN_1", "Select user");
|
||||
define("US_LAN_2", "Select user class");
|
||||
define("US_LAN_3", "All users");
|
||||
|
@ -97,7 +97,7 @@ class pm_shortcodes extends e_shortcode
|
||||
// print_a($pm_prefs);
|
||||
}
|
||||
|
||||
|
||||
// TODO rewrite $frm->userpicker(), etc. Get rid of e107_handlers/user_select_class.php
|
||||
public function sc_pm_form_touser()
|
||||
{
|
||||
if(vartrue($this->var['from_name']))
|
||||
|
@ -403,14 +403,8 @@ class search extends e_shortcode
|
||||
}
|
||||
else if ($adv_value['type'] == 'author')
|
||||
{
|
||||
// require_once(e_HANDLER.'user_select_class.php');
|
||||
|
||||
// $us = new user_select;
|
||||
$vars['SEARCH_ADV_A'] = $adv_value['text'];
|
||||
$vars['SEARCH_ADV_B'] = e107::getForm()->userpicker($adv_key."_name",$adv_key,$_GET[$adv_key]); // $us -> select_form('popup', $adv_key, $_GET[$adv_key]);
|
||||
|
||||
|
||||
|
||||
$vars['SEARCH_ADV_B'] = e107::getForm()->userpicker($adv_key."_name",$adv_key,$_GET[$adv_key]);
|
||||
}
|
||||
else if ($adv_value['type'] == 'dual')
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user