51 Commits

Author SHA1 Message Date
4785f07f12
Always assume UTF-8. 2022-02-20 17:14:54 +01:00
2d127e81e1
Cleanup and rename project to 幸運な偶然 - Lucky Coinkydink. 2022-02-19 22:19:07 +01:00
7e8dcb0cb6
Added ConfigContainer. Routing.php is not yet fully converted. 2022-02-14 02:49:49 +01:00
2470c65175
Moved functions_routing.inc.php into a class. 2022-02-12 04:41:33 +01:00
4bee231cc6
Added bootstrap.php for Autoloader and Debugger. 2022-02-12 04:41:04 +01:00
surrim
9a60f9a494
Php8 fixes for #766 (#769)
* init empty vars to avoid PHP8 warnings

* removed debug output for serendipity_session_destroy()

* init smarty fixed for PHP8

* removed optional parameters for PHP 8

* 2k11 template fixes, maybe updating smarty will solve everything

* init or test undefined variables for PHP 8

* remove only existing files

* make sure string is not empty before comparing the first letter

* check if SMARTY_DIR was already defined

* use mb_language('uni') for unicode

* fixed image filter bug

* Smarty debug fixed in external lib

* fixed archive bug

* fixed entries bug

* updated plugin versions

Co-authored-by: surrim <surrim@happyhydro.org>
2021-07-18 22:14:23 +02:00
onli
330cab353e PHP 8 compat fix for showing plugin backend menus 2021-06-06 12:31:47 +02:00
onli
395d018908 php8 compat for login 2021-05-06 20:45:19 +02:00
onli
90dd334327 PHP 8 compatibility fixes for the installer 2021-05-02 09:50:58 +02:00
Stephan Brunker
5c4c11f0b4 fixing multilingual issues: display languages in native names and fix initialition point of plugins 2019-11-02 14:20:18 +01:00
Thomas Hochstein
6b775e1cac Redo backend page title order.
Code style improvements from the reviews of

* Rename ´$serendipity['title_first'´] to
  ´$serendipity['backendBlogtitleFirst']´ and
  make it boolean

* Add default to `serendipity_config.inc.php`.

* Change the condition in ´2k11/admin/index.tpl´
  that the first branch is run by default

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-04-13 00:18:28 +02:00
Thomas Hochstein
488267a6cf Make backend page title order configurable.
The default page title of backend pages is
"section | blog title | $admin". You can
now change the order to "blog title | section
 | $admin" by setting $serendipity['title_first']
to "blogtitle" in serendipity_config_local.inc.php

