Exemple #1
0
 /**
  * Initialize the plugin: turn esoTalk's debug config variable on.
  *
  * @return void
  */
 public function init()
 {
     parent::init();
     // Turn debug mode on.
     //if (!ET::$session->isAdmin()) return;
     ET::$config["esoTalk.debug"] = true;
 }
Exemple #2
0
 public function __construct($rootDirectory)
 {
     parent::__construct($rootDirectory);
     ETFactory::register("pagesModel", "PagesModel", dirname(__FILE__) . "/PagesModel.class.php");
     ETFactory::registerAdminController("pages", "PagesAdminController", dirname(__FILE__) . "/PagesAdminController.class.php");
     ETFactory::registerController("pages", "PagesController", dirname(__FILE__) . "/PagesController.class.php");
 }
Exemple #3
0
 public function __construct($rootDirectory)
 {
     parent::__construct($rootDirectory);
     // Register the profile_field model which provides convenient methods to
     // manage profile data.
     ETFactory::register("profileFieldModel", "ProfileFieldModel", dirname(__FILE__) . "/ProfileFieldModel.class.php");
     // Register the profiles admin controller which provides an interface for
     // administrators to manage custom profile fields.
     ETFactory::registerAdminController("profiles", "ProfilesAdminController", dirname(__FILE__) . "/ProfilesAdminController.class.php");
 }
Exemple #4
0
 public function __construct($rootDirectory)
 {
     parent::__construct($rootDirectory);
     ETFactory::register("attachmentModel", "AttachmentModel", dirname(__FILE__) . "/AttachmentModel.class.php");
     ETFactory::registerController("attachment", "AttachmentController", dirname(__FILE__) . "/AttachmentController.class.php");
 }
Exemple #5
0
 /**
  * Class constructor.
  *
  * @return void
  */
 public function __construct($rootDirectory)
 {
     parent::__construct($rootDirectory);
     $this->icons = array();
     $this->icons[":)"] = "background-position:0 0";
     $this->icons[":-)"] = "background-position:0 0";
     $this->icons["=)"] = "background-position:0 0";
     $this->icons[":-D"] = "background-position:0 -20px";
     $this->icons[":D"] = "background-position:0 -20px";
     $this->icons["=D"] = "background-position:0 -20px";
     $this->icons["^_^"] = "background-position:0 -40px";
     $this->icons["^^"] = "background-position:0 -40px";
     $this->icons[":("] = "background-position:0 -60px";
     $this->icons[":-("] = "background-position:0 -60px";
     $this->icons["=("] = "background-position:0 -60px";
     $this->icons["-_-"] = "background-position:0 -80px";
     $this->icons[";-)"] = "background-position:0 -100px";
     $this->icons[";)"] = "background-position:0 -100px";
     $this->icons["^_-"] = "background-position:0 -100px";
     $this->icons["~_-"] = "background-position:0 -100px";
     $this->icons["-_^"] = "background-position:0 -100px";
     $this->icons["-_~"] = "background-position:0 -100px";
     $this->icons["^_^;"] = "background-position:0 -120px; width:18px";
     $this->icons["^^;"] = "background-position:0 -120px; width:18px";
     $this->icons[">_<"] = "background-position:0 -140px";
     $this->icons[":/"] = "background-position:0 -160px";
     $this->icons[":-/"] = "background-position:0 -160px";
     $this->icons["=/"] = "background-position:0 -160px";
     $this->icons[":\\"] = "background-position:0 -160px";
     $this->icons["=\\"] = "background-position:0 -160px";
     $this->icons[":x"] = "background-position:0 -180px";
     $this->icons["=x"] = "background-position:0 -180px";
     $this->icons[":|"] = "background-position:0 -180px";
     $this->icons["=|"] = "background-position:0 -180px";
     $this->icons["'_'"] = "background-position:0 -180px";
     $this->icons["<_<"] = "background-position:0 -200px";
     $this->icons[">_>"] = "background-position:0 -220px";
     $this->icons["x_x"] = "background-position:0 -240px";
     $this->icons["o_O"] = "background-position:0 -260px";
     $this->icons["O_o"] = "background-position:0 -260px";
     $this->icons["o_0"] = "background-position:0 -260px";
     $this->icons["0_o"] = "background-position:0 -260px";
     $this->icons[";_;"] = "background-position:0 -280px";
     $this->icons[":'("] = "background-position:0 -280px";
     $this->icons[":O"] = "background-position:0 -300px";
     $this->icons["=O"] = "background-position:0 -300px";
     $this->icons[":o"] = "background-position:0 -300px";
     $this->icons["=o"] = "background-position:0 -300px";
     $this->icons[":-P"] = "background-position:0 -320px";
     $this->icons[":P"] = "background-position:0 -320px";
     $this->icons[":p"] = "background-position:0 -320px";
     $this->icons[":-p"] = "background-position:0 -320px";
     $this->icons["=P"] = "background-position:0 -320px";
     $this->icons[";P"] = "background-position:0 -320px";
     $this->icons[";-P"] = "background-position:0 -320px";
     $this->icons[":["] = "background-position:0 -340px";
     $this->icons["=["] = "background-position:0 -340px";
     $this->icons[":3"] = "background-position:0 -360px";
     $this->icons["=3"] = "background-position:0 -360px";
     $this->icons["._.;"] = "background-position:0 -380px; width:18px";
     $this->icons["<(^.^)>"] = "background-position:0 -400px; width:19px";
     $this->icons["(>'.')>"] = "background-position:0 -400px; width:19px";
     $this->icons["(>^.^)>"] = "background-position:0 -400px; width:19px";
     $this->icons["-_-;"] = "background-position:0 -420px; width:18px";
     $this->icons["(o^_^o)"] = "background-position:0 -440px";
     $this->icons["(^_^)/"] = "background-position:0 -460px; width:19px";
     $this->icons[">:("] = "background-position:0 -480px";
     $this->icons[">:["] = "background-position:0 -480px";
     $this->icons["._."] = "background-position:0 -500px";
     $this->icons["T_T"] = "background-position:0 -520px";
     $this->icons["XD"] = "background-position:0 -540px";
     $this->icons["('<"] = "background-position:0 -560px";
     $this->icons["B)"] = "background-position:0 -580px";
     $this->icons["XP"] = "background-position:0 -600px";
     $this->icons[":S"] = "background-position:0 -620px";
     $this->icons["=S"] = "background-position:0 -620px";
     $this->icons[">:)"] = "background-position:0 -640px";
     $this->icons[">:D"] = "background-position:0 -640px";
 }
Exemple #6
0
 public function __construct($rootDirectory)
 {
     parent::__construct($rootDirectory);
     ETFactory::registerController("mscaptcha", "MSCaptchaController", dirname(__FILE__) . "/MSCaptchaController.class.php");
 }
Exemple #7
0
 public function __construct($rootDirectory)
 {
     parent::__construct($rootDirectory);
     ETFactory::register("reputationModel", "ReputationModel", dirname(__FILE__) . "/ReputationModel.class.php");
     ETFactory::registerController("reputation", "ReputationController", dirname(__FILE__) . "/ReputationController.class.php");
 }