You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
- new class for CLI add and edit
- based on AddTask, but big parts of __interactive()) are rewritten to:
- use $struct for the user interface (which means it will automatically
adopt to changes in the *Handler classes)
- check all entered data instantly. If an invalid value was entered,
ask again to give the user a chance to enter valid data.
- CliEdit already replaces all AddTask classes (interactive mode works,
commandline parameter mode not implementated yet)
- will also replace all EditTask classes in the future
scripts/shells/shell.php
- loadTasks(): for add, use new CliEdit instead of AddTask class
- in():
- print additional empty line if $prompt is not empty
- print error message when invalid option is chosen
- always return raw $in to avoid '0' vs. ''. vs NULL problems
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1437 a1433add-5e2c-0410-b055-b7f2511e0802
|
13 years ago | |
|---|---|---|
| .. | ||
| AdminHandler.php | 13 years ago | |
| AliasHandler.php | 13 years ago | |
| AliasdomainHandler.php | 13 years ago | |
| CliEdit.php | 13 years ago | |
| Config.php | 14 years ago | |
| DomainHandler.php | 13 years ago | |
| Lang.php | 14 years ago | |
| MailboxHandler.php | 13 years ago | |
| PFAHandler.php | 13 years ago | |
| VacationHandler.php | 14 years ago | |