Changeset 909632
- Timestamp:
- 05/07/2014 10:54:35 AM (12 years ago)
- File:
-
- 1 edited
-
wordquest/trunk/wordpress-rpg.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wordquest/trunk/wordpress-rpg.php
r909628 r909632 239 239 240 240 function idle_messages(){ 241 $file = WP_PLUGIN_DIR."/wordquest/idle.rpg";241 $file = plugins_url()."/wordquest/idle.rpg"; 242 242 $contents = explode("\n",file_get_contents($file)); 243 243 return $contents; … … 278 278 #Credit: http://leon-murayami.deviantart.com/art/Illusion-of-Gaia-Will-XP-402827050 279 279 280 echo " <img src='". content_url()."plugins/wordquest/levels/".get_heroavatar() .".gif' /> <div id='idle_msg'>" . "Killing some slimes... " . "</div>" . "Current Quest: Write about '" . get_quest() . "'";280 echo " <img src='".plugins_url()."/wordquest/levels/".get_heroavatar() .".gif' /> <div id='idle_msg'>" . "Killing some slimes... " . "</div>" . "Current Quest: Write about '" . get_quest() . "'"; 281 281 $params = array( 282 282 'messages' => idle_messages(),
Note: See TracChangeset
for help on using the changeset viewer.