Merge pull request #1 from friendica/master

Test update of my branched Red
More mobile theme fixes

If user is logged in  personal settings are used else use admin
settings.
Only show toggle link if there is something to switch between.
This isn't optimal, but on the short term we'll clone the page editor to use as a block editor, and probably a layout editor as well. Eventually, these should all probably just be switches onto a single editor instance. Decided to put the layout_mid into the item table directory rather than re-use resource_id, so that we can still have pages attached to different resources like photos and events and stuff. The block editor is far from finished, at this point I've only cloned it and changed the name and type of item it looks for.
add layouts and editlayout and rework the page logic in mod/item
rework the pdl_selector a bit since we've slightly changed the way layouts are stored.
Sheesh. Three lines of Javascript. All you have to do is find which of the three lines is doing something wrong. Or FILE A BUG. Or use a different browser (not *try* a different browser, *use* a different browser), or turn off freaking tinymce. But no - let's argue about browsers instead.
Add Comanche layouts to the things that don't go offsite.
webpage content-type -- needs cleaning up and a security check once all the important bits are in place.
complete and updated Italian translation
Merge pull request #109 from tuscanhobbit/master

complete and updated Italian translation
allow a channel owner to define a default mimetype on webpages (otherwise default to "choose") - also fix the selector w/r/t php code. There is no ui for setting either at the moment, but for instance with wiki pages we probably don't want to have multiple choice of the mimetype. Keep it simple.
only allow richtext editor on pages if bbcode is the default mimetype, otherwise use plaintext editor. This will eventually need work to support a visual editor for html or other types.
Merge https://github.com/friendica/red into zpull
fix webpage storage
pass execflag - Working for preview but not yet executing on page render
oh that's why
Merge pull request #108 from cvogeley/master

More mobile theme fixes
preserve mimetype on page edits
The triple linebreaks in notification emails finally bothered me enough to do something about it.
add a layout selector