1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2026-01-03 17:02:30 +03:00
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
2013-02-25 23:43:08 +00:00
2007-10-31 18:24:40 +00:00
2011-08-08 18:39:03 +00:00
2012-10-03 16:48:32 +00:00
2013-02-19 12:47:52 +00:00
2013-02-22 22:51:43 +00:00
2013-02-25 23:43:08 +00:00
2013-02-25 23:43:08 +00:00
2011-11-27 23:12:52 +00:00
2012-05-28 18:01:31 +00:00
2013-01-04 12:58:21 +00:00
2011-08-05 23:05:25 +00:00
2011-07-18 22:13:05 +00:00
2011-12-26 16:26:30 +00:00
2013-02-16 20:42:17 +00:00
2012-10-31 00:01:51 +00:00
2007-03-24 07:27:00 +00:00
2009-04-22 11:31:53 +00:00
2011-01-06 20:01:21 +00:00
2011-04-24 16:15:21 +00:00
2012-05-07 22:53:04 +00:00
2012-05-07 22:53:04 +00:00
2012-04-09 17:55:00 +00:00
2012-05-28 20:05:48 +00:00
2012-05-28 20:05:48 +00:00
2011-12-20 01:06:49 +00:00
2012-05-28 18:01:31 +00:00
2012-05-28 15:50:25 +00:00
2011-07-26 00:33:44 +00:00
2012-04-09 15:02:16 +00:00
Description
PostfixAdmin - веб-интерфейс виртуального администрирования пользователей для почтовых серверов Postfix
19 MiB
Languages
PHP 76.5%
Smarty 11.2%
Perl 7.1%
Shell 3.8%
Python 0.7%
Other 0.7%