0.8.0.0
This commit is contained in:
@@ -13,14 +13,6 @@ function makeWindowString($p, $strings) {
|
||||
*.title = Preferences
|
||||
*.floating = 1
|
||||
|
||||
parallel.type = checkbox
|
||||
parallel.label = Execute shell commands in parallel
|
||||
parallel.default = ".$p['parallel']."
|
||||
|
||||
debug.type = checkbox
|
||||
debug.label = Enable verbose logging
|
||||
debug.default = ".$p['debug']."
|
||||
|
||||
bdest.type = openbrowser
|
||||
bdest.filetype = directory
|
||||
bdest.label = Destination
|
||||
@@ -32,6 +24,7 @@ function makeWindowString($p, $strings) {
|
||||
postflight.option = ".$strings[0][0]."
|
||||
postflight.option = ".$strings[0][1]."
|
||||
postflight.option = ".$strings[0][2]."
|
||||
postflight.option = ".$strings[0][3]."
|
||||
postflight.default = ".$strings[0][$p['postflight']]."
|
||||
postflight.width = 380
|
||||
|
||||
@@ -41,6 +34,21 @@ function makeWindowString($p, $strings) {
|
||||
rsync_dest.placeholder = user@server.com:files/
|
||||
rsync_dest.width = 380
|
||||
|
||||
hr0.type = image
|
||||
hr0.path = ".__DIR__."/hr.png"."
|
||||
hr0.width = 380
|
||||
hr0.height = 2
|
||||
|
||||
parallel.type = checkbox
|
||||
parallel.label = Use parallel
|
||||
parallel.default = ".$p['parallel']."
|
||||
|
||||
debug.type = checkbox
|
||||
debug.label = Verbose logging
|
||||
debug.default = ".$p['debug']."
|
||||
debug.x = 200
|
||||
debug.y = 439
|
||||
|
||||
hr1.type = image
|
||||
hr1.path = ".__DIR__."/hr.png"."
|
||||
hr1.width = 380
|
||||
@@ -79,15 +87,15 @@ function makeWindowString($p, $strings) {
|
||||
thumbs.default = ".$strings[2][$p['thumbs']]."
|
||||
thumbs.width = 120
|
||||
|
||||
thumb_priority.type = popup
|
||||
thumb_priority.label = Priority
|
||||
thumb_priority.option = ".$strings[3][0]."
|
||||
thumb_priority.option = ".$strings[3][1]."
|
||||
thumb_priority.option = ".$strings[3][2]."
|
||||
thumb_priority.default = ".$strings[3][$p['thumb_priority']]."
|
||||
thumb_priority.width = 120
|
||||
thumb_priority.x = 150
|
||||
thumb_priority.y = 227
|
||||
thumb_mode.type = popup
|
||||
thumb_mode.label = Mode
|
||||
thumb_mode.option = ".$strings[3][0]."
|
||||
thumb_mode.option = ".$strings[3][1]."
|
||||
thumb_mode.option = ".$strings[3][2]."
|
||||
thumb_mode.default = ".$strings[3][$p['thumb_mode']]."
|
||||
thumb_mode.width = 120
|
||||
thumb_mode.x = 150
|
||||
thumb_mode.y = 227
|
||||
|
||||
thumb_size.type = textfield
|
||||
thumb_size.default = ".$p['thumb_size']."
|
||||
@@ -105,14 +113,15 @@ function makeWindowString($p, $strings) {
|
||||
icons.default = ".$strings[2][$p['icons']]."
|
||||
icons.width = 120
|
||||
|
||||
icon_tool.type = popup
|
||||
icon_tool.label = Tool
|
||||
icon_tool.option = ".$strings[4][0]."
|
||||
icon_tool.option = ".$strings[4][1]."
|
||||
icon_tool.default = ".$strings[4][$p['icon_tool']]."
|
||||
icon_tool.width = 120
|
||||
icon_tool.x = 150
|
||||
icon_tool.y = 162
|
||||
icon_mode.type = popup
|
||||
icon_mode.label = Mode
|
||||
icon_mode.option = ".$strings[4][0]."
|
||||
icon_mode.option = ".$strings[4][1]."
|
||||
icon_mode.option = ".$strings[4][2]."
|
||||
icon_mode.default = ".$strings[4][$p['icon_mode']]."
|
||||
icon_mode.width = 120
|
||||
icon_mode.x = 150
|
||||
icon_mode.y = 162
|
||||
|
||||
icon_size.type = textfield
|
||||
icon_size.default = ".$p['icon_size']."
|
||||
@@ -198,11 +207,11 @@ if(!$p['bdest']) {
|
||||
|
||||
// Load strings
|
||||
|
||||
$strings[] = array("Do nothing","Reveal result in Finder","Upload result with rsync");
|
||||
$strings[] = array("Do nothing","Reveal result in Finder","Upload result with rsync","Open via localhost URL");
|
||||
$strings[] = array("Skip","Collect","Collect & verify","Collect & repair atimes");
|
||||
$strings[] = array("Skip","Generate","Rebuild");
|
||||
$strings[] = array("external","ql-thumbnail","qlmanage");
|
||||
$strings[] = array("qltool","qlmanage");
|
||||
$strings[] = array("All files","Most files","Some files");
|
||||
$strings[] = array("All files","Most files","Some files");
|
||||
|
||||
// Launch Pashua and parse results
|
||||
|
||||
@@ -229,9 +238,9 @@ if (@$result['cb']) {
|
||||
$result['postflight'] = array_search($result['postflight'],$strings[0]);
|
||||
$result['stat_mode'] = array_search($result['stat_mode'],$strings[1]);
|
||||
$result['thumbs'] = array_search($result['thumbs'],$strings[2]);
|
||||
$result['thumb_priority'] = array_search($result['thumb_priority'],$strings[3]);
|
||||
$result['thumb_mode'] = array_search($result['thumb_mode'],$strings[3]);
|
||||
$result['icons'] = array_search($result['icons'],$strings[2]);
|
||||
$result['icon_tool'] = array_search($result['icon_tool'],$strings[4]);
|
||||
$result['icon_mode'] = array_search($result['icon_mode'],$strings[4]);
|
||||
|
||||
// If the user didn't specify a destpath, set to default
|
||||
|
||||
|
||||
Reference in New Issue
Block a user