var longest_id = null;
var action_uses_opdatering = false;
var action_on_url_encoded;
- var go_username;
switch (action) {
case 'go-node':
case 'go-content-id':
site = (action == 'go-userid' ? 'login' : 'i2');
}
break;
+ case 'go-registry':
+ action_uses_opdatering = true;
+ site = 'i2';
+ break;
case 'go-pdolog':
php4 = false; // not allowed
case 'go-tango-page':
break;
case 'go-username':
action_uses_opdatering = true;
- go_username = shorturl;
site = 'login';
break;
}
break;
case 'go-username':
// Just assume a username was entered
- uri = '/opslag.php?username=' + go_username;
+ uri = '/opslag.php?username=' + escape(shorturl);
break;
case 'go-bugzilla':
// Use longest_id as bugzilla number
site = 'bugzilla';
php4 = false;
break;
+ case 'go-registry':
+ uri = '/tool/registry/lookup.php?namespace=' + escape(shorturl);
+ break;
case 'go-node':
uri = '/tool/node/?id=' + longest_id;
break;
<radio id="go-userid" label="&quickbox.userid;" accesskey="&quickbox.userid.accesskey;"/>
<radio id="go-username" label="&quickbox.username;" accesskey="&quickbox.username.accesskey;"/>
<radio id="go-bugzilla" label="&quickbox.bugzilla;" accesskey="&quickbox.bugzilla.accesskey;"/>
+ <radio id="go-registry" label="&quickbox.registry;" accesskey="&quickbox.registry.accesskey;"/>
</groupbox>
</hbox>
</radiogroup>
<!ENTITY quickbox.bugzilla "Slå op i Bugzilla">
<!ENTITY quickbox.bugzilla.accesskey "z">
+<!ENTITY quickbox.registry "Slå op som Registry namespace">
+<!ENTITY quickbox.registry.accesskey "1">
+
<!ENTITY quickbox.openin "Åbn i">
<!ENTITY quickbox.openin.current "nuværende vindue">
<!ENTITY quickbox.openin.current.accesskey "m">
<!ENTITY quickbox.bugzilla "Lookup as Bugzilla ID">
<!ENTITY quickbox.bugzilla.accesskey "z">
+<!ENTITY quickbox.registry "Lookup as Registry namespace">
+<!ENTITY quickbox.registry.accesskey "1">
+
<!ENTITY quickbox.openin "Open in">
<!ENTITY quickbox.openin.current "current window">
<!ENTITY quickbox.openin.current.accesskey "k">
<li>Ved ViewCVS genkendes specielle sites så som <code>globals</code> og specielle mapper så som <code>inc</code>, brug dobbelt slash (<code>//</code>) efter projektnavn for at undgå dette.</li>
<li>Slå TV 2 Login brugere op pr. navn eller id</li>
<li>Slå Bugzilla opgave op</li>
+ <li>Slå et I2 Regsitry namespace op i node-værktøjet</li>
</ul>
<div class="center">
<a href="https://jkkn.dk/tv2developer/tv2developer.xpi">Install now</a>