Changeset 797
- Timestamp:
- Jun 25, 2005, 7:09:01 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/category.php
r764 r797 176 176 ) 177 177 ); 178 //-------------------------------------------------------------- external links 179 if (count($conf['links']) > 0) 180 { 181 $template->assign_block_vars('links', array()); 182 183 foreach ($conf['links'] as $url => $label) 184 { 185 $template->assign_block_vars( 186 'links.link', 187 array( 188 'URL' => $url, 189 'LABEL' => $label 190 )); 191 } 192 } 178 193 //---------------------------------------------------------- special categories 179 194 // favorites categories -
trunk/doc/ChangeLog
r796 r797 1 2005-06-25 Pierrick LE GALL 2 3 * new feature : ability to add links on the main page (see 4 include/config_default.inc.php) 5 1 6 2005-06-21 Pierrick LE GALL 2 7 -
trunk/include/config_default.inc.php
r770 r797 200 200 // bottom of each page ? 201 201 $conf['show_version'] = true; 202 203 // links : list of external links to add in the menu. An example is the best 204 // than a long explanation : 205 // 206 // $conf['links'] = array( 207 // 'http://phpwebgallery.net' => 'PWG website', 208 // 'http://forum.phpwebgallery.net' => 'PWG forum', 209 // 'http://phpwebgallery.net/doc' => 'PWG wiki' 210 // ); 211 // 212 // If the array is empty, the "Links" box won't be displayed on the main 213 // page. 214 $conf['links'] = array(); 202 215 ?> -
trunk/language/en_UK.iso-8859-1/common.lang.php
r796 r797 327 327 $lang['return to homepage'] = 'return to homepage'; 328 328 $lang['Filter and display'] = 'Filter and display'; 329 $lang['Links'] = 'Links'; 329 330 ?> -
trunk/language/fr_FR.iso-8859-1/common.lang.php
r796 r797 330 330 $lang['return to homepage'] = 'retourner à la page d\'accueil'; 331 331 $lang['Filter and display'] = 'Filtrer et afficher'; 332 $lang['Links'] = 'Liens'; 332 333 ?> -
trunk/template/default/category.tpl
r760 r797 4 4 <td valign="top" style="padding:0px 10px 0px 10px;width:1%;"> 5 5 <div class="table1"> 6 <!-- BEGIN links --> 7 <div class="titreMenu">{lang:Links}</div> 8 <div class="menu"> 9 <ul class="menu"> 10 <!-- BEGIN link --> 11 <li><a href="{links.link.URL}">{links.link.LABEL}</a></li> 12 <!-- END link --> 13 </ul> 14 </div> 15 <!-- END links --> 6 16 <div class="titreMenu"> 7 17 <a href="{U_HOME}">{L_CATEGORIES}</a>
Note: See TracChangeset
for help on using the changeset viewer.