Subversion Repositories oidplus

Compare Revisions

No changes between revisions

Regard whitespace Rev 1436 → Rev 1437

/trunk/changelog.json.php
3,6 → 3,14
"dummy": "<?php die(base64_decode('IgogICAgfQpdCg==')); /* for security reasons, do not show the current version @phpstan-ignore-line */ ?>"
},
{
"version": "2.0.1.6",
"date": "2023-11-16 11:53:00 +0100",
"author": "Daniel Marschall (ViaThinkSoft)",
"changes": [
"Fixed problems with canonical URLs (baseconfig was not used in CSS/JS)"
]
},
{
"version": "2.0.1.5",
"date": "2023-11-15 22:01:00 +0100",
"author": "Daniel Marschall (ViaThinkSoft)",
/trunk/doc/website/examples.html
114,10 → 114,25
</div>
</div>
 
<div class="col-md-4">
<div class="card mb-4 box-shadow">
<a target="_blank" href="https://oid.r74n.com/"><img class="card-img-top" src="img/ref-r74n.png" alt="R74n OID Registration Authority"></a>
<div class="card-body">
<p class="card-text"><strong>R74n</strong> is another "power user" of OIDplus and makes use of the various colorizations of the OIDplus user interface.</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<a target="_blank" href="https://oid.r74n.com/" type="button" class="btn btn-sm btn-outline-secondary">Visit</a>
</div>
<!-- <small class="text-muted">9 mins</small> -->
</div>
</div>
</div>
</div>
 
</div>
</div>
</div>
 
<br>
 
</main>
/trunk/doc/website/img/ref-r74n.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:mime-type
+image/png
\ No newline at end of property
/trunk/includes/classes/OIDplus.class.php
124,7 → 124,7
* @return bool
* @throws OIDplusException
*/
private static function insideSetup(): bool {
public static function insideSetup(): bool {
if (PHP_SAPI == 'cli') return false;
if (!isset($_SERVER['REQUEST_URI'])) return false;
return (strpos($_SERVER['REQUEST_URI'], OIDplus::webpath(null,OIDplus::PATH_RELATIVE_TO_ROOT).'setup/') === 0);
146,6 → 146,7
 
if ($first_init) {
if (self::insideSetup()) return self::$baseConfig;
// noBaseConfig=1 setting: see OIDplusGui.class.php
if ((basename($_SERVER['SCRIPT_NAME']) === 'polyfill.min.js.php') && isset($_REQUEST['noBaseConfig']) && ($_REQUEST['noBaseConfig'] == '1')) return self::$baseConfig;
if ((basename($_SERVER['SCRIPT_NAME']) === 'oidplus.min.js.php') && isset($_REQUEST['noBaseConfig']) && ($_REQUEST['noBaseConfig'] == '1')) return self::$baseConfig;
if ((basename($_SERVER['SCRIPT_NAME']) === 'oidplus.min.css.php') && isset($_REQUEST['noBaseConfig']) && ($_REQUEST['noBaseConfig'] == '1')) return self::$baseConfig;
/trunk/includes/classes/OIDplusGui.class.php
274,9 → 274,10
}
$head_elems[] = '<meta name="viewport" content="width=device-width, initial-scale=1.0">';
$head_elems[] = '<title>'.htmlentities($title).'</title>';
$head_elems[] = '<script src="'.htmlentities(OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'polyfill.min.js.php?noBaseConfig=1"></script>';
$head_elems[] = '<script src="'.htmlentities(OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'oidplus.min.js.php?noBaseConfig=1" type="text/javascript"></script>';
$head_elems[] = '<link rel="stylesheet" href="'.htmlentities(OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'oidplus.min.css.php?noBaseConfig=1">';
$tmp = (OIDplus::insideSetup()) ? '?noBaseConfig=1' : '';
$head_elems[] = '<script src="'.htmlentities(OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'polyfill.min.js.php'.$tmp.'"></script>';
$head_elems[] = '<script src="'.htmlentities(OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'oidplus.min.js.php'.$tmp.'" type="text/javascript"></script>';
$head_elems[] = '<link rel="stylesheet" href="'.htmlentities(OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'oidplus.min.css.php'.$tmp.'">';
$head_elems[] = '<link rel="icon" type="image/png" href="'.htmlentities(OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'favicon.png.php">';
if (OIDplus::baseConfig()->exists('CANONICAL_SYSTEM_URL')) {
$head_elems[] = '<link rel="canonical" href="'.htmlentities(OIDplus::canonicalURL().OIDplus::webpath(null, OIDplus::PATH_RELATIVE)).'">';
/trunk/plugins/viathinksoft/adminPages/902_systemfile_check/checksums.json
Cannot display: file marked as a binary type.
svn:mime-type = application/json