From: Andrew Dolgov Date: Wed, 6 Aug 2008 06:47:56 +0000 (+0100) Subject: rework filter and label edit/create dialog layouts X-Git-Tag: 1.2.26~41 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=10fa66154912a6b69252b7decf6a3426448be486;p=tt-rss.git rework filter and label edit/create dialog layouts --- diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 1dc38197..baead1c3 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -213,28 +213,30 @@ print ""; print ""; - print ""; + print "
".__("Caption")."
"; + + print "
"; - print "
- "; + print "
".__("Match SQL")."
"; - print "
".__('Caption:').""; + name=\"description\" size=\"30\" value=\"$description\">"; + print ""; - print "
-

".__('SQL Expression:')."

"; + print "
"; print ""; - print "
"; + rows=\"6\" name=\"sql_exp\" class=\"labelSQL\" cols=\"50\">$sql_exp"; + + print ""; print ""; print "
"; - print "
"; + print "
"; print "
"; print ""; +/* print ""; print "
".__('Match:')." "; + print ""; */ + + print "
".__("Match")."
"; + + print "
"; + + print ""; + + print " " . __("on field") . " "; + print_select_hash("filter_type", 1, $filter_types); + + print "
"; + + print __("in") . " "; + print_feed_select($link, "feed_id", $active_feed_id); + + print "
"; + + print "
".__("Perform action")."
"; + + print "
"; + + print ""; + + print " " . __("with params") . " "; + + print ""; + + print "
"; + + print "
".__("Options")."
"; + print "
"; + + print " +
"; + + print " + "; + + print "
"; + print ""; - print "
"; + print "
"; print ""; +/* print ""; print "
".__('Match:')." "; - print "
"; + print "
"; */ + + print "
".__("Match")."
"; + + print "
"; + + print ""; + + print " " . __("on field") . " "; + print_select_hash("filter_type", $filter_type, $filter_types); + + print "
"; + + print __("in") . " "; + print_feed_select($link, "feed_id", $feed_id); + + print "
"; + + print "
".__("Perform action")."
"; + + print "
"; + + print ""; + + print " " . __("with params") . " "; + + $param_disabled = ($action_id == 4 || $action_id == 6) ? "" : "disabled"; + + print ""; + + print "
"; + + print "
".__("Options")."
"; + print "
"; + + if ($enabled) { + $checked = "checked"; + } else { + $checked = ""; + } + + print " +
"; + + if ($inverse) { + $checked = "checked"; + } else { + $checked = ""; + } + + print " + "; + + print "
"; + + print "
"; print ""; print ""; - print ""; + print "
".__("Caption")."
"; - print " - "; + print "
".__("Match SQL")."
"; - print "
Caption:"; + + print ""; + name=\"description\" size=\"30\" value=\"$description\">"; + print ""; - print "
-

SQL Expression:

"; + print "
"; print ""; - print "
"; + rows=\"6\" name=\"sql_exp\" class=\"labelSQL\" cols=\"50\">$sql_exp"; + + print "
"; print ""; print "
"; - print "
"; + print "
"; print "
"; print "