Index: trunk/extensions/SemanticForms/includes/SF_Utils.inc |
— | — | @@ -14,9 +14,11 @@ |
15 | 15 | $sf_props = $sfgContLang->getPropertyLabels(); |
16 | 16 | SMWPropertyValue::registerProperty('_SF_DF', '__spf', $sf_props[SF_SP_HAS_DEFAULT_FORM], true); |
17 | 17 | SMWPropertyValue::registerProperty('_SF_AF', '__spf', $sf_props[SF_SP_HAS_ALTERNATE_FORM], true); |
| 18 | + SMWPropertyValue::registerProperty('_SF_CP', '__spf', $sf_props[SF_SP_CREATES_PAGES_WITH_FORM], true); |
18 | 19 | // also initialize hardcoded English values, if it's a non-English-language wiki |
19 | 20 | SMWPropertyValue::registerProperty('_SF_DF_BACKUP', '__spf', 'Has default form', true); |
20 | 21 | SMWPropertyValue::registerProperty('_SF_AF_BACKUP', '__spf', 'Has alternate form', true); |
| 22 | + SMWPropertyValue::registerProperty('_SF_CP_BACKUP', '__spf', 'Creates pages with form', true); |
21 | 23 | |
22 | 24 | return true; |
23 | 25 | } |
— | — | @@ -136,6 +138,7 @@ |
137 | 139 | $wgOut->addScript('<script type="text/javascript" src="' . $sfgScriptPath . '/libs/SF_yui_autocompletion.js"></script>' . "\n"); |
138 | 140 | $wgOut->addScript('<script type="text/javascript" src="' . $sfgScriptPath . '/libs/floatbox.js"></script>' . "\n"); |
139 | 141 | $wgOut->addScript('<script type="text/javascript" src="' . $smwgScriptPath . '/skins/SMW_tooltip.js"></script>' . "\n"); |
| 142 | + $wgOut->addScript('<script type="text/javascript" src="' . $smwgScriptPath . '/skins/SMW_sorttable.js"></script>' . "\n"); |
140 | 143 | if ($wgFCKEditorDir) |
141 | 144 | $wgOut->addScript('<script type="text/javascript" src="' . "$wgScriptPath/$wgFCKEditorDir" . '/fckeditor.js"></script>' . "\n"); |
142 | 145 | $wgOut->addMeta('robots','noindex,nofollow'); |