54615be22e
Continued with coding convention:
...
- added curly braces around conditional code blocks
- added space between if/foreach/... and brace
- rewrote a code block so if dbm::is_result() fails it will abort, else the id
is fetched from INSERT statement
- made some SQL keywords upper-cased and added back-ticks to columns/table names
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-12-20 21:16:01 +01:00
ace8f753ac
added much more curly braces + space between "if" and brace
...
Signed-off-by: Roland Häder <roland@mxchange.org>
Conflicts:
mod/bookmarklet.php
mod/community.php
mod/contacts.php
mod/crepair.php
mod/events.php
mod/network.php
mod/suggest.php
mod/uexport.php
view/theme/duepuntozero/config.php
view/theme/frio/config.php
view/theme/quattro/config.php
view/theme/vier/config.php
2016-12-20 11:59:13 +01:00
e24c3a5b82
added much more curly braces + space between "if" and brace
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-20 11:56:34 +01:00
fb817b18ad
changed to this:
...
---------------------
function bla (App &$a) {
$a->bla = 'stuff';
}
---------------------
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-20 10:59:06 +01:00
884f44ce94
*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-19 14:27:16 +01:00
448c5aa694
Cleanup for #3010 - added spaces, thanks to @annando .
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-14 09:42:28 +01:00
6a8a36f12d
More usage of dbm::is_result($r) instead of count($r):
...
- count() returns very different results and never a boolean (not even false on
error condition).
- therefore you should NOT use it in boolean expressions. This still *can* be
done in PHP because of its lazyness. But it is discouraged if it comes to
more clean code.
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-13 10:44:13 +01:00
rabuzarus
7dcf44aa96
frio: delete unneeded button attributes in search forms
2016-12-10 21:25:40 +01:00
a4959626ad
Merge pull request #2996 from rabuzarus/20161206_-_help_doc_move_content
...
docu docs: some polishing
2016-12-06 22:05:08 +01:00
rabuzarus
b65433c823
docu docs: some polishing
2016-12-06 15:03:57 +01:00
rabuzarus
11507440ae
frio: change some link behavior of user menu in the nav bar
2016-12-06 14:11:22 +01:00
d49325d177
Disable richtext editor for frio - followup for #2938
2016-11-29 20:04:31 +00:00
Michael Vogel
efb2df41ba
Merge pull request #2977 from rabuzarus/20161128_-_help_page_polishing
...
Add protocol docu to the help docs
2016-11-29 19:38:31 +01:00
Michael Vogel
9894f7cea7
Merge pull request #2965 from tobiasd/20161122-cpActiveResponse
...
active response
2016-11-28 21:14:42 +01:00
rabuzarus
3cb9324072
frio: some css work for help docs
2016-11-28 18:40:25 +01:00
425bd83c8d
Merge pull request #2974 from rabuzarus/2511_frio_fix_default_js_arg
...
Frio Bugfix: correct wrong use of default arg 'title' in modal.js
2016-11-25 23:29:26 +01:00
rabuzarus
5068563cf5
small code formatting correction
2016-11-25 19:18:01 +01:00
rabuzarus
a194c44de9
Frio Bugfix: correct wrong use of default arg 'title' in modal.js
2016-11-25 19:13:40 +01:00
Hypolite Petovan
d406b17fe0
Remove extra whitespaces
2016-11-22 16:32:43 +01:00
Hypolite Petovan
9064277bd4
Add active response support to frio theme (continued)
...
- Added active class to search_item.tpl
2016-11-22 16:32:14 +01:00
Hypolite Petovan
a55c03896c
[frio] Enable Like Rotator on posts
...
- Move rotator from hidden block to post header
2016-11-22 16:31:01 +01:00
Hypolite Petovan
bdc7d1b87a
[frio] Add active class to responses current user holds
...
- Add active class when the self attribute is found
- Add CSS styling to active response links
2016-11-22 16:30:48 +01:00
7ad4a8ca93
The warning if a group contains members of several network types can now be supressed.
2016-11-20 12:09:18 +00:00
rabuzarus
72953cd1e1
fix indent
2016-11-20 02:07:58 +01:00
rabuzarus
cf07a4413c
Bugfix: frio - use white-space: pre-wrap for code elements
2016-11-20 01:51:32 +01:00
Michael Vogel
8a62470599
Merge pull request #2939 from rabuzarus/berlin_frio_fix_match_wrapper_floating
...
Bugfix: float for remote-friends-in-common wrapper
2016-11-19 21:55:40 +01:00
rabuzarus
1d8f18ff86
Bugfix: float for remote-friends-in-common wrapper
2016-11-19 21:14:28 +01:00
rabuzarus
a8d1a3f997
frio: add a very simple character counter to the jot
2016-11-18 23:48:31 +01:00
rabuzarus
02a0269a67
Frio Bugfix: clear float at the end of comment-edit
2016-11-16 14:19:09 +01:00
Hypolite Petovan
98d52bc568
[frio] fix wall_thread.tpl error with unstareable items
2016-11-04 21:19:07 -04:00
Hypolite Petovan
3579a14945
bbcode documentation: minor formatting changes
2016-11-03 21:01:09 -04:00
Hypolite Petovan
68bf1aa4cd
bbcode documentation: fix anchors on frio
2016-11-02 22:41:07 -04:00
Michael Vogel
75a996c4e4
Merge pull request #2839 from Hypolite/Issue-#2822
...
Issue #2822 - Fix [Embedded content - reload the page to view]
2016-10-25 07:31:20 +02:00
rabuzarus
3a7062af43
frio: line-break for event-owner names in event modals
2016-10-22 15:44:06 +02:00
Hypolite Petovan
71e93d9eb9
Remove debug and extra new lines
2016-10-21 14:24:43 -04:00
Hypolite Petovan
c340d590f7
Fix calendar strings escape
...
- Fix base event_head.tpl file
- Fix the rest of frio strings
2016-10-21 14:14:20 -04:00
Hypolite Petovan
3358b55433
[frio] Fix unescaped calendar Javascript strings
...
In French, “today” is “aujourd’hui”, which breaks the current calendar
Javascript strings quoted declaration.
This PR adds quote escaping to the i18n strings.
2016-10-21 11:29:23 -04:00
Michael Vogel
1218e2f885
Merge pull request #2863 from rabuzarus/0510-update_fullcalendar
...
frio: some improvements for displaying events
2016-10-18 00:37:45 +02:00
rabuzarus
b317f811e7
frio: better handling of event location in event hover cards
2016-10-17 22:58:30 +02:00
rabuzarus
967c3b3deb
frio: events - don't show author name if there is no author name
2016-10-17 22:51:51 +02:00
rabuzarus
430ffb792e
frio: stop the custom cal rendering (if no author-name exist) only for the modes agendaWeek and agendaDay
2016-10-17 22:14:12 +02:00
Hypolite Petovan
5efab810f5
[frio] Fix code block display
2016-10-16 23:57:34 -04:00
rabuzarus
8064ff6ecb
update to fullCalendar 3.0.1, frio: cal list view, frio: cal month hover
2016-10-16 16:04:53 +02:00
Hypolite Petovan
a843858654
Merge from develop
2016-10-08 13:45:14 -04:00
rabuzarus
88cef50aa2
frio: provide a edit profile button for the advanced profile page
2016-10-05 18:07:58 +02:00
Hypolite Petovan
d9a5554543
Fix Issue #2822 - Add new setting to user settings page
...
- Convert formatting to PSR-2
- Add new bandwitdh saver setting
2016-10-02 15:25:10 -04:00
Hypolite Petovan
4021109696
Improve field_checkbox.tpl
...
- Adds a hidden field to ensure the checkbox item will have a value
during save.
- Fix quotes for HTML attribute values
2016-10-02 15:21:20 -04:00
rabuzarus
b59f8fe9e0
Merge pull request #2834 from Hypolite/Issue-#2800
...
Fix Issue #2800 - Prevent internal link from switching to Safari in standalone mode
2016-10-02 05:50:10 +02:00
Hypolite Petovan
0094dd8240
Remove repeated comment in frio notification template
2016-10-01 19:03:32 -04:00
Hypolite Petovan
4242c3f749
Fix Issue #2800 - Prevent internal link from switching to Safari in standalone mode
...
- Add link switch prevention to frio theme
- Add reference to the script page
2016-10-01 18:53:25 -04:00
rabuzarus
21b3037342
frio: improve readabillity for code blocks
2016-10-01 21:16:23 +02:00
Hypolite Petovan
f4c2e2244d
Fix #2814
...
- [frio] Add a wrapping `a` tag around the notification text
- Add an event listener preventing popup menus to close when they are
themselves clicked
2016-09-29 23:46:43 -04:00
Hypolite Petovan
a05a425448
[frio] Capitalize Jot tabs title
...
- Revert translation term change for "permissions"
2016-09-28 21:09:03 -04:00
Hypolite Petovan
24969d79d8
[frio] Capitalize dropdown menu links
2016-09-28 20:59:54 -04:00
Hypolite Petovan
b99b0ad931
[frio] Capitalize a few terms for consistency
...
- Changed the translation term "permissions" because only frio is using
it
- Changed the vote links style because it is shared with other themes
2016-09-28 20:53:25 -04:00
Hypolite Petovan
34acfa1706
[frio] Fix whitespace style.css
2016-09-28 20:51:56 -04:00
rabuzarus
af3a672570
Merge pull request #2807 from Hypolite/frio-larger-view-develop
...
[frio] Changes to shared post display (width, base font size)
2016-09-28 20:32:11 +02:00
Hypolite Petovan
ed5e46892d
Set block quote size to current text-size
2016-09-28 14:25:41 -04:00
Hypolite Petovan
7de64afc45
Fix abnormal font size for shared posts
...
- Use normal font size for shared content
2016-09-28 14:01:12 -04:00
Hypolite Petovan
f64bd451ca
[frio] Increase available width for shared content
...
- Added a bottom margin to the shared header
- Removed padding and horizontal margins for the shared content
2016-09-28 13:08:58 -04:00
Hypolite Petovan
01a8671b66
Revert "[frio] Increase center column width"
...
This reverts commit 0c383ad9ff
.
2016-09-28 12:58:44 -04:00
Hypolite Petovan
37b4b0205d
[frio] Remove shared content horizontal margins
2016-09-28 11:59:54 -04:00
Hypolite Petovan
0c383ad9ff
[frio] Increase center column width
...
- Added two Bootstrap divisions to the center column
2016-09-28 11:59:05 -04:00
Michael Vogel
196eb6009f
The XMPP address is now in the profile and will be transmitted
2016-09-25 15:28:00 +00:00
Michael Vogel
3f35fed35a
Special characters should be escaped
2016-09-23 06:29:02 +00:00
fabrixxm
3d6e3cbb78
Merge branch 'master' into develop
2016-09-13 17:19:57 +02:00
Michael Vogel
4d959f2f9d
Merge pull request #2771 from rabuzarus/0709-frio-dropItem-fix
...
frio: fix dropItem() didn't work for hubzila posts
2016-09-07 06:53:53 +02:00
rabuzarus
d506b0906c
frio: fix dropItem() didn't work for hubzila posts
2016-09-07 03:22:02 +02:00
rabuzarus
ced8923323
frio: show attachment icons in posts
2016-09-06 16:21:14 +02:00
rabuzarus
9653ae98ae
frio: resize textareas on typing.
2016-08-23 16:48:13 +02:00
rabuzarus
212aa99f28
frio: fix contact dropping on contact edit page
2016-08-17 14:32:43 +02:00
rabuzarus
efdb98de6d
frio: fix - add string to template
2016-08-13 18:59:59 +02:00
rabuzarus
83e95a5841
frio: highlight - test if the item is available in the dom
2016-08-10 14:42:57 +02:00
rabuzarus
5e440e5359
frio: highlight - wait until the whole page is loaded
2016-08-10 14:26:16 +02:00
rabuzarus
cf23a81c33
frio: highlight - use offset() instead of postion()
2016-08-10 14:14:58 +02:00
rabuzarus
531cba5ce5
frio: fix - I used the wrong variable
2016-08-10 13:33:49 +02:00
rabuzarus
7e65d84577
frio: fix for display auto position scroll + some cleanup
2016-08-10 13:07:13 +02:00
rabuzarus
40b0a8e30c
frio: Remote is now called Guest
2016-08-09 14:39:18 +02:00
rabuzarus
f52a06d013
frio: correct spelling
2016-08-08 22:25:54 +02:00
rabuzarus
4adc758adb
frio: add some missing page background
2016-08-08 22:16:32 +02:00
rabuzarus
62b23b0631
frio: background for people search
2016-08-08 21:54:34 +02:00
Michael Vogel
fe5e775b00
Merge pull request #2718 from rabuzarus/0808-frio_notifications_css
...
frio: unify size of notif-images + background color for unseen notifs
2016-08-08 21:31:00 +02:00
rabuzarus
6b979e5ad8
frio: fix duplicated ID's in aside section
2016-08-08 17:15:35 +02:00
rabuzarus
27f04100c8
frio: unify size of notif-images + background color for unseen notifs
2016-08-08 14:05:33 +02:00
Michael Vogel
61e3a8ca3a
Merge pull request #2702 from rabuzarus/0308-Notifications-restructure
...
notifications restructure
2016-08-08 07:41:48 +02:00
a9196dc0f8
Merge pull request #2712 from rabuzarus/0508-frio_mobile_login
...
frio - provide mobile login/register buttons for mobile view
2016-08-06 06:52:42 +02:00
rabuzarus
f9ccdce4d4
Raise frio version number to 0.7
...
Since I never raised the version number since starting this theme I raise the version of frio to 0.7 and removed the alpha. It is still much stuff to do for a 1.0 version but frio has done the last half year big steps forward.
2016-08-05 20:37:51 +02:00
rabuzarus
8cc4d7a128
Update README.md
2016-08-05 20:31:14 +02:00
rabuzarus
a5a28d11fc
frio - provide mobile login/register buttons for mobile view
2016-08-05 20:17:06 +02:00
Michael Vogel
6abeff10c0
Merge pull request #2711 from rabuzarus/0408-frio-photo-tpl-fix
...
photos - include paginate into the templates - provide a photo_album.…
2016-08-04 23:59:43 +02:00
rabuzarus
3921113e5c
photos - include paginate into the templates - provide a photo_album.tpl for frio
2016-08-04 21:53:22 +02:00
rabuzarus
94d297155c
frio:implement comment highlighting with jquery.color
2016-08-04 19:59:45 +02:00
3432268e80
Merge pull request #2708 from rabuzarus/0407-frio-picture-wall-fix
...
frio:fix jot - posts with images were not available on wall
2016-08-04 14:57:15 +02:00
rabuzarus
e374ec2bc8
frio:fix jot - posts with images were not available on wall
2016-08-04 14:33:08 +02:00
rabuzarus
e34e1f7c2b
frio: add intro action buttons for mobile devices
2016-08-04 11:36:31 +02:00
rabuzarus
ae905cbd1b
Merge develop into 0308-Notifications-restructure
...
Conflicts:
mod/notifications.php
2016-08-03 12:53:38 +02:00
rabuzarus
bcee356f66
notifications - add docu & pagination
2016-08-01 23:04:41 +02:00
rabuzarus
7a4be1cead
notifications.php: move more code to NotificationsManager
2016-08-01 18:18:11 +02:00
a684a1c519
Merge pull request #2691 from rabuzarus/2607-contact_confirm
...
frio: intro templates + some restructure of core notifications.php
2016-08-01 07:15:24 +02:00
rabuzarus
f7fa5f166b
notifications.php: unify label strings
2016-07-30 11:03:21 +02:00