Created
November 3, 2010 13:09
-
-
Save jeremyb/661049 to your computer and use it in GitHub Desktop.
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
var globalConfigs = { | |
env : '<?php echo sfConfig::get('sf_environment') ?>', | |
userCulture : '<?php echo $sf_user->getCulture() ?>', | |
urls: { | |
ajaxAutocomplete : '<?php echo url_for('@homepage') ?>', | |
ajaxModalBox : '<?php echo url_for('@homepage') ?>' | |
}, | |
i18n: { | |
example : "<?php echo esc_specialchars(__('example')) ?>", | |
exampleModalboxTitle : "<?php echo esc_specialchars(__('example_modalbox_title')) ?>" | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment