Index: trunk/tools/ToolserverI18N/TsIntuition.php |
— | — | @@ -33,6 +33,7 @@ |
34 | 34 | public $version = '0.1.2-svn'; |
35 | 35 | public $versionDate; |
36 | 36 | public $publicHtmlPath = '/TsIntuition/'; |
| 37 | + public $mode = null; // 'in-tool', 'dashboard' |
37 | 38 | |
38 | 39 | // Address to the dashboard home. Should end with a slash or .extension |
39 | 40 | public $dashboardHome = 'http://toolserver.org/~krinkle/TsIntuition/'; |
— | — | @@ -116,6 +117,7 @@ |
117 | 118 | 'suppressbrackets' => false, |
118 | 119 | 'stayalive' => false, |
119 | 120 | 'param' => true, |
| 121 | + 'mode' => 'in-tool', |
120 | 122 | ); |
121 | 123 | $options = array_merge( $defaultOptions, $options ); |
122 | 124 | |
Index: trunk/tools/ToolserverI18N/public_html/index.php |
— | — | @@ -46,6 +46,7 @@ |
47 | 47 | 'revisionId' => $I18N->version, |
48 | 48 | 'revisionDate' => $I18N->dateFormatted( $I18N->versionDate ), |
49 | 49 | 'styles' => array( 'main.css' ), |
| 50 | + 'mode' => 'dashboard', |
50 | 51 | ); |
51 | 52 | |
52 | 53 | $Tool = BaseTool::newFromArray( $opts ); |