Changeset 7311


Ignore:
Timestamp:
Oct 20, 2010, 11:18:02 PM (13 years ago)
Author:
LucMorizur
Message:

Clean duplication.tpl thanks to HTMLvalidator; fix bug:1947

Location:
extensions/event_cats
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/admin/evntcats_admin.php

    r7285 r7311  
    101101  );
    102102 
    103   $ec_exist_entries = (pwg_db_num_rows(pwg_query("
     103  $ec_exist_entries = (mysql_num_rows(pwg_query("
    104104    SELECT * FROM `".EVNTCATS_TABLE."`
    105105    WHERE `code` IS NOT NULL ;
     
    213213    SET `arg2` = $c
    214214    WHERE `arg1` = 3
     215      AND `code` IS NULL
    215216    LIMIT 1 ;
    216217  " : "
     
    237238    SET `arg2` = $c
    238239    WHERE `arg1` = 3
     240      AND `code` IS NULL
    239241    LIMIT 1 ;
    240242  " : "
  • extensions/event_cats/admin/template/duplication.tpl

    r7066 r7311  
    2222//--></script>
    2323
    24 <!-- Aknowledgement ----------------------------------------------------------
    25 | A lot of below code has simply been copied-pasted from file cat_perm.tpl . |
    26 | Many thanks to people who wrote it !                                       |
    27 ----------------------------------------------------------------------------->
     24<!-- Acknowledgement
     25  A lot of below code has simply been copied-pasted from file cat_perm.tpl . 
     26  Many thanks to people who wrote it !                                       
     27-->
    2828
    2929{* <!-- Duplication configuration parameters --> *}
    30 <form action = "" method = "post" class = "titrePage" name = "ec_duplic_conf">
     30<form action = "" method = "post" class = "titrePage" {* name = "ec_duplic_conf"  *} >
    3131  <fieldset>
    3232    <legend>{'Configuration'|@translate}</legend>
     
    9393
    9494{* <!-- Duplication settings by groups / types / user ids --> *}
    95 <form action = "" method = "post" name = "ec_duplic_set" id="categoryPermissions">
     95<form action = "" method = "post" {* name = "ec_duplic_set" *} id="categoryPermissions">
    9696 
    9797  <h4>{'Groups'|@translate}</h4>
     
    123123    <ul>
    124124      {if $ec_gen_granted}
    125       <li><label><input type = "checkbox" name = "deny_generic" /> {'user_status_generic'|@translate}</label></li>
    126       <br />
     125        <li><label><input type = "checkbox" name = "deny_generic" /> {'user_status_generic'|@translate}</label><br /></li>
    127126      {/if}
    128127      {foreach from=$types_granted_ids item=id}
  • extensions/event_cats/include/evntcats_main_funcs.inc.php

    r7285 r7311  
    332332 *   the global array variable $ec_lists.
    333333 * @return
    334  *   (no return value)
     334 *   true or false whether duplication based on user type exists
     335 *   (user types are guest (0), contact (1), friend (2), family (4), and
     336 *   admin should be 8, but is not used, as admins can't duplicate; 8 is used
     337 *   for generic users, and is managed slightly differently as it is not
     338 *   actually a "user type")
    335339 */
    336340function build_dup_groups() {
Note: See TracChangeset for help on using the changeset viewer.