Quellcode durchsuchen

! General cleanup done along the way ... [4793] et all

Spuds vor 12 Jahren
Ursprung
Commit
b2a12b1853

+ 1 - 1
Sources/ManageSettings.php

@@ -2297,7 +2297,7 @@ function list_integration_hooks()
 				'position' => 'after_title',
 				'value' => $txt['hooks_disable_instructions'] . '<br />
 					' . $txt['hooks_disable_legend'] . ':
-									<ul>
+									<ul style="list-style: none;">
 					<li><img src="' . $settings['images_url'] . '/admin/post_moderation_allow.png" alt="' . $txt['hooks_active'] . '" title="' . $txt['hooks_active'] . '" /> ' . $txt['hooks_disable_legend_exists'] . '</li>
 					<li><img src="' . $settings['images_url'] . '/admin/post_moderation_moderate.png" alt="' . $txt['hooks_disabled'] . '" title="' . $txt['hooks_disabled'] . '" /> ' . $txt['hooks_disable_legend_disabled'] . '</li>
 					<li><img src="' . $settings['images_url'] . '/admin/post_moderation_deny.png" alt="' . $txt['hooks_missing'] . '" title="' . $txt['hooks_missing'] . '" /> ' . $txt['hooks_disable_legend_missing'] . '</li>

+ 6 - 9
Sources/Who.php

@@ -249,17 +249,15 @@ function Who()
  *
  * Adding actions to the Who's Online list:
  * Adding actions to this list is actually relatively easy...
- *  - for actions anyone should be able to see, just add a string named
- *   whoall_ACTION.  (where ACTION is the action used in index.php.)
- *  - for actions that have a subaction which should be represented
- *   differently, use whoall_ACTION_SUBACTION.
- *  - for actions that include a topic, and should be restricted, use
- *   whotopic_ACTION.
+ *  - for actions anyone should be able to see, just add a string named whoall_ACTION.
+*     (where ACTION is the action used in index.php.)
+ *  - for actions that have a subaction which should be represented differently, use whoall_ACTION_SUBACTION.
+ *  - for actions that include a topic, and should be restricted, use whotopic_ACTION.
  *  - for actions that use a message, by msg or quote, use whopost_ACTION.
  *  - for administrator-only actions, use whoadmin_ACTION.
  *  - for actions that should be viewable only with certain permissions,
- *   use whoallow_ACTION and add a list of possible permissions to the
- *   $allowedActions array, using ACTION as the key.
+ *    use whoallow_ACTION and add a list of possible permissions to the
+ *    $allowedActions array, using ACTION as the key.
  *
  * @param mixed $urls, a single url (string) or an array of arrays, each
  * inner array being (serialized request data, id_member)
@@ -276,7 +274,6 @@ function determineActions($urls, $preferred_prefix = false)
 	loadLanguage('Who');
 
 	// Actions that require a specific permission level.
