Annonce

  •  » Utilisation
  •  » [PWG 1.3.x] N°1: Toutes Les Modifs Possibles Sont Ici :

#91 2005-04-29 14:07:17

RiSbO
Membre
2005-04-09
9

Re: [PWG 1.3.x] N°1: Toutes Les Modifs Possibles Sont Ici :

HyDrOgEn a écrit:

Merci ;)
mais c'est pas pour PC ton fichier à télécharger !?!
Je n 'arrive pas à l'ouvrir lol !

install winrar :)

Hors ligne

#92 2005-04-29 14:58:30

plg
Équipe Piwigo
Nantes, France, Europe
2002-04-05
12644

Re: [PWG 1.3.x] N°1: Toutes Les Modifs Possibles Sont Ici :

RiSbO a écrit:

HyDrOgEn a écrit:

Merci ;)
mais c'est pas pour PC ton fichier à télécharger !?!
Je n 'arrive pas à l'ouvrir lol !

install winrar :)

argh... installes plutôt 7-zip qui est sous licence LGPL.


Les historiens ont établi que Pierrick était le premier utilisateur connu de Piwigo.

Hors ligne

#93 2005-04-29 15:08:07

HyDrOgEn
Membre
Saint-Brice-Sous-Forêt
2005-04-14
56

Re: [PWG 1.3.x] N°1: Toutes Les Modifs Possibles Sont Ici :

Merci ;)

Hors ligne

#94 2005-05-07 19:53:06

rey
Invité

Re: [PWG 1.3.x] N°1: Toutes Les Modifs Possibles Sont Ici :

