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 | |
// En.php | |
return array( | |
'name' => 'First Name', | |
'address' => 'Address' | |
); | |
// Es.php |
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
// Parent UIViewControlller | |
- (void)viewWillAppear:(BOOL)animated { | |
[[NSNotificationCenter defaultCenter] addObserver:self | |
selector:@selector(refreshSearchBarControllerWithDepartmentCode:) | |
name:@"DepartmentCodeNotification" | |
object:nil]; | |
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 | |
$token = ''; | |
if ($_GET['code'] !== '') { | |
$token = file_get_contents('https://graph.facebook.com/oauth/access_token?client_id=xxxxxxxxxxxxxxxx&redirect_uri=http://youdomain.com/callbackurl/&client_secret=xxxxxxxxxxxxxx&code='.$_GET['code']); | |
} else { | |
print "no code"; | |
} | |
?> | |
<html> |
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
- (void)loadView { | |
UIView *mainView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)]; | |
self.view = mainView; | |
[mainView release]; | |
UITableView *tblView = [[UITableView alloc] initWithFrame:CGRectMake(0 55, 320, 300) style:UITableViewStylePlain]; | |
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
#header { | |
background: #FBFBF9; | |
background: -webkit-gradient(linear, left 45%, left 90%, from(rgba(253, 251, 252, 1.0)), to(rgba(207, 204, 199, 1.0))); | |
/* for FF 3.6 */ | |
background: -moz-linear-gradient(rgba(253, 251, 252, 1.0) 45%, rgba(207, 204, 199, 1.0) 90%); | |
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#FDFBFC, endColorstr=#CFCCC7); | |
-ms-filter: "progid:DXImageTransform.Microsoft.gradient (GradientType=0, startColorstr=#FDFBFC, endColorstr=#CFCCC7)"; | |
text-align: right; padding: 5px 0; } |
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 | |
/** | |
* @see Zend_Validate_Abstract | |
*/ | |
require_once 'Zend/Validate/Abstract.php'; | |
/** | |
* @see Zend_Http_Client | |
*/ | |
require_once 'Zend/Http/Client.php'; |
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 | |
<route>^(?!\bsearch|forms\b)(\w+-?[\w-?]*\/?)(.*)?</route> | |
?> |
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
- (void)viewWillAppear:(BOOL)animated { | |
[super viewWillAppear:animated]; | |
self.navigationItem.title = @"Back"; | |
[self.navigationItem setHidesBackButton:YES animated:NO]; | |
[self.navigationController.navigationBar setNeedsDisplay]; | |
} |
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
// | |
// CWCustomAccessoryView.h | |
// CustomAccessory | |
// | |
// Created by Cory Wiles on 10/8/10. | |
// Copyright (c) 2010 __MyCompanyName__. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |
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
- (void)fixupAdView:(UIInterfaceOrientation)toInterfaceOrientation { | |
if (adBannerView != nil) { | |
[super configureIAdContentSizes]; | |
[UIView beginAnimations:@"fixupViews" context:nil]; | |
CGFloat toolbarHeight = self.toolbar.frame.size.height; | |