|
|
@@ -1,6 +1,6 @@
|
|
|
<h2>you're in admin sheeeet</h2>
|
|
|
<h1>Invite</h1>
|
|
|
- <form class="form-horizontal" action="?view=admin&action=invite" method="post">
|
|
|
+ <form class="form-horizontal" action="<?php echo $GLOBALS['conf']['baseURL']; ?>?view=admin&action=invite" method="post">
|
|
|
<div class="form-group">
|
|
|
<label for="inviteMail" class="col-sm-2 control-label">Email</label>
|
|
|
<div class="col-sm-6">
|
|
|
@@ -17,7 +17,7 @@
|
|
|
<h1>Sources</h1>
|
|
|
<?php
|
|
|
foreach($this->_['sources'] as $source) {
|
|
|
- echo "<a href=\"/?view=scrape&action=scrape&sourceID=" . $source['id'] . "\"><i class=\"fa fa-search\"></i></a> " . $source['name'] . " - " . $source['path'];
|
|
|
+ echo "<a href=\"" . $GLOBALS['conf']['baseURL'] . "?view=scrape&action=scrape&sourceID=" . $source['id'] . "\"><i class=\"fa fa-search\"></i></a> " . $source['name'] . " - " . $source['path'];
|
|
|
echo "<br>";
|
|
|
}
|
|
|
?>
|
|
|
@@ -41,8 +41,8 @@
|
|
|
echo "<td>" . $series['id'] . "</td>";
|
|
|
echo "<td>" . $series['moviedb-id'] . "</td>";
|
|
|
echo "<td>" . $series['name'] . "</td>";
|
|
|
- echo "<td><a href=\"?view=admin&action=updateSeries&seriesID=" . $series['id'] . "\"><i class=\"fa fa-refresh\"></i></a></td>";
|
|
|
- echo "<td><a href=\"?view=admin&action=removeSeries&seriesID=" . $series['id'] . "\"><i class=\"fa fa-trash\"></i></a></td>";
|
|
|
+ echo "<td><a href=\"" . $GLOBALS['config']['baseURL'] . "?view=admin&action=updateSeries&seriesID=" . $series['id'] . "\"><i class=\"fa fa-refresh\"></i></a></td>";
|
|
|
+ echo "<td><a href=\"" . $GLOBALS['config']['baseURL'] . "?view=admin&action=removeSeries&seriesID=" . $series['id'] . "\"><i class=\"fa fa-trash\"></i></a></td>";
|
|
|
}
|
|
|
|
|
|
?>
|