summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2009-08-12 12:23:02 +0200
committerAndreas Gohr <gohr@cosmocode.de>2009-08-12 12:23:02 +0200
commit56dfcc12d4d4b326fc393a8271da0cf8374d3a11 (patch)
tree54d69021fb2167f0b501e967539cfe14d141bf9f /inc
parent050f4a944248d0ceb6888477ea6b1367bb1bdf47 (diff)
downloadrpg-56dfcc12d4d4b326fc393a8271da0cf8374d3a11.tar.gz
rpg-56dfcc12d4d4b326fc393a8271da0cf8374d3a11.tar.bz2
Link Wizard added
Ignore-this: c15561aa909f921f7845576378851b93 This adds a new link wizard to the toolbar which helps users to find the page the want to link to. Pages can be found by a simple page name search or by browsing the existing namespaces. This is the first checkin. Some cleanup and MSIE compatibility checks remain. note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info darcs-hash:20090812102302-6e07b-fcc564fcaf2ed6aa832918870dd0f92607748687.gz
Diffstat (limited to 'inc')
-rw-r--r--inc/toolbar.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/inc/toolbar.php b/inc/toolbar.php
index 1f34f3403..f0c091647 100644
--- a/inc/toolbar.php
+++ b/inc/toolbar.php
@@ -145,7 +145,7 @@ function toolbar_JSdefines($varname){
),
array(
- 'type' => 'format',
+ 'type' => 'linkwiz',
'title' => $lang['qb_link'],
'icon' => 'link.png',
'key' => 'l',
@@ -154,6 +154,14 @@ function toolbar_JSdefines($varname){
),
array(
'type' => 'format',
+ 'title' => $lang['qb_link'],
+ 'icon' => 'link.png',
+ 'key' => '',
+ 'open' => '[[',
+ 'close' => ']]',
+ ),
+ array(
+ 'type' => 'format',
'title' => $lang['qb_extlink'],
'icon' => 'linkextern.png',
'open' => '[[',