Plugin Directory

Changeset 675314


Ignore:
Timestamp:
03/02/2013 09:16:47 AM (13 years ago)
Author:
oshingler
Message:

2.45

  • Added Swiss Francs (CHF) as a currency option
Location:
olimometer
Files:
65 added
4 edited

Legend:

Unmodified
Added
Removed
  • olimometer/trunk/olimometer-class.php

    r636475 r675314  
    289289            $the_olimometer_text = $the_olimometer_text." class='".$css_class."'";
    290290        }
    291         $the_olimometer_text = $the_olimometer_text." alt='Olimometer 2.44'></a>";
     291        $the_olimometer_text = $the_olimometer_text." alt='Olimometer 2.45'></a>";
    292292       
    293293        return $the_olimometer_text;
  • olimometer/trunk/olimometer.php

    r636475 r675314  
    66Author: Oliver Shingler
    77Author URI: http://www.olivershingler.co.uk
    8 Version: 2.44
     8Version: 2.45
    99*/
    1010
     
    590590            <option value="8356" <?php if($current_olimometer->olimometer_currency=="8356") { echo "SELECTED"; } ?>>&#8356;</option>
    591591            <option value="176" <?php if($current_olimometer->olimometer_currency=="176") { echo "SELECTED"; } ?>>&#176;</option>
    592             <option value="10000" <?php if($current_olimometer->olimometer_currency=="10000") { echo "SELECTED"; } ?>>kr</option>
     592            <option value="10000" <?php if($current_olimometer->olimometer_currency=="10000") { echo "SELECTED"; } ?>>kr</option>
     593            <option value="10001" <?php if($current_olimometer->olimometer_currency=="10001") { echo "SELECTED"; } ?>>CHF</option>
    593594            <option value="" <?php if($current_olimometer->olimometer_currency=="") { echo "SELECTED"; } ?>>No Prefix</option>
    594595            </select>
     
    610611            <option value="8356" <?php if($current_olimometer->olimometer_suffix=="8356") { echo "SELECTED"; } ?>>&#8356;</option>
    611612            <option value="176" <?php if($current_olimometer->olimometer_suffix=="176") { echo "SELECTED"; } ?>>&#176;</option>
    612             <option value="10000" <?php if($current_olimometer->olimometer_suffix=="10000") { echo "SELECTED"; } ?>>kr</option>
     613            <option value="10000" <?php if($current_olimometer->olimometer_suffix=="10000") { echo "SELECTED"; } ?>>kr</option>
     614            <option value="10001" <?php if($current_olimometer->olimometer_suffix=="10001") { echo "SELECTED"; } ?>>CHF</option>
    613615            <option value="" <?php if($current_olimometer->olimometer_suffix=="") { echo "SELECTED"; } ?>>No Suffix</option>
    614616            </select>
  • olimometer/trunk/readme.txt

    r636475 r675314  
    109109== Changelog ==
    110110
     111= 2.45 =
     112* Added Swiss Francs (CHF) as a currency option
     113
    111114= 2.44 =
    112115* A couple of minor fixes and tidy-ups
     
    242245== Upgrade Notice ==
    243246
     247= 2.45 =
     248* Added Swiss Francs (CHF) as a currency option
     249
    244250= 2.44 =
    245251* A couple of minor fixes and tidy-ups
  • olimometer/trunk/thermometer.php

    r608691 r675314  
    144144            $currency_symbol = "kr ";
    145145            break;
     146        case '10001':
     147            $currency_symbol = "CHF ";
     148            break;     
    146149        default:
    147150            $currency_symbol = "&#$currency;";
     
    161164            $suffix_symbol = " kr";
    162165            break;
     166        case '10001':
     167            $suffix_symbol = " CHF";
     168            break;             
    163169        default:
    164170            $suffix_symbol = "&#$suffix;";
Note: See TracChangeset for help on using the changeset viewer.