Closes #413

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-04-09 00:47:24 +02:00
onli
b22ef8d1ce Improve tab title uniqueness in backend (#413)
Show the blogtitle after the section, and shortens plugins and template
menu title to the one used in the menu
2016-07-29 00:11:21 +02:00
Ian
0af650be44 better comments by author
Removes some restrictions previously added. Or else we would need a 'userComments' privilege. But that would not make too much sense, since we already work with the lowest group privilege here.
This still is not ready yet, I presume. It needs more finetuning like answer to comments, etc.
Please help testing.

References #385
2016-02-03 18:12:17 +01:00
Ian
d4ce2533f6 edit comments by authorid
References #385

Please test.
2016-02-03 16:28:58 +01:00
Ian
80716280a8 minors 2015-09-05 12:40:44 +02:00
onli
f7c0fa23bc Show spartacus errors, maka ajax detection global 2015-01-30 22:07:08 +01:00
onli
100c344a14 Use png instead of gif, fix ajax get 2015-01-28 23:45:37 +01:00
Matthias Mees
efed228527 Use rename lang constant MENU_MAINTENANCE
References #50
2015-01-14 12:16:35 +01:00
Ian
aca77bd482 cleanup cosmetics 2014-12-10 14:34:54 +01:00
Garvin Hicking
eab43b12f5 Adjust remaining htmlspecialchars() accordingly 2014-11-24 10:13:40 +01:00
onli
ee3ea72208 Introduce Maintenance menu
Containing all the small action menu-items that were in the main navigation menu, like verify installation
2014-01-19 13:19:30 +01:00
Garvin Hicking
9aef3bc41a HOTFIX: We need Smarty. Dunno why this is an issue?! 2013-07-20 16:19:59 +02:00
onli
d80a8334c8 Use return instead of echo in the remaining core
Debug-messages still may use echo, and some functions in functions_image and trackback still use it to generate progress messages, which should get cleaned up as well but is not that urgent
2013-07-05 19:16:11 +02:00
onli
8a188747ae Fix installer, smartification broke it
Sorry Falk
2013-06-27 21:01:16 +02:00
onli
347311e78d rely on smarty-init-css also in the backend 2013-06-15 15:40:42 +02:00
onli
b2fa981e36 serendipity_admin.php: move installer template selection to the bottom 2013-06-14 23:37:00 +02:00
Matthias Mees
a658e20b27 New iconfont build.
This includes only the icons actually used or intended to be used
in the backend. Please note that unfortunately, some class names
have changed. Also some icons have been exchanged.
2013-06-11 12:54:58 +02:00
onli
9944effb93 Further smartify installer
by placing the code of serendipity_admin.php into installer.inc.tpl. Also removes php-fallback.
2013-06-04 18:15:25 +02:00
Ian
1e540cb6d0 upport b54d5f9693 - fixed testing checksum empty 2013-04-25 12:14:50 +03:00
Matthias Mees
5a6b95d343 Title and message for installation integrity check adapted to new backend. 2013-01-28 15:01:33 +01:00
Garvin Hicking
71ee300143 Purge browser cache using a timestamp variable when switching templates.
This should hopefully fix Ian and my problems.
2013-01-28 09:35:34 +01:00
Matthias Mees
78044113aa More redundant br elements fixed. 2012-12-03 15:40:51 +01:00
Matthias Mees
7288ffdef8 Fixed most of the redundant br elements in the core. 2012-12-03 13:35:59 +01:00
Ian
a3f03a40af forward thinking - added error / success / notice classes and
removed their img inline styles to default/admin/style.css
2012-05-23 19:23:41 +02:00
Ian
c9b1bfd5dd added this no_footer option to non-smartified backend too 2012-01-31 16:14:03 +01:00
Ian
162acc15ad added GET/POST noFooter option to backend
please allow this little tweak - it wont harm anybody ... ;-)
2012-01-31 16:09:31 +01:00
Garvin Hicking
2749dc54ad Smarty3 2011-11-24 12:16:02 +01:00
Garvin Hicking
fc9048397e Patch by only to allow custom titles for the admin backend 2009-05-22 08:20:51 +00:00
Garvin Hicking
97fbaf3de3 Fix setting cookies 2008-12-02 12:07:46 +00:00
Jude Anthony
0e67b071dd Included missed language constant in checksum verification 2008-04-29 19:42:57 +00:00
Jude Anthony
84d9e8199f Correct thumbnail constraints. S9Y now supports width, height, largest,
and smallest constraints.  Backwards compatibility is maintained with the
imageselectorplus plugin (the only plugin to use the thumbnail or aspect
calculation code).  Language files are updated and a new option screen
is displayed after choosing "Rebuild Thumbs".
2008-04-09 01:57:10 +00:00
Garvin Hicking
d34bbd7181 * Add ability to plugins to check uploaded media files for invalid
file extensions. Added more escaping to user- and groupnames
      for untrusted author environments, thanks to Hanno Boeck.
      (garvinhicking)
2008-02-01 14:10:14 +00:00
Garvin Hicking
0971639dee Upport 2007-08-09 09:31:29 +00:00
Garvin Hicking
a0d950b320 HTML and images by Don 2007-08-06 10:18:26 +00:00
Garvin Hicking
472432b1b9 Merge patch from Don Chambers for better input classes in admin 2007-07-12 09:40:04 +00:00
Garvin Hicking
cff33ccb4d Allow possibility to style the backend (surrounding layout + entry editor so far) 2007-05-30 11:20:53 +00:00
Garvin Hicking
742fd47078 Shared http/https sessions by rob richards from the forums 2007-02-08 12:08:43 +00:00
Garvin Hicking
7e234bd7b6 More Obscurity and less PR makes Absynth a glad boy 2006-11-15 10:21:14 +00:00
Garvin Hicking
41dd356d45 Admin-based comment response, CSRF-protection for comment form in antispam plugin 2006-10-26 09:41:10 +00:00