Changeset 3489975
- Timestamp:
- 03/24/2026 12:34:31 PM (8 days ago)
- Location:
- ai-builder
- Files:
-
- 9 edited
- 54 copied
-
tags/2.5.8 (copied) (copied from ai-builder/trunk)
-
tags/2.5.8/admin/menu.php (copied) (copied from ai-builder/trunk/admin/menu.php)
-
tags/2.5.8/admin/pages/account.php (modified) (1 diff)
-
tags/2.5.8/admin/pages/agent-chat.php (copied) (copied from ai-builder/trunk/admin/pages/agent-chat.php)
-
tags/2.5.8/admin/pages/credits.php (copied) (copied from ai-builder/trunk/admin/pages/credits.php) (9 diffs)
-
tags/2.5.8/admin/pages/headers-footers.php (copied) (copied from ai-builder/trunk/admin/pages/headers-footers.php)
-
tags/2.5.8/admin/pages/multi-page.php (copied) (copied from ai-builder/trunk/admin/pages/multi-page.php)
-
tags/2.5.8/admin/pages/settings.php (copied) (copied from ai-builder/trunk/admin/pages/settings.php)
-
tags/2.5.8/admin/pages/translation-settings.php (copied) (copied from ai-builder/trunk/admin/pages/translation-settings.php)
-
tags/2.5.8/admin/pages/tuto.php (copied) (copied from ai-builder/trunk/admin/pages/tuto.php)
-
tags/2.5.8/aibui-builder.php (copied) (copied from ai-builder/trunk/aibui-builder.php) (2 diffs)
-
tags/2.5.8/assets/css/account.css (copied) (copied from ai-builder/trunk/assets/css/account.css) (1 diff)
-
tags/2.5.8/assets/css/chat-widget.css (copied) (copied from ai-builder/trunk/assets/css/chat-widget.css) (9 diffs)
-
tags/2.5.8/assets/css/credits.css (copied) (copied from ai-builder/trunk/assets/css/credits.css)
-
tags/2.5.8/assets/css/language-switcher.css (copied) (copied from ai-builder/trunk/assets/css/language-switcher.css)
-
tags/2.5.8/assets/css/multi-page.css (copied) (copied from ai-builder/trunk/assets/css/multi-page.css)
-
tags/2.5.8/assets/css/settings.css (copied) (copied from ai-builder/trunk/assets/css/settings.css)
-
tags/2.5.8/assets/css/translation.css (copied) (copied from ai-builder/trunk/assets/css/translation.css)
-
tags/2.5.8/assets/js/account.js (copied) (copied from ai-builder/trunk/assets/js/account.js) (1 diff)
-
tags/2.5.8/assets/js/agent-chat.js (copied) (copied from ai-builder/trunk/assets/js/agent-chat.js)
-
tags/2.5.8/assets/js/build/index.asset.php (copied) (copied from ai-builder/trunk/assets/js/build/index.asset.php)
-
tags/2.5.8/assets/js/build/index.js (copied) (copied from ai-builder/trunk/assets/js/build/index.js)
-
tags/2.5.8/assets/js/chat-widget.js (copied) (copied from ai-builder/trunk/assets/js/chat-widget.js) (8 diffs)
-
tags/2.5.8/assets/js/credits.js (copied) (copied from ai-builder/trunk/assets/js/credits.js)
-
tags/2.5.8/assets/js/language-switcher-block.js (copied) (copied from ai-builder/trunk/assets/js/language-switcher-block.js)
-
tags/2.5.8/assets/js/multi-page-apply.js (copied) (copied from ai-builder/trunk/assets/js/multi-page-apply.js)
-
tags/2.5.8/assets/js/multi-page.js (copied) (copied from ai-builder/trunk/assets/js/multi-page.js)
-
tags/2.5.8/assets/js/pattern-translation.js (copied) (copied from ai-builder/trunk/assets/js/pattern-translation.js)
-
tags/2.5.8/assets/js/review-banner.js (copied) (copied from ai-builder/trunk/assets/js/review-banner.js)
-
tags/2.5.8/assets/js/settings.js (copied) (copied from ai-builder/trunk/assets/js/settings.js)
-
tags/2.5.8/assets/js/src/editor-blocks/ai-block/ai-block.js (copied) (copied from ai-builder/trunk/assets/js/src/editor-blocks/ai-block/ai-block.js)
-
tags/2.5.8/assets/js/src/editor-blocks/image-ai-blocks/image-ai-controls.js (copied) (copied from ai-builder/trunk/assets/js/src/editor-blocks/image-ai-blocks/image-ai-controls.js)
-
tags/2.5.8/assets/js/src/editor-blocks/text-ai-blocks/text-ai-controls.js (copied) (copied from ai-builder/trunk/assets/js/src/editor-blocks/text-ai-blocks/text-ai-controls.js)
-
tags/2.5.8/assets/js/translation.js (copied) (copied from ai-builder/trunk/assets/js/translation.js)
-
tags/2.5.8/composer.json (copied) (copied from ai-builder/trunk/composer.json)
-
tags/2.5.8/composer.lock (copied) (copied from ai-builder/trunk/composer.lock)
-
tags/2.5.8/config.js (copied) (copied from ai-builder/trunk/config.js)
-
tags/2.5.8/debug-language.log (copied) (copied from ai-builder/trunk/debug-language.log)
-
tags/2.5.8/debug-template-part.log (copied) (copied from ai-builder/trunk/debug-template-part.log)
-
tags/2.5.8/debug-unescape.log (copied) (copied from ai-builder/trunk/debug-unescape.log)
-
tags/2.5.8/includes/class-agent-chat-handler.php (copied) (copied from ai-builder/trunk/includes/class-agent-chat-handler.php)
-
tags/2.5.8/includes/class-agent-discovery-service.php (copied) (copied from ai-builder/trunk/includes/class-agent-discovery-service.php)
-
tags/2.5.8/includes/class-agent-execution-service.php (copied) (copied from ai-builder/trunk/includes/class-agent-execution-service.php)
-
tags/2.5.8/includes/class-agent-security-service.php (copied) (copied from ai-builder/trunk/includes/class-agent-security-service.php)
-
tags/2.5.8/includes/class-ajax-handler.php (copied) (copied from ai-builder/trunk/includes/class-ajax-handler.php)
-
tags/2.5.8/includes/class-css-handler.php (copied) (copied from ai-builder/trunk/includes/class-css-handler.php)
-
tags/2.5.8/includes/class-generations-storage.php (copied) (copied from ai-builder/trunk/includes/class-generations-storage.php)
-
tags/2.5.8/includes/class-js-handler.php (copied) (copied from ai-builder/trunk/includes/class-js-handler.php)
-
tags/2.5.8/includes/class-translation-handler.php (copied) (copied from ai-builder/trunk/includes/class-translation-handler.php) (1 diff)
-
tags/2.5.8/includes/class-translation-manager.php (copied) (copied from ai-builder/trunk/includes/class-translation-manager.php)
-
tags/2.5.8/includes/class-translation-settings.php (copied) (copied from ai-builder/trunk/includes/class-translation-settings.php)
-
tags/2.5.8/includes/class-translation-switcher.php (copied) (copied from ai-builder/trunk/includes/class-translation-switcher.php)
-
tags/2.5.8/package-lock.json (copied) (copied from ai-builder/trunk/package-lock.json)
-
tags/2.5.8/readme.txt (copied) (copied from ai-builder/trunk/readme.txt) (2 diffs)
-
tags/2.5.8/templates (copied) (copied from ai-builder/trunk/templates)
-
trunk/admin/pages/account.php (modified) (1 diff)
-
trunk/admin/pages/credits.php (modified) (9 diffs)
-
trunk/aibui-builder.php (modified) (2 diffs)
-
trunk/assets/css/account.css (modified) (1 diff)
-
trunk/assets/css/chat-widget.css (modified) (9 diffs)
-
trunk/assets/js/account.js (modified) (1 diff)
-
trunk/assets/js/chat-widget.js (modified) (8 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ai-builder/tags/2.5.8/admin/pages/account.php
r3356740 r3489975 120 120 <h2>Account Dashboard</h2> 121 121 <p>Welcome back! Here's your account overview</p> 122 <p class="ai-account-email" id="account-email">Loading...</p> 122 123 </div> 123 124 -
ai-builder/tags/2.5.8/admin/pages/credits.php
r3479241 r3489975 71 71 <div class="ai-plan-card-wrapper" data-plan="essential"> 72 72 <div class="ai-plan-card ai-plan-essential"> 73 <div class="ai-plan-badge">Essential</div>74 73 <div class="ai-plan-header"> 75 74 <div class="ai-plan-title"> 76 75 <h3>Essential</h3> 76 <p class="ai-plan-persona">Best for discovering AI Builder and creating your first pages.</p> 77 77 </div> 78 78 </div> … … 101 101 </div> 102 102 103 <div class="ai-feature-item">104 <div class="ai-feature-icon">105 <svg width="18" height="18" viewBox="0 0 24 24" fill="none"106 xmlns="http://www.w3.org/2000/svg">107 <path d="M20 6L9 17L4 12" stroke="currentColor" stroke-width="2.5"108 stroke-linecap="round" stroke-linejoin="round" />109 </svg>110 </div>111 <!-- <span class="ai-feature-text">Site Copilot (AI assistant)</span> -->112 </div>113 103 114 104 <div class="ai-feature-item"> … … 150 140 <div class="ai-plan-title"> 151 141 <h3>Premium</h3> 142 <p class="ai-plan-persona">Best for creators who need more credits and advanced features to build faster.</p> 152 143 </div> 153 144 </div> … … 176 167 </div> 177 168 178 <div class="ai-feature-item">179 <div class="ai-feature-icon">180 <svg width="18" height="18" viewBox="0 0 24 24" fill="none"181 xmlns="http://www.w3.org/2000/svg">182 <path d="M20 6L9 17L4 12" stroke="currentColor" stroke-width="2.5"183 stroke-linecap="round" stroke-linejoin="round" />184 </svg>185 </div>186 <!-- <span class="ai-feature-text">Site Copilot (AI assistant)</span> -->187 </div>188 169 189 170 <div class="ai-feature-item"> … … 232 213 <div class="ai-plan-card-wrapper" data-plan="creator"> 233 214 <div class="ai-plan-card ai-plan-creator"> 234 <div class="ai-plan-badge">Creator</div>235 215 <div class="ai-plan-header"> 236 216 <div class="ai-plan-title"> 237 217 <h3>Creator</h3> 218 <p class="ai-plan-persona">Best for agencies and teams scaling production across many projects.</p> 238 219 </div> 239 220 </div> … … 262 243 </div> 263 244 264 <div class="ai-feature-item">265 <div class="ai-feature-icon">266 <svg width="18" height="18" viewBox="0 0 24 24" fill="none"267 xmlns="http://www.w3.org/2000/svg">268 <path d="M20 6L9 17L4 12" stroke="currentColor" stroke-width="2.5"269 stroke-linecap="round" stroke-linejoin="round" />270 </svg>271 </div>272 <!-- <span class="ai-feature-text">Site Copilot (AI assistant)</span> -->273 </div>274 245 275 246 <div class="ai-feature-item"> … … 563 534 text-transform: uppercase; 564 535 letter-spacing: 0.6px; 536 line-height: 1.2; 537 max-width: calc(100% - 36px); 538 box-sizing: border-box; 565 539 } 566 540 … … 568 542 background: rgba(79, 70, 229, 0.12); 569 543 color: #4338ca; 544 top: 14px; 545 right: 14px; 546 font-size: 10px; 547 padding: 5px 10px; 548 letter-spacing: 0.4px; 570 549 } 571 550 … … 602 581 margin: 0 0 6px 0; 603 582 color: #0f172a; 583 } 584 585 .ai-plan-persona { 586 margin: 0; 587 font-size: 13px; 588 line-height: 1.5; 589 color: #64748b; 590 max-width: 300px; 591 margin-left: auto; 592 margin-right: auto; 604 593 } 605 594 -
ai-builder/tags/2.5.8/aibui-builder.php
r3487371 r3489975 4 4 * Plugin URI: https://website-ai-builder.com/ 5 5 * Description: This plugin is used to build your website with AI. 6 * Version: 2.5. 66 * Version: 2.5.8 7 7 * Author: enkic 8 8 * Author URI: https://enkicorbin.fr/ … … 18 18 19 19 // Définir la version du plugin 20 define('AIBUI_VERSION', '2.5. 6');20 define('AIBUI_VERSION', '2.5.8'); 21 21 22 22 /** -
ai-builder/tags/2.5.8/assets/css/account.css
r3408247 r3489975 25 25 font-size: 16px; 26 26 margin: 0; 27 } 28 29 .ai-account-email { 30 margin-top: 10px !important; 31 font-size: 13px !important; 32 color: #4b5563 !important; 33 font-weight: 500; 34 word-break: break-word; 27 35 } 28 36 -
ai-builder/tags/2.5.8/assets/css/chat-widget.css
r3460817 r3489975 3 3 bottom: 40px; 4 4 left: 20px; 5 background: linear-gradient(135deg, # 667eea 0%, #764ba2100%);5 background: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%); 6 6 color: white; 7 7 padding: 12px 20px; … … 11 11 font-weight: 600; 12 12 font-size: 14px; 13 box-shadow: 0 4px 15px rgba( 102, 126, 234, 0.4);13 box-shadow: 0 4px 15px rgba(29, 78, 216, 0.35); 14 14 transition: all 0.3s ease; 15 15 border: none; … … 21 21 #chat-toggle:hover { 22 22 transform: translateY(-2px); 23 box-shadow: 0 6px 20px rgba( 102, 126, 234, 0.6);23 box-shadow: 0 6px 20px rgba(29, 78, 216, 0.5); 24 24 } 25 25 … … 28 28 position: fixed; 29 29 animation: toggle-pulse 1.5s ease-in-out infinite; 30 box-shadow: 0 4px 15px rgba( 102, 126, 234, 0.4),31 0 0 20px rgba(1 02, 126, 234, 0.6),32 0 0 40px rgba( 102, 126, 234, 0.4);30 box-shadow: 0 4px 15px rgba(29, 78, 216, 0.35), 31 0 0 20px rgba(14, 165, 233, 0.45), 32 0 0 40px rgba(29, 78, 216, 0.3); 33 33 transform-origin: left bottom; 34 34 } … … 39 39 100% { 40 40 transform: scale(1); 41 box-shadow: 0 4px 15px rgba( 102, 126, 234, 0.4),42 0 0 20px rgba(1 02, 126, 234, 0.6),43 0 0 40px rgba( 102, 126, 234, 0.4);41 box-shadow: 0 4px 15px rgba(29, 78, 216, 0.35), 42 0 0 20px rgba(14, 165, 233, 0.45), 43 0 0 40px rgba(29, 78, 216, 0.3); 44 44 } 45 45 46 46 50% { 47 47 transform: scale(1.05); 48 box-shadow: 0 4px 15px rgba( 102, 126, 234, 0.4),49 0 0 30px rgba(1 02, 126, 234, 0.8),50 0 0 60px rgba( 102, 126, 234, 0.6);48 box-shadow: 0 4px 15px rgba(29, 78, 216, 0.35), 49 0 0 30px rgba(14, 165, 233, 0.65), 50 0 0 60px rgba(29, 78, 216, 0.45); 51 51 } 52 52 } … … 71 71 72 72 #chat-header { 73 background: linear-gradient(135deg, # 667eea 0%, #764ba2100%);73 background: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%); 74 74 color: white; 75 75 padding: 20px; … … 167 167 168 168 #chat-input textarea:focus { 169 border-color: # 667eea;169 border-color: #2563eb; 170 170 } 171 171 … … 176 176 177 177 #chat-input button { 178 background: linear-gradient(135deg, # 667eea 0%, #764ba2100%);178 background: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%); 179 179 color: white; 180 180 border: none; … … 190 190 #chat-input button:hover:not(:disabled) { 191 191 transform: translateY(-1px); 192 box-shadow: 0 4px 12px rgba( 102, 126, 234, 0.4);192 box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35); 193 193 } 194 194 -
ai-builder/tags/2.5.8/assets/js/account.js
r3413458 r3489975 445 445 function displayUserInfo(userData) { 446 446 console.log("🔍 User data:", userData); 447 const accountEmail = document.getElementById("account-email"); 448 if (accountEmail) { 449 const email = 450 userData?.email || 451 userData?.userEmail || 452 userData?.mail || 453 ""; 454 accountEmail.textContent = email || "-"; 455 } 456 447 457 // Afficher le plan 448 458 const planBadge = document.getElementById("plan-badge"); -
ai-builder/tags/2.5.8/assets/js/chat-widget.js
r3470237 r3489975 86 86 <p class="warning-text">⚠️ The current page content will be replaced by AI-generated content</p> 87 87 </div> 88 <div style="display: flex; flex-direction: column; gap: 8px; align-items: flex-end;">89 <div style="display: flex; gap: 8px;">88 <div id="chat-header-actions"> 89 <div id="chat-header-tools"> 90 90 <button id="js-edit-button" title="Edit JS"> 91 <span style="font-size: 14px;">JS</span>91 <span>JS</span> 92 92 </button> 93 93 <button id="css-edit-button" title="Edit CSS"> … … 95 95 </button> 96 96 </div> 97 <button id="headers-footers-button" title="Headers & Footers" style="background: #f0f9ff; border: 1px solid #bae6fd; color: #0369a1; padding: 6px 10px; border-radius: 4px; cursor: pointer; font-size: 11px; font-weight: 500; white-space: nowrap; transition: all 0.2s;">97 <button id="headers-footers-button" title="Headers & Footers"> 98 98 Header/Footer 99 99 </button> … … 879 879 creditsElem.style.color = "#cccccc"; 880 880 creditsElem.style.marginTop = "2px"; 881 creditsElem.style.textAlign = " center";881 creditsElem.style.textAlign = "left"; 882 882 header.appendChild(creditsElem); 883 883 } … … 1591 1591 } 1592 1592 1593 /* Header du chat avec bouton CSS intégré*/1593 /* Header du chat: layout propre et actions cohérentes */ 1594 1594 #chat-header { 1595 1595 display: flex; 1596 1596 justify-content: space-between; 1597 1597 align-items: flex-start; 1598 gap: 10px; 1598 gap: 16px; 1599 text-align: left; 1599 1600 } 1600 1601 1601 1602 #chat-header-left { 1602 1603 flex: 1; 1603 } 1604 1605 1604 min-width: 0; 1605 } 1606 1606 1607 1607 #chat-header-left h3 { 1608 margin: 0 0 5px 0; 1608 margin: 0 0 6px 0; 1609 font-size: 17px; 1610 line-height: 1.25; 1609 1611 } 1610 1612 … … 1612 1614 margin: 0; 1613 1615 font-size: 12px; 1616 line-height: 1.45; 1617 opacity: 0.92; 1618 } 1619 1620 #chat-header-actions { 1621 display: flex; 1622 flex-direction: column; 1623 align-items: flex-end; 1624 gap: 8px; 1625 flex-shrink: 0; 1626 } 1627 1628 #chat-header-tools { 1629 display: flex; 1630 align-items: center; 1631 justify-content: space-between; 1632 gap: 8px; 1633 width: 116px; 1634 box-sizing: border-box; 1614 1635 } 1615 1636 1616 1637 /* Bouton Header/Footer */ 1617 1638 #headers-footers-button { 1639 background: rgba(255, 255, 255, 0.95); 1640 border: 1px solid rgba(191, 219, 254, 0.9); 1641 color: #1e40af; 1642 padding: 7px 11px; 1643 border-radius: 8px; 1644 cursor: pointer; 1645 font-size: 11px; 1646 font-weight: 600; 1647 letter-spacing: 0.2px; 1648 white-space: nowrap; 1618 1649 transition: all 0.2s ease; 1650 width: 116px; 1651 box-sizing: border-box; 1652 text-align: center; 1619 1653 } 1620 1654 1621 1655 #headers-footers-button:hover { 1622 background: # e0f2fe!important;1623 border-color: # 7dd3fc!important;1656 background: #ffffff !important; 1657 border-color: #93c5fd !important; 1624 1658 transform: translateY(-1px); 1625 } 1626 1627 /* Bouton CSS intégré dans le header */ 1659 box-shadow: 0 4px 10px rgba(30, 64, 175, 0.2); 1660 } 1661 1662 /* Boutons outils du header */ 1628 1663 #css-edit-button { 1629 width: 32px;1630 height: 3 2px;1631 background: #007cba;1664 width: 54px; 1665 height: 34px; 1666 background: rgba(255, 255, 255, 0.2); 1632 1667 color: white; 1633 border: none;1634 border-radius: 4px;1668 border: 1px solid rgba(255, 255, 255, 0.35); 1669 border-radius: 8px; 1635 1670 cursor: pointer; 1636 1671 display: flex; … … 1640 1675 transition: all 0.3s ease; 1641 1676 padding: 0; 1677 box-sizing: border-box; 1642 1678 } 1643 1679 1644 1680 #css-edit-button:hover { 1645 background: #005a87; 1646 transform: scale(1.05); 1681 background: rgba(255, 255, 255, 0.3); 1682 border-color: rgba(255, 255, 255, 0.6); 1683 transform: translateY(-1px); 1647 1684 } 1648 1685 … … 1820 1857 /* Bouton JS intégré dans le header */ 1821 1858 #js-edit-button { 1822 width: 32px;1823 height: 3 2px;1824 background: #007cba;1859 width: 54px; 1860 height: 34px; 1861 background: rgba(255, 255, 255, 0.2); 1825 1862 color: white; 1826 border: none;1827 border-radius: 4px;1863 border: 1px solid rgba(255, 255, 255, 0.35); 1864 border-radius: 8px; 1828 1865 cursor: pointer; 1829 1866 display: flex; … … 1834 1871 padding: 0; 1835 1872 font-weight: 600; 1873 box-sizing: border-box; 1836 1874 } 1837 1875 1838 1876 #js-edit-button:hover { 1839 background: #005a87; 1840 transform: scale(1.05); 1877 background: rgba(255, 255, 255, 0.3); 1878 border-color: rgba(255, 255, 255, 0.6); 1879 transform: translateY(-1px); 1880 } 1881 1882 #js-edit-button span { 1883 font-size: 12px; 1884 font-weight: 700; 1885 letter-spacing: 0.3px; 1886 } 1887 1888 @media (max-width: 560px) { 1889 #chat-header { 1890 flex-direction: column; 1891 align-items: stretch; 1892 gap: 12px; 1893 } 1894 1895 #chat-header-actions { 1896 align-items: stretch; 1897 } 1898 1899 #chat-header-tools { 1900 justify-content: flex-end; 1901 } 1902 1903 #headers-footers-button { 1904 text-align: center; 1905 } 1841 1906 } 1842 1907 -
ai-builder/tags/2.5.8/includes/class-translation-handler.php
r3405907 r3489975 746 746 } 747 747 748 // Copy custom JS meta if present (so translated pages keep JS behavior) 749 $js_meta_keys = array( 750 'ai_builder_page_js_content', 751 'ai_builder_block_js_content', 752 'ai_builder_js_content' 753 ); 754 755 foreach ($js_meta_keys as $js_key) { 756 $js_value = get_post_meta($post_id, $js_key, true); 757 if (!empty($js_value)) { 758 update_post_meta($new_post_id, $js_key, $js_value); 759 } 760 } 761 748 762 // Save language meta 749 763 update_post_meta($new_post_id, '_ai_lang', $target_lang); -
ai-builder/tags/2.5.8/readme.txt
r3487371 r3489975 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 2.5. 67 Stable tag: 2.5.8 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 57 57 58 58 = Is the plugin free to try? = 59 Yes! You get **1 00 free credits** immediately upon signup to test all features (page generation, text, images). No credit card or OpenAI API key is required.59 Yes! You get **150 free credits** immediately upon signup to test all features (page generation, text, images). No credit card or OpenAI API key is required. 60 60 61 61 = What happens to my content if I cancel my subscription? = -
ai-builder/trunk/admin/pages/account.php
r3356740 r3489975 120 120 <h2>Account Dashboard</h2> 121 121 <p>Welcome back! Here's your account overview</p> 122 <p class="ai-account-email" id="account-email">Loading...</p> 122 123 </div> 123 124 -
ai-builder/trunk/admin/pages/credits.php
r3479241 r3489975 71 71 <div class="ai-plan-card-wrapper" data-plan="essential"> 72 72 <div class="ai-plan-card ai-plan-essential"> 73 <div class="ai-plan-badge">Essential</div>74 73 <div class="ai-plan-header"> 75 74 <div class="ai-plan-title"> 76 75 <h3>Essential</h3> 76 <p class="ai-plan-persona">Best for discovering AI Builder and creating your first pages.</p> 77 77 </div> 78 78 </div> … … 101 101 </div> 102 102 103 <div class="ai-feature-item">104 <div class="ai-feature-icon">105 <svg width="18" height="18" viewBox="0 0 24 24" fill="none"106 xmlns="http://www.w3.org/2000/svg">107 <path d="M20 6L9 17L4 12" stroke="currentColor" stroke-width="2.5"108 stroke-linecap="round" stroke-linejoin="round" />109 </svg>110 </div>111 <!-- <span class="ai-feature-text">Site Copilot (AI assistant)</span> -->112 </div>113 103 114 104 <div class="ai-feature-item"> … … 150 140 <div class="ai-plan-title"> 151 141 <h3>Premium</h3> 142 <p class="ai-plan-persona">Best for creators who need more credits and advanced features to build faster.</p> 152 143 </div> 153 144 </div> … … 176 167 </div> 177 168 178 <div class="ai-feature-item">179 <div class="ai-feature-icon">180 <svg width="18" height="18" viewBox="0 0 24 24" fill="none"181 xmlns="http://www.w3.org/2000/svg">182 <path d="M20 6L9 17L4 12" stroke="currentColor" stroke-width="2.5"183 stroke-linecap="round" stroke-linejoin="round" />184 </svg>185 </div>186 <!-- <span class="ai-feature-text">Site Copilot (AI assistant)</span> -->187 </div>188 169 189 170 <div class="ai-feature-item"> … … 232 213 <div class="ai-plan-card-wrapper" data-plan="creator"> 233 214 <div class="ai-plan-card ai-plan-creator"> 234 <div class="ai-plan-badge">Creator</div>235 215 <div class="ai-plan-header"> 236 216 <div class="ai-plan-title"> 237 217 <h3>Creator</h3> 218 <p class="ai-plan-persona">Best for agencies and teams scaling production across many projects.</p> 238 219 </div> 239 220 </div> … … 262 243 </div> 263 244 264 <div class="ai-feature-item">265 <div class="ai-feature-icon">266 <svg width="18" height="18" viewBox="0 0 24 24" fill="none"267 xmlns="http://www.w3.org/2000/svg">268 <path d="M20 6L9 17L4 12" stroke="currentColor" stroke-width="2.5"269 stroke-linecap="round" stroke-linejoin="round" />270 </svg>271 </div>272 <!-- <span class="ai-feature-text">Site Copilot (AI assistant)</span> -->273 </div>274 245 275 246 <div class="ai-feature-item"> … … 563 534 text-transform: uppercase; 564 535 letter-spacing: 0.6px; 536 line-height: 1.2; 537 max-width: calc(100% - 36px); 538 box-sizing: border-box; 565 539 } 566 540 … … 568 542 background: rgba(79, 70, 229, 0.12); 569 543 color: #4338ca; 544 top: 14px; 545 right: 14px; 546 font-size: 10px; 547 padding: 5px 10px; 548 letter-spacing: 0.4px; 570 549 } 571 550 … … 602 581 margin: 0 0 6px 0; 603 582 color: #0f172a; 583 } 584 585 .ai-plan-persona { 586 margin: 0; 587 font-size: 13px; 588 line-height: 1.5; 589 color: #64748b; 590 max-width: 300px; 591 margin-left: auto; 592 margin-right: auto; 604 593 } 605 594 -
ai-builder/trunk/aibui-builder.php
r3488830 r3489975 4 4 * Plugin URI: https://website-ai-builder.com/ 5 5 * Description: This plugin is used to build your website with AI. 6 * Version: 2.5. 76 * Version: 2.5.8 7 7 * Author: enkic 8 8 * Author URI: https://enkicorbin.fr/ … … 18 18 19 19 // Définir la version du plugin 20 define('AIBUI_VERSION', '2.5. 6');20 define('AIBUI_VERSION', '2.5.8'); 21 21 22 22 /** -
ai-builder/trunk/assets/css/account.css
r3408247 r3489975 25 25 font-size: 16px; 26 26 margin: 0; 27 } 28 29 .ai-account-email { 30 margin-top: 10px !important; 31 font-size: 13px !important; 32 color: #4b5563 !important; 33 font-weight: 500; 34 word-break: break-word; 27 35 } 28 36 -
ai-builder/trunk/assets/css/chat-widget.css
r3460817 r3489975 3 3 bottom: 40px; 4 4 left: 20px; 5 background: linear-gradient(135deg, # 667eea 0%, #764ba2100%);5 background: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%); 6 6 color: white; 7 7 padding: 12px 20px; … … 11 11 font-weight: 600; 12 12 font-size: 14px; 13 box-shadow: 0 4px 15px rgba( 102, 126, 234, 0.4);13 box-shadow: 0 4px 15px rgba(29, 78, 216, 0.35); 14 14 transition: all 0.3s ease; 15 15 border: none; … … 21 21 #chat-toggle:hover { 22 22 transform: translateY(-2px); 23 box-shadow: 0 6px 20px rgba( 102, 126, 234, 0.6);23 box-shadow: 0 6px 20px rgba(29, 78, 216, 0.5); 24 24 } 25 25 … … 28 28 position: fixed; 29 29 animation: toggle-pulse 1.5s ease-in-out infinite; 30 box-shadow: 0 4px 15px rgba( 102, 126, 234, 0.4),31 0 0 20px rgba(1 02, 126, 234, 0.6),32 0 0 40px rgba( 102, 126, 234, 0.4);30 box-shadow: 0 4px 15px rgba(29, 78, 216, 0.35), 31 0 0 20px rgba(14, 165, 233, 0.45), 32 0 0 40px rgba(29, 78, 216, 0.3); 33 33 transform-origin: left bottom; 34 34 } … … 39 39 100% { 40 40 transform: scale(1); 41 box-shadow: 0 4px 15px rgba( 102, 126, 234, 0.4),42 0 0 20px rgba(1 02, 126, 234, 0.6),43 0 0 40px rgba( 102, 126, 234, 0.4);41 box-shadow: 0 4px 15px rgba(29, 78, 216, 0.35), 42 0 0 20px rgba(14, 165, 233, 0.45), 43 0 0 40px rgba(29, 78, 216, 0.3); 44 44 } 45 45 46 46 50% { 47 47 transform: scale(1.05); 48 box-shadow: 0 4px 15px rgba( 102, 126, 234, 0.4),49 0 0 30px rgba(1 02, 126, 234, 0.8),50 0 0 60px rgba( 102, 126, 234, 0.6);48 box-shadow: 0 4px 15px rgba(29, 78, 216, 0.35), 49 0 0 30px rgba(14, 165, 233, 0.65), 50 0 0 60px rgba(29, 78, 216, 0.45); 51 51 } 52 52 } … … 71 71 72 72 #chat-header { 73 background: linear-gradient(135deg, # 667eea 0%, #764ba2100%);73 background: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%); 74 74 color: white; 75 75 padding: 20px; … … 167 167 168 168 #chat-input textarea:focus { 169 border-color: # 667eea;169 border-color: #2563eb; 170 170 } 171 171 … … 176 176 177 177 #chat-input button { 178 background: linear-gradient(135deg, # 667eea 0%, #764ba2100%);178 background: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%); 179 179 color: white; 180 180 border: none; … … 190 190 #chat-input button:hover:not(:disabled) { 191 191 transform: translateY(-1px); 192 box-shadow: 0 4px 12px rgba( 102, 126, 234, 0.4);192 box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35); 193 193 } 194 194 -
ai-builder/trunk/assets/js/account.js
r3413458 r3489975 445 445 function displayUserInfo(userData) { 446 446 console.log("🔍 User data:", userData); 447 const accountEmail = document.getElementById("account-email"); 448 if (accountEmail) { 449 const email = 450 userData?.email || 451 userData?.userEmail || 452 userData?.mail || 453 ""; 454 accountEmail.textContent = email || "-"; 455 } 456 447 457 // Afficher le plan 448 458 const planBadge = document.getElementById("plan-badge"); -
ai-builder/trunk/assets/js/chat-widget.js
r3470237 r3489975 86 86 <p class="warning-text">⚠️ The current page content will be replaced by AI-generated content</p> 87 87 </div> 88 <div style="display: flex; flex-direction: column; gap: 8px; align-items: flex-end;">89 <div style="display: flex; gap: 8px;">88 <div id="chat-header-actions"> 89 <div id="chat-header-tools"> 90 90 <button id="js-edit-button" title="Edit JS"> 91 <span style="font-size: 14px;">JS</span>91 <span>JS</span> 92 92 </button> 93 93 <button id="css-edit-button" title="Edit CSS"> … … 95 95 </button> 96 96 </div> 97 <button id="headers-footers-button" title="Headers & Footers" style="background: #f0f9ff; border: 1px solid #bae6fd; color: #0369a1; padding: 6px 10px; border-radius: 4px; cursor: pointer; font-size: 11px; font-weight: 500; white-space: nowrap; transition: all 0.2s;">97 <button id="headers-footers-button" title="Headers & Footers"> 98 98 Header/Footer 99 99 </button> … … 879 879 creditsElem.style.color = "#cccccc"; 880 880 creditsElem.style.marginTop = "2px"; 881 creditsElem.style.textAlign = " center";881 creditsElem.style.textAlign = "left"; 882 882 header.appendChild(creditsElem); 883 883 } … … 1591 1591 } 1592 1592 1593 /* Header du chat avec bouton CSS intégré*/1593 /* Header du chat: layout propre et actions cohérentes */ 1594 1594 #chat-header { 1595 1595 display: flex; 1596 1596 justify-content: space-between; 1597 1597 align-items: flex-start; 1598 gap: 10px; 1598 gap: 16px; 1599 text-align: left; 1599 1600 } 1600 1601 1601 1602 #chat-header-left { 1602 1603 flex: 1; 1603 } 1604 1605 1604 min-width: 0; 1605 } 1606 1606 1607 1607 #chat-header-left h3 { 1608 margin: 0 0 5px 0; 1608 margin: 0 0 6px 0; 1609 font-size: 17px; 1610 line-height: 1.25; 1609 1611 } 1610 1612 … … 1612 1614 margin: 0; 1613 1615 font-size: 12px; 1616 line-height: 1.45; 1617 opacity: 0.92; 1618 } 1619 1620 #chat-header-actions { 1621 display: flex; 1622 flex-direction: column; 1623 align-items: flex-end; 1624 gap: 8px; 1625 flex-shrink: 0; 1626 } 1627 1628 #chat-header-tools { 1629 display: flex; 1630 align-items: center; 1631 justify-content: space-between; 1632 gap: 8px; 1633 width: 116px; 1634 box-sizing: border-box; 1614 1635 } 1615 1636 1616 1637 /* Bouton Header/Footer */ 1617 1638 #headers-footers-button { 1639 background: rgba(255, 255, 255, 0.95); 1640 border: 1px solid rgba(191, 219, 254, 0.9); 1641 color: #1e40af; 1642 padding: 7px 11px; 1643 border-radius: 8px; 1644 cursor: pointer; 1645 font-size: 11px; 1646 font-weight: 600; 1647 letter-spacing: 0.2px; 1648 white-space: nowrap; 1618 1649 transition: all 0.2s ease; 1650 width: 116px; 1651 box-sizing: border-box; 1652 text-align: center; 1619 1653 } 1620 1654 1621 1655 #headers-footers-button:hover { 1622 background: # e0f2fe!important;1623 border-color: # 7dd3fc!important;1656 background: #ffffff !important; 1657 border-color: #93c5fd !important; 1624 1658 transform: translateY(-1px); 1625 } 1626 1627 /* Bouton CSS intégré dans le header */ 1659 box-shadow: 0 4px 10px rgba(30, 64, 175, 0.2); 1660 } 1661 1662 /* Boutons outils du header */ 1628 1663 #css-edit-button { 1629 width: 32px;1630 height: 3 2px;1631 background: #007cba;1664 width: 54px; 1665 height: 34px; 1666 background: rgba(255, 255, 255, 0.2); 1632 1667 color: white; 1633 border: none;1634 border-radius: 4px;1668 border: 1px solid rgba(255, 255, 255, 0.35); 1669 border-radius: 8px; 1635 1670 cursor: pointer; 1636 1671 display: flex; … … 1640 1675 transition: all 0.3s ease; 1641 1676 padding: 0; 1677 box-sizing: border-box; 1642 1678 } 1643 1679 1644 1680 #css-edit-button:hover { 1645 background: #005a87; 1646 transform: scale(1.05); 1681 background: rgba(255, 255, 255, 0.3); 1682 border-color: rgba(255, 255, 255, 0.6); 1683 transform: translateY(-1px); 1647 1684 } 1648 1685 … … 1820 1857 /* Bouton JS intégré dans le header */ 1821 1858 #js-edit-button { 1822 width: 32px;1823 height: 3 2px;1824 background: #007cba;1859 width: 54px; 1860 height: 34px; 1861 background: rgba(255, 255, 255, 0.2); 1825 1862 color: white; 1826 border: none;1827 border-radius: 4px;1863 border: 1px solid rgba(255, 255, 255, 0.35); 1864 border-radius: 8px; 1828 1865 cursor: pointer; 1829 1866 display: flex; … … 1834 1871 padding: 0; 1835 1872 font-weight: 600; 1873 box-sizing: border-box; 1836 1874 } 1837 1875 1838 1876 #js-edit-button:hover { 1839 background: #005a87; 1840 transform: scale(1.05); 1877 background: rgba(255, 255, 255, 0.3); 1878 border-color: rgba(255, 255, 255, 0.6); 1879 transform: translateY(-1px); 1880 } 1881 1882 #js-edit-button span { 1883 font-size: 12px; 1884 font-weight: 700; 1885 letter-spacing: 0.3px; 1886 } 1887 1888 @media (max-width: 560px) { 1889 #chat-header { 1890 flex-direction: column; 1891 align-items: stretch; 1892 gap: 12px; 1893 } 1894 1895 #chat-header-actions { 1896 align-items: stretch; 1897 } 1898 1899 #chat-header-tools { 1900 justify-content: flex-end; 1901 } 1902 1903 #headers-footers-button { 1904 text-align: center; 1905 } 1841 1906 } 1842 1907 -
ai-builder/trunk/readme.txt
r3488830 r3489975 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 2.5. 77 Stable tag: 2.5.8 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 57 57 58 58 = Is the plugin free to try? = 59 Yes! You get **1 00 free credits** immediately upon signup to test all features (page generation, text, images). No credit card or OpenAI API key is required.59 Yes! You get **150 free credits** immediately upon signup to test all features (page generation, text, images). No credit card or OpenAI API key is required. 60 60 61 61 = What happens to my content if I cancel my subscription? =
Note: See TracChangeset
for help on using the changeset viewer.