diff --git a/css/lexiconga.css b/css/lexiconga.css index 0adb96b..c5f46db 100644 --- a/css/lexiconga.css +++ b/css/lexiconga.css @@ -129,6 +129,10 @@ input, textarea, select, option { text-shadow: 2px 2px 2px #915337; } +#dictionaryShareLink { + text-shadow: none; +} + #dictionaryDescription { width: 90%; background: #f2d5b2; diff --git a/css/styles.css b/css/styles.css index d19acc3..db9e7bb 100644 --- a/css/styles.css +++ b/css/styles.css @@ -159,6 +159,11 @@ input[type=checkbox] { margin: 0 0 5px; } +#dictionaryShareLink { + margin-left: 10px; + vertical-align: middle; +} + #dictionaryDescription { width: 100%; max-height: 400px; @@ -186,12 +191,11 @@ input[type=checkbox] { padding: 2px 4px; } -#descriptionToggle, #searchFilterToggle { +.toggleButton { display: inline-block; margin: 8px; font-weight: bold; font-size: 12px; - cursor: pointer; } .searchOption, .filterOption { @@ -353,7 +357,7 @@ searchTerm { } #announcementCloseButton, #notificationCloseButton, -#settingsButton, #settingsScreenCloseButton, +#settingsButton, #settingsScreenCloseButton, #accountSettingsScreenCloseButton, #settingsSaveButtons button, #infoScreenCloseButton, #fullScreenTextboxScreenCloseButton { float: right; diff --git a/index.php b/index.php index 6079136..865720e 100644 --- a/index.php +++ b/index.php @@ -203,13 +203,13 @@ if ($display_mode != "build") { - View Full Dictionary + View Full Dictionary - HideShow Description + HideShow Description
blocknone;">
- Hide Search/Filter Options + Hide Search/Filter Options
blocknone;">
?
-

+
+
+
+

Reset Your Password

Click the button below to reload the page and show the Reset Password form. Filling out this form will instantly change your password, and you will need to log in using the new password from that point forward.

Reset Password -
+
+ var loggedIn = 0) ? "true" : "false"; ?>; diff --git a/js/dictionaryBuilder.js b/js/dictionaryBuilder.js index 586d2e6..5b5ef0a 100644 --- a/js/dictionaryBuilder.js +++ b/js/dictionaryBuilder.js @@ -229,6 +229,9 @@ function ShowDictionary() { var dictionaryNameArea = document.getElementById("dictionaryName"); dictionaryNameArea.innerHTML = htmlEntitiesParse(currentDictionary.name) + " Dictionary"; + if (loggedIn && currentDictionary.settings.isPublic) { + dictionaryNameArea.innerHTML += ""; + } var dictionaryDescriptionArea = document.getElementById("dictionaryDescription"); dictionaryDescriptionArea.innerHTML = marked(htmlEntitiesParse(currentDictionary.description)); @@ -339,7 +342,7 @@ function DictionaryEntryTemplate(wordObject, managementIndex) { } entryText += "'>"; - if (currentDictionary.settings.isPublic) { + if (loggedIn && currentDictionary.settings.isPublic) { entryText += ""; }