updated powered by "chevereto-free"

1.5
Rodolfo Berrios 2021-10-19 11:52:24 -03:00
parent 8b1695bbef
commit 03d7465743
No known key found for this signature in database
GPG Key ID: D3AAC2481DBDD9FE
8 changed files with 8 additions and 29 deletions

View File

@ -1,6 +1,6 @@
<?php
define('G_APP_NAME', 'Chevereto Free');
define('G_APP_VERSION', '1.4.2');
define('G_APP_VERSION', '1.5.0');
define('G_APP_GITHUB_OWNER', 'rodber');
define('G_APP_GITHUB_REPO', 'chevereto-free');
define('G_APP_GITHUB_REPO_URL', 'https://github.com/' . G_APP_GITHUB_OWNER . '/' . G_APP_GITHUB_REPO);

View File

@ -56,7 +56,7 @@ if (!defined('access') or !access) {
<div id="content">
<?php echo $html; ?>
</div>
<div id="powered">&copy; <a href="http://chevereto.com">Chevereto image hosting script</a></div>
<div id="powered"><?php _se('Powered by'); ?> <a href="<?php echo G_APP_GITHUB_REPO_URL; ?>" rel="generator" target="_blank"><?php echo G_APP_GITHUB_REPO; ?></a></div>
</div>
</body>

View File

@ -108,7 +108,7 @@ try {
'upload_storage_mode' => 'datefolder',
'upload_thumb_height' => '160',
'upload_thumb_width' => '160',
'website_description' => 'A free image hosting service powered by Chevereto',
'website_description' => 'A free image hosting service powered by Chevereto-Free',
'website_doctitle' => 'Chevereto image hosting',
'website_name' => 'Chevereto',
'website_explore_page' => 1,

View File

@ -179,13 +179,9 @@ $route = function ($handler) {
];
$chevereto_urls = [
'Chevereto' => 'https://chevereto.com',
_s('Community') => 'https://chevereto.com/community/',
_s('Support') => 'https://chevereto.com/support',
_s('Documentation') => 'https://v3-docs.chevereto.com',
_s('Changelog') => 'https://chevereto.com/releases',
_s('Bug tracking') => 'https://chevereto.com/bug-tracking',
'GitHub' => 'https://github.com/Chevereto',
'GitHub' => 'https://github.com/rodber/chevereto-free',
'Community' => 'https://github.com/rodber/chevereto-free/discussions',
'Releases' => 'https://github.com/rodber/chevereto-free/releases',
];
$chevereto_links = [];
foreach ($chevereto_urls as $k => $v) {

View File

@ -1651,10 +1651,6 @@ body#consent-screen {
color: #444;
}
.js #powered-by.footer {
display: none;
}
body.landing .footer {
color: #fff;
text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);

File diff suppressed because one or more lines are too long

View File

@ -302,19 +302,6 @@ function free_version_warning($wrap=true)
<hr class="line-separator">
<div class-="phablet-c1">
<div class="input-label">
<label for="enable_powered_by"><?php _se('Powered by'); ?> Chevereto</label>
<div class="c5 phablet-c1"><select type="text" name="enable_powered_by" id="enable_powered_by" class="text-input" disabled>
<?php
echo CHV\Render\get_select_options_html([1 => _s('Enabled')], CHV\Settings::get('enable_powered_by')); ?>
</select></div>
<?php free_version_warning(); ?>
</div>
</div>
<hr class="line-separator">
<div class="phablet-c1">
<div class="input-label">
<label for="website_https">HTTPS</label>

View File

@ -78,6 +78,6 @@
<?php
} ?>
<div class="footer"><?php _se('Powered by'); ?> <a href="<?php echo G_APP_GITHUB_REPO_URL; ?>" title="Chevereto Upload Image" rel="generator" target="_blank">Chevereto</a></div>
<div class="footer"><?php _se('Powered by'); ?> <a href="<?php echo G_APP_GITHUB_REPO_URL; ?>" rel="generator" target="_blank"><?php echo G_APP_GITHUB_REPO; ?></a></div>
<?php G\Render\include_theme_footer(); ?>