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.
postfixadmin/model
Christian Boltz eafc2b6222 model/CliEdit.php:
- 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 PFAHandler.php: 13 years ago
AliasHandler.php PFAHandler.php: 13 years ago
AliasdomainHandler.php PFAHandler.php: 13 years ago
CliEdit.php model/CliEdit.php: 13 years ago
Config.php make Config.php a php5 compatible object; remove strict standards warnings 14 years ago
DomainHandler.php PFAHandler.php: 13 years ago
Lang.php Move the classes "Config" and "Lang" to scripts/common.php to model/ 14 years ago
MailboxHandler.php MailboxHandler: 13 years ago
PFAHandler.php PFAHandler.php: 13 years ago
VacationHandler.php Merge jan-kruis's vacation interval reply behaviour - see SF patch 3508083 - https://sourceforge.net/tracker/?func=detail&aid=3508083&group_id=191583&atid=937966 ; Thank you 14 years ago