Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions templates/admin/content.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<!-- File: templates/admin/content.php -->
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
?>

<div class="wrap">
<h1>Content</h1>
<p><strong>Total Content Unlocks: </strong><?php echo esc_html( intval( $total_unlocks ) ); ?></p>
Expand Down
4 changes: 4 additions & 0 deletions templates/admin/customers.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<!-- File: templates/admin/customers.php -->
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
?>

<div class="wrap">
<?php if ( isset( $user_address ) ): ?>
<h1>Unlocked Content for: <a href="https://explorer.e.cash/address/<?php echo esc_attr( $user_address ); ?>" target="_blank"><?php echo esc_html( $user_address ); ?></a></h1>
Expand Down
5 changes: 5 additions & 0 deletions templates/admin/dashboard.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--File: templates/admin/dashboard.php-->
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
?>

<div class="wrap">
<h1>PayButton</h1>
<!-- New heading above the buttons -->
Expand Down
4 changes: 4 additions & 0 deletions templates/admin/paywall-settings.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<!-- File: templates/admin/paywall-settings.php -->
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
?>

<div class="wrap">
<h1>Paywall Settings</h1>
<?php if ( $settings_saved ): ?>
Expand Down
4 changes: 4 additions & 0 deletions templates/public/profile.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<!-- File: templates/public/profile.php -->
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
?>

<div class="paybutton-profile">
<p>
<strong>eCash Address:</strong>
Expand Down
4 changes: 4 additions & 0 deletions templates/public/sticky-header.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<!-- File: templates/public/sticky-header.php -->
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
?>

<div id="cashtab-sticky-header">
<?php if ( ! $address ): ?>
<div id="loginPaybutton"></div>
Expand Down