public function getSidebar() { $output = ""; $output .= "<h2>Tag lookup</h2>"; $output .= printTagLookup(10); $output .= "<p style='clear: both'>"; $output .= "<h2>Search</h2>"; $output .= getSimpleSearchForm(false, 10); return $output; }
public function getSidebar() { $value = ""; $value .= getStatisticsSidebar($this->db); $value .= "<h2>Tag lookup</h2>"; $value .= printTagLookup(10); $value .= "<p style='clear: both'>"; $value .= "<h2>Search</h2>"; $value .= getSimpleSearchForm(false, 10); return $value; }
public function getMain() { $value = ""; $value .= "<h2>Look for a tag</h2>"; $value .= "<p>Look for a tag, if you have its 4-symbol code</p>"; $value .= printTagLookup(); $value .= "<p>For more information we refer to the <a href='" . href('tags') . "'>tags explained</a> page."; $value .= "<h2><a href='" . href("search") . "'>Search</a></h2>"; $value .= "<p>Are you instead looking for the search functionality?</p>"; $value .= getSimpleSearchForm(false); return $value; }
public function getMain() { $output = ""; $output .= "<h2>Invalid tag: <var>" . htmlentities($this->tag) . "</var></h2>"; $output .= "<p>This is not a well-formed tag. Tags are 4 symbols long and consist of letters and digits.</p>"; $output .= "<h2>Look for a tag</h2>"; $output .= printTagLookup(); $output .= "<p>For more information we refer to the <a href='" . href('tags') . "'>tags explained</a> page."; $output .= "<h2><a href='" . href("search") . "'>Search</a></h2>"; $output .= "<p>Are you instead looking for the search functionality?</p>"; $output .= getSimpleSearchForm(false); return $output; }
public function getMain() { $output = ""; $output .= "<h2>Inactive tag: <var>" . $this->tag . "</var></h2>"; $output .= "<p>The tag you requested did at some point in time belong to the Stacks project, but it was removed. You might be able to find a clue in the <a href='https://github.com/stacks/stacks-project/blob/master/tags/tags'>tags file</a>.</p>"; $output .= "<h2>Look for a tag</h2>"; $output .= printTagLookup(); $output .= "<p>For more information we refer to the <a href='" . href('tags') . "'>tags explained</a> page."; $output .= "<h2><a href='" . href("search") . "'>Search</a></h2>"; $output .= "<p>Are you instead looking for the search functionality?</p>"; $output .= getSimpleSearchForm(false); return $output; }
public function getMain() { $output = ""; $output .= "<h2>Missing tag: <var>" . $this->tag . "</var></h2>"; $lastTag = getLastTag(); $output .= "<p>The tag you requested does not exist. This probably means that we haven't gotten that far yet. The last tag currently in the database is <a href='" . href("tag/" . $lastTag) . "'>tag <var>" . $lastTag . "</var></a>."; $output .= "<h2>Look for a tag</h2>"; $output .= printTagLookup(); $output .= "<p>For more information we refer to the <a href='" . href('tags') . "'>tags explained</a> page."; $output .= "<h2><a href='" . href("search") . "'>Search</a></h2>"; $output .= "<p>Are you instead looking for the search functionality?</p>"; $output .= getSimpleSearchForm(false); return $output; }