diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/InformationPlugin.class.php | 25 | ||||
-rw-r--r-- | src/plugins/SenderGVSMS.class.php | 4 | ||||
-rw-r--r-- | src/plugins/SenderIdentica.class.php | 4 |
3 files changed, 29 insertions, 4 deletions
diff --git a/src/plugins/InformationPlugin.class.php b/src/plugins/InformationPlugin.class.php new file mode 100644 index 0000000..6a37370 --- /dev/null +++ b/src/plugins/InformationPlugin.class.php @@ -0,0 +1,25 @@ +<?php + +require_once('Plugin.class.php'); + +class InformationPlugin extends Plugin { + public static function configList() { return array(); } + public function init() {} + public static function description() { + return "Get information about the user."; + } + public function userConfig(&$arr) { + $group = 'Information'; + $this->addConfigGroup($arr, $group); + $arr[$group][] = array('firstname','First Name','text'); + $arr[$group][] = array('lastname','Last Name','text'); + $arr[$group][] = array('school','Home School','text'); + $arr[$group][] = array('hsclass','Highschool Class of','text'); + + $group = 'Application-Resume-Things'; + $this->addConfigGroup($arr, $group); + $arr[$group][] = array('why_team', + 'Why you want to be on the team', + 'textarea'); + } +} diff --git a/src/plugins/SenderGVSMS.class.php b/src/plugins/SenderGVSMS.class.php index 777586c..90f9e69 100644 --- a/src/plugins/SenderGVSMS.class.php +++ b/src/plugins/SenderGVSMS.class.php @@ -5,8 +5,8 @@ require_once('GoogleVoice.class.php'); class SenderGVSMS extends SenderPrivate { protected $config = array('username'=>'', - 'password'=>'', - 'length'=>160); + 'password'=>'', + 'length'=>160); private $obj; public static function description() { diff --git a/src/plugins/SenderIdentica.class.php b/src/plugins/SenderIdentica.class.php index 4bb20c9..ac62dc3 100644 --- a/src/plugins/SenderIdentica.class.php +++ b/src/plugins/SenderIdentica.class.php @@ -5,8 +5,8 @@ require_once('Identica.class.php'); class SenderIdentica extends SenderBroadcast { protected $config = array('username'=>'', - 'password'=>'', - 'length'=>140); + 'password'=>'', + 'length'=>140); private $obj; public static function description() { |