GureWiki > Ezagutza partekatzen / Compartiendo conocimiento
GureWiki: "Ezagutza partekatzen / Compartiendo conocimiento"
Template:MindTouch > Reports > Controls > SearchInput
    Aurkibidea
    Goibururik ez
    /**
     * Search Input Control
     *
     * @param uri $uri - base uri for submitting queries (default: page.uri)
     * @param map $params - query params to preserve
     * @param str $key - query param for the query (default: "query")
     * @param $default - default search query
     */
    var uri = $uri ?? page.uri;
    var params = $params ?? {};
    var queryKey = $key ?? "query";
    var query = __request.args[queryKey] ?? $default;
       
    <form class="mt-search-input" method="get" action=(uri)>
        foreach (var paramName:paramValue in params where paramName != queryKey) {
            <input type="hidden" name=(paramName) value=(paramValue) />
        }
        <label for=(@query)>wiki.localize("MindTouch.Reports.search.label")</label>
        <input class="query" id=(@query) type="text" name=(queryKey) value=(query) />
        <input class="search" type="submit" value=(wiki.localize("MindTouch.Reports.search.button")) />
        wiki.localize("MindTouch.Reports.search.learn");
    </form>
    
    

    Webgune hau MindTouch Core "DekiWiki" software askearekin dabil

    Hemengo edukiak Creative Commons BY-NC-SA baimen baten mende daude