|
Lines 25-30
Link Here
|
| 25 |
textdomain "mouse"; |
25 |
textdomain "mouse"; |
| 26 |
|
26 |
|
| 27 |
import "Mouse"; |
27 |
import "Mouse"; |
|
|
28 |
import "Linuxrc"; |
| 28 |
|
29 |
|
| 29 |
//=================================================== |
30 |
//=================================================== |
| 30 |
// Initialize proposal parameters |
31 |
// Initialize proposal parameters |
|
Lines 34-39
Link Here
|
| 34 |
map ret = $[]; |
35 |
map ret = $[]; |
| 35 |
|
36 |
|
| 36 |
//=================================================== |
37 |
//=================================================== |
|
|
38 |
// Handle installation environment |
| 39 |
//--------------------------------------------------- |
| 40 |
if (! Linuxrc::text ()) { |
| 41 |
if ( func != "Description" ) { |
| 42 |
ret = $[ |
| 43 |
"rich_text_title" : "", |
| 44 |
"menu_title" : "", |
| 45 |
"id" : "", |
| 46 |
"preformatted_proposal" : "<b> </b>", |
| 47 |
"success" : true |
| 48 |
]; |
| 49 |
return ret; |
| 50 |
} else { |
| 51 |
return ret; |
| 52 |
} |
| 53 |
} |
| 54 |
//=================================================== |
| 37 |
// Create proposal for installation/configuration... |
55 |
// Create proposal for installation/configuration... |
| 38 |
//--------------------------------------------------- |
56 |
//--------------------------------------------------- |
| 39 |
if ( func == "MakeProposal" ) { |
57 |
if ( func == "MakeProposal" ) { |