minor guestbook changes
This commit is contained in:
parent
394280cfd9
commit
8606514acc
|
@ -1,3 +1,11 @@
|
|||
1.23: sidebar plugin
|
||||
-----
|
||||
* fix wrong default value note
|
||||
|
||||
3.56:
|
||||
-----
|
||||
* fix IE9 list view CSS in Backend
|
||||
|
||||
3.55:
|
||||
-----
|
||||
* correct missing label in guestbook form
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* serendipity_event_guestbook.php, v.3.55 - 2015-05-10
|
||||
* serendipity_event_guestbook.php, v.3.56 - 2015-06-30
|
||||
*/
|
||||
|
||||
//error_reporting(E_ALL);
|
||||
|
@ -67,7 +67,7 @@ class serendipity_event_guestbook extends serendipity_event {
|
|||
'dateformat'
|
||||
));
|
||||
$propbag->add('author', 'Ian');
|
||||
$propbag->add('version', '3.55');
|
||||
$propbag->add('version', '3.56');
|
||||
$propbag->add('requirements', array(
|
||||
'serendipity' => '1.7.0',
|
||||
'smarty' => '3.1.0',
|
||||
|
@ -1385,7 +1385,7 @@ class serendipity_event_guestbook extends serendipity_event {
|
|||
if ($serendipity['serendipityUserlevel'] < USERLEVEL_ADMIN) {
|
||||
return false;
|
||||
}
|
||||
if ($serendipity['version'][0] < '2') {
|
||||
if ($serendipity['version'][0] < 2) {
|
||||
echo "\n".'<li class="serendipitySideBarMenuLink serendipitySideBarMenuEntryLinks"><a href="?serendipity[adminModule]=event_display&serendipity[adminAction]=guestbook">' . PLUGIN_GUESTBOOK_ADMIN_NAME . '</a></li>'."\n";
|
||||
}
|
||||
|
||||
|
@ -1397,7 +1397,7 @@ class serendipity_event_guestbook extends serendipity_event {
|
|||
if ($serendipity['serendipityUserlevel'] < USERLEVEL_ADMIN) {
|
||||
return false;
|
||||
}
|
||||
if ($serendipity['version'][0] >= '2') {
|
||||
if ($serendipity['version'][0] > 1) {
|
||||
echo "\n".'<li><a href="?serendipity[adminModule]=event_display&serendipity[adminAction]=guestbook">' . PLUGIN_GUESTBOOK_ADMIN_NAME . '</a></li>'."\n";
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* serendipity_plugin_guestbook.php, v.1.23 - 2014-12-29 Ian
|
||||
* serendipity_plugin_guestbook.php, v.1.24 - 2015-06-30 Ian
|
||||
* guestbooksidebar plugin by Jaap Boerma // j@webbict.com // v1.02 // 18-10-2005
|
||||
*/
|
||||
|
||||
|
@ -28,7 +28,7 @@ class serendipity_plugin_guestbook extends serendipity_plugin {
|
|||
$propbag->add('description', PLUGIN_GUESTSIDE_BLAHBLAH);
|
||||
$propbag->add('stackable', false);
|
||||
$propbag->add('author', 'Jaap Boerma ( j@webbict.com ), Tadashi Jokagi <elf2000@users.sourceforge.net>, Ian');
|
||||
$propbag->add('version', '1.23');
|
||||
$propbag->add('version', '1.24');
|
||||
$propbag->add('requirements', array(
|
||||
'serendipity' => '0.7',
|
||||
'smarty' => '2.6.7',
|
||||
|
@ -93,7 +93,7 @@ class serendipity_plugin_guestbook extends serendipity_plugin {
|
|||
case 'dateformat' :
|
||||
$propbag->add('type', 'string');
|
||||
$propbag->add('name', GENERAL_PLUGIN_DATEFORMAT);
|
||||
$propbag->add('description', sprintf(GENERAL_PLUGIN_DATEFORMAT_BLAHBLAH, '%a, %m.%m.%Y %H:%M'));
|
||||
$propbag->add('description', sprintf(GENERAL_PLUGIN_DATEFORMAT_BLAHBLAH, '%a, %d.%m.%Y %H:%M'));
|
||||
$propbag->add('default', '%a, %d.%m.%Y %H:%M');
|
||||
break;
|
||||
|
||||
|
|
|
@ -87,10 +87,15 @@
|
|||
#wrapGB .gbnav ul li {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
/* older browsers which dont support inline-flex */
|
||||
display: inline-block;
|
||||
display: inline-flex;
|
||||
}
|
||||
#wrapGB .gbnav ul {
|
||||
padding: 5px 0\9; /* IE 9 hack */
|
||||
}
|
||||
#wrapGB .gbnav ul li {
|
||||
display: inline-block\9; /* IE 9 hack for inline-flex */
|
||||
}
|
||||
|
||||
#wrapGB .dbcnav ul li a,
|
||||
#wrapGB .gbnav ul li a {
|
||||
padding: 3px 0.5em;
|
||||
|
|
Loading…
Reference in a new issue