}
// Add run pdo_log link
- if (this.getPref('enable-secret', false)) {
- if ((onI2interface != 'tool/pdo_log/frameset') &&
- ((!tv2_testsite && php5) || // only php5 live sites
- (tv2_testsite && tv2_testsite != 'snapshot3' && tv2_testsite != 'test3'))) { /* not supported on php4 sites */
- links.push(new this.TV2LinkWithLabel('tool/pdo_log/frameset', this.getStr('performDbPdoLog'),
- i2link + '/tool/pdo_log/frameset.php?url='+tango+'&autostop=1&prefix='+initials,
- this.getStr('performDbPdoLog.accesskey'),
- 'flushCache'));
- }
+ if ((onI2interface != 'tool/pdo_log/frameset') &&
+ ((!tv2_testsite && php5) || // only php5 live sites
+ (tv2_testsite && tv2_testsite != 'snapshot3' && tv2_testsite != 'test3'))) { /* not supported on php4 sites */
+ links.push(new this.TV2LinkWithLabel('tool/pdo_log/frameset', this.getStr('performDbPdoLog'),
+ i2link + '/tool/pdo_log/frameset.php?url='+tango+'&autostop=1&prefix='+initials,
+ this.getStr('performDbPdoLog.accesskey'),
+ 'flushCache'));
}
+// if (this.getPref('enable-secret', false)) {
+// }
+
if (onI2interface_url) {
/* link entered in I2 interface */
links.push(new this.TV2LinkSplit());
// add robot links
var robot = document.createElement('row');
this._addCheckbox(robot, 'postfix-live-robot', '.robot.tv2.dk', this.getStr('quickbox.live-robot.accesskey'));
- this._addCheckbox(robot, 'postfix-test-robot', '.robot.'+username+'.test'+php4+'.tv2.dk', this.getStr('quickbox.test-robot.accesskey'));
+ this._addCheckbox(robot, 'postfix-test-robot', '.'+username+'.robot.test'+php4+'.tv2.dk', this.getStr('quickbox.test-robot.accesskey'));
this._addCheckbox(robot, 'postfix-snapshot-robot', '.robot.snapshot'+php4+'.tv2.dk', this.getStr('quickbox.snapshot-robot.accesskey'));
postfix.appendChild(robot);
// select default radio button