This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$dir = dirname(__FILE__); | |
chdir($dir); | |
require $dir.'/app/Mage.php'; | |
Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); | |
$configSections = Mage::getSingleton('adminhtml/config')->getSections(); | |
// look for node entries in all system.xml that use source_model=adminhtml/system_config_source_email_template | |
// they are will be templates, what we try find |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[globalVar = GP:tx_news_pi1|news > 0] | |
temp.newsTitle = RECORDS | |
temp.newsTitle { | |
source = {GP:tx_news_pi1|news} | |
source.insertData = 1 | |
tables = tx_news_domain_model_news | |
select.languageField = sys_language_uid | |
conf { | |
tx_news_domain_model_news > | |
tx_news_domain_model_news = TEXT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Country 2 Digit Code 3 Digit Code | |
Afghanistan AF AFG | |
Albania AL ALB | |
Algeria DZ DZA | |
American Samoa AS ASM | |
Andorra AD AND | |
Angola AO AGO | |
Anguilla AI AIA | |
Antarctica AQ ATA | |
Antigua and Barbuda AG ATG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
exec < /dev/tty | |
if [ ! -f ./system.txt ]; then | |
echo "File not found!" | |
read -p "Status of the system (local,dev or live)? [n]" -r | |
echo $REPLY > ./system.txt | |
fi | |
dumpname=`cat system.txt` |
NewerOlder