Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2005
    Location
    Italy
    Posts
    199
    Plugin Contributions
    0

    Default [Done v1.6.0] Replace hard-coded language text in /admin/profiles.php

    The file /admin/profiles.php contains hard-coded language text that should be moved to a language-specific define:

    Code:
    <?php foreach($pagesByMenu as $menuKey => $pageList) { ?>
        <dl>
          <dt>
            <strong class="checkLabel"><?php echo $menuTitles[$menuKey] ?></strong>
            <input class="checkButton" type="button" value="Check All" onclick="checkAll(this.form,'<?php echo $menuKey ?>',true);">
            <input class="checkButton" type="button" value="Uncheck All" onclick="checkAll(this.form,'<?php echo $menuKey ?>',false);">
          </dt>
    Code:
    <?php foreach($pagesByMenu as $menuKey => $pageList) { ?>
        <dl>
          <dt>
            <strong><?php echo $menuTitles[$menuKey] ?></strong>
            <input class="checkButton" type="button" value="Check All" onclick="checkAll(this.form,'<?php echo $menuKey ?>',true);">
            <input class="checkButton" type="button" value="Uncheck All" onclick="checkAll(this.form,'<?php echo $menuKey ?>',false);">
          </dt>
    Two occurrences of the same snippet
    Last edited by s_p_ike; 5 Jan 2015 at 11:43 AM.
    Paolo De Dionigi
    Co-maintainer of Zen Cart Italia

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Replace hard-coded language text in /admin/profiles.php

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 22 Dec 2014, 05:14 PM
  2. [Done 2.0] admin email salutation hard coded
    By torvista in forum Bug Reports
    Replies: 1
    Last Post: 15 May 2011, 12:33 PM
  3. [Done 1.3.6] admin class language.php
    By a_berezin in forum Bug Reports
    Replies: 0
    Last Post: 11 Oct 2006, 05:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR