Changeset 38383
- Timestamp:
- 04/05/08 00:18:51 (3 months ago)
- Files:
-
- ad-minister/trunk/ad-minister-create.php (modified) (2 diffs)
- ad-minister/trunk/ad-minister-functions.php (modified) (1 diff)
- ad-minister/trunk/ad-minister-positions.php (modified) (1 diff)
- ad-minister/trunk/ad-minister-settings.php (modified) (1 diff)
- ad-minister/trunk/ad-minister.css (modified) (3 diffs)
- ad-minister/trunk/ad-minister.php (modified) (1 diff)
- ad-minister/trunk/ad-minister.po (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
ad-minister/trunk/ad-minister-create.php
r38374 r38383 119 119 <table class="widefat"> 120 120 <tr class="title"> 121 <td class="cleft">121 <td> 122 122 <label class="create" for="title"><?php _e('Title', 'ad-minister'); ?>: </label> 123 123 </td> … … 137 137 </td> 138 138 </tr> 139 139 <input type="hidden" id="user-id" value=""> 140 140 <tr class="alternate"> 141 141 <td> ad-minister/trunk/ad-minister-functions.php
r38374 r38383 32 32 <li><a <?php if ($tab == 'help') echo 'class="tabs-current"'; ?> href="<?php echo $url; ?>&tab=help"><?php _e('Help'); ?>!</a></li> 33 33 </ul> 34 <div class="tabs-bottom"></div>35 34 <div style="padding: 10px;"> 36 35 ad-minister/trunk/ad-minister-positions.php
r38374 r38383 212 212 <h3>Widget Positions</h3> 213 213 214 <p><?php _e('Below are the Ad-minister widgets available to be <a href="widgets.php">placed your blog</a> ( the positions below are prependedwith \'Ad: \' on as to identify them).', 'ad-minister'); ?></p>214 <p><?php _e('Below are the Ad-minister widgets available to be <a href="widgets.php">placed your blog</a> (On the widget page the positions below starts with \'Ad: \' on as to identify them).', 'ad-minister'); ?></p> 215 215 216 216 <div id="positions"> ad-minister/trunk/ad-minister-settings.php
r38374 r38383 78 78 <input type="checkbox" id="administer_dashbaord_show" name="administer_dashboard_show" <?php if (get_option('administer_dashboard_show') == 'true') echo ' checked="checked" '; ?> /> <label for="administer_dashbaord_show"><?php _e('Alert on the Dashboard of upcoming content expiration or activation.', 'ad-minister'); ?></label><br /> 79 79 <?php _e('Number of days to check for upcoming events', 'ad-minister'); ?>: <input type="text" name="administer_dashboard_period" value="<?php echo get_option('administer_dashboard_period'); ?>" style="width: 40px;" /><br /> 80 <?php _e(' Percentage of clicks left to warn for', 'ad-minister'); ?>: <input type="text" name="administer_dashboard_percentage" value="<?php echo get_option('administer_dashboard_percentage'); ?>" style="width: 40px;" />80 <?php _e('Minimum percentage of clicks/impressions left before alerting', 'ad-minister'); ?>: <input type="text" name="administer_dashboard_percentage" value="<?php echo get_option('administer_dashboard_percentage'); ?>" style="width: 40px;" /> 81 81 </td> 82 82 </tr> ad-minister/trunk/ad-minister.css
r38374 r38383 1 1 /* @override http://dbc.dagensskiva.com/wp-content/plugins/ad-minister/ad-minister.css */ 2 2 3 h3 { 4 font-size: 16px; 5 /* 6 text-transform: uppercase; 7 */ 3 a.sort { 4 color: #d7d7d7; 8 5 } 9 10 11 h3.subsection {12 font-size: 16px;13 }14 15 6 16 7 /** 17 8 *** ADD CONTENT 18 9 **/ 19 td.cleft {20 width: 150px;21 }22 10 23 11 input.create { 24 width: 99%; 25 } 26 tr.param { 27 background: #ccffcc; 12 width: 97%; 28 13 } 29 14 tr.title { 30 15 background: #eeeeee; 31 16 } 32 33 input.title {34 font-size: 18px;35 }36 table.create {37 width: 100%;38 border-spacing: 0px;39 }40 41 17 label.create { 42 18 font-weight: bold; 43 }44 45 46 47 #ad_title_edit_ {48 width: 99%;49 height: 22px;50 font-size: 18px;51 }52 div.ad_field2 {53 margin-left: 110px;54 padding-right: 3px;55 }56 strong.title2 {57 display: block;58 padding-top: 3px;59 float: left;60 width: 60px;61 }62 div.title2 {63 background: #77ff77;64 padding: 10px;65 margin: 0px;66 font-size: 22px;67 }68 div#create {69 background: #ccffcc;70 padding: 10px;71 }72 strong.add_option {73 display: block;74 float: left;75 width: 110px;76 padding-top: 3px;77 }78 input.add_option {79 width: 100px;80 }81 div.add_buttons {82 padding-top: 10px;83 margin-left: 110px;84 }85 div#preview {86 background: #eeeeee;87 padding:10px;88 19 } 89 20 … … 92 23 *** POSITIONS 93 24 **/ 94 .templatePositions {95 width: 100%;96 text-align: left;97 border-spacing: 0px;98 }99 100 .templatePositions thead tr {101 background: #eeeeee;102 /* #4ED521 */103 font-size: 14px;104 }105 106 25 .positionKey { 107 /* width: 150px; */108 26 width: 25%; 109 27 } 110 111 28 .templatePositions thead th { 112 29 padding: 10px; 113 30 } 114 115 31 .templateFunctions { 116 /* width: 200px; */ 117 width: 25%; 118 32 width: 25%; 119 33 } 120 121 34 .templatePositionsDescription { 122 /* width: 200px; */123 35 width: 25%; 124 36 } 125 126 37 .templatePositionsActions { 127 /* width: 200px; */128 38 width: 25%; 129 }130 131 td132 {133 padding: 10px;134 }135 136 div.notifier {137 height: 15px;138 width: 15px;139 }140 img.notifier {141 display: block;142 height: 15px;143 width: 15px;144 }145 div.notifier_content {146 margin: 0px;147 float: right;148 height: 15px;149 width: 15px;150 151 }152 img.notifier_content {153 /* float: right; */154 display: block;155 height: 15px;156 width: 15px;157 }158 159 160 161 input.position {162 width: 100%;163 }164 tr.even {165 background: #ccffcc;166 }167 tr.odd {168 background: #aaffaa;169 }170 tr.new {171 background: #dddddd;172 }173 174 div.even {175 background: #eeeeee;176 }177 div.odd {178 background: #dddddd;179 39 } 180 40 181 41 182 42 /** 183 *** CONTENT 184 *** 43 *** The tabs at the top. 185 44 **/ 186 187 div.ad_view {188 padding: 10px;189 }190 191 div.ad_edit {192 padding: 10px;193 }194 195 div.position_view {196 background: #66cc66;197 padding: 11px;198 }199 div.position_edit {200 background: #66cc66;201 padding: 4px;202 padding-left: 10px;203 }204 strong.title {205 width: 200px;206 display: block;207 float:left;208 }209 210 211 div.code_edit {212 padding: 20px;213 }214 215 div.ad_position_holder_title {216 padding: 10px;217 background: #ff8833;218 margin: 0px;219 }220 221 div.ad_position_holder {222 padding: 10px;223 background: #ffbb44;224 margin: 0px;225 }226 strong.ad_position_key {227 float: left;228 padding-right: 10px;229 width: 200px;230 font-size: 18px;231 display: block;232 }233 234 span.ad_position_count {235 color: #ffffff;236 }237 238 div.ad_position_toggle {239 float: right;240 text-align: right;241 }242 243 strong.ad_position_desc {244 display: block;245 margin: 0 100px 0 210px;246 font-size: 18px;247 }248 249 div.ad_holder {250 padding-left: 30px;251 252 }253 254 255 256 label.ad_field {257 display: block;258 padding-right: 5px;259 width: 150px;260 float: left;261 font-weight: bold;262 263 }264 265 div.ad_field {266 margin-left: 150px;267 }268 269 input.ad_field {270 width: 80%;271 272 }273 input.ad_field_small {274 width: 100px;275 276 }277 278 select {279 /* width: 108px; */280 }281 282 dt {283 font-weight: bold;284 }285 286 a.sort {287 color: #d7d7d7;288 }289 290 .wrap h2291 {292 margin-left: 0;293 }294 295 45 .tabs 296 46 { … … 333 83 } 334 84 335 /*336 .tabs-bottom {337 height: 20px;338 margin-top: 0px;339 margin-bottom: 20px;340 padding: 0px;341 background: #f4f4f4;342 }343 */344 345 85 div th a { 346 86 /* font-size: 12px; */ ad-minister/trunk/ad-minister.php
r38374 r38383 80 80 } 81 81 } 82 function administer_default_edtor_to_html ($type) { 83 global $page_hook; 84 if (strpos($page_hook, 'ad-minister')) 85 $type = 'html'; 86 return $type; 87 } 88 89 add_filter('wp_default_editor', 'administer_default_edtor_to_html'); 82 90 83 91 function administer_queue_scripts () { ad-minister/trunk/ad-minister.po
r38374 r38383 4 4 "Report-Msgid-Bugs-To: \n" 5 5 "POT-Creation-Date: 2008-01-19 22:39-0800\n" 6 "PO-Revision-Date: 2008-04-0 3 14:41-0800\n"6 "PO-Revision-Date: 2008-04-04 17:17-0800\n" 7 7 "Last-Translator: \n" 8 8 "Language-Team: dagensskiva <henrik@dagensskiva.com>\n" … … 17 17 "X-Poedit-SearchPath-0: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister\n" 18 18 19 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-content.php: 320 msgid " Click on the headers to alphabetically sort the columns. Yo!"19 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-content.php:2 20 msgid "Here the content in Ad-minister is listed. Green rows indicate that the content is visible, and red that it is not. Click on the headers to sort the table according to the values of that column. To reverse the order click the arrow. To edit content click on the title." 21 21 msgstr "" 22 22 … … 71 71 72 72 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-create.php:122 73 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:10474 73 msgid "Title" 75 74 msgstr "" … … 90 89 91 90 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-create.php:152 92 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php: 91591 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:687 93 92 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-positions.php:155 94 93 msgid "Position" … … 96 95 97 96 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-create.php:161 98 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:118 99 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:924 97 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:696 100 98 msgid "Impressions" 101 99 msgstr "" 102 100 103 101 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-create.php:171 104 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:121 105 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:927 102 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:699 106 103 msgid "Clicks" 107 104 msgstr "" … … 112 109 113 110 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-create.php:181 114 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:115115 111 msgid "Weight" 116 112 msgstr "" … … 126 122 127 123 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-create.php:200 128 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:125129 124 msgid "Use wrapper?" 130 125 msgstr "" 131 126 127 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-create.php:211 128 msgid "Save & preview" 129 msgstr "" 130 132 131 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-create.php:212 133 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-create.php:229134 msgid "Preview"135 msgstr ""136 137 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-create.php:213138 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:101139 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:180140 132 msgid "Save" 141 133 msgstr "" … … 169 161 msgstr "" 170 162 171 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php: 112172 msgid " Position key"173 msgstr "" 174 175 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php: 164163 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:61 164 msgid "Edit" 165 msgstr "" 166 167 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:62 176 168 msgid "Remove" 177 169 msgstr "" 178 170 179 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:185 180 msgid "Edit" 181 msgstr "" 182 183 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:227 184 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:228 171 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:105 172 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:106 185 173 msgid "orphan" 186 174 msgstr "" 187 175 188 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php: 439189 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php: 446176 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:207 177 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:214 190 178 msgid "has" 191 179 msgstr "" 192 180 193 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:452 181 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:207 182 #, php-format 183 msgid "% of impressions left" 184 msgstr "" 185 186 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:214 187 #, php-format 188 msgid "% of clicks left" 189 msgstr "" 190 191 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:220 194 192 msgid "expires in" 195 193 msgstr "" 196 194 197 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php: 456195 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:224 198 196 msgid "starts in" 199 197 msgstr "" 200 198 201 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:462 199 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:224 200 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:621 201 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:622 202 msgid "days" 203 msgstr "" 204 205 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:230 202 206 msgid "Go to" 203 207 msgstr "" 204 208 205 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php: 796209 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:562 206 210 msgid "Sort up" 207 211 msgstr "" 208 212 209 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php: 796213 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:562 210 214 msgid "Sort down" 211 215 msgstr "" 212 216 213 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php: 849217 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:621 214 218 msgid "Starts in" 215 219 msgstr "" 216 220 217 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:849 218 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:850 219 msgid "days" 220 msgstr "" 221 222 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:850 221 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:622 223 222 msgid "Ends in" 224 223 msgstr "" 225 224 226 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php: 879225 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:651 227 226 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-positions.php:143 228 227 msgid "Yes" 229 228 msgstr "" 230 229 231 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php: 879230 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:651 232 231 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-positions.php:142 233 232 msgid "No" 234 233 msgstr "" 235 234 236 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:909 235 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:666 236 msgid "No data available" 237 msgstr "" 238 239 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:681 237 240 msgid "ID" 238 241 msgstr "" 239 242 240 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php: 912243 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:684 241 244 msgid "Content title" 242 245 msgstr "" 243 246 244 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php: 918247 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:690 245 248 msgid "Visible" 246 249 msgstr "" 247 250 248 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php: 921251 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-functions.php:693 249 252 msgid "Time left" 250 253 msgstr "" … … 370 373 371 374 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-positions.php:214 372 msgid "Below are the Ad-minister widgets available to be <a href=\"widgets.php\">placed your blog</a> ( the positions below are prependedwith 'Ad: ' on as to identify them)."375 msgid "Below are the Ad-minister widgets available to be <a href=\"widgets.php\">placed your blog</a> (On the widget page the positions below starts with 'Ad: ' on as to identify them)." 373 376 msgstr "" 374 377 … … 377 380 msgstr "" 378 381 382 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-positions.php:234 383 msgid "There are currently no widget positions" 384 msgstr "" 385 379 386 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-settings.php:9 380 387 msgid "Options saved." … … 434 441 435 442 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister-settings.php:80 436 msgid " Percentage of clicks left to warn for"443 msgid "Minimum percentage of clicks/impressions left before alerting" 437 444 msgstr "" 438 445 … … 481 488 msgstr "" 482 489 483 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister.php:1 11484 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister.php:1 12490 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister.php:123 491 #: /Users/henrik/Sites/wordpress25/wp-content/plugins/ad-minister/ad-minister.php:124 485 492 msgid "Manage" 486 493 msgstr ""