voila un MOD pour rajouter le menu  de navigation dans la page picture.php
Ce MOD peut etre apppliqué à differentes pages (perso je l'ai aussi fait sur les pages comments.php, about.php, upload.php, search.php ex:mon site).
les fichiers à modifier sont picture.php et picture.tpl (template/default/picture.tpl)

#
#-----[ OPEN ]------------------------------------------
#

picture.php

#
#-----[ FIND ]------------------------------------------
#

//------------------------------------------------------------ log informations
pwg_log( 'picture', $title_img, $picture['current']['file'] );
mysql_close();

#
#-----[ Before, ADD ]------------------------------------------
#

// creation of the array containing the cat ids to expand in the menu
// $page['tab_expand'] contains an array with the category ids
// $page['expand'] contains the string to display in URL with comma
$page['tab_expand'] = array();
if ( isset( $page['cat'] ) and is_numeric( $page['cat'] ) )
{
  // the category displayed (in the URL cat=23) must be seen in the menu ->
  // parent categories must be expanded
  $uppercats = explode( ',', $page['uppercats'] );
  foreach ( $uppercats as $uppercat ) {
    array_push( $page['tab_expand'], $uppercat );
  }
}
// in case of expanding all authorized cats $page['tab_expand'] is empty
if ( $user['expand'] )
{
  $page['tab_expand'] = array();
}
//----------------------------------------------------- template initialization
//
// Start output of page
//

$template->set_filenames( array('category'=>'category.tpl') );
//-------------------------------------------------------------- category title


$icon_recent = get_icon(date('Y-m-d'));

$template->assign_vars(array(
  'NB_PICTURE' => count_user_total_images(),
  'USERNAME' => $user['username'],
  'TOP_NUMBER'=>$conf['top_number'],
  'MENU_CATEGORIES_CONTENT'=>get_categories_menu(),

  'L_CATEGORIES' => $lang['categories'],
  'L_HINT_CATEGORY' => $lang['hint_category'],
  'L_SUBCAT' => $lang['sub-cat'],
  'L_IMG_AVAILABLE' => $lang['images_available'],
  'L_TOTAL' => $lang['total'],
  'L_SPECIAL_CATEGORIES' => $lang['special_categories'],
  'L_SUMMARY' => $lang['title_menu'],
  'L_UPLOAD' => $lang['upload_picture'],
  'L_COMMENT' => $lang['comments'],
  'L_IDENTIFY' => $lang['identification'],
  'L_SUBMIT' => $lang['menu_login'],
  'L_USERNAME' => $lang['login'],
  'L_PASSWORD' => $lang['password'],
  'L_HELLO' => $lang['hello'],
  'L_REGISTER' => $lang['ident_register'],
  'L_LOGIN' => $lang['menu_login'],
  'L_LOGOUT' => $lang['logout'],
  'L_ADMIN' => $lang['admin'],
  'L_ADMIN_HINT' => $lang['hint_admin'],
  'L_PROFILE' => $lang['customize'],
  'L_PROFILE_HINT' => $lang['hint_customize'],
  'L_REMEMBER_ME' => $lang['remember_me'],

  'F_IDENTIFY' => add_session_id( PHPWG_ROOT_PATH.'identification.php' ),
  'T_RECENT' => $icon_recent,

  'U_HOME' => add_session_id( PHPWG_ROOT_PATH.'category.php' ),
  'U_REGISTER' => add_session_id( PHPWG_ROOT_PATH.'register.php' ),
  'U_LOGOUT' => PHPWG_ROOT_PATH.'category.php?act=logout',
  'U_ADMIN'=>add_session_id( PHPWG_ROOT_PATH.'admin.php' ),
  'U_PROFILE'=>add_session_id(PHPWG_ROOT_PATH.'profile.php?'.str_replace( '&', '&', $_SERVER['QUERY_STRING'] ))
  )
);
//---------------------------------------------------------- special categories
// favorites categories
if ( !$user['is_the_guest'] )
{
  $template->assign_block_vars('username', array());

  $template->assign_block_vars(
    'special_cat',
    array(
      'URL' => add_session_id(PHPWG_ROOT_PATH.'category.php?cat=fav'),
      'TITLE' => $lang['favorite_cat_hint'],
      'NAME' => $lang['favorite_cat']
      ));
}
// most visited
$template->assign_block_vars(
  'special_cat',
  array(
    'URL' => add_session_id(PHPWG_ROOT_PATH.'category.php?cat=most_visited'),
    'TITLE' => $lang['most_visited_cat_hint'],
    'NAME' => $lang['most_visited_cat']
    ));
    // best rated
$template->assign_block_vars(
  'special_cat',
  array(
    'URL' => add_session_id(PHPWG_ROOT_PATH.'category.php?cat=best_rated'),
    'TITLE' => $lang['best_rated_cat_hint'],
    'NAME' => $lang['best_rated_cat']
    ));
// random
$template->assign_block_vars(
  'special_cat',
  array(
    'URL' => add_session_id(PHPWG_ROOT_PATH.'random.php'),
    'TITLE' => $lang['random_cat_hint'],
    'NAME' => $lang['random_cat']
    ));
// recent pics
$template->assign_block_vars(
  'special_cat',
  array(
    'URL' => add_session_id(PHPWG_ROOT_PATH.'category.php?cat=recent_pics'),
    'TITLE' => $lang['recent_pics_cat_hint'],
    'NAME' => $lang['recent_pics_cat']
    ));
// recent cats
$template->assign_block_vars(
  'special_cat',
  array(
    'URL' => add_session_id(PHPWG_ROOT_PATH.'category.php?cat=recent_cats'),
    'TITLE' => $lang['recent_cats_cat_hint'],
    'NAME' => $lang['recent_cats_cat']
    ));
// calendar
$template->assign_block_vars(
  'special_cat',
  array(
    'URL' => add_session_id(PHPWG_ROOT_PATH.'category.php?cat=calendar'),
    'TITLE' => $lang['calendar_hint'],
    'NAME' => $lang['calendar']
    ));
//--------------------------------------------------------------------- summary

if ( !$user['is_the_guest'] )
{
  $template->assign_block_vars('logout',array());
  // administration link
  if ( $user['status'] == 'admin' )
  {
    $template->assign_block_vars('logout.admin', array());
  }
}
else
{
  $template->assign_block_vars('login',array());
  if ($conf['authorize_remembering'])
  {
    $template->assign_block_vars('login.remember_me',array());
  }
}

// search link
$template->assign_block_vars('summary', array(
'TITLE'=>$lang['hint_search'],
'NAME'=>$lang['search'],
'U_SUMMARY'=>add_session_id( 'search.php' ),
));

// comments link
$template->assign_block_vars('summary', array(
'TITLE'=>$lang['hint_comments'],
'NAME'=>$lang['comments'],
'U_SUMMARY'=>add_session_id( 'comments.php' ),
));

// about link
$template->assign_block_vars('summary', array(
'TITLE'=>$lang['hint_about'],
'NAME'=>$lang['about'],
'U_SUMMARY'=>add_session_id( 'about.php?'.str_replace( '&', '&', $_SERVER['QUERY_STRING'] ) )
));

//------------------------------------------------------- category informations
if ( isset ( $page['cat'] ) )
{
  // navigation bar
  if ( $page['navigation_bar'] != '' )
  {
    $template->assign_block_vars(
      'cat_infos.navigation',
      array('NAV_BAR' => $page['navigation_bar'])
      );
  }
  // category comment
  if ( isset( $page['comment'] ) and $page['comment'] != '' )
  {
    $template->assign_block_vars(
      'cat_infos.comment',
      array('COMMENTS' => $page['comment'])
      );
  }
}

#
#-----[ OPEN ]------------------------------------------
#

template/default/picture.tpl

#
#-----[ FIND ]------------------------------------------
#

<!-- BEGIN information -->
<div class="information">{information.INFORMATION}</div>
<!-- END information -->
<div class="titrePage">

#
#-----[ BEFORE, ADD ]------------------------------------------
#

<div style="padding:3px;"><img src="template/default/images/logo.jpg"></div>
<table style="width:100%;">
  <tr>
    <td valign="top" style="padding:0px 10px 0px 10px;width:1%;">
      <div class="table1">
        <div class="titreMenu">
          <a href="{U_HOME}">{L_CATEGORIES}</a>
        </div>
        <div class="menu">
            {MENU_CATEGORIES_CONTENT}
        <div class="totalImages">[&nbsp;{NB_PICTURE}&nbsp;{L_TOTAL}&nbsp;]</div>
        </div>
        <div class="titreMenu">{L_SPECIAL_CATEGORIES}</div>
        <div class="menu">
            <ul class="menu">
                      <!-- BEGIN special_cat -->
                      <li><a href="{special_cat.URL}" title="{special_cat.TITLE}">{special_cat.NAME}</a></li>
                      <!-- END special_cat -->
            </ul>
        </div>
        <div class="titreMenu">{L_SUMMARY}</div>
        <div class="menu">
        <ul class="menu">
          <!-- BEGIN summary -->
          <li><a href="{summary.U_SUMMARY}" title="{summary.TITLE}">{summary.NAME}</a></li>
          <!-- END summary -->
          <!-- BEGIN upload -->
          <li><a href="{upload.U_UPLOAD}">{L_UPLOAD}</a></li>
          <!-- END upload -->
        </ul>
        </div>
        <div class="titreMenu">{L_IDENTIFY}</div>
         <div class="menu">
         <!-- BEGIN login -->
        <form method="post" action="{F_IDENTIFY}">
        <input type="hidden" name="redirect" value="{U_REDIRECT}">
        {L_USERNAME}<br />
        <input type="text" name="username" size="15" value="" /><br />
        {L_PASSWORD}<br />
        <input type="password" name="password" size="15"><br />
                <!-- BEGIN remember_me -->
                <input type="checkbox" name="remember_me" value="1" /> {L_REMEMBER_ME}<br />
                <!-- END remember_me -->
        <input type="submit" name="login" value="{L_SUBMIT}" class="bouton" />
        </form>
        <!-- END login -->
        <!-- BEGIN logout -->
        <p>{L_HELLO}&nbsp;{USERNAME}&nbsp;!</p>
        <ul class="menu">
          <li><a href="{U_LOGOUT}">{L_LOGOUT}</a></li>
          <li><a href="{U_PROFILE}" title="{L_PROFILE_HINT}">{L_PROFILE}</a></li>
        <!-- BEGIN admin -->
          <li><a href="{U_ADMIN}" title="{L_ADMIN_HINT}">{L_ADMIN}</a></li>
        <!-- END admin -->
        </ul>
        <!-- END logout -->
        </div>
      </div>
    </td>
<td style="padding:0px 10px 0px 10px; width:99%;" valign="top">
      <div class="home">

#
#-----[ FIND ]------------------------------------------
#

        </td>
      </tr>
      <!-- END comments -->
    </table>

#
#-----[ AFTER, ADD ]------------------------------------------
#

    </td>
  </tr>
</table>

#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
#

#95 2005-05-10 01:07:31

plg
Équipe Piwigo
Nantes, France, Europe
2002-04-05
12644

Re: [PWG 1.3.x] N°1: Toutes Les Modifs Possibles Sont Ici :

Je viens de créer une section personnalisation dans le wiki pour remplacer ce topic : pour le moment, j'ai juste repris un exemple compatible avec la branche 1.3 pour initialiser la page des personnalisation de la branche 1.3

Tout le monde est fortement invité à proposer/corriger ses personnalisation simples dans le wiki. Pour les personnalisations plus complexes, les MODs sont préconisés.

edit : changement de l'URL, suite à la fusion des 2 wikis.


Les historiens ont établi que Pierrick était le premier utilisateur connu de Piwigo.

Hors ligne

#96 2005-05-10 23:23:38

loicosss
Membre
Lille
2005-04-05
33

Re: [PWG 1.3.x] N°1: Toutes Les Modifs Possibles Sont Ici :

Ca c'est une très bonne idée, car ce topic commencait vraiment à déborder de tous les cotés et on si perd un peu, surtout pour la branche 1.4. En esperant qu'un maximum de personnes viennent rajouter des mods et des astuces pour personnaliser pwg sur le wiki. Merci Z0rglub


Toutes mes aventures sur mon site,
http://loicosss.free.fr

Hors ligne

#97 2005-05-17 14:41:32

Brainwasher
Membre
2005-05-17
24

Re: [PWG 1.3.x] N°1: Toutes Les Modifs Possibles Sont Ici :

je regarde un peu les modifs à effectuer pour ne pas comptabiliser les admins dans les hits ni l'historique mais c'est pour la version 1.3 et non 1.4.1. Question : est ce que les admins sont toujours identifié par le statut "admin" comme dans les modis données en page 1 ? (je pense au 23) et 24) )si oui je modifierais moi même en fonction, si nom, comment sont ils définis et surtout est ce bien toujourw $user['status'] qui contient l'état de l'utilisateur ou bien a t il changé de nom ?

