summaryrefslogtreecommitdiff
path: root/web/template
AgeCommit message (Collapse)Author
2009-01-23Fix a few xhtml validation errors.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23Bring version footer in with the rest of the site body.Loui Chang
Add a bottom margin to pgbox blocks. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23Add Previous and Next links for search results.Loui Chang
Move things around at the bottom of the search results page. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-23Remove urlencode('K') in pkg_search_results.Loui Chang
The urlencoded string should only be used for href, but it was being applied and used in printed output, like the keywords textbox. This fixes a problem that was reported in FS#12791 - Faster navigation withing package search listing by page numbers Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-22Change comment style so long lines wrap.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-22Fix translated comment messages.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-22Only print links for up to five previous and next search results pages.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19Use new conglomerated translation files.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19Remove Less and More links from search results page.Loui Chang
Don't show extra search results link if there is only one page of results. Fix indenting and coding style. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19Change: Switching "Legend" and number of results on search pageGergely Imreh
This is to present things in a bit more logical manner with the search results page navigation. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-19Add: page numbering of AUR search resultsGergely Imreh
On the search results page the number of pages is displayed and functions as a link, for faster navigation (not just the usual "Less/More" buttons. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-14Replace RSS icon with feed icon.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-08Cache all front page stats in APC if availableDan McGee
Use the APC cache to store all of the counts and the recently updated package list in a cache, which cuts down on the number of database queries needed. If the data isn't perfectly up to date we will survive. This version of the patch will also cache the relevant counts for individual logged-in users and is more careful about checking whether the value actually exists in the cache by using the status reference to apc_fetch(). Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-05Change layout of search form.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-05Move package comments to a template.Loui Chang
Change layout in the process. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-01-04Store account type in local var when possibleDan McGee
No need to call this function way too often, especially when on the package list page where it could be called up to once per row. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-29Properly select page length in search form.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-29Make search page use mkurl function, change variables aroundCallan Barrett
Changed all the normal variables to their $_GET counterparts so everything is destructively changing the original variables, there should be no issue with this. If there I guess we need to consider making mkurl use a custom array of variables rather than $_GET Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-29Add search bar to index and pkg details pagesCallan Barrett
Also changed it around a little bit so it's not tied down the search results function Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-29New search bar, toggle advanced options new styleCallan Barrett
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-22Don't require login to see out of date packages from package search.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-22Make some translatable strings friendlier to common usage.Loui Chang
Removing trailing colons and whitespace makes them more usable. Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-12-22Encode search string for use in anchor tags.Loui Chang
Sorting, and viewing more results resets the search if you search for '#' in 1.5.3. This should fix that bug. Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-12-22Really make all web paths relative.Loui Chang
I forgot about the forms. Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-12-21Move package search results to a templateCallan Barrett
Logic is separated from html as much as possible, all html in a template Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-21Introduce function include_lang for translations.Loui Chang
This includes only the requested language for each page and makes top level language include files obsolete. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-21Make all web paths relative.Loui Chang
The site no longer needs to be hosted from the root of a domain, or virtual host. Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-12-20Revert "Move call to try_login to login_form."Callan Barrett
This reverts commit 77d93c4946fabcda417b6a5672d881c64e11fb78. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-17Move call to try_login to login_form.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-12-17Remove colons from translated strings in login_form.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-25Renamed Get Arch to Download.Thayer Williams
AL logo now goes to AL homepage, not AUR homepage Appended forward slash to top navigation links Signed-off-by: Thayer Williams <thayer@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-11-10Tweak TU interface for appearance.Loui Chang
Show ten votes per page instead of five. Change the vote preview to 75 characters so entries fit better in the table. Remove [More] links and make the description itself a link. Clean up a couple notices. Send unauthorised users to index.php. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-06Show developer-TUs their total community packages.Loui Chang
This closes: FS#11561 - Devs in AUR can't see their packages in Community Thanks to Hugo Doria for the original patch. Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-10-05Move logout link from main menu to login barCallan Barrett
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-10-05Major rearrangement of tu.php, strings setup for translationCallan Barrett
All the strings are set up to be translated now, HTML of tu.php has been moved to templates and the worst of it rewritten (there's no longer a massive function in it) Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-09-29Take formatting out of version number in web/lib/version.incLoui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-08-19Move top page template-example to web/template.Loui Chang
Make note in web/README.txt Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-08Remember user between sessions.Andrea Scarpino
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-07-07Move code out of index.phpLoui Chang
Move database queries to functions and html to templates. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2008-06-09fixed indention + xhtml in search_accounts_form.phpMichael Klier
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-08Revert "Split html from front page"Callan Barrett
This reverts commit 0cf3c5ea8bd2799e1354aa2008edb542e01635ba.
2008-06-08Split html from front pageCallan Barrett
html from the index page has been moved to a template file (front_page.php) needs indentation really bad Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-06-08xhtml validation fixes for login_form.phpMichael Klier
2008-06-06Rewrite pkg_search_form.phpCallan Barrett
Adds back sort by options and cleans up html and php everywhere Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
2008-04-25Break start and end bits of pkg search form out of PHPLoui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-25Move search form to web/template/pkg_search_form.phpLoui Chang
Nothing fancy here, just cut & paste Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23Revamped pkg_search_page()Simo Leone
- Reduced database hits - Improved speed - Improved sanity (slightly) - Fixed searches,buttons,gizmos Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-23Put login into its own function.Loui Chang
Utilise login form template. Also cleaned up a couple notices. Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Simo Leone <simo@archlinux.org>
2008-02-18Bump version to 1.5.01.5.0Simo Leone
Yes. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-01-20Turn action bar into drop boxCallan Barrett
Moves the action bar down to the bottom right of the search results and turns it into a drop-down selection box. Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com> Signed-off-by: Simo Leone <simo@archlinux.org>