-	// @todo are these actions still available
 	$allowedActions = array(
 		'admin' => array('moderate_forum', 'manage_membergroups', 'manage_bans', 'admin_forum', 'manage_permissions', 'send_mail', 'manage_attachments', 'manage_smileys', 'manage_boards', 'edit_news'),
 		'ban' => array('manage_bans'),

+ 3 - 3
Themes/default/Packages.template.php

@@ -163,7 +163,7 @@ function template_view_package()
 
 			echo '
 				<tr class="windowbg', $alternate ? '' : '2', '">
-					<td>', isset($packageaction['operations']) ? '<img id="operation_img_' . $action_num . '" src="' . $settings['images_url'] . '/sort_down.png" alt="*" style="display: none;" />' : '', '</td>
+					<td>', isset($packageaction['operations']) ? '<img id="operation_img_' . $action_num . '" src="' . $settings['images_url'] . '/selected_open.png" alt="*" style="display: none;" />' : '', '</td>
 					<td>', $i++, '.</td>
 					<td>', $packageaction['type'], '</td>
 					<td>', $packageaction['action'], '</td>
@@ -256,7 +256,7 @@ function template_view_package()
 				{
 					echo '
 					<tr class="windowbg', $alternate ? '' : '2', '">
-						<td>', isset($packageaction['operations']) ? '<img id="operation_img_' . $action_num . '" src="' . $settings['images_url'] . '/sort_down.png" alt="*" style="display: none;" />' : '', '</td>
+						<td>', isset($packageaction['operations']) ? '<img id="operation_img_' . $action_num . '" src="' . $settings['images_url'] . '/selected_open.png" alt="*" style="display: none;" />' : '', '</td>
 						<td width="30" align="center">
 							<input type="checkbox" name="theme_changes[]" value="', !empty($action['value']) ? $action['value'] : '', '" id="dummy_theme_', $id, '" class="input_check" ', (!empty($action['not_mod']) ? '' : 'disabled="disabled"'), ' ', !empty($context['themes_locked']) ? 'checked="checked"' : '', '/>
 						</td>
@@ -359,7 +359,7 @@ function template_view_package()
 				aSwapImages: [
 					{
 						sId: \'operation_img_', $key, '\',
-						srcExpanded: smf_images_url + \'/sort_down.png\',
+						srcExpanded: smf_images_url + \'/selected_open.png\',
 						altExpanded: \'*\',
 						srcCollapsed: smf_images_url + \'/selected.png\',
 						altCollapsed: \'*\'

+ 2 - 0
Themes/default/css/index.css

@@ -3462,6 +3462,8 @@ dl.addrules dt.floatleft
 .calendar_today
 {
 	background-color: #fff;
+	border: 1px solid #bbb;
+	box-shadow: 0 2px 5px rgba(0,0,0,0.05) inset;
 }
 
 #month_grid

+ 1 - 1
Themes/default/languages/ManageMaintenance.english.php

@@ -217,7 +217,7 @@ $txt['maintain_recountposts'] = 'Recount User Posts';
 $txt['maintain_recountposts_info'] = 'Run this maintenance task to update your users total post count.  It will recount all (countable) posts made by each user and then update their profile post count totals';
 
 $txt['safe_mode_enabled'] = '<a href="http://php.net/manual/en/features.safe-mode.php">safe_mode</a> is enabled on your server!<br />The backup done with this tool cannot be considered reliable!';
-$txt['use_exernal_tool'] = 'Please take in consideration to use an external tool to backup your database, any backup done with this tool cannot be considered 100% reliable.';
+$txt['use_exernal_tool'] = 'Please consider using an external tool to backup your database, any backup done with this tool cannot be considered 100% reliable.';
 $txt['zipped_file'] = 'If you want you can create a zipped backup.';
 $txt['plain_text'] = 'The more appropriate method to backup your database is to create a plain text file, a compressed package could not be completely reliable.';
 $txt['enable_maintenance1'] = 'Due to the size of your forum, is reccomended to enable the maintenance mode before start the backup.';

+ 3 - 3
Themes/default/languages/Packages.english.php

@@ -23,14 +23,14 @@ $txt['package_downloaded_successfully'] = 'Package has been downloaded successfu
 $txt['package_manager'] = 'Package Manager';
 $txt['install_mod'] = 'Install Mod';
 $txt['uninstall_mod'] = 'Uninstall Mod';
-$txt['sql_file'] = 'Modification file was extracted, this modification also comes with a SQL file with modifications the database needs.  It is a good idea to run it.';
+$txt['sql_file'] = 'The Modification file has been extracted.  This modification also comes with a database file containing modifications the database needs.  You will need to execute this file for the modificaiton to function properly.';
 $txt['sql_queries'] = 'SQL Queries';
 $txt['no_mods_installed'] = 'No mods currently installed';
 $txt['browse_installed'] = 'Browse installed mods';
 $txt['uninstall'] = 'Uninstall';
 $txt['delete_list'] = 'Delete Mod List';
 $txt['package_delete_list_warning'] = 'Are you sure you wish to clear the installed modification list?';
-$txt['php_safe_mode'] = 'Sorry, you server has PHP set to SAFE MODE.  This feature is not compatible with SAFE MODE.';
+$txt['php_safe_mode'] = 'Sorry, you server currently has PHP set to run in SAFE MODE.  This feature is not compatible with SAFE MODE.';
 $txt['lets_try_anyway'] = 'Let me try anyway.';
 
 $txt['package_manager_desc'] = 'From this easy to use interface, you can download and install modifications for use on your forum.';
@@ -145,7 +145,7 @@ $txt['package_install_options_make_full_backups'] = 'Create an entire backup (ex
 $txt['package_ftp_necessary'] = 'FTP Information Required';
 $txt['package_ftp_why'] = 'Some of the files the package manager needs to modify are not writable.  This needs to be changed by logging into FTP and using it to chmod or create the files and folders.  Your FTP information may be temporarily cached for proper operation of the package manager. Note you can also do this manually using an FTP client - to view a list of the affected files please click <a href="#" onclick="%1$s">here</a>.';
 $txt['package_ftp_why_file_list'] = 'The following files need to made writable to continue installation:';
-$txt['package_ftp_why_download'] = 'In order to download packages, the Packages directory, and any files in it, need to be writable.  Currently the system does not have the needed write permissions to this directory.  The package manager can use your FTP information to fix this problem.';
+$txt['package_ftp_why_download'] = 'In order to download packages, the Packages directory, and any files in it, must be writable.  Currently the system does not have the needed permissions to write to this directory.  The package manager can use your FTP information to attempt to fix this problem.';
 $txt['package_ftp_server'] = 'FTP Server';
 $txt['package_ftp_port'] = 'Port';
 $txt['package_ftp_username'] = 'Username';