Changeset 2225


Ignore:
Timestamp:
Feb 28, 2008, 1:07:00 PM (16 years ago)
Author:
rvelices
Message:

2 templates migrated

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/user_perm.php

    r2201 r2225  
    33// | PhpWebGallery - a PHP based picture gallery                           |
    44// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
    5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
    6 // +-----------------------------------------------------------------------+
    7 // | branch        : BSF (Best So Far)
     5// | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net |
     6// +-----------------------------------------------------------------------+
    87// | file          : $Id$
    98// | last update   : $Date$
     
    127126  );
    128127
    129 $template->assign_vars(
     128$template->assign(
    130129  array(
    131130    'TITLE' =>
     
    162161if (mysql_num_rows($result) > 0)
    163162{
    164   $template->assign_block_vars('groups', array());
    165 
    166163  $cats = array();
    167164  while ($row = mysql_fetch_array($result))
     
    174171  foreach ($cats as $category)
    175172  {
    176     $template->assign_block_vars(
    177       'groups.category',
    178       array(
    179         'NAME' => get_cat_display_name_cache($category['uppercats'], null, false)
    180         )
     173    $template->append(
     174      'categories_because_of_groups',
     175      get_cat_display_name_cache($category['uppercats'], null, false)
    181176      );
    182177  }
  • trunk/template/yoga/admin/user_perm.tpl

    r2222 r2225  
    1 <!-- DEV TAG: not smarty migrated -->
    2 <h2>{TITLE}</h2>
     1{* $Id$ *}
     2<h2>{$TITLE}</h2>
    33
    4 <!-- BEGIN groups -->
     4{if isset($categories_because_of_groups) }
    55<fieldset>
    6   <legend>{lang:Categories authorized thanks to group associations}</legend>
     6  <legend>{'Categories authorized thanks to group associations'|@translate}</legend>
    77
    88  <ul>
    9     <!-- BEGIN category -->
    10     <li>{groups.category.NAME}</li>
    11     <!-- END category -->
     9    {foreach from=$categories_because_of_groups item=cat }
     10    <li>{$cat}</li>
     11    {/foreach}
    1212  </ul>
    1313</fieldset>
    14 <!-- END groups -->
     14{/if}
     15
    1516
    1617<fieldset>
    17   <legend>{lang:Other private categories}</legend>
     18  <legend>{'Other private categories'|@translate}</legend>
    1819
    19   <form method="post" action="{F_ACTION}">
    20     {DOUBLE_SELECT}
     20  <form method="post" action="{$F_ACTION}">
     21    {$DOUBLE_SELECT}
    2122  </form>
    2223</fieldset>
  • trunk/template/yoga/picture_content.tpl

    r2222 r2225  
    1 <!-- DEV TAG: not smarty migrated -->
    2 <!-- BEGIN high -->
    3 <a href="javascript:phpWGOpenWindow('{high.U_HIGH}','{high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')">
    4 <!-- END high -->
    5   <img src="{SRC_IMG}" style="width:{WIDTH_IMG}px;height:{HEIGHT_IMG}px;" alt="{ALT_IMG}">
    6 <!-- BEGIN high -->
     1{* $Id$ *}
     2{if isset($high) }
     3<a href="javascript:phpWGOpenWindow('{$high.U_HIGH}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')">
     4{/if}
     5  <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}">
     6{if isset($high) }
    77</a>
    8   <p>{lang:picture_high}</p>
    9 <!-- END high -->
     8  <p>{'picture_high'|@translate}</p>
     9{/if}
Note: See TracChangeset for help on using the changeset viewer.