+ header menu
+ footer menu
+ disallow direct to PHP files
++ common_local_url()
- require valid nicknames
- store canonical username for comparison and fetch
- use only canonical usernames
- use only canonical email addresses
-- common_local_url()
- configuration system ($config)
- RSS 1.0 feeds of a user's notices
- RSS 1.0 dump of a user's notices
- license on shownotice
- design from Open Source Web Designs
- TOS checkbox on register
+- pretty URLs
- release 0.1
+- content negotiation for interface language
+- content negotiation for content type
+- content negotiation for encoding
+- content negotiation for charset
+- If-Modified-Since support
+- Vary
- delete a notice
- gettext
- subscribe remote
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/* XXX: break up into separate modules (HTTP, HTML, user, files) */
+
+
if (!defined('LACONICA')) { exit(1) }
define('AVATAR_PROFILE_SIZE', 96);
return $config['avatar']['path'] . '/' . $filename;
}
+function common_local_url($action, $args) {
+ /* XXX: pretty URLs */
+ $extra = '';
+ foreach ($args as $key => $value) {
+ $extra .= "&${key}=${value}";
+ }
+ /* XXX: correct path */
+ return "/index.php?action=${action}${extra}";
+}
+
// XXX: set up gettext
function _t($str) { $str }