devshort

Unnamed repository; edit this file 'description' to name the repository.
git clone git://code.clttr.info/devshort.git
Log | Files | Refs | README | LICENSE

commit 49c462a763441c677de0b2b95c7dbf667dac0693
parent 52074ce2603dd0844e9cf4f9f3087a03db16c95f
Author: René Wagner <rwagner@rw-net.de>
Date:   Sat,  2 Jan 2021 19:30:04 +0100

update links

Diffstat:
MREADME.md | 14+++++++++-----
Madmin.php | 5++---
Mindex.php | 2+-
3 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/README.md b/README.md @@ -32,7 +32,7 @@ The devShort URL shortener is the perfect choice for web developers, admins and ## 1-2-3 Step installation -1. Download the latest [release](https://git.sr.ht/~rwa/devshort/refs) and upload it to the desired installation place +1. Download the latest [release](https://src.clttr.info/rwa/devshort/releases) and upload it to the desired installation place 2. Move `admin/config.json.example` to `admin/config.json` and `admin/stats.json.example` to `admin/stats.json` 3. Adjust the configuration in `admin/config.json`, especially **insert a admin password** The passwort will be securely hashed at the first login on the admin page. @@ -40,7 +40,7 @@ The passwort will be securely hashed at the first login on the admin page. ## 1-2-3 Step update -1. Download the latest [release](https://git.sr.ht/~rwa/devshort/refs) and upload it to the installation place +1. Download the latest [release](https://src.clttr.info/rwa/devshort/releases) and upload it to the installation place 2. Start using devShort! ## Configuration @@ -58,9 +58,13 @@ All configuration is done in the file `data/config.json`. Below is a list of val ## About -Maintainer: [René Wagner](https://sr.ht/~rwa) -Creator: [flokX](https://github.com/flokX) +* Maintainer: [René Wagner](https://src.clttr.info/rwa) +* Creator: [flokX](https://github.com/flokX) License: [The MIT License](https://git.sr.ht/~rwa/devshort/tree/master/LICENSE) -Third-party credits: [Vue.js](https://vuejs.org/), [Bootstrap](https://getbootstrap.com), [Frappe Charts](https://github.com/frappe/charts) and [IO-Images](https://pixabay.com/users/io-images-1096650), +Third-party credits: +* [Vue.js](https://vuejs.org/) +* [Bootstrap](https://getbootstrap.com) +* [Frappe Charts](https://github.com/frappe/charts) +* [IO-Images](https://pixabay.com/users/io-images-1096650) diff --git a/admin.php b/admin.php @@ -129,7 +129,7 @@ if ($config_content["settings"]["custom_links"]) { </div> <div class="card d-none d-md-block mb-3"> <div class="card-body"> - <p class="mb-0" id="version-1">powered by <a href="https://sr.ht/~rwa/devShort/" target="_blank">devShort</a></p> + <p class="mb-0" id="version-1">powered by <a href="https://src.clttr.info/rwa/devshort" target="_blank">devShort</a></p> </div> </div> <div class="card d-md-none mb-3"> @@ -148,14 +148,13 @@ if ($config_content["settings"]["custom_links"]) { <chart v-for="(stats, name) in dataObject.stats" v-bind:key="name" :style="displayStyle(name)" v-bind:name="name" v-bind:stats="stats" v-else></chart> </div> </div> - <p class="text-center d-md-none mt-1 mb-5" id="version-2">powered by <a href="https://sr.ht/~rwa/devShort/" target="_blank">devShort</a></p> </div> </main> <footer class="footer mt-auto py-3 bg-light"> <div class="container"> <div class="d-flex justify-content-between align-items-center"> - <span class="text-muted">&copy; 2020 <?php $config_content["settings"]["author"]; ?> and <a href="hhttps://sr.ht/~rwa/devShort/" target="_blank">devShort</a></span> + <span class="text-muted">&copy; 2020 <?php $config_content["settings"]["author"]; ?> and <a href="https://src.clttr.info/rwa/devshort" target="_blank">devShort</a></span> <?php if ($links_string) { echo "<span class=\"text-muted\">$links_string</span>"; } ?> </div> </div> diff --git a/index.php b/index.php @@ -88,7 +88,7 @@ function show_random_shortlink() { <footer class="footer mt-auto py-3 bg-dark"> <div class="container"> <div class="d-flex justify-content-between align-items-center"> - <span class="text-light">&copy; 2020 <?php echo $author_string; ?> and <a href="https://sr.ht/~rwa/devShort/" target="_blank">devShort</a></span> + <span class="text-light">&copy; 2020 <?php echo $author_string; ?> and <a href="https://src.clttr.info/rwa/devshort" target="_blank">devShort</a></span> <?php if ($links_string) { echo "<span class=\"text-muted\">$links_string</span>"; } ?> </div> </div>