Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php |
— | — | @@ -490,7 +490,7 @@ |
491 | 491 | } |
492 | 492 | |
493 | 493 | /** |
494 | | - * TODO: document |
| 494 | + * Generates the Search Box UI |
495 | 495 | * |
496 | 496 | * @param string $printoutstring |
497 | 497 | * @param string $urltail |
— | — | @@ -608,7 +608,7 @@ |
609 | 609 | '| ' . SMWAskPage::getEmbedToggle() . |
610 | 610 | '</p>'; |
611 | 611 | } |
612 | | - |
| 612 | + \\show|hide inline embed code |
613 | 613 | $result .= '<div id="inlinequeryembed" style="display: none"><div id="inlinequeryembedinstruct">' . wfMsg( 'smw_ask_embed_instr' ) . '</div><textarea id="inlinequeryembedarea" readonly="yes" cols="20" rows="6" onclick="this.select()">' . |
614 | 614 | '{{#ask:' . htmlspecialchars( $this->m_querystring ) . "\n"; |
615 | 615 | |