Merge branch 'develop' into setup_buttons
authorDavid A. Velasco <dvelasco@solidgear.es>
Wed, 6 Nov 2013 10:43:22 +0000 (11:43 +0100)
committerDavid A. Velasco <dvelasco@solidgear.es>
Wed, 6 Nov 2013 10:43:22 +0000 (11:43 +0100)
1  2 
res/layout-land/account_setup.xml
res/layout/account_setup.xml
res/values/setup.xml
src/com/owncloud/android/authentication/AuthenticatorActivity.java

Simple merge
Simple merge
@@@ -9,10 -9,10 +9,11 @@@
      <string name ="data_folder">owncloud</string>
      <string name ="log_name">Owncloud_</string>
      
-     <!-- Server URL -->
+     <!-- URLs and flags related -->
      <string name="server_url"></string>
      <bool name="show_server_url_input">true</bool>
 -      <string name="url_account_register">"https://owncloud.com/mobile/new"</string>
 +    <bool name="show_welcome_link">true</bool>
++      <string name="welcome_link_url">"https://owncloud.com/mobile/new"</string>
      
      <!-- Flags to setup the authentication methods available in the app -->
      <string name="auth_method_oauth2">off</string>
@@@ -1402,7 -1397,7 +1402,7 @@@ implements  OnRemoteOperationListener, 
       * @param view      'Account register' button\r
       */\r
      public void onRegisterClick(View view) {\r
--        Intent register = new Intent(Intent.ACTION_VIEW, Uri.parse(getString(R.string.url_account_register)));\r
++        Intent register = new Intent(Intent.ACTION_VIEW, Uri.parse(getString(R.string.welcome_link_url)));\r
          setResult(RESULT_CANCELED);\r
          startActivity(register);\r
      }\r