Ignore:
Timestamp:
Dec 13, 2009, 10:28:25 PM (14 years ago)
Author:
LucMorizur
Message:

[Event Cats] Continue EN translation ; fix bugs 1324 and 1325

Location:
extensions/event_cats/admin
Files:
2 edited

Legend:

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

    r4443 r4486  
    204204  $c = $ec_lists['types_granted'];
    205205  if (isset($_POST['deny_types']))
    206    foreach ($_POST['deny_types'] as $v) $c = $c & ~$v;
     206   foreach ($_POST['deny_types'] as $v) $c = $c & ~intval($v);
    207207  if (isset($_POST['deny_generic'])) $c = $c & 7;
    208208  $q = ($dup_types_exist) ? "
     
    228228  $c = $ec_lists['types_granted'];
    229229  if (isset($_POST['grant_types']))
    230    foreach ($_POST['grant_types'] as $v) $c = $c | $v;
     230   foreach ($_POST['grant_types'] as $v) $c = $c | intval($v);
    231231  if (isset($_POST['grant_generic'])) $c = $c | 8;
    232232  $q = ($dup_types_exist) ? "
     
    331331// +-----------------------------------------------------------------------+
    332332
    333 check_DB(); $ec_debug['ec_exist_entries'] = $ec_exist_entries;
     333check_DB();
    334334 
    335335if (
  • extensions/event_cats/admin/template/autolog_new.tpl

    r4472 r4486  
    104104             — 
    105105            <label for = "ec_in_up_comment_id" style = "margin:0;" title = "{'Optional'|@translate}">
    106               <span style = "font-weight:bold;  font-style:italic;">{'Comment'|@translate}</span>
     106              <span style = "font-weight:bold; font-style:italic;">{'Comment'|@translate}</span>
    107107              <input type = "text" name = "ec_in_up_comment" maxlength = "100" size = "50" id = "ec_in_up_comment_id"
    108108                onchange = "ec_new_comment_text = this.value;"
Note: See TracChangeset for help on using the changeset viewer.