Siebrand Mazeland
3bcff2fa86
Use profile->getBestName() instead of more complex i18n unfriendly construction.
...
Update translator documentation.
Number parameters where more than one is used.
L10n updates.
Update README file to break lines at or just before 80 characters.
Remove PHP4-ism "?>"
Update indentation.
Update whitespace.
2011-04-25 22:44:21 +02:00
Brion Vibber
b58aa29168
Notice form cleanup: removing hardcoded id from counter references; prep for reusable notice forms.
2011-03-03 17:15:17 -08:00
Brion Vibber
2a42dac72a
Partial implementation for ticket #2442 : MobileProfile plugin should allow manual switching between regular and mobile rendering modes
...
http://status.net/open-source/issues/2442
Notes:
* Mapstraction causes JavaScript errors in XHTML mode, breaking our code if we're run later so the link doesn't work to get back to Desktop.
* not 100% sure how safe feature detection is here?
* Currently will be useless but visible links if no JS available; need to fall back to server-side for limited browsers
2011-02-21 16:10:07 -08:00
Evan Prodromou
0c7104ec2f
MobileProfile uses Plugin::path()
2011-02-03 11:46:20 -05:00
Brion Vibber
54e98ffe22
Fix ticket #3013 : MAX_FILE_SIZE hidden fields were incorrectly placed
...
In order to apply to PHP's POST processing, the MAX_FILE_SIZE field must appear *before* the file upload field. They were incorrectly placed after, where they had no effect on POST processing.
2011-01-26 15:49:57 -08:00
Siebrand Mazeland
bccbe8f519
* i18n/L10n update.
...
* superfluous whitespace removed.
2010-09-20 21:12:43 +02:00
Brion Vibber
c24458a9f0
Ticket #2638 : allow themes to specify a base theme to load with 'include' setting in a theme.ini file
2010-09-02 14:11:52 -07:00
Brion Vibber
7915386950
Allow plugins to load their styles for mobile view; fixes bad realtime button layout
2010-05-07 01:28:37 +00:00
Brion Vibber
5996d80c09
Ticket #2184 : recognize Palm Pre / WebOS browsers for MobileProfile
...
One-line addition of 'webos' to the keywords list.
2010-05-06 21:29:04 +00:00
Brion Vibber
8a02cad424
drop onStartShowHeadElements handler from MobileProfile; just duplicated the original code path, and after removing the bogus notice-spewing code it was running those things twice.
2010-04-08 10:09:56 -07:00
Brion Vibber
3172b50fc7
Add a User-Agent fragment blacklist to MobileProfile: sticking iPad on the regular theme, which works better on its larger screen (was tripped on 'mobile' in the UA though we had no explicit check for 'ipad' previously)
2010-04-06 12:21:42 -07:00
Brion Vibber
edea825c70
Comment out unreachable code spewing notices due to use of undefined variables in MobileProfile.
...
This needs some cleanup...
2010-04-06 12:13:54 -07:00
Zach Copley
61ada4558d
Fix for disappearing 'connect' menu if xmpp and sms are disabled.
...
All 'connect' menu panels used to be optional, so Action tried to
figure out what the first item on the 'connect' menu should be.
This is no longer necessary because we have the non-optional OAuth
client connections panel now, which is not optional and can't be
turned off.
2010-03-03 10:19:14 -08:00
Zach Copley
871b3aa6c0
Remove un-needed config variable for enabling/disabling Twitter integration
2010-03-01 21:52:31 -08:00
Sarven Capadisli
5bdc6fa5d4
Moved hardcoded identica theme out of MobileProfile. In this case, it
...
will use whichever theme is loaded as its base and then add its own
mobile styles. Of course, if a theme comes with its own mobile styles,
it will use that instead as an addition to its own base.
2010-02-04 19:42:33 +00:00
Sarven Capadisli
23e96dd4d1
Added version info for MobileProfile plugin
2010-01-26 01:16:02 +01:00
Sarven Capadisli
83eef607f1
Inline script for maxlength is deprecated
2010-01-26 01:13:29 +01:00
Sarven Capadisli
5472779240
Added admin navigation item to MobileProfile
2009-12-21 15:09:12 +00:00
Craig Andrews
d41a0a5ed0
Use inlineScript() instead of element() to write inline javascript
2009-12-04 20:33:41 -05:00
Craig Andrews
675e32ac9a
use cssLink() instead of element() to write out references to CSS
2009-12-04 20:21:05 -05:00
Sarven Capadisli
e1fcac0e09
Changed DEFINE name to avoid conflicts
2009-11-20 04:49:35 +00:00
Sarven Capadisli
30f660b05c
Using common_redirect
2009-11-20 02:12:09 +00:00
Sarven Capadisli
5a3267900d
Changed gif to png
2009-11-19 20:59:21 +00:00
Sarven Capadisli
78c6056133
Changed this to action. THANKS zach!
2009-11-19 20:52:42 +00:00
Sarven Capadisli
3ff5dd6989
Doing content negotiation only once
2009-11-19 20:47:05 +00:00
Sarven Capadisli
60391d0b96
Brought the plugin up to date with recent 0.9.x changes e.g.,
...
Theme::path
2009-11-19 17:13:51 +00:00
Sarven Capadisli
94c7b2b43a
Changed textarea @cols value for smaller screens
2009-10-15 12:47:59 +00:00
Sarven Capadisli
ed85dc2700
Updated comments
2009-10-15 11:25:38 +00:00
Sarven Capadisli
0e333200a4
Added missing $this
2009-10-12 13:06:16 +00:00
Sarven Capadisli
d65702b301
Only output attachment if the mobile device is interested
2009-10-12 13:05:19 +00:00
Sarven Capadisli
410883d146
Ran phpcs and fixed a few errors and warnings
2009-10-12 12:58:51 +00:00
Sarven Capadisli
44a5cd2805
Added function to set a list of features the mobile device supports
...
and output accordingly e.g., if device is not known to have an open
file system or unable to make use of input type="file" don't output
that feature
2009-10-12 12:46:53 +00:00
Sarven Capadisli
7af1c83f4e
Fixed typo, added ipod
2009-10-12 12:30:00 +00:00
Sarven Capadisli
0b741f15c2
Removed the Help item from global primary navigation in the header
...
since it is also used in the footer area. Frees up 'precious'space.
2009-10-09 15:32:56 +00:00
Sarven Capadisli
0799f48197
Updated mobilelogo extension
2009-10-09 14:48:14 +00:00
Sarven Capadisli
7b4d138946
Init showNoticeFormData
2009-10-05 14:42:11 +00:00
Sarven Capadisli
5c01501f55
Minor correction
2009-10-05 10:29:34 +00:00
Sarven Capadisli
acda8d4c79
Init showPrimaryNav
2009-10-04 22:16:59 +00:00
Sarven Capadisli
479a5e74a3
Removed site_notice and anon_notice from output because this
...
information is not particularly crucial for the mobile user.
2009-10-04 21:42:38 +00:00
Sarven Capadisli
3c9f177c03
Stop output after showing header
2009-10-04 21:37:24 +00:00
Sarven Capadisli
d001c5f4b1
Init showLogo
2009-10-04 21:37:05 +00:00
Sarven Capadisli
5087a24c48
Init showHeader
2009-10-04 21:09:16 +00:00
Sarven Capadisli
fe4a49d4a5
If they are not on the mobile site or not interested in getting the
...
mobile profile, then give them the regular output.
2009-10-04 20:53:30 +00:00
Sarven Capadisli
3ee1af9aaa
Minor adjustment to indenting
2009-10-04 20:43:52 +00:00
Sarven Capadisli
ef7e4cb72d
If not meant to serveMobile, show the default styles
2009-10-04 20:42:03 +00:00
Sarven Capadisli
a7bed6f7d9
Added custom showHead
2009-10-04 16:50:53 +00:00
Sarven Capadisli
7addccacaa
Added ability to define mobile stylesheets (handheld, screen) at the
...
theme level. If there are no mobile stylesheets in the theme
directory, it will use the ones that come with the plugin.
2009-10-04 16:26:04 +00:00
Sarven Capadisli
c64e1792bf
Fixed redirect. Added common_path for mobileserver
2009-10-04 13:58:29 +00:00
Sarven Capadisli
960207c81e
Don't redirect if mobile server is same as site server
2009-10-04 13:27:46 +00:00
Sarven Capadisli
f344a49b11
Don't show .aside
2009-10-03 21:29:14 +00:00