summaryrefslogtreecommitdiffstats
path: root/application/views/header.php
AgeCommit message (Collapse)AuthorFilesLines
2016-06-05Fix redirect on login after registering new accountFlorian Pritz1-1/+1
Previously the login box in the navigation would redirect to the current page, but this page will throw an error in the case of the registration page since that's the page with the invition key and that key is no longer valid. Fix this by redirecting to the $redirect_uri and ensure that this value is set for all requests. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-08-18Fix redirect URI when using multiple tabsFlorian Pritz1-1/+1
If we store only the last called URI in the session we can't support multiple browser tabs that all need to log in again. Fix this by storing the URI in the URL. Also change a trim() to ltrim() so that the URI string we store keeps it's trailing slash. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-07-10Make javascript baseUrl honor subdirsFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-05Set cache buster for js with urlArgs settingJoakim Reinert1-1/+2
No more need for timestamp in filename of minified main js
2015-05-05Add support for minified main.jsJoakim Reinert1-2/+8
2015-05-05Set max upload size and file count in upload_form view onlyJoakim Reinert1-4/+1
2015-05-05Refactor file uploader jsJoakim Reinert1-1/+4
2015-05-05Use global appConfig js variable instead of passing it downJoakim Reinert1-1/+4
Initialize it in header
2015-05-05Use require.js for javascript loadingJoakim Reinert1-0/+4
2014-10-03Add colorbox on thumnail pagesFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-09-25Align the brand image correctlyMarkus Cisler1-1/+1
2013-09-23Limit header nav width to content widthFlorian Pritz1-39/+39
Looks like this has been missed somewhere along the way (36a1bb6770cb76ec7baf4e215c4379b070c60639) and ended up too deep down. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-09-22Move user_logged_in check to controller constructorFlorian Pritz1-2/+2
TL;DR: Allows us to show a proper error page if encryption_key is missing from the config. muser->logged_in() can load the session class which will die if encryption_key is not set in the config causing an error to be displayed. Because the header is also loaded when we display an error loading the class will be tried again. CI maintains an array with information which classes have been tried to be loaded and will simply return true without loading again. muser->logged_in() will then try to access $this->session which doesn't exist. Since all of this happens when we are already in the header the error message appears in the navigation being hard to read. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-09-22Fix mess in header.php breaking error pagesFlorian Pritz1-39/+39
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-09-22almost migrated to bootstrap3Markus Cisler1-16/+24
2013-08-11Remove api keys dependency on usernameFlorian Pritz1-2/+2
We don't need it and getting the user name from the user drivers is way more complicated. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-08-09Add logo to headerFlorian Pritz1-1/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-08-07Add favicon supportFlorian Pritz1-1/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-15header: move #navbar-height below navFlorian Pritz1-1/+1
Having it there makes adding your own header via data/local/header.inc.php easier. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-15Add footer; move contact info to footerFlorian Pritz1-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-14Add sucess alert when saving profileFlorian Pritz1-0/+11
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-07-13Add profile and change password links to navFlorian Pritz1-3/+8
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-06-09update jquery and jquery.ui to 2.0.2 and 1.10.3Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-06-09update to bootstrap 2.3.2Florian Pritz1-2/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-05-23Rework javascript inclusionFlorian Pritz1-1/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-05-10Hide function not supported by auth driverFlorian Pritz1-2/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-08Add a viewport meta tag to control the layout on mobile browsersMarkus Cisler1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-02-04Add files to add localized html header and cssFlorian Pritz1-0/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-01-24Add password reset function/pages/linksFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-22Don't send a cli client unwanted HTML codeFlorian Pritz1-1/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-10-22switch design to bootstrap; minor fixes along the wayFlorian Pritz1-0/+51
Initial-work-by: Oliver Mader <b52@reaktor42.de> Additional-work-by: Markus Cisler <mrkscslr@gmail.com> Signed-off-by: Florian Pritz <bluewind@xinu.at>