Merci d'avance

Hors ligne

#98 2005-05-24 23:51:39

Cerval1
Invité

Re: [PWG 1.3.x] N°1: Toutes Les Modifs Possibles Sont Ici :

rey a écrit:

voila un MOD pour rajouter le menu  de navigation dans la page picture.php
Ce MOD peut etre apppliqué à differentes pages (perso je l'ai aussi fait sur les pages comments.php, about.php, upload.php, search.php ex:mon site).
les fichiers à modifier sont picture.php et picture.tpl (template/default/picture.tpl)

Hello,
Je n'arrive pas a faire tom MOD fonctionner.Pourrais tu poster le about.php afin d'avoir un exemple concret des modifs a effectuer.
Cordialement

#99 2005-05-27 14:12:09

cpolomack
Membre
2005-05-27
10

Re: [PWG 1.3.x] N°1: Toutes Les Modifs Possibles Sont Ici :

Hello,
Quelqu'un aurait il une solution pour le MODS juste au dessus.En effet je n'arrive pas a appliquer ce mods.

Mon site en construction : www.book-gratuit.com/cpolomack

Et bonne continuation PWG.C'est nickel je l'utilise depuis plus d'un an.

Bon apres legere etude du post precedent.J'ai pue modifier ma gallerie en consequent.Je post sous peut le lien pour voir les modifs concretes.Je suis en version PSE de PWG. Mon site est trj en construction et certain lien de fontionne pas.

Dernière modification par cpolomack (2005-05-28 14:44:40)

Hors ligne

#100 2005-06-01 10:10:32

napi
Membre
2005-05-24
76

Re: [PWG 1.3.x] N°1: Toutes Les Modifs Possibles Sont Ici :

z0rglub a écrit:

Je viens de créer une section personnalisation dans le wiki pour remplacer ce topic : pour le moment, j'ai juste repris un exemple compatible avec la branche 1.3 pour initialiser la page des personnalisation de la branche 1.3

Tout le monde est fortement invité à proposer/corriger ses personnalisation simples dans le wiki. Pour les personnalisations plus complexes, les MODs sont préconisés.

Le lien ne fonctionne pas chez moi.

Dernière modification par napi (2005-06-02 13:56:15)

Hors ligne

#101 2005-06-02 08:42:06

nono22
Membre
2005-03-02
35

Re: [PWG 1.3.x] N°1: Toutes Les Modifs Possibles Sont Ici :

Not Found

The requested URL /doc/fr/doku.php was not found on this server.

Hors ligne

#102 2005-06-03 13:25:34

rey
Invité

Re: [PWG 1.3.x] N°1: Toutes Les Modifs Possibles Sont Ici :

Cerval1 a écrit:

rey a écrit:

voila un MOD pour rajouter le menu  de navigation dans la page picture.php
Ce MOD peut etre apppliqué à differentes pages (perso je l'ai aussi fait sur les pages comments.php, about.php, upload.php, search.php ex:mon site).
les fichiers à modifier sont picture.php et picture.tpl (template/default/picture.tpl)

Hello,
Je n'arrive pas a faire tom MOD fonctionner.Pourrais tu poster le about.php afin d'avoir un exemple concret des modifs a effectuer.
Cordialement

Voila mon about.php

<?php
// +-----------------------------------------------------------------------+
// | PhpWebGallery - a PHP based picture gallery                           |
// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
// | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net |
// +-----------------------------------------------------------------------+
// | branch        : BSF (Best So Far)
// | file          : $RCSfile: about.php,v $
// | last update   : $Date: 2005/01/13 10:18:49 $
// | last modifier : $Author: plg $
// | revision      : $Revision: 1.15 $
// +-----------------------------------------------------------------------+
// | This program is free software; you can redistribute it and/or modify  |
// | it under the terms of the GNU General Public License as published by  |
// | the Free Software Foundation                                          |
// |                                                                       |
// | This program 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      |
// | General Public License for more details.                              |
// |                                                                       |
// | You should have received a copy of the GNU General Public License     |
// | along with this program; if not, write to the Free Software           |
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
// | USA.                                                                  |
// +-----------------------------------------------------------------------+

//----------------------------------------------------------- include
define('PHPWG_ROOT_PATH','./');
include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
//----------------------------------------------------- template initialization
//
// Start output of page
//
$title= $lang['about_page_title'];
include(PHPWG_ROOT_PATH.'include/page_header.php');

$template->set_filenames(array('about'=>'about.tpl'));
$template->assign_vars(array(
    'PAGE_TITLE' => $lang['about_title'],
    'L_ABOUT' => $lang['about_message'],
    'L_RETURN' =>  $lang['home'],
    'L_RETURN_HINT' =>  $lang['home_hint'], 
    'U_RETURN' => add_session_id(PHPWG_ROOT_PATH.'category.php?'.$_SERVER['QUERY_STRING'])
    )
    );
// creation of the array containing the cat ids to expand in the menu
// $page['tab_expand'] contains an array with the category ids
// $page['expand'] contains the string to display in URL with comma
$page['tab_expand'] = array();
if ( isset( $page['cat'] ) and is_numeric( $page['cat'] ) )
{
  // the category displayed (in the URL cat=23) must be seen in the menu ->
  // parent categories must be expanded
  $uppercats = explode( ',', $page['uppercats'] );
  foreach ( $uppercats as $uppercat ) {
    array_push( $page['tab_expand'], $uppercat );
  }
}
// in case of expanding all authorized cats $page['tab_expand'] is empty
if ( $user['expand'] )
{
  $page['tab_expand'] = array();
}
//----------------------------------------------------- template initialization
//
// Start output of page
//

$template->set_filenames( array('category'=>'category.tpl') );
//-------------------------------------------------------------- category title

if ( isset( $page['cat_nb_images'] ) and $page['cat_nb_images'] > 0 )
{
  $template_title.= ' ['.$page['cat_nb_images'].']';
}

$icon_recent = get_icon(date('Y-m-d'));

$template->assign_vars(array(
  'NB_PICTURE' => count_user_total_images(),
  'USERNAME' => $user['username'],
  'TOP_NUMBER'=>$conf['top_number'],
  'MENU_CATEGORIES_CONTENT'=>get_categories_menu(),

  'L_CATEGORIES' => $lang['categories'],
  'L_HINT_CATEGORY' => $lang['hint_category'],
  'L_SUBCAT' => $lang['sub-cat'],
  'L_IMG_AVAILABLE' => $lang['images_available'],
  'L_TOTAL' => $lang['total'],
  'L_SPECIAL_CATEGORIES' => $lang['special_categories'],
  'L_SUMMARY' => $lang['title_menu'],
  'L_UPLOAD' => $lang['upload_picture'],
  'L_COMMENT' => $lang['comments'],
  'L_IDENTIFY' => $lang['identification'],
  'L_SUBMIT' => $lang['menu_login'],
  'L_USERNAME' => $lang['login'],
  'L_PASSWORD' => $lang['password'],
  'L_HELLO' => $lang['hello'],
  'L_REGISTER' => $lang['ident_register'],
  'L_LOGIN' => $lang['menu_login'],
  'L_LOGOUT' => $lang['logout'],
  'L_ADMIN' => $lang['admin'],
  'L_ADMIN_HINT' => $lang['hint_admin'],
  'L_PROFILE' => $lang['customize'],
  'L_PROFILE_HINT' => $lang['hint_customize'],
  'L_REMEMBER_ME' => $lang['remember_me'],
  'L_NEWS_TITLE' => $lang['title_news'],
  'L_SHOW_ALL_NEWS'  => $lang['show_all_news'],
  'L_NO_NEWS_TRANSLATION'=>$lang['no_news_translation'],
  'U_NEWS' => add_session_id( PHPWG_ROOT_PATH.'news.php' ),

 
  'F_IDENTIFY' => add_session_id( PHPWG_ROOT_PATH.'identification.php' ),
  'T_RECENT' => $icon_recent,

  'U_HOME' => add_session_id( PHPWG_ROOT_PATH.'category.php' ),
  'U_REGISTER' => add_session_id( PHPWG_ROOT_PATH.'register.php' ),
  'U_LOGOUT' => PHPWG_ROOT_PATH.'category.php?act=logout',
  'U_ADMIN'=>add_session_id( PHPWG_ROOT_PATH.'admin.php' ),
  'U_PROFILE'=>add_session_id(PHPWG_ROOT_PATH.'profile.php?'.str_replace( '&', '&amp;', $_SERVER['QUERY_STRING'] ))
  )
);
//---------------------------------------------------------- special categories
// most visited
$template->assign_block_vars(
  'special_cat',
  array(
    'URL' => add_session_id(PHPWG_ROOT_PATH.'category.php?cat=most_visited'),
    'TITLE' => $lang['most_visited_cat_hint'],
    'NAME' => $lang['most_visited_cat']
    ));
// recent pics
$template->assign_block_vars(
  'special_cat',
  array(
    'URL' => add_session_id(PHPWG_ROOT_PATH.'category.php?cat=recent_pics'),
    'TITLE' => $lang['recent_pics_cat_hint'],
    'NAME' => $lang['recent_pics_cat']
    ));
//--------------------------------------------------------------------- summary

if ( !$user['is_the_guest'] )
{
  $template->assign_block_vars('logout',array());
  // administration link
  if ( $user['status'] == 'admin' )
  {
    $template->assign_block_vars('logout.admin', array());
  }
}
else
{
  $template->assign_block_vars('login',array());
  if ($conf['authorize_remembering'])
  {
    $template->assign_block_vars('login.remember_me',array());
  }
}

// about Home
$template->assign_block_vars('summary', array(
'TITLE'=>$lang['home_hint'],
'NAME'=>$lang['home'],
'U_SUMMARY'=>add_session_id( 'category.php' ),
));

// news link
$template->assign_block_vars('summary', array(
'TITLE'=>$lang['hint_news'],
'NAME'=>$lang['news'],
'U_SUMMARY'=>add_session_id( 'news.php' ),
));

// videos link
$template->assign_block_vars('summary', array(
'TITLE'=>$lang['hint_videos'],
'NAME'=>$lang['videos'],
'U_SUMMARY'=>add_session_id( 'videos.php')
));

// search link
$template->assign_block_vars('summary', array(
'TITLE'=>$lang['hint_search'],
'NAME'=>$lang['search'],
'U_SUMMARY'=>add_session_id( 'search.php' ),
));

// comments link
$template->assign_block_vars('summary', array(
'TITLE'=>$lang['hint_comments'],
'NAME'=>$lang['comments'],
'U_SUMMARY'=>add_session_id( 'comments.php' ),
));

// links link
$template->assign_block_vars('summary', array(
'TITLE'=>$lang['hint_links'],
'NAME'=>$lang['links'],
'U_SUMMARY'=>add_session_id( 'links.php?'.str_replace( '&', '&amp;', $_SERVER['QUERY_STRING'] ) )
));

// faq link
$template->assign_block_vars('summary', array(
'TITLE'=>$lang['hint_faq'],
'NAME'=>$lang['faq'],
'U_SUMMARY'=>add_session_id( 'faq.php?'.str_replace( '&', '&amp;', $_SERVER['QUERY_STRING'] ) )
));

// about link
$template->assign_block_vars('summary', array(
'TITLE'=>$lang['hint_about'],
'NAME'=>$lang['about'],
'U_SUMMARY'=>add_session_id( 'about.php?'.str_replace( '&', '&amp;', $_SERVER['QUERY_STRING'] ) )
));

//------------------------------------------------------- category informations
if ( isset ( $page['cat'] ) )
{
  // navigation bar
  if ( $page['navigation_bar'] != '' )
  {
    $template->assign_block_vars(
      'cat_infos.navigation',
      array('NAV_BAR' => $page['navigation_bar'])
      );
  }
  // category comment
  if ( isset( $page['comment'] ) and $page['comment'] != '' )
  {
    $template->assign_block_vars(
      'cat_infos.comment',
      array('COMMENTS' => $page['comment'])
      );
  }
}

$template->parse('about');
include(PHPWG_ROOT_PATH.'include/page_tail.php');
?>

a+

#103 2005-06-03 13:39:04

plg
Équipe Piwigo
Nantes, France, Europe
2002-04-05
12644

Re: [PWG 1.3.x] N°1: Toutes Les Modifs Possibles Sont Ici :

napi a écrit:

z0rglub a écrit:

[...] une section personnalisation dans le wiki [...]

Le lien ne fonctionne pas chez moi.

Lien mis à jour : section personnalisation dans le wiki,  suite à la fusion des 2 wikis


Les historiens ont établi que Pierrick était le premier utilisateur connu de Piwigo.

Hors ligne

#104 2005-06-03 13:52:02

napi
Membre
2005-05-24
76

Re: [PWG 1.3.x] N°1: Toutes Les Modifs Possibles Sont Ici :

Le lien fonctionne, merci.
Mais j'ai eu beaucoup de mal à sauvegarder ce que j'ai fait. Pour modifier la partie concernant le logo au-dessus des catégories, j'ai dû m'y reprendre à 3 ou 4 fois. Je sauvegarde et ensuite plus rien et je ne peux pas rvenir à la section personnalisation tant que je ne suis pas allé sur un autre site.
J'aurais bien aimé remettre la ligne de fin de sujet à sa place.

Hors ligne

#105 2005-07-17 15:36:06

Tcherno
Membre
Issy-les-moulineaux (France)
2004-06-09
311

Re: [PWG 1.3.x] N°1: Toutes Les Modifs Possibles Sont Ici :

Rickways a écrit:

Voici la récupération du topic dans le forum ANGLAIS
afin de pouvoir poster du html dans les parties commentaire
(avec complément pour les commentaires de galerie)

Et ça marche en 1 4 1 ?


"Mon métier est de voir et faire voir. Je ne ressens pas la nécessité d'en changer" Jean Lattès Photojournaliste (1917-1996)
Photothèque : http://www.puech.info/photos/
Blog photojournalisme : http://www.a-l-oeil.info

Hors ligne

  •  » Utilisation
  •  » [PWG 1.3.x] N°1: Toutes Les Modifs Possibles Sont Ici :

Pied de page des forums

Propulsé par FluxBB

github twitter newsletter Faire un don Piwigo.org © 2002-2024 · Contact