diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-05-18 21:42:32 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-05-18 21:42:32 +0000 |
commit | aac81a8a382f7ec527e22d6dee959400d77e1a21 (patch) | |
tree | b51b5180e85326af0cfebf88bcad005ba93d5118 /template | |
parent | 2c2af65b6a95e20ba9ca49139683d2d150edb1b6 (diff) |
*** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@14 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r-- | template/default/htmlfunctions.inc.php | 33 | ||||
-rw-r--r-- | template/default/profile.vtp | 6 |
2 files changed, 9 insertions, 30 deletions
diff --git a/template/default/htmlfunctions.inc.php b/template/default/htmlfunctions.inc.php index d7464610c..141b32a7c 100644 --- a/template/default/htmlfunctions.inc.php +++ b/template/default/htmlfunctions.inc.php @@ -38,30 +38,6 @@ function get_icon( $date_comparaison ) } return $output; } -/* -function affiche_icone_recent( $date_comparaison ) -{ - global $user, $conf; - $difference = time() - $date_comparaison; - $jours = 24*60*60; - $output = ''; - if ( $difference < $conf['periode_longue'] * $jours ) - { - $icon_url = './theme/'.$user['theme'].'/'; - if ( $difference < $conf['periode_courte'] * $jours ) - { - $icon_url.= 'new_long.gif'; - } - else - { - $icon_url.= 'new_short.gif'; - } - $size = getimagesize( $icon_url ); - $output = '<img src="'.$icon_url.'" style="border:0;height:'.$size[1].'px;width:'.$size[0].'px" alt="" />'; - } - return $output; -} -*/ function create_navigation_bar( $url, $nb_element, $start, $nb_element_page, $link_class ) @@ -121,12 +97,12 @@ function get_frame_start() { return '<table style="width:'; } -/* + function get_frame_begin() { return ';"> <tr> - <td style="border:2px solid lightgreen;width:100%;padding:5px;background-color:black;">'; + <td style="border:1px dashed gray;width:100%;padding:5px;background-color:white;">'; } function get_frame_end() @@ -136,7 +112,7 @@ function get_frame_end() </tr> </table>'; } -*/ +/* function get_frame_begin() { global $user; @@ -171,11 +147,12 @@ function get_frame_end() </tr> </table>'; } - +*/ function initialize_template() { global $vtp, $handle, $user; + $vtp->setGlobalVar( $handle, 'style', $user['style'] ); $vtp->setGlobalVar( $handle, 'frame_start', get_frame_start() ); $vtp->setGlobalVar( $handle, 'frame_begin', get_frame_begin() ); $vtp->setGlobalVar( $handle, 'frame_end', get_frame_end() ); diff --git a/template/default/profile.vtp b/template/default/profile.vtp index ed6a8998a..2be4ae1e3 100644 --- a/template/default/profile.vtp +++ b/template/default/profile.vtp @@ -1,9 +1,10 @@ <html> <head> - {#page_style} + {#style} <title>{#customize_page_title}</title> - </head> + </head> <body> + {#header} <table style="width:100%;height:100%"> <tr align="center" valign="middle"> <td> @@ -80,5 +81,6 @@ </td> </tr> </table> + {#footer} </body> </html>
\ No newline at end of file |