From 4fe73c547050003599021850f0c6099f7c224f07 Mon Sep 17 00:00:00 2001 From: "Johan \"Papa\" Cwiklinski" Date: Sun, 30 May 2010 19:28:36 +0200 Subject: Use of smarty to render all page ; apply coding standards, add license ; refs #46,48,47 --- smarty/templates/rpmphp/all.tpl | 104 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 smarty/templates/rpmphp/all.tpl (limited to 'smarty/templates') diff --git a/smarty/templates/rpmphp/all.tpl b/smarty/templates/rpmphp/all.tpl new file mode 100644 index 0000000..8d9c20a --- /dev/null +++ b/smarty/templates/rpmphp/all.tpl @@ -0,0 +1,104 @@ +{* + * All page template + * + * Copyright © 2010 Remi Collet + * + * This file is part of rpmphp. + * + * rpmphp is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * rpmphp is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with rpmphp. If not, see . +*} +

Repositories last updated {$repositories_update}.

+
+
+
+ Filter {$type|upper} packages + + + +
+
+
+ +{if $error} +

Ooops, an error occured:
{$error}

+{/if} + + + + + + +{foreach from=$repos key=k item=v} + +{/foreach} + + + + + + + + +{foreach from=$packages item=p name=plist} + + + + {foreach from=$p.versions key=k item=version} + + {$version.display} + + {/foreach} + +{foreachelse} + + + +{/foreach} + +
PackageOwner(s){$k}
{$packages|@count} packages found
+ {$p.name} + + {foreach from=$p.owners item=owner name=ow_it} + {$owner} + {if not $smarty.foreach.ow_it.last} +
+ {/if} + {/foreach} +
+

Choose a criteria from the filter menu

+
+ + -- cgit