From 78df1f97d366e5f9e4115c658ad91fab70717f29 Mon Sep 17 00:00:00 2001 From: gweltas Date: Thu, 19 Feb 2004 00:31:09 +0000 Subject: Split of langage files git-svn-id: http://piwigo.org/svn/trunk@364 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/default/about.tpl | 8 +- template/default/category.tpl | 4 +- template/default/htmlfunctions.inc.php | 30 ++++++++ template/default/picture.vtp | 136 --------------------------------- template/default/profile.tpl | 95 +++++++++++++++++++++++ 5 files changed, 132 insertions(+), 141 deletions(-) delete mode 100644 template/default/picture.vtp create mode 100644 template/default/profile.tpl (limited to 'template/default') diff --git a/template/default/about.tpl b/template/default/about.tpl index a309e3dc2..41eddc785 100644 --- a/template/default/about.tpl +++ b/template/default/about.tpl @@ -1,15 +1,15 @@
- {F_START}1px{F_BEGIN} + {T_START}1px{T_BEGIN}
{PAGE_TITLE}
- {F_END} + {T_END}
 
- {F_START}50%{F_BEGIN} + {T_START}50%{T_BEGIN} - {F_END} + {T_END} diff --git a/template/default/category.tpl b/template/default/category.tpl index 4575063a8..8bec51f4d 100644 --- a/template/default/category.tpl +++ b/template/default/category.tpl @@ -96,8 +96,10 @@
{T_START}1%{T_BEGIN}
+ {L_USER} {USERNAME}
- {L_RECENT_IMG} {S_SHORT_PERIOD} {L_DAYS} + + {L_RECENT_IMAGE} {S_SHORT_PERIOD} {L_DAYS} {T_SHORT}
{L_RECENT_IMAGE} {S_LONG_PERIOD} {L_DAYS} {T_LONG}
diff --git a/template/default/htmlfunctions.inc.php b/template/default/htmlfunctions.inc.php index cd4df188a..170defc46 100644 --- a/template/default/htmlfunctions.inc.php +++ b/template/default/htmlfunctions.inc.php @@ -232,4 +232,34 @@ function display_category( $category, $indent ) } } } + +function make_jumpbox($value, $selected, $usekeys=false) +{ + $boxstring = ''; + $nb = sizeof( $value); + $keys = ($usekeys?array_keys($value):$value); + $value = ($usekeys?array_values($value):$value); + for ( $i = 0; $i < $nb; $i++ ) + { + $boxstring